/* Travel Service Page CSS */

.travel-hero {
    background: url('trav-bg.webp') center/cover no-repeat;
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 1rem;
}

@media (max-width: 768px) {
    .travel-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }
}

.booking-widget-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    max-width: 1200px;
    max-height: 55vh;
    animation: fadeInUp 0.8s ease-out;
    margin-top: 1rem;
    position: relative;
}


/* Tabs Styling */
.nav-pills .nav-link {
    color: var(--color-primary-dark);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    margin-right: 10px;
    transition: all 0.3s;
    background: transparent;
    position: relative;
    z-index: 2;
    border: none;
}

.nav-pills .nav-link.active {
    background-color: transparent !important;
    color: white !important;
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(240, 248, 255, 0.5);
}

.nav-pills i {
    margin-right: 8px;
}

.tab-content {
    padding-top: 1rem;
    min-height: 400px;
}

.tab-pane {
    transition: opacity 0.15s ease-in-out;
}

.tab-pane.fade:not(.show) {
    opacity: 0;
}

.tab-pane.fade.show {
    opacity: 1;
}


/* Sliding Background for Nav Pills */
.nav-pills {
    position: relative;
}

.tab-slider {
    position: absolute;
    height: calc(100% - 4px);
    background-color: var(--color-primary-dark);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    top: 2px;
}

.nav-pills .nav-item {
    position: relative;
    z-index: 1;
}



/* Form Styling */
.form-label {
    font-weight: 500;
    color: #444;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 10px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    background-color: #fcfcfc;
}

.input-group-text {
    background-color: #eefcff;
    color: var(--color-primary-dark);
    border-right: none;
}

.form-control {
    border-left: none;
}

/* Fix border radius for input groups */
.input-group>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group>.form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid #ddd;
    /* Restore border if not using icon group everywhere */
}

/* Specific fix for our icon inputs */
.input-group .form-control {
    border-left: none;
}


.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--color-accent-cyan);
    background-color: white;
}

/* Return Date Disabled State */
#flightReturnDate.return-disabled {
    background-color: #e9ecef;
    cursor: pointer;
    color: #6c757d;
}

#flightReturnDate.return-disabled::placeholder {
    color: #adb5bd;
}


/* Custom Trip Type Toggle */
.trip-type-toggle {
    display: inline-flex;
    position: relative;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 4px;
}

.toggle-slider {
    position: absolute;
    height: calc(100% - 8px);
    background-color: var(--color-primary-dark);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    top: 4px;
}

.trip-type-toggle .btn-outline-primary {
    color: var(--color-primary-dark);
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.trip-type-toggle .btn-check:checked+.btn-outline-primary {
    background-color: transparent;
    color: white;
    border: none;
    box-shadow: none;
}

/* Compact Trip Type Toggle - New Smaller Version */
.trip-type-toggle-compact {
    display: inline-flex;
    position: relative;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 3px;
    width: fit-content;
}

.toggle-slider-compact {
    position: absolute;
    height: calc(100% - 6px);
    background-color: var(--color-primary-dark);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    top: 3px;
}

.trip-type-toggle-compact .btn-outline-primary {
    color: var(--color-primary-dark);
    border: none;
    background: transparent;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    font-size: 0.85rem;
    font-weight: 600;
}

.trip-type-toggle-compact .btn-check:checked+.btn-outline-primary {
    background-color: transparent;
    color: white;
    border: none;
    box-shadow: none;
}

/* Swap Button */
.btn-swap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent-cyan);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-swap:hover {
    background: var(--color-primary-dark);
    color: var(--color-accent-cyan);
    transform: rotate(180deg);
    border-color: var(--color-accent-cyan);
}

.btn-swap i {
    transform: rotate(180deg);
}

/* Swap Button Inline Version */
.swap-button-container {
    display: flex;
    align-items: flex-end;
    padding: 0 8px !important;
    margin: 0;
    position: relative;
    z-index: 10;
}

.btn-swap-centered {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
}

.btn-swap-centered:hover {
    color: var(--color-primary-dark);
}

.btn-swap-centered.rotated {
    transform: rotate(180deg);
}


/* From and To field widths */
.col-lg-2:has(#flightFrom),
.col-lg-2:has(#flightTo) {
    flex: 0 0 auto;
    width: 18%;
    /* Adjusted width for better spacing */
}




/* Flatpickr Customization (Calendar) */
.flatpickr-calendar {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    font-family: var(--font-main);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day:focus,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
    background: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: var(--color-accent-cyan) !important;
}

.flatpickr-months .flatpickr-month {
    background: var(--color-primary-dark);
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    height: auto;
    min-height: 60px;
}

.flatpickr-current-month {
    padding: 10px 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: rgb(0, 0, 0) !important;
    font-weight: 700;
    background: transparent;
    border: none;
    padding: 5px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    cursor: pointer;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.flatpickr-monthDropdown-months option {
    color: black;
    background: white;
}

.flatpickr-current-month .numInputWrapper {
    width: 70px;
}

.flatpickr-current-month .numInputWrapper input {
    color: rgb(0, 0, 0) !important;
    background: transparent;
}

.flatpickr-current-month .numInputWrapper span {
    color: white;
}

.flatpickr-weekdays {
    background: var(--color-primary-dark);
    padding: 10px 0;
}

span.flatpickr-weekday {
    color: var(--color-accent-cyan) !important;
    font-weight: 600;
}

/* Mobile Calendar Responsiveness */
@media (max-width: 768px) {
    .flatpickr-calendar {
        width: 100% !important;
        max-width: 350px !important;
        font-size: 0.85rem;
    }

    .flatpickr-months .flatpickr-month {
        height: auto;
        min-height: 50px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .flatpickr-current-month {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        font-size: 0.85rem;
        padding: 3px;
    }

    .flatpickr-weekdays {
        padding: 8px 0;
    }

    span.flatpickr-weekday {
        font-size: 0.75rem;
    }

    .flatpickr-days {
        width: 100% !important;
    }

    .flatpickr-day {
        height: 35px;
        line-height: 35px;
        max-width: 35px;
        font-size: 0.8rem;
    }

    .flatpickr-calendar.hasTime .flatpickr-time {
        height: 45px;
    }
}

@media (max-width: 576px) {
    .flatpickr-calendar {
        max-width: 300px !important;
        font-size: 0.8rem;
    }

    .flatpickr-months .flatpickr-month {
        min-height: 45px;
    }

    .flatpickr-current-month {
        font-size: 0.85rem;
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        font-size: 0.8rem;
    }

    .flatpickr-day {
        height: 32px;
        line-height: 32px;
        max-width: 32px;
        font-size: 0.75rem;
    }

    span.flatpickr-weekday {
        font-size: 0.7rem;
    }
}

/* Search Button */
.btn-search {
    background: linear-gradient(135deg, var(--color-primary-dark), #41e3f2);
    color: white;
    width: 100%;
    max-width: 300px;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    margin: 0 auto;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    box-shadow: 0 10px 30px rgba(17, 42, 70, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Passenger Dropdown Styling */
.passenger-dropdown .dropdown-menu,
.travellers-class-dropdown .dropdown-menu {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.travellers-class-dropdown .dropdown-menu {
    min-width: 320px;
}

.passenger-row {
    padding: 0.5rem 0;
}

.passenger-count {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.passenger-plus,
.passenger-minus {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
}

.passenger-plus:hover,
.passenger-minus:hover {
    background-color: var(--color-primary-dark);
    color: white;
    border-color: var(--color-primary-dark);
}

.passenger-plus i,
.passenger-minus i {
    font-size: 0.7rem;
}

/* Class Options Styling */
.class-options .form-check-input:checked {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.class-options .form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
}



/* Autocomplete Styling */
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.autocomplete-items div {
    padding: 12px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #444;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: var(--color-accent-cyan) !important;
    color: var(--color-primary-dark) !important;
}

.airport-name {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

/* Ensure input group container is relative */
.input-group {
    position: relative;
}

/* Destinations Grid */
.destinations-section {
    padding: 5rem 0;
    background: #fcfcfc;
}

.destination-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 350px;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.destination-card:hover .destination-img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.destination-price {
    background: var(--color-accent-cyan);
    color: var(--color-primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Features */
.features-section {
    padding: 4rem 0;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    background: #eefcff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary-dark);
    font-size: 2rem;
    transition: all 0.3s;
}

.feature-box:hover .feature-icon-circle {
    background: var(--color-primary-dark);
    color: var(--color-accent-cyan);
}

/* Ad Slider Section */
.ad-slider-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
    max-width: 1050px;
    margin-top: -130px;
    margin-left: 13%;
    margin-right: 13%;
    margin-bottom: 18px;
    padding: 1rem 0;
    overflow: hidden;
    border-top: 1px solid #e0e4e8;
    border-bottom: 1px solid #e0e4e8;
    border-radius: 20px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .ad-slider-section {
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: -50px;
        width: auto;
    }
}


.ad-slider-container {
    max-width: 1050px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.ad-slider-track {
    display: flex;
    animation: adSlide 24s ease-in-out infinite;
    width: calc(350px * 9);
}

.ad-box {
    min-width: 350px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: transparent;
    border-right: 1px solid #d0d4d8;
}

.ad-box:last-child {
    border-right: none;
}

.ad-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #59e6ff 0%, #3b9fd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ad-icon i {
    font-size: 1.3rem;
    color: white;
}

.ad-content h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.ad-content p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

@keyframes adSlide {

    0%,
    12.5% {
        transform: translateX(0);
    }

    16.67% {
        transform: translateX(-350px);
    }

    16.67%,
    29.17% {
        transform: translateX(-350px);
    }

    33.33% {
        transform: translateX(-700px);
    }

    33.33%,
    45.83% {
        transform: translateX(-700px);
    }

    50% {
        transform: translateX(-1050px);
    }

    50%,
    62.5% {
        transform: translateX(-1050px);
    }

    66.67% {
        transform: translateX(-1400px);
    }

    66.67%,
    79.17% {
        transform: translateX(-1400px);
    }

    83.33% {
        transform: translateX(-1750px);
    }

    83.33%,
    95.83% {
        transform: translateX(-1750px);
    }

    100% {
        transform: translateX(-2100px);
    }
}

@media (max-width: 992px) {

    /* Hero and Booking Widget */
    .travel-hero {
        min-height: auto;
        padding: 80px 1rem 2rem;
    }

    .booking-widget-container {
        max-height: none;
        padding: 1.5rem 1rem;
        margin-top: 0;
    }

    .booking-widget-container h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }

    /* Tabs */
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-right: 5px;
    }

    .nav-pills i {
        margin-right: 4px;
    }

    .tab-content {
        min-height: auto;
        padding-top: 0.5rem;
    }

    /* Form fields */
    .form-label {
        font-size: 0.75rem;
    }

    .form-control,
    .form-select,
    .input-group-text {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    /* Trip type toggle */
    .trip-type-toggle-compact {
        flex-wrap: wrap;
    }

    .trip-type-toggle-compact .btn-outline-primary {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem !important;
    }

    /* Direct flights checkbox */
    .form-check-label {
        font-size: 0.8rem;
    }

    /* Search button */
    .btn-search {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1.5rem;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        max-width: 100%;
    }

    /* Swap button */
    .swap-button-container {
        display: none;
    }

    /* Ad Slider */
    .ad-slider-section {
        margin-left: 2%;
        margin-right: 2%;
        margin-top: -80px;
        max-width: 96%;
    }

    .ad-slider-container {
        max-width: 900px;
    }

    .ad-box {
        min-width: 300px;
    }

    .ad-slider-track {
        width: calc(300px * 9);
    }

    @keyframes adSlide {

        0%,
        12.5% {
            transform: translateX(0);
        }

        16.67%,
        29.17% {
            transform: translateX(-300px);
        }

        33.33%,
        45.83% {
            transform: translateX(-600px);
        }

        50%,
        62.5% {
            transform: translateX(-900px);
        }

        66.67%,
        79.17% {
            transform: translateX(-1200px);
        }

        83.33%,
        95.83% {
            transform: translateX(-1500px);
        }

        100% {
            transform: translateX(-1800px);
        }
    }

    /* Destinations */
    .destinations-section {
        padding: 3rem 0;
    }

    .destination-card {
        height: 280px;
        margin-bottom: 20px;
    }

    /* Features */
    .feature-box {
        padding: 1.5rem;
    }

    .feature-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* Hero */
    .travel-hero {
        padding: 70px 0.75rem 1.5rem;
    }

    .booking-widget-container {
        padding: 1rem 0.75rem;
        border-radius: 15px;
    }

    .booking-widget-container h2 {
        font-size: 1.25rem;
    }

    /* Tabs - horizontal scroll */
    #booking-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-pills .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .nav-pills i {
        display: none;
    }

    /* Tab slider hide on mobile */
    .tab-slider {
        display: none;
    }

    .nav-pills .nav-link.active {
        background-color: var(--color-primary-dark) !important;
    }

    /* Form layout - From and To in same row */
    .row.g-3 {
        flex-wrap: wrap;
    }

    /* From and To fields - same row with swap button */
    .col-lg-2:has(#flightFrom),
    .col-lg-2:has(#flightTo) {
        flex: 0 0 42%;
        max-width: 42%;
    }

    /* Swap button visible */
    .swap-button-container {
        flex: 0 0 10%;
        max-width: 10%;
        display: flex !important;
        justify-content: center;
        padding: 0 !important;
    }

    .btn-swap-centered {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.8rem;
    }

    /* Departure and Return dates - same row */
    .col-lg-2:has(#flightDate),
    .col-lg-2:has(#flightReturnDate) {
        flex: 0 0 48%;
        max-width: 48%;
    }

    /* Travellers - full width */
    .col-lg-3:has(.travellers-class-dropdown) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mb-3.d-flex {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center !important;
        justify-content: space-between;
    }

    /* Ad Slider */
    .ad-slider-section {
        margin-top: 20px;
        margin-left: 3%;
        margin-right: 3%;
        max-width: 94%;
        border-radius: 15px;
    }

    .ad-slider-container {
        max-width: 100%;
    }

    .ad-box {
        min-width: 220px;
        padding: 12px 18px;
        gap: 12px;
        border-right: 1px solid #c0c4c8;
    }

    .ad-icon {
        width: 42px;
        height: 42px;
    }

    .ad-icon i {
        font-size: 1rem;
    }

    .ad-content h5 {
        font-size: 0.65rem;
    }

    .ad-content p {
        font-size: 0.55rem;
    }

    .ad-slider-track {
        width: calc(220px * 9);
    }

    @keyframes adSlide {

        0%,
        12.5% {
            transform: translateX(0);
        }

        16.67%,
        29.17% {
            transform: translateX(-220px);
        }

        33.33%,
        45.83% {
            transform: translateX(-440px);
        }

        50%,
        62.5% {
            transform: translateX(-660px);
        }

        66.67%,
        79.17% {
            transform: translateX(-880px);
        }

        83.33%,
        95.83% {
            transform: translateX(-1100px);
        }

        100% {
            transform: translateX(-1320px);
        }
    }

    /* Destinations */
    .destination-card {
        height: 220px;
    }

    .destination-overlay h4 {
        font-size: 1.1rem;
    }

    .destination-overlay p {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {

    /* Hero */
    .travel-hero {
        padding: 65px 0.5rem 1rem;
        min-height: auto;
    }

    .booking-widget-container {
        padding: 0.75rem 0.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .booking-widget-container h2 {
        font-size: 1.1rem;
    }

    /* Tabs */
    .nav-pills .nav-link {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        margin-right: 3px;
    }

    /* Form layout - From and To in same row */
    .col-lg-2:has(#flightFrom),
    .col-lg-2:has(#flightTo) {
        flex: 0 0 40%;
        max-width: 40%;
    }

    /* Swap button smaller on mobile */
    .swap-button-container {
        flex: 0 0 15%;
        max-width: 15%;
    }

    .btn-swap-centered {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.7rem;
    }

    /* Departure and Return dates - same row */
    .col-lg-2:has(#flightDate),
    .col-lg-2:has(#flightReturnDate) {
        flex: 0 0 48%;
        max-width: 48%;
    }

    /* Forms */
    .form-control,
    .form-select,
    .input-group-text {
        padding: 0.5rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .form-label {
        font-size: 0.7rem;
    }

    /* Search button */
    .btn-search {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        margin-top: 1rem;
    }

    /* Ad Slider */
    .ad-slider-section {
        margin-top: 15px;
        margin-left: 2%;
        margin-right: 2%;
        max-width: 96%;
        padding: 0.2rem 0;
        border-radius: 10px;
    }

    .ad-box {
        min-width: 180px;
        padding: 5px 10px;
        gap: 5px;
        border-right: 1px solid #c0c4c8;
    }

    .ad-icon {
        display: none;
        width: 25px;
        height: 25px;
    }

    .ad-icon i {
        font-size: 0.75rem;
    }

    .ad-content h5 {
        font-size: 12px;
        letter-spacing: 0;
    }

    .ad-content p {
        font-size: 8px;
    }

    .ad-slider-track {
        width: calc(180px * 9);
    }

    @keyframes adSlide {

        0%,
        12.5% {
            transform: translateX(0);
        }

        16.67%,
        29.17% {
            transform: translateX(-180px);
        }

        33.33%,
        45.83% {
            transform: translateX(-360px);
        }

        50%,
        62.5% {
            transform: translateX(-540px);
        }

        66.67%,
        79.17% {
            transform: translateX(-720px);
        }

        83.33%,
        95.83% {
            transform: translateX(-900px);
        }

        100% {
            transform: translateX(-1080px);
        }
    }

    /* Destinations */
    .destinations-section {
        padding: 2rem 0;
    }

    .destinations-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem !important;
    }

    .destination-card {
        height: 180px;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .destination-overlay {
        padding: 1rem;
    }

    .destination-overlay h4 {
        font-size: 1rem;
    }

    /* Features */
    .features-section {
        padding: 2rem 0;
    }

    .feature-box {
        padding: 1rem;
    }

    .feature-box h4 {
        font-size: 1rem;
    }

    .feature-box p {
        font-size: 0.8rem;
    }

    .feature-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Dropdown menus */
    .travellers-class-dropdown .dropdown-menu {
        min-width: 280px;
        padding: 1rem;
    }

    .passenger-count {
        font-size: 0.9rem;
    }

    .passenger-plus,
    .passenger-minus {
        width: 28px;
        height: 28px;
    }
}