/* CodeStitch core styles */
:root {
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

.cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

.cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
}

.cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
    color: var(--bodyTextColor);
}

/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #hero-2274 {
        min-height: clamp(42rem, 88vh, 56rem);
        padding: 3rem 0 0 0;
        overflow: hidden;
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #hero-2274 .cs-container {
        display: none;
    }
    #hero-2274 .cs-content {
        display: none;
    }
    #hero-2274 .cs-title {
        /* 39px - 61px */
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        font-weight: 900;
        text-transform: uppercase;
        line-height: 1.2em;
        width: 100%;
        max-width: 17ch;
        margin: 0 0 1rem;
        color: var(--bodyTextColorWhite);
        position: relative;
    }
    #hero-2274 .cs-text {
        /* 16px - 20px */
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        line-height: 1.5em;
        width: 100%;
        max-width: 43.75rem;
        /* 28px - 40px */
        margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
    }
    #hero-2274 .cs-button-solid {
        font-size: 1rem;
        text-align: center;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        /* clips corners of the before element */
        overflow: hidden;
        margin: 0;
        color: var(--color-white);
        padding: 0 1.75rem;
        background-color: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        position: relative;
        z-index: 1;
        transition: color 0.3s;
    }
    #hero-2274 .cs-button-solid:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 0%;
        background: var(--color-navy);
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #hero-2274 .cs-button-solid:hover {
        color: var(--color-white);
    }
    #hero-2274 .cs-button-solid:hover:before {
        width: 100%;
    }
    #hero-2274 .cs-picture {
        display: none;
    }
    #hero-2274 .cs-picture img {
        width: 100%;
        height: auto;
    }
    #hero-2274 .cs-image-group {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
    }
    #hero-2274 .cs-background {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 1;
    }
    #hero-2274 .cs-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    #hero-2274 .cs-background2 {
        display: none;
    }

    #hero-2274 .cs-hero-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    #hero-2274 .cs-hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    #hero-2274 .hero-search-overlay {
        width: 100%;
        max-width: 75rem;
        min-height: clamp(42rem, 88vh, 56rem);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 30;
        margin: 0 auto;
        padding: 1rem;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #hero-2274 {
        min-height: clamp(44rem, 90vh, 58rem);
    }
    #hero-2274 .hero-search-overlay {
        min-height: clamp(44rem, 90vh, 58rem);
        padding: 2rem;
    }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #hero-2274 {
        min-height: clamp(46rem, 92vh, 62rem);
    }
    #hero-2274 .hero-search-overlay {
        min-height: clamp(46rem, 92vh, 62rem);
    }
}

@media (max-width: 768px) {
    #hero-2274 {
        padding: 5rem 0 0 0;
    }
}

/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #Hservices-2274 {
        width: 100%;
        padding: var(--sectionPadding);
        position: relative;
        z-index: 20;
    }
    #Hservices-2274 .cs-container {
        max-width: 80rem;
        margin: auto;
        position: relative;
        z-index: 1;
    }
    #Hservices-2274 .cs-card-group {
        width: 100%;
        max-width: 80rem;
        margin: 0;
        padding: 0;
        background-color: var(--color-white);
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        row-gap: 2rem;
    }
    #Hservices-2274 .cs-item {
        text-align: left;
        list-style: none;
        width: 100%;
        box-sizing: border-box;
        grid-column: span 12;
        position: relative;
        z-index: 1;
        transition: background-color 0.3s, border-color 0.3s;
    }
    #Hservices-2274 .cs-item:last-of-type .cs-link {
        /* 32px - 80px top & bottom */
        /* 16px - 80px left & right */
        padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 4vw, 5rem);
        box-sizing: border-box;
    }
    #Hservices-2274 .cs-item:last-of-type .cs-icon {
        width: 4rem;
        margin-bottom: 1.5rem;
    }
    #Hservices-2274 .cs-item:last-of-type .cs-h3 {
        font-size: 1.5625rem;
    }
    #Hservices-2274 .cs-item:last-of-type .cs-item-text {
        margin-bottom: 2rem;
    }
    #Hservices-2274 .cs-number {
        font-size: 4.5rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
    }
    #Hservices-2274 .cs-fake-link {
        font-size: 1rem;
        line-height: 1.2em;
        text-transform: uppercase;
        font-weight: 700;
        margin: 0;
        padding: 0 0 0.25rem 0;
        border-bottom: 1px solid var(--primary);
        color: var(--primary);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
    }
    #Hservices-2274 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #Hservices-2274 .cs-background:before {
        content: '';
        width: 100%;
        height: 100%;
        background: var(--color-white);
        opacity: 1;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #Hservices-2274 .cs-background img {
        width: 100%;
        height: 100%;
        opacity: 0.08;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    #Hservices-2274 .cs-link {
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }
    #Hservices-2274 .cs-icon {
        width: 2.5rem;
        height: auto;
        margin: 0 0 1.25rem 0;
    }
    #Hservices-2274 .cs-h3 {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 2vw, 1.5625rem);
        font-weight: 700;
        text-align: inherit;
        line-height: 1.2em;
        margin: 0 0 0.5rem 0;
        color: var(--headerColor);
        transition: color 0.3s;
    }
    #Hservices-2274 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        text-align: inherit;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
        transition: color 0.3s, opacity 0.3s;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #Hservices-2274 .cs-card-group {
        width: 44%;
    }
    #Hservices-2274 .cs-item:last-of-type {
        width: 49%;
        position: absolute;
        right: 0;
        top: calc(clamp(10rem, 20vw, 12.5rem)*-1);
    }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #Hservices-2274 .cs-item:last-of-type {
        width: 37vw;
        max-width: 25rem;
    }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
    #Hservices-2274 {
        padding: 0;
    }
    #Hservices-2274 .cs-card-group {
        width: 53.75rem;
        padding: 3.75rem 0;
        column-gap: 1.25rem;
    }
    #Hservices-2274 .cs-item {
        grid-column: span 4;
    }
    #Hservices-2274 .cs-item:last-of-type {
        top: auto;
        bottom: 0;
    }
}

/* =========================
   FLIGHT SEARCH CARD
========================= */
#flight-search {
    width: 100%;
    max-width: 64rem;
    padding: 0;
    position: relative;
    z-index: 30;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

#flight-search .container {
    max-width: 64rem;
    padding: 0;
}

#flight-search .custom-bg {
    background-color: rgba(247, 247, 249, 0.96);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#flight-search .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

#flight-search label {
    width: auto;
    min-width: 100px;
    text-align: left;
    margin: 0 10px 0 0;
    white-space: nowrap;
}

#flight-search .sublabel {
    display: inline-block;
    white-space: nowrap;
}

#flight-search input[type="text"],
#flight-search input[type="date"] {
    padding: 10px;
    font-size: 14px;
}

#flight-search button[type="submit"] {
    padding: 10px 20px;
    background-color: var(--color-navy);
    border: none;
    cursor: pointer;
}

#flight-search input[type="date"] {
    position: relative;
}

#flight-search input[type="date"]:before {
    content: attr(placeholder);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    color: rgba(0, 0, 0, 0.65);
    pointer-events: none;
    line-height: 1.5;
    padding: 10px 0.5rem 0 0.5rem;
}

#flight-search input[type="date"]:focus:before,
#flight-search input[type="date"]:not([value=""]):before {
    display: none;
}

@media (max-width: 768px) {
    #flight-search {
        max-width: 100%;
    }

    #hero-2274 .hero-search-overlay {
        min-height: clamp(38rem, 82vh, 48rem);
        padding: 1rem;
    }

    #flight-search label {
        width: auto;
        text-align: left;
        margin: 0 0 0.5rem;
    }
}

/*-- -------------------------- -->
<--- Popular Destinations      -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
    #services-342 {
        padding: var(--sectionPadding);
    }
    #services-342 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-342 .cs-content {
        text-align: center;
        width: 100%;
        max-width: 50rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #services-342 .cs-card-group {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: clamp(1rem, 1.6vw, 1.25rem);
    }
    #services-342 .cs-item {
        list-style: none;
        width: 100%;
        max-width: 31.25rem;
        border-radius: 0.5rem;
        position: relative;
        z-index: 1;
        transition: box-shadow 0.3s, transform 0.3s;
        background: var(--color-white);
    }
    #services-342 .cs-item:hover {
        box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
        transform: translateY(-0.4375rem);
    }
    #services-342 .cs-item:hover .cs-picture img {
        opacity: 0.35;
        transform: scale(1.08);
    }
    #services-342 .cs-item:hover .cs-h3 {
        color: var(--primary);
    }
    #services-342 .cs-item:before {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 0.5rem;
        border: 1px solid var(--color-border-light);
        box-sizing: border-box;
        background: transparent;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #services-342 .cs-link {
        text-decoration: none;
        padding-bottom: clamp(1rem, 2.2vw, 1.5rem);
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    #services-342 .cs-picture {
        width: 100%;
        height: 15rem;
        margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
        border-radius: 0.5rem 0.5rem 0 0;
        overflow: hidden;
        display: block;
        position: relative;
        z-index: 10;
    }
    #services-342 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.6s, opacity 0.3s;
    }
    #services-342 .cs-h3 {
        font-size: clamp(1.25rem, 3vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: 700;
        color: var(--headerColor);
        margin: 0 0 0.75rem 0;
        padding: 0 clamp(1rem, 2vw, 1.5rem);
        transition: color 0.3s;
    }
    #services-342 .cs-item-text {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        color: var(--bodyTextColor);
        margin: 0;
        padding: 0 clamp(1rem, 2.2vw, 1.5rem);
        flex-grow: 1;
    }
}
@media only screen and (min-width: 48rem) {
    #services-342 .cs-card-group {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1rem, 1.6vw, 1.25rem);
        align-items: stretch;
    }
    #services-342 .cs-item {
        width: 100%;
        max-width: none;
    }
}

/* =========================
   SEARCH
========================= */

.search-form .search-row {
    display: flex;
    gap: 1rem;
    background: var(--color-white);
    padding: 1.2rem;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.search-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--color-border-muted);
    border-radius: 10px;
    font-size: 1rem;
}

.search-btn {
    background: var(--color-cake-red);
    color: var(--color-white);
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
}

/* =========================
   BOOKING
========================= */

.booking-card {
    margin-top: 2rem;
}

.booking-tabs {
    display: flex;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: var(--color-surface);
    cursor: pointer;
}

.tab-btn.active {
    background: var(--color-cake-red);
    color: var(--color-white);
}

.tab-panel {
    display: none;
    padding: 1.5rem;
}

.tab-panel.active {
    display: block;
}

/* =========================
   FORM ROWS
========================= */

.booking-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.booking-form .form-group {
    flex: 1;
    min-width: 160px;
}

.booking-form .form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border-muted);
}

/* =========================
   DESTINATIONS
========================= */

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.destination-card {
    background: var(--color-white);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* =========================
   DEALS
========================= */

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.deal-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--color-border);
}

.deal-tag {
    display: inline-block;
    background: var(--color-navy-light);
    color: var(--color-navy-mid);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
}

.deal-route {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.deal-arrow {
    color: var(--color-navy-mid);
}

.deal-airline {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin: 0;
}

.deal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.deal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-navy);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .search-form .search-row {
        flex-direction: column;
    }

    .booking-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        font-size: 0.9rem;
    }
}

.autocomplete-wrapper {
    position: relative;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border-muted);
    border-radius: 8px;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background: var(--color-surface-alt);
}

/* =========================
   HERO TEXT (new left-column classes — additions only)
========================= */

.hero-title {
    font-weight: 700;
    color: var(--color-white);
    font-size: clamp(2rem, 4.5vw, 6rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    color: #cccccc; /* hero subtitle — intentional off-white, not a brand colour */
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =========================
   FLIGHT SEARCH DROPDOWNS
========================= */

.fs-dropdown {
    position: relative;
    display: inline-block;
}

.fs-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: border-color 0.2s;
    white-space: nowrap;
}

.fs-dropdown-btn:hover,
.fs-dropdown.fs-open .fs-dropdown-btn {
    border-bottom-color: var(--color-navy-mid);
    color: var(--color-navy-mid);
}

.fs-chevron {
    transition: transform 0.2s;
}

.fs-dropdown.fs-open .fs-chevron {
    transform: rotate(180deg);
}

.fs-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 180px;
    background: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 100;
}

.fs-dropdown.fs-open .fs-dropdown-panel {
    display: block;
}

.fs-dropdown-item {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fs-dropdown-item:hover {
    background: var(--color-navy-light);
}

.fs-dropdown-item.fs-selected {
    background: var(--color-navy-light);
    color: var(--color-navy-mid);
}

.fs-dropdown-item.fs-selected::before {
    content: '✓';
    font-size: 0.85rem;
    color: var(--color-navy-mid);
    width: 1rem;
    flex-shrink: 0;
}

/* Passengers panel */
.fs-pax-panel {
    min-width: 260px;
    padding: 0.75rem 1rem;
}

.fs-pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-surface-alt);
}

.fs-pax-row:last-of-type {
    border-bottom: none;
}

.fs-pax-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.fs-pax-sublabel {
    font-size: 0.8rem;
    color: var(--color-placeholder);
}

.fs-stepper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fs-step-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    border: none;
    background: var(--color-border-muted);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.fs-step-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.fs-step-btn--add {
    background: var(--color-navy-light);
    color: var(--color-navy-mid);
}

.fs-step-btn--add:hover:not(:disabled) {
    background: var(--color-navy-border);
}

.fs-step-val {
    min-width: 1.25rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}

.fs-pax-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
}

.fs-pax-done {
    background: none;
    border: none;
    color: var(--color-navy-mid);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.fs-pax-done:hover {
    text-decoration: underline;
}

/* =========================
   HERO BLUE OVERLAY
========================= */

#hero-2274::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 30, 80, 0.75) 0%, rgba(0, 30, 80, 0.15) 100%);
    z-index: 2;
}

#hero-2274 .hero-search-overlay {
    z-index: 3;
}