/* --- Brand Color Variables --- */

:root {
    --primary-gold: #ef1c21;
    --primary-dark: #2a2a2a;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #fff;
    --border-color: #e0e6f1;
    --light-bg: #f8f9fa;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    
}


/* 
========================================
--- DESKTOP STYLES (Larger than 768px) ---
========================================
*/


/* --- Header Section --- */

.main-header {
    background-color: var(--white);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle,
.mobile-sidebar,
.sidebar-overlay {
    display: none;
    /* Hide all mobile-specific elements on desktop */
}

.logo-image {
    height: 100px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.contact-info div {
    display: flex;
    flex-direction: column;
}

.contact-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.contact-info a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
}

.btn-login {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    text-transform: capitalize;
}

.btn-signup {
    background-color: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
}


/* ======================================================= */


/* NEW CSS FOR THE CENTER HEADER TEXT (Desktop Only)       */


/* ======================================================= */

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(80px);
    /* increase px for more shift */
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-center i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    /* Using your theme color */
}

.nav-center span {
    font-weight: 700;
    /* Makes "Umrah Services" bold */
}


/* ======================================================= */


/* HIDE THE CENTER TEXT ON MOBILE                          */


/* Add this inside your mobile media query (e.g., @media (max-width: 768px)) */


/* ======================================================= */


/* --- Hero Section & Background --- */

.hero-section {
    background-color: var(--primary-dark);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    /* adjust this value for desired height */
    border-radius: 25px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-top: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* --- Search Container --- */

.search-container {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 1700px;
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}


/* --- Service Tabs (Desktop) --- */

.service-tabs {
    display: flex;
    justify-content: center;
    background-color: #f1f2f6;
    padding: 0.5rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow-x: auto;
}

.tab {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-light);
}

.tab.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
    font-weight: 600;
}

.tab i {
    font-size: 1.2rem;
}


/* --- Search Form (Desktop) --- */

.search-form-wrapper {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.trip-type {
    margin-bottom: 1.5rem;
}

.trip-type label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.trip-type input {
    accent-color: var(--primary-dark);
    margin-right: 0.5rem;
}

.form-grid {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.form-field {
    padding: 0.75rem 1rem;
    border-right: 1px solid var(--border-color);
    flex-grow: 1;
    min-width: 0;
}

.form-field:last-child {
    border-right: none;
}

.form-field label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.value-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.value-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.swap-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
    padding: 0 1.5rem;
    flex-grow: 0;
}

.swap-icon {
    background-color: var(--primary-dark);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


/* --- FIX FOR UNWANTED FLATPICKR INPUT BOX --- */

.form-field.date-field .form-control.flatpickr-input {
    display: none !important;
}

.journey-date-input {
    display: none;
}

.return-date-input {
    display: none;
}


/* --- CSS FOR INTERACTIVE FORM ELEMENTS --- */

.form-field {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 105%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 100;
    width: 380px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    cursor: default;
}

.form-field.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-dropdown .dropdown-header {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.location-dropdown input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.location-dropdown ul {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    max-height: 220px;
    overflow-y: auto;
}

.location-dropdown li {
    padding: 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.location-dropdown li .iata-code {
    float: right;
    color: var(--text-light);
    background-color: var(--light-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.location-dropdown li:hover {
    background-color: var(--light-bg);
}

.location-dropdown li.loading-item,
.location-dropdown li.no-results-item {
    text-align: center;
    color: var(--text-light);
    cursor: default;
}

.location-dropdown li.loading-item:hover,
.location-dropdown li.no-results-item:hover {
    background-color: transparent;
}

.traveler-dropdown {
    width: 320px;
    padding: 0.75rem;
}

.passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.25rem;
}

.passenger-row small {
    color: var(--text-light);
}

.passenger-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
}

.counter-btn:hover {
    background-color: var(--light-bg);
}

.traveler-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

.class-selection {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
}

.class-selection label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.class-selection input {
    margin-right: 0.5rem;
    accent-color: var(--primary-dark);
}

.dropdown-footer {
    padding-top: 0.75rem;
    text-align: right;
}

.btn-done {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.flatpickr-day.today {
    border-color: var(--primary-gold);
}

.flatpickr-day.inRange {
    background: rgba(204, 162, 87, 0.1);
    box-shadow: -5px 0 0 rgba(204, 162, 87, 0.1), 5px 0 0 rgba(204, 162, 87, 0.1);
    border-color: transparent;
}

.submit-button-container {
    position: relative;
    height: 30px;
}

.btn-show-fare {
    background-color: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 0.9rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
}

.btn-show-fare:hover {
    background-color: #000;
}

@media (max-width: 768px) {
    /* Helper class to prevent scrolling when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }
    /* --- Mobile Header --- */
    .main-header {
        background-color: var(--white);
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        /* Keep header visible on scroll */
        top: 0;
        z-index: 900;
    }
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        /* 3-column grid for centering */
        align-items: center;
        padding: 0;
    }
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--text-dark);
        background: none;
        border: none;
        cursor: pointer;
        justify-self: start;
        /* Align to the left */
        z-index: 998;
    }
    .logo-link {
        justify-self: center;
        /* Align to the center */
    }
    .logo-image {
        height: 60px;
        /* Adjusted logo height for mobile header */
    }
    .nav-right {
        display: none;
    }
    /* Hide desktop items */
    .nav-center {
        display: none;
        /* Hides the new text on screens 768px or smaller */
    }
    /* --- Mobile Layout --- */
    main {
        padding: 0;
    }
    .hero-section {
        background-color: var(--primary-dark);
        background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), linear-gradient(to top, rgba(204, 162, 87, 0.2), rgba(204, 162, 87, 0.6)), url('../images/bg.jpg');
        padding: 2rem 1rem 6rem 1rem;
        border-radius: 25px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        position: static;
        margin: 0;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        text-shadow: none;
    }
    .hero-content p {
        font-size: 0.9rem;
        font-weight: 400;
        text-shadow: none;
    }
    /* --- Mobile Search Container (The White Card) --- */
    .search-container {
        position: relative;
        width: 100%;
        margin-top: -8rem;
        background-color: var(--white);
        border-radius: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 5;
        padding-bottom: 1.5rem;
    }
    /* --- Mobile Service Tabs --- */
    .service-tabs {
        background: none;
        padding: 0.5rem;
        justify-content: flex-start;
        border-radius: 0;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .service-tabs::-webkit-scrollbar {
        display: none;
    }
    .tab {
        color: var(--text-light);
        background-color: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 0.5rem 1rem;
        margin: 0 0.2rem;
        flex-shrink: 0;
    }
    .tab i {
        color: var(--text-light);
    }
    .tab.active {
        color: var(--primary-gold);
        border-bottom-color: var(--primary-gold);
        font-weight: 600;
    }
    .tab.active i {
        color: var(--primary-gold);
    }
    .search-form-wrapper {
        padding: 0 1rem;
    }
    .trip-type {
        margin-bottom: 1rem;
        padding-top: 0.5rem;
    }
    .trip-type input {
        accent-color: var(--primary-dark);
    }
    .trip-type label {
        color: var(--text-dark);
        font-size: 0.9rem;
    }
    .flight-search-form {
        border: 1px solid var(--border-color);
        border-radius: 12px;
        position: relative;
    }
    .form-grid {
        display: flex;
        flex-wrap: wrap;
        border: none;
    }
    .form-field {
        flex-basis: 50%;
        flex-grow: 1;
        padding: 0.75rem 1rem;
        min-height: 5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        /* CRITICAL for dropdown positioning */
        cursor: pointer;
    }
    .from-field,
    .date-field {
        border-right: 1px solid var(--border-color);
    }
    .traveler-field {
        flex-basis: 100%;
        border-bottom: none;
        border-right: none;
    }
    .form-field label {
        font-size: 0.75rem;
        color: var(--text-light);
        text-transform: uppercase;
    }
    .value-main {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
    }
    .value-sub {
        font-size: 0.8rem;
        color: var(--text-light);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .swap-icon-container {
        display: flex;
        position: absolute;
        top: 2.75rem;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
        border: none;
        z-index: 2;
    }
    .swap-icon {
        background-color: var(--primary-dark);
        color: var(--white);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: 2px solid var(--white);
    }
    .submit-button-container {
        text-align: center;
        padding: 1.5rem 1rem 0 1rem;
    }
    .btn-show-fare {
        position: static;
        transform: none;
        display: inline-block;
        width: auto;
        padding: 0.8rem 3.5rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 30px;
        background-color: var(--primary-dark);
        color: var(--white);
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    /* =================================================================== */
    /* ===== UNIVERSAL INTERACTIVE & DROPDOWN STYLES ===================== */
    /* =================================================================== */
    /* --- Dropdown Menu General --- */
    .dropdown-menu {
        position: absolute;
        top: 105%;
        left: 0;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        z-index: 100;
        width: 380px;
        max-width: 90vw;
        /* <-- Prevents overflow on narrow screens */
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        cursor: default;
    }
    .form-field.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    /* --- Mobile Positioning Fix: Makes dropdowns on the right open inwards --- */
    .to-field .dropdown-menu,
    #return-date-field .dropdown-menu {
        left: auto;
        right: 0;
    }
    /* --- Location Dropdown --- */
    .location-dropdown .dropdown-header {
        padding: 0.75rem;
        border-bottom: 1px solid var(--border-color);
    }
    .location-dropdown input {
        width: 100%;
        padding: 0.6rem;
        border: 1px solid var(--border-color);
        border-radius: 4px;
    }
    .location-dropdown ul {
        list-style: none;
        padding: 0.5rem;
        margin: 0;
        max-height: 220px;
        overflow-y: auto;
    }
    .location-dropdown li {
        padding: 0.6rem;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9rem;
    }
    .location-dropdown li .iata-code {
        float: right;
        color: var(--text-light);
        background-color: var(--light-bg);
        padding: 0.1rem 0.4rem;
        border-radius: 4px;
        font-size: 0.8rem;
    }
    .location-dropdown li:hover {
        background-color: var(--light-bg);
    }
    .location-dropdown li.loading-item,
    .location-dropdown li.no-results-item {
        text-align: center;
        color: var(--text-light);
        cursor: default;
    }
    .location-dropdown li.loading-item:hover,
    .location-dropdown li.no-results-item:hover {
        background-color: transparent;
    }
    /* --- Traveler Dropdown --- */
    .traveler-dropdown {
        width: 320px;
        padding: 0.75rem;
    }
    .passenger-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0.25rem;
    }
    .passenger-row small {
        color: var(--text-light);
    }
    .passenger-counter {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .counter-btn {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        background: var(--white);
        color: var(--primary-dark);
        font-size: 1.2rem;
        font-weight: 500;
        cursor: pointer;
        line-height: 1;
    }
    .counter-btn:hover {
        background-color: var(--light-bg);
    }
    .traveler-dropdown hr {
        border: none;
        border-top: 1px solid var(--border-color);
        margin: 0.5rem 0;
    }
    .class-selection {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
    .class-selection label {
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    .class-selection input {
        margin-right: 0.5rem;
        accent-color: var(--primary-dark);
    }
    .dropdown-footer {
        padding-top: 0.75rem;
        text-align: right;
    }
    .btn-done {
        background: var(--primary-dark);
        color: var(--white);
        border: none;
        padding: 0.5rem 1.25rem;
        border-radius: 20px;
        font-weight: 500;
        cursor: pointer;
    }
    /* --- Flatpickr Theme & Fixes --- */
    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange {
        background: var(--primary-gold);
        border-color: var(--primary-gold);
    }
    .flatpickr-day.today {
        border-color: var(--primary-gold);
    }
    .flatpickr-day.inRange {
        background: rgba(204, 162, 87, 0.1);
        box-shadow: -5px 0 0 rgba(204, 162, 87, 0.1), 5px 0 0 rgba(204, 162, 87, 0.1);
        border-color: transparent;
    }
    .form-field.date-field .form-control.flatpickr-input {
        display: none !important;
    }
    /* --- FINAL, CORRECTED Sidebar Navigation Styles --- */
    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .mobile-sidebar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        background-color: var(--white);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        flex-direction: column;
    }
    .mobile-sidebar.active {
        transform: translateX(0);
    }
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .sidebar-logo-image {
        height: 60px;
    }
    .sidebar-close-btn {
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-dark);
    }
    .sidebar-content {
        padding: 1rem;
        overflow-y: auto;
    }
    .sidebar-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        border-radius: 8px;
    }
    .sidebar-link i {
        font-size: 1.2rem;
        width: 20px;
        text-align: center;
        color: var(--text-light);
    }
    .sidebar-link.active {
        background-color: var(--light-bg);
        color: var(--primary-gold);
    }
    .sidebar-link.active i {
        color: var(--primary-gold);
    }
    .sidebar-divider {
        border: none;
        border-top: 1px solid var(--border-color);
        margin: 1rem 0;
    }
    .sidebar-contact {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem;
    }
    .sidebar-contact i {
        font-size: 1.5rem;
        color: var(--text-light);
    }
    .sidebar-contact div {
        display: flex;
        flex-direction: column;
    }
    .sidebar-contact span {
        font-size: 0.8rem;
        color: var(--text-light);
    }
    .sidebar-contact a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 0.9rem;
        line-height: 1.3;
    }
    .sidebar-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .sidebar-auth-buttons .btn-login {
        text-align: center;
        padding: 0.6rem;
        border: 1px solid var(--border-color);
        border-radius: 20px;
    }
    .sidebar-auth-buttons .btn-signup {
        text-align: center;
    }
}


/* --- CSS for the Simple Umrah Welcome Block --- */


/* This styles the main white container */

.search-form-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    /* Dark text color for readability on white */
}

.umrah-welcome-text h2 {
    font-size: 1.8rem;
    /* Adjust size as needed */
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
}

.umrah-welcome-text h2 strong {
    font-weight: 700;
    /* Makes the brand name bolder */
}

.umrah-welcome-text p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.umrah-welcome-text .guarantee-line {
    font-weight: 600;
    /* Makes this line stand out */
    color: #333;
    margin-bottom: 0;
}


/* Remove any styles from the old flight form that might interfere */

.trip-type {
    display: none;
}

/*
========================================
--- FINAL: Hotel Listings Section Styles ---
========================================
*/

.hotel-listings-section {
    padding: 4rem 0 4rem 0;
}

.listings-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* NEW: Header layout for Title + Button */

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.listings-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.listings-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}


/* Desktop "View More" button */

.btn-view-more {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    text-decoration: none;
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    /* Prevent breaking on smaller desktop screens */
}

.btn-view-more:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}


/* This card is hidden by default (on desktop) */

.view-more-card {
    display: none;
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* === THIS IS THE FIX: Prevents stretching of items in the last row === */
    justify-content: start;
}

.hotel-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hotel-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hotel-card-content {
    padding: 1.5rem;
}

.hotel-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hotel-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotel-rating {
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.hotel-price {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hotel-price span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.btn-view-deal {
    display: block;
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-view-deal:hover {
    background-color: #000;
}


/* --- Responsive Styles for Hotel Section --- */

@media (max-width: 768px) {
    .hotel-listings-section {
        padding: 8rem 0 0 0;
    }
    .listings-container {
        padding: 0;
        /* Full width for scroll container */
    }
    .listings-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
        /* Add padding back here */
    }
    /* Hide the desktop button on mobile */
    .btn-view-more {
        display: none;
    }
    .listings-title {
        font-size: 1.8rem;
    }
    .listings-subtitle {
        font-size: 1rem;
    }
    /* Logic for horizontal scroll on mobile */
    .hotel-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 0.5rem 1rem 1rem 1rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        /* Smooth snapping effect */
        /* Hide scrollbar for a cleaner look */
        -ms-overflow-style: none;
        scrollbar-width: none;
        /* The justify-content property is for grid layout and won't affect flexbox, so it's safe to leave it. */
    }
    .hotel-grid::-webkit-scrollbar {
        display: none;
    }
    .hotel-card {
        flex: 0 0 85%;
        /* Each card takes up 85% of the screen width */
        max-width: 320px;
        /* But doesn't get wider than 320px */
        scroll-snap-align: start;
        /* Snap to the start of the card */
        
        /* --- FIX STARTS HERE (MOBILE ONLY) --- */
        display: flex;
        flex-direction: column;
    }

    /* This rule is added specifically for the mobile flex layout */
    .hotel-card-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1; /* Makes content area fill available space */
    }

    /* This rule is added specifically for the mobile flex layout */
    .btn-view-deal {
        margin-top: auto; /* Pushes the button to the bottom */
    }
    /* --- FIX ENDS HERE --- */


    /* Reveal and style the mobile "View More" card */
    .view-more-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex: 0 0 85%;
        max-width: 320px;
        min-height: 200px;
        /* Give it some height */
        background: var(--primary-dark);
        color: var(--white);
        text-decoration: none;
        border-radius: 12px;
        font-size: 1.2rem;
        font-weight: 600;
        scroll-snap-align: start;
        transition: background-color 0.2s ease;
    }
    .view-more-card i {
        font-size: 2rem;
    }
    .view-more-card:hover {
        background: #000;
    }
}
/*
======================================================
--- FINAL, PERFECTED Promo Banners Section ---
======================================================
*/


/* This is the specific blue color from your reference image */

:root {
    --promo-card-blue: #e91f22;
}

.promo-banners-section {
    padding: 4rem 0;
}

.promo-banners-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.promo-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.promo-banner {
    display: flex;
    align-items: flex-end;
    position: relative;
    text-decoration: none;
    color: var(--white);
    min-height: 250px;
    padding: 2rem;
    border-radius: 16px;
    /* A slightly larger radius to match the image */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.promo-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}


/* This ::before pseudo-element creates the textured, angled overlay */

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* 1. The solid blue background color */
    background-color: var(--promo-card-blue);
    /* 2. The repeating texture image on top of the blue */
    /* IMPORTANT: Replace 'images/texture.png' with the path to your texture file */
    background-image: url('images/texture.png');
    /* 3. The angled gradient mask that fades the blue/texture out */
    -webkit-mask-image: linear-gradient(75deg, black 55%, transparent 100%);
    mask-image: linear-gradient(75deg, black 55%, transparent 100%);
}


/* Background images for each promo banner */


/* IMPORTANT: Replace with your actual image paths */

.promo-banner-groups {
    background-image: url('https://www.publicdomainpictures.net/pictures/370000/velka/islamic-pattern.jpg');
}

.promo-banner-umrah {
    background-image: url('https://www.publicdomainpictures.net/pictures/370000/velka/islamic-pattern.jpg');
}

.promo-banner-content {
    max-width: 65%;
}

.promo-banner-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    /* Subtle shadow for readability */
}

.promo-banner-button {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.6rem 2rem;
    border-radius: 30px;
    /* Pill shape */
    font-weight: 500;
    transition: all 0.2s ease;
}

.promo-banner:hover .promo-banner-button {
    background: var(--white);
    color: var(--promo-card-blue);
}


/* --- Responsive Styles for Promo Banners Section --- */

@media (max-width: 992px) {
    /* Stack the cards on tablet and smaller screens */
    .promo-banners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promo-banners-container {
        padding: 0 1rem;
    }
    /* Making the banners more compact on mobile */
    .promo-banner {
        min-height: 180px;
        padding: 1.5rem;
    }
    .promo-banner-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    .promo-banner-button {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    .promo-banner-content {
        max-width: 100%;
    }
    .promo-banner::before {
        -webkit-mask-image: linear-gradient(75deg, black 65%, transparent 100%);
        mask-image: linear-gradient(75deg, black 65%, transparent 100%);
    }
}

/*
========================================
--- Top Domestic Tours Section Styles ---
========================================
*/

.tours-listings-section {
    padding: 4rem 0;
    /* Standard padding for sections after the first */
}


/* The .listings-container and .listings-header classes are generic and can be reused */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tour-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* --- CHANGE 1 OF 2: Make the card itself a flex container --- */
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tour-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tour-card-content {
    padding: 1.5rem;
    /* --- CHANGE 2 OF 2: Make the content area a flex container that grows --- */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* This is crucial: it makes this area fill all available vertical space */
}

.tour-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tour-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* New style for tour details like duration/group type */

.tour-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tour-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-price {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tour-price span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}


/* The .btn-view-deal class is generic and can be reused */
/* We add one property to it to push it to the bottom */
.btn-view-deal {
    margin-top: auto; /* This is the magic property that pushes the button down */
}


/* --- Responsive Styles for Tours Section --- */

@media (max-width: 768px) {
    .tours-listings-section {
        padding: 3rem 0;
    }
    /* Logic for horizontal scroll on mobile */
    .tours-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 0.5rem 1rem 1rem 1rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tours-grid::-webkit-scrollbar {
        display: none;
    }
    .tour-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: start;
    }
    /* This targets the view-more-card specifically within the tours-grid */
    .tours-grid .view-more-card {
        display: flex;
    }
}
/*
======================================================
--- Airline Logos Slider Section (UPDATED) ---
======================================================
*/

.airline-logos-section {
    padding: 14rem 0 4rem 0;
    background-color: var(--white);
}

.logos-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logos-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 20);
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 10));
    }
}

.slide-group {
    display: flex;
    align-items: center;
}

.slide {
    width: 250px;
    padding: 0 40px;
    flex-shrink: 0;
    /* Optional: Add a subtle transition for a new hover effect */
    transition: transform 0.3s ease;
}

/* Optional: Add a subtle grow effect on hover since the color change is gone */
.slide:hover {
    transform: scale(1.05);
}

.slide img {
    width: 100%;
    max-height: 45px;
    object-fit: contain;
    /* 
     * --- FIX ---
     * The following two lines were removed to make logos always show color:
     * filter: grayscale(100%);
     * opacity: 0.6;
    */
}

/* 
 * --- FIX ---
 * The entire .slide:hover img rule was removed as it is no longer needed.
*/


/* --- Responsive Styles for Logos Slider Section --- */

@media (max-width: 768px) {
    .logos-container {
        padding: 0 1rem;
    }
    .logos-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .logo-slide-track {
        width: calc(180px * 20);
        animation-name: scroll-mobile;
        animation-duration: 50s;
    }
    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 10));
        }
    }
    .slide {
        width: 180px;
        padding: 0 20px;
    }
    .slide img {
        max-height: 30px;
    }
}

/*
======================================================
--- Top International Tours Section Styles ---
======================================================
*/

.international-tours-section {
    padding: 4rem 0;
    background-color: var(--white);
    /* Optional: can alternate background colors */
}

/* 
   Generic classes for headers and containers are reused.
*/

/* 
   We will reuse the .tours-grid class for consistency and to prevent card stretching.
   If you need a separate .international-tours-grid, use these styles.
*/
.tours-grid, .international-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensures cards do not stretch */
    gap: 2rem;
}

/* 
======================================================
--- Generic Tour Card Styles (APPLIES TO BOTH SECTIONS) ---
======================================================
*/

.tour-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* --- CHANGE 1 OF 3: Make the card a flex container --- */
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tour-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tour-card-content {
    padding: 1.5rem;
    /* --- CHANGE 2 OF 3: Make content area a flex container that grows --- */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* This is crucial for filling vertical space */
}

.tour-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tour-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tour-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-price {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tour-price span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* --- CHANGE 3 OF 3: Push the button to the bottom --- */
.btn-view-deal {
    margin-top: auto; /* The magic property that aligns the button */
}


/* --- Responsive Styles for International Tours Section --- */

@media (max-width: 992px) {
    /* On tablets, switch to a 2-column grid to prevent stretching */
    .tours-grid, .international-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .international-tours-section {
        padding: 3rem 0;
    }
    /* Logic for horizontal scroll on mobile */
    .tours-grid, .international-tours-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 0.5rem 1rem 1rem 1rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tours-grid::-webkit-scrollbar, .international-tours-grid::-webkit-scrollbar {
        display: none;
    }
    /* This targets the .tour-card specifically within these grids */
    .tours-grid .tour-card, .international-tours-grid .tour-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: start;
    }
    /* This targets the .view-more-card specifically within these grids */
    .tours-grid .view-more-card, .international-tours-grid .view-more-card {
        display: flex;
    }
}


/*
======================================================
--- NEW: Site Footer Styles ---
======================================================
*/

.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 0 0;
    /* Add top padding, bottom padding is handled by .footer-bottom */
}

.footer-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    /* Creates a responsive 4-column grid on desktop */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-height: 80px;
    /* Adjust size as needed */
    margin-bottom: 1rem;
}

.footer-about-text {
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}


/* Underline effect for headings */

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary-gold);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    margin-top: 5px;
    color: var(--primary-gold);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.payment-logos {
    display: flex;
    gap: 1rem;
}

.payment-logos img {
    max-height: 25px;
}


/* --- Responsive Styles for Footer --- */

@media (max-width: 768px) {
    .footer-main {
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .copyright-text {
        order: 2;
        /* Puts the text below the logos */
    }
    .payment-logos {
        order: 1;
    }
}




/* =======================================================
   FLOATING ACTION BUTTON (FAB) - PREMIUM STYLING
   ======================================================= */

#fab-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Keep on the left side */
    z-index: 1050;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* --- NEW --- */
    background-color: var(--primary-dark);
    /* Using your dark brand color */
    color: var(--primary-gold);
    /* Gold icon for a premium look */
    /* ----------- */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 2px rgba(204, 162, 87, 0.5);
    /* Soft shadow + subtle gold glow */
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


/* Hover effect on main button */

.fab-main:hover {
    transform: scale(1.05) translateY(-2px);
    /* Lifts up slightly */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    /* Deeper shadow on hover */
}


/* Open state: 'X' button */

#fab-container.open .fab-main {
    /* --- NEW --- */
    background-color: var(--primary-gold);
    /* Gold background for "close" */
    color: var(--primary-dark);
    /* Dark icon */
    /* ----------- */
    transform: rotate(135deg);
    /* Rotates the '+' into an 'X' */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    /* Increased spacing */
    left: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}


/* Menu item buttons */

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* --- NEW --- */
    background-color: var(--white);
    /* White background for clean look */
    color: var(--primary-dark);
    /* Dark icon */
    border: 1px solid var(--border-color);
    /* Subtle border for definition */
    /* ----------- */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    /* Animation: Hidden by default */
    transform: translateY(20px) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    /* Using 'all' for smooth transition of all properties */
}


/* Hover effect on menu items */

.fab-item:hover {
    /* --- NEW --- */
    background-color: var(--primary-gold);
    color: var(--white);
    border-color: var(--primary-gold);
    transform: translateY(-3px) scale(1.1);
    /* Lifts and grows */
    /* ----------- */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* When the menu is open, the items animate into view */

#fab-container.open .fab-item {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* Staggered animation effect (unchanged, still looks great) */

#fab-container.open .fab-item:nth-child(1) {
    transition-delay: 0.2s;
}

#fab-container.open .fab-item:nth-child(2) {
    transition-delay: 0.1s;
}

#fab-container.open .fab-item:nth-child(3) {
    transition-delay: 0.0s;
}


/* =======================================================
           HYBRID SIDE MENU (HOVER ON DESKTOP, CLICK ON MOBILE)
           ======================================================= */

.side-menu-container {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1045;
    display: flex;
    align-items: center;
    transform: translate(calc(100% - 60px), -50%);
    /* Default "poked-out" state */
    transition: transform 0.4s ease-in-out;
    /* Smoother, professional transition */
}

.side-menu-trigger {
    width: 60px;
    height: 120px;
    background: linear-gradient(145deg, var(--primary-dark), var(--accent-blue));
    color: var(--primary-gold);
    border: none;
    cursor: pointer;
    display: flex;
    background-color: black;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 25px 0 0 25px;
    box-shadow: -3px 4px 15px var(--shadow-color);
    transition: background-color 0.3s ease;
}

.side-menu-trigger .icon {
    transition: transform 0.4s ease-in-out;
}

.side-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: var(--white);
    border-radius: 25px 0 0 25px;
    box-shadow: -5px 5px 25px var(--shadow-color);
    overflow: hidden;
}


/* --- CORE LOGIC: Different behavior for different devices --- */


/* 1. FOR DESKTOP (devices that can hover) */

@media (hover: hover) and (pointer: fine) {
    /* On hover, if JS hasn't marked it as a touch-first device, slide out */
    .side-menu-container:not(.js-touched):hover {
        transform: translate(0, -50%);
    }
    .side-menu-container:not(.js-touched):hover .side-menu-trigger .icon {
        transform: rotate(180deg);
    }
}


/* 2. FOR TOUCH (activated by JavaScript's .open class) */

.side-menu-container.open {
    transform: translate(0, -50%);
}

.side-menu-container.open .side-menu-trigger .icon {
    transform: rotate(180deg);
}


/* --- STYLING FOR THE MENU ITEMS --- */

.side-menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark);
    padding: 12px 15px;
    border-radius: 10px;
    margin: 5px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.side-menu-item:hover {
    background-color: var(--primary-gold);
    color: var(--white);
}

.side-menu-item .icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    margin-right: 15px;
    transition: transform 0.2s ease;
}

.side-menu-item:hover .icon {
    transform: scale(1.1);
}



/* =======================================================
   GLOBAL FIX FOR OFF-CANVAS OVERFLOW
   ======================================================= */
html, body {
    overflow-x: hidden;
}

/* =======================================================
   BACK TO TOP BUTTON - PREMIUM STYLING
   ======================================================= */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* --- NEW --- */
    background-color: var(--primary-dark);
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    /* Gold border for emphasis */
    /* ----------- */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Animation */
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: all 0.4s ease;
    /* Using 'all' for smooth transition */
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    /* --- NEW --- */
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    /* Lifts up on hover */
    /* ----------- */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


/* ============================================= */


/* ===== NEW, MODERN NEWSLETTER CTA DESIGN ===== */


/* ============================================= */

.newsletter-cta-section {
    position: relative;
    /* For the pattern overlay */
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    /* A sophisticated dark gradient using your brand's dark color */
    background: linear-gradient(135deg, #3a3a3a 0%, var(--primary-dark) 100%);
    overflow: hidden;
    /* Keeps decorative elements contained */
}


/* Optional: Adds a very subtle pattern on top of the gradient for texture */

.newsletter-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill="%23fff" fill-opacity="0.03"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zM92 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z"/></g></svg>');
    z-index: 1;
}


/* All content sits on top of the background/pattern */

.newsletter-cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-cta-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    /* Explicitly white */
}

.newsletter-cta-section .section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    color: var(--white);
    opacity: 0.85;
    /* Slightly faded for hierarchy */
}


/* The "Glassmorphism" Form */

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    /* The glass effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* For Safari */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease;
}

.newsletter-input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    background-color: transparent;
    /* Essential for the glass effect */
    color: var(--white);
    outline: none;
    border-radius: 50px 0 0 50px;
}

.newsletter-input::placeholder {
    color: var(--white);
    opacity: 0.7;
}

.btn-subscribe {
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    /* Dark text on gold button pops nicely */
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border-radius: 0 50px 50px 0;
}

.btn-subscribe:hover {
    background-color: #e6b35e;
    /* Lighter, more vibrant gold on hover */
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .newsletter-cta-section {
        padding: 60px 20px;
    }
    .newsletter-cta-section .section-title {
        font-size: 2rem;
    }
    .newsletter-cta-section .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Stack the form on very small screens for better usability */
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .newsletter-input {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        /* Square corners when stacked */
        margin-bottom: 10px;
        text-align: center;
    }
    .btn-subscribe {
        border-radius: 8px;
        /* Square corners when stacked */
    }
}


/* =======================================================
   NEWLY ADDED - GLOBAL CONTAINER FOR MAX-WIDTH
   ======================================================= */

.container {
    width: 100%;
    max-width: 1700px;
    /* Your requested maximum width */
    margin-left: auto;
    /* These two lines center the container */
    margin-right: auto;
    padding-left: 20px;
    /* Adds space on the sides for smaller screens */
    padding-right: 20px;
}


/* =======================================================
   END OF NEW ADDITION
   ======================================================= */


/* =======================================================
   FINAL ADVANCED FLIGHT RESULTS PAGE STYLES (THEMED)
   ======================================================= */

.results-page-v2 {
    background-color: var(--light-bg);
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.results-summary {
    margin-bottom: 20px;
}

.results-summary h3 {
    font-weight: 600;
    color: var(--text-dark);
}

.results-summary p {
    color: var(--text-light);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flight-row-wrapper {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.flight-row-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.flight-row-main {
    padding: 20px;
}

.itinerary-part {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 20px;
}

.itinerary-part.return-part {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.airline-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.airline-details img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.airline-name-info span {
    font-weight: 600;
    display: block;
    color: var(--text-dark);
}

.airline-name-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.flight-timing-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.time-iata strong {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.time-iata span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
}

.time-iata small {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
}

.duration-stops {
    text-align: center;
    min-width: 120px;
}

.duration-stops .total-duration {
    font-size: 0.85rem;
    color: var(--text-light);
}

.duration-stops .line {
    height: 1px;
    background-color: var(--border-color);
    margin: 4px 0;
}

.duration-stops .stop-link {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.flight-row-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.flight-meta-details {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.flight-meta-details i {
    margin-right: 8px;
    width: 15px;
    text-align: center;
}

.price-quote-details {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-get-quote.with-price {
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-get-quote.with-price small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-get-quote.with-price strong {
    font-size: 1.1rem;
}

.btn-flight-details {
    background: var(--border-color);
    border: none;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 6px;
}

.btn-flight-details i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-flight-details.active i {
    transform: rotate(180deg);
}

.flight-row-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.flight-row-details-content h4 {
    padding: 20px 20px 10px;
    margin: 0;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
}

.detailed-segment {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
}

.detailed-segment+.detailed-segment {
    border-top: 1px solid var(--light-bg);
}

.segment-info {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.segment-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.segment-info strong {
    font-size: 0.9rem;
    display: block;
}

.segment-info small {
    font-size: 0.8rem;
    color: var(--text-light);
}

.detailed-timing {
    flex: 1;
}

.detailed-timing p {
    margin: 2px 0;
    font-size: 0.95rem;
}

.detailed-timing p small {
    font-size: 0.8rem;
    color: #777;
}

.detailed-timing .duration-leg {
    font-size: 0.8rem;
    color: var(--text-light);
}

.detailed-layover {
    text-align: center;
    background-color: #f0f4f8;
    color: var(--text-dark);
    padding: 10px;
    margin: 0 20px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.detailed-layover i {
    margin-right: 8px;
    color: var(--primary-gold);
}


/* Responsive Styles */

@media (max-width: 992px) {
    .itinerary-part {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .flight-timing-details {
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }
    .flight-row-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    .price-quote-details {
        justify-content: center;
    }
}

.no-results-card {
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}


/* =======================================================
   FINAL ANIMATED RESULTS HEADER STYLES
   ======================================================= */

.results-page-header {
    background: var(--primary-dark) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill="%23fff" fill-opacity="0.05"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-48 0c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm76 50c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-48 0c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zM92 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zM11 68c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 0c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z"/></g></svg>');
    padding: 40px 0;
    overflow: hidden;
}

.animated-route-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.route-iata {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.route-animation-path {
    position: relative;
    width: 250px;
    height: 2px;
}

.route-animation-path i {
    color: var(--white);
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: fly-the-path 3s ease-in-out infinite;
}

.route-animation-path::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5) 50%, transparent 50%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
}

@keyframes fly-the-path {
    0% {
        left: -5%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 105%;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .route-iata {
        font-size: 1.8rem;
    }
    .route-animation-path {
        width: 150px;
    }
}


/* =======================================================
   NEW LOGIN PAGE DESIGN - As per Image Sample
   ======================================================= */


/* --- Base and Page Layout --- */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    /* Light grey background like the sample */
}

.auth-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}


/* --- Main Login/Signup Card --- */

.auth-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    /* Adjust as needed */
    min-height: 600px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Important for keeping rounded corners on children */
    animation: fadeIn 0.6s ease-out;
}


/* --- Left Side: Image Panel --- */

.auth-image-panel {
    flex: 1 1 45%;
    /* Flex-grow | Flex-shrink | Flex-basis */
    background-color: #000;
}

.auth-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the panel without distortion */
    display: block;
}


/* --- Right Side: Form Panel --- */

.auth-form-panel {
    flex: 1 1 55%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* For positioning the toggling forms */
}


/* --- Form Toggling & Animations --- */

.auth-form {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.auth-form.is-hidden {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    position: absolute;
    /* Take it out of the layout flow */
    top: 50%;
    left: 50px;
    right: 50px;
    transform: translateY(-50%) scale(0.98);
}


/* --- Logo and Typography --- */

.auth-logo {
    display: block;
    max-width: 120px;
    /* Adjust size of your logo */
    height: auto;
    margin: 0 auto 25px auto;
}

.auth-form-panel h2 {
    text-align: center;
    color: #1c1e21;
    /* Dark grey, almost black */
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.auth-subheading {
    text-align: center;
    color: #606770;
    /* Lighter grey for subheading */
    font-size: 0.95rem;
    margin: 0 0 30px 0;
}


/* --- Input Fields with Icons --- */

.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group .fa-user,
.form-group .fa-lock,
.form-group .fa-envelope,
.form-group .fa-briefcase,
.form-group .fa-building {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a929c;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px 14px 50px;
    /* More left padding for icon */
    background-color: #f5f6f7;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    color: #1c1e21;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    /* Important for consistent sizing */
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238a929c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8em;
}

.form-group input::placeholder {
    color: #8a929c;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4B49AC;
    /* Primary blue/purple from your button */
    box-shadow: 0 0 0 2px rgba(75, 73, 172, 0.2);
}


/* --- Password Toggle Icon --- */

.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a929c;
    cursor: pointer;
}


/* --- Agent Fields & Error Container --- */

.agent-fields {
    display: none;
}

.error-container {
    background: #ffebe8;
    color: #8f1d12;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.error-container p {
    margin: 0;
}


/* --- Buttons & Links --- */

.form-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(90deg, #ee1c25 0%, #b73039 100%);
    box-shadow: 0 4px 15px rgba(75, 73, 172, 0.2);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px #ee1c25;
}

.form-switcher {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #ee1c25;
}

.form-switcher a.toggle-link {
    color: #ee1c25;
    /* Use button color for link */
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.form-switcher a.toggle-link:hover {
    text-decoration: underline;
}


/* --- Keyframe Animations --- */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsive Design for Mobile --- */

@media (max-width: 850px) {
    .auth-image-panel {
        display: none;
        /* Hide image panel on smaller screens to focus on the form */
    }
    .auth-form-panel {
        flex-basis: 100%;
        padding: 40px;
    }
    .auth-container {
        flex-direction: column;
        max-width: 450px;
        min-height: auto;
    }
}

@media (max-width: 500px) {
    .auth-form-panel {
        padding: 30px 25px;
    }
    .auth-form.is-hidden {
        left: 25px;
        right: 25px;
    }
    .auth-form-panel h2 {
        font-size: 1.5rem;
    }
}

.checkout-container {
    max-width: 1700px;
    margin: 40px auto;
    padding: 20px;
}


/* --- Main Two-Column Layout --- */

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}


/* --- Itinerary Column (Left) --- */

.itinerary-card {
    background: var(--white, #fff);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e0e6f1);
    padding: 25px;
}

.itinerary-card h2 {
    margin: 0 0 25px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark, #2a2a2a);
    display: flex;
    align-items: center;
    gap: 15px;
}

.itinerary-card h2 i {
    font-size: 1rem;
    color: var(--text-light);
}

.journey-section {
    margin-bottom: 30px;
}

.journey-section:last-child {
    margin-bottom: 0;
}

.journey-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color, #e0e6f1);
}

.journey-header i {
    color: var(--primary-gold, #fbaa13);
}

.journey-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.flight-segment {
    display: flex;
    gap: 15px;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--primary-gold, #fbaa13);
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-line {
    width: 2px;
    background: repeating-linear-gradient(var(--border-color, #e0e6f1) 0 5px, transparent 5px 10px);
    flex-grow: 1;
}

.segment-details {
    padding-bottom: 20px;
    width: 100%;
}

.segment-time {
    margin: -5px 0 5px;
}

.segment-time strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.segment-time span {
    font-size: 0.9rem;
    color: var(--text-light, #6c757d);
    margin-left: 15px;
}

.segment-airports {
    margin: 0 0 10px;
    color: var(--text-light, #6c757d);
}

.segment-airline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.segment-airline img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.baggage-info {
    margin-left: auto;
    background: var(--light-bg);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.baggage-info i {
    margin-right: 5px;
}

.layover-info {
    background: var(--light-bg, #f8f9fa);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0 20px 27px;
    font-size: 0.9rem;
    color: var(--text-light, #6c757d);
    border: 1px solid var(--border-color, #e0e6f1);
}

.layover-info i {
    color: var(--primary-gold, #fbaa13);
    margin-right: 8px;
}


/* --- Summary Column (Right) --- */

.summary-column {
    position: sticky;
    top: 20px;
}

.summary-card {
    background: var(--white, #fff);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e0e6f1);
    padding: 25px;
}

.summary-card h3 {
    margin: 0 0 20px;
    font-size: 1.3rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.price-line span:first-child {
    color: var(--text-light, #6c757d);
}

.price-line span:last-child {
    font-weight: 500;
}

.summary-card hr {
    border: none;
    height: 1px;
    background-color: var(--border-color, #e0e6f1);
    margin: 15px 0;
}

.total-price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark, #212529);
}


/* --- Passenger Details Section --- */

.passenger-details-section {
    margin-top: 30px;
}

.details-card {
    background: var(--white, #fff);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e0e6f1);
    padding: 25px;
}

.details-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-card h3 i {
    color: var(--primary-gold);
}

.info-text {
    color: var(--text-light, #6c757d);
    margin: 0 0 25px;
    font-size: 0.9rem;
}

.passenger-form-group {
    padding: 20px 0;
    border-top: 1px solid var(--border-color, #e0e6f1);
}

.passenger-form-group:first-of-type {
    padding-top: 0;
    border-top: none;
}

.passenger-form-group h4 {
    margin: 0 0 15px;
    font-size: 1.1rem;
}

.passenger-fields {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light, #6c757d);
    margin-bottom: 6px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid var(--border-color, #e0e6f1);
    border-radius: 6px;
    font-size: 1rem;
    background-color: var(--white);
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-gold, #fbaa13);
    box-shadow: 0 0 0 2px rgba(204, 162, 87, 0.2);
}


/* --- Submit Button --- */

.submit-container {
    text-align: center;
    margin-top: 30px;
}

.checkout-submit-button {
    background-color: var(--primary-gold, #fbaa13);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-submit-button:hover {
    background-color: #b38e4a;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/* =======================================================
   **CORRECTED** Responsive Styles
   ======================================================= */


/* --- Medium Screens (Tablets) --- */

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        /* Stack main columns */
    }
    .summary-column {
        position: static;
        /* Remove sticky behavior */
        top: auto;
    }
    .passenger-fields {
        grid-template-columns: 1fr 1fr;
        /* 2-column grid for passenger fields */
    }
}


/* --- Small Screens (Mobile phones) --- */

@media (max-width: 576px) {
    .checkout-container {
        padding: 10px;
        /* Reduce outer padding */
        margin: 20px auto;
    }
    .itinerary-card,
    .summary-card,
    .details-card {
        padding: 15px;
        /* Reduce card padding */
    }
    .itinerary-card h2,
    .details-card h3 {
        font-size: 1.25rem;
        /* Make headings slightly smaller but still prominent */
    }
    .segment-time {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .segment-time span {
        margin-left: 0;
    }
    .passenger-fields {
        grid-template-columns: 1fr;
        /* Single column for passenger fields */
        gap: 15px;
    }
    .checkout-submit-button {
        width: 100%;
        padding: 15px;
    }
}


/* =======================================================
   CSS for thank-you.php Confirmation Page (FINAL FIX)
   ======================================================= */


/* --- Base & Variables --- */

:root {
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #1EBE56;
}

.confirmation-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}


/* --- Confirmation Card --- */

.confirmation-card {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-gold);
    animation: fadeIn 0.5s ease-out;
}


/* --- Success Icon --- */

.confirmation-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 25px;
    animation: pop-in 0.5s 0.2s ease-out forwards;
    transform: scale(0);
}

@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    80% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Text Styling --- */

.confirmation-card h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.confirmation-card h2 {
    font-weight: 400;
    color: var(--text-light);
    margin: 0 0 30px;
    font-size: 1.2rem;
}

.confirmation-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}


/* --- Booking Reference --- */

.booking-ref {
    display: inline-block;
    background-color: var(--light-bg);
    border: 2px dashed var(--border-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-dark);
    margin: 5px 0 30px;
    user-select: all;
}


/* --- Button Container --- */

.button-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}


/* =======================================================
   **FIXED** WhatsApp Button Styling
   ======================================================= */


/* --- Default State (Black text, no background) --- */

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: transparent;
    border: 2px solid transparent;
    /* Keep border for consistent size on hover */
    color: var(--text-dark);
    /* Black text and icon */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-button i {
    font-size: 1.5rem;
}


/* --- Hover State (Green background, white text) --- */

.whatsapp-button:hover {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: var(--white);
    /* White text on hover */
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}


/* --- Home Button --- */

.home-button {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.home-button:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}


/* --- Responsive Adjustments --- */

@media (max-width: 768px) {
    .confirmation-card {
        padding: 30px;
    }
    .confirmation-card h1 {
        font-size: 2rem;
    }
    .confirmation-card h2 {
        font-size: 1rem;
    }
    .confirmation-card p {
        font-size: 1rem;
    }
}


/* =======================================================
   CSS for DYNAMIC HEADER & MOBILE SIDEBAR
   ======================================================= */


/* --- Dynamic User Welcome Styling (Desktop Header) --- */

.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-logout {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background-color: var(--danger-bg);
    color: var(--danger-text);
    border-color: var(--danger-border);
}


/* --- Mobile Sidebar --- */

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    /* Start off-screen */
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.is-open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0s 0.4s;
}

.sidebar-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-logo-image {
    height: 60px;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.sidebar-content {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 5px;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: var(--light-bg);
    color: var(--primary-gold);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.sidebar-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.sidebar-contact {
    padding: 0 10px;
}

.sidebar-auth-buttons {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-auth-buttons .btn-login,
.sidebar-auth-buttons .btn-signup {
    text-align: center;
}

.user-welcome-sidebar {
    text-align: center;
}

.user-welcome-sidebar span {
    display: block;
    margin-bottom: 15px;
    color: var(--text-light);
}

.btn-logout-sidebar {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--danger-text);
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}


/* =======================================================
   CSS for USER DROPDOWN MENU
   ======================================================= */

.user-dropdown-container {
    position: relative;
    /* This is crucial for positioning the dropdown menu */
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-bg);
    padding: 8px 12px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
    background-color: var(--border-color);
}

.user-dropdown-toggle .welcome-text {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-dropdown-toggle .fa-angle-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}


/* The actual dropdown menu */

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    /* Position below the toggle with a 10px gap */
    right: 0;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 180px;
    padding: 8px;
    z-index: 100;
    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}


/* Show the menu and rotate the arrow when hovering the container */

.user-dropdown-container:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-container:hover .user-dropdown-toggle .fa-angle-down {
    transform: rotate(180deg);
}


/* Styling for links inside the dropdown */

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.dropdown-link i {
    width: 16px;
    color: var(--text-light);
}

.dropdown-link:hover {
    background-color: var(--light-bg);
}

.dropdown-logout-link:hover {
    background-color: var(--danger-bg);
    color: var(--danger-text);
}

.dropdown-logout-link:hover i {
    color: var(--danger-text);
}


/* =======================================================
   CSS for About Us Page
   ======================================================= */


/* --- Hero Section with Background Image --- */

.about-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    /* IMPORTANT: Replace with a high-quality, relevant background image */
    background-image: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?q=80&w=1931&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* --- Main Page Content Wrapper --- */

.about-page-wrapper {
    background-color: var(--white);
    padding: 60px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}


/* --- General Section Styling --- */

.about-section {
    margin-bottom: 60px;
}

.about-section:last-child {
    margin-bottom: 0;
    /* Remove margin from the last section */
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}


/* Creates the gold underline effect */

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}


/* --- Mission & Vision Grid --- */

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.info-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}


/* --- Why Choose Us Section --- */

.why-choose-us {
    background-color: var(--light-bg);
    padding: 60px;
    margin: 60px -60px 0;
    /* Adjusted margin to account for removed section */
    border-radius: 12px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}


/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .why-choose-us {
        padding: 40px 20px;
        margin-left: -20px;
        margin-right: -20px;
    }
}


/* =======================================================
   CSS for Contact Us Page (CORRECTED FORM STYLE)
   ======================================================= */


/* --- Hero Section --- */

.contact-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 42, 42, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* --- Main Page Wrapper & Grid Layout --- */

.contact-page-wrapper {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}


/* --- Details & Form Cards --- */

.contact-details-card,
.contact-form-card {
    padding: 10px;
}

.contact-details-card h3,
.contact-form-card h3 {
    font-size: 1.8rem;
    margin: 0 0 20px;
    color: var(--primary-dark);
}

.contact-details-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}


/* --- Contact Info Items --- */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.contact-item span,
.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}


/* --- Social Media Links --- */

.social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--text-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}


/* =======================================================
   NEW & CORRECTED CONTACT FORM STYLES
   ======================================================= */

.contact-page-form .form-group {
    margin-bottom: 20px;
}

.contact-page-form .form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-page-form .form-group input,
.contact-page-form .form-group textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.contact-page-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-page-form .form-group input:focus,
.contact-page-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(204, 162, 87, 0.2);
}

.contact-page-form .form-footer {
    margin-top: 10px;
}

.contact-page-form .btn-primary {
    width: 100%;
    background-color: var(--primary-gold);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-page-form .btn-primary:hover {
    background-color: #b38e4a;
    transform: translateY(-2px);
}


/* --- Map Section --- */

.map-section {
    margin-top: 60px;
    text-align: center;
}

.map-section h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.map-embed {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
}


/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        /* Stack the columns */
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}


/* =======================================================
   CSS for a MORE MODERN FAQ Page (like About Us)
   ======================================================= */


/* --- Hero Section (Consistent with other pages) --- */

.faq-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background-image: url('https://images.unsplash.com/photo-1516483638261-f4dbaf036963?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.faq-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 42, 42, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* --- Main Page Wrapper & Layout --- */

.faq-page-wrapper {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: flex-start;
}


/* --- FAQ Sidebar (Left) --- */

.faq-sidebar {
    position: sticky;
    top: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.faq-sidebar h3 {
    margin: 0 0 15px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.faq-topic-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.faq-topic-link i {
    width: 20px;
    text-align: center;
}

.faq-topic-link:hover,
.faq-topic-link.active {
    background-color: var(--primary-gold);
    color: var(--white);
}

.sidebar-contact-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
}

.sidebar-contact-card h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.sidebar-contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 20px;
}

.btn-contact {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}


/* --- FAQ Content (Right) --- */

.faq-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.faq-section-title {
    font-size: 1.8rem;
    margin: 0 0 25px;
    padding-top: 20px;
    color: var(--primary-dark);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-container:last-child {
    margin-bottom: 0;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(204, 162, 87, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: none;
    border: none;
    padding: 20px;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-question i {
    font-size: 1rem;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}


/* --- Active State --- */

.faq-item.active {
    border-color: var(--primary-gold);
}

.faq-item.active .faq-question {
    color: var(--primary-gold);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary-gold);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}


/* --- Responsive Adjustments --- */

@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .faq-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .faq-content {
        padding: 30px 25px;
    }
}


/* =======================================================
   CSS for Privacy Policy & Terms Pages (CORRECTED)
   ======================================================= */


/* =======================================================
   **FIXED**: Hero Section style now matches about-us.css
   ======================================================= */

.policy-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    /* Using a generic, professional background image */
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?q=80&w=1932&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.policy-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Same overlay as other pages */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* =======================================================
   End of Fix
   ======================================================= */


/* --- Main Page Wrapper & Content Card --- */

.policy-page-wrapper {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.container {
    max-width: 900px;
    /* A good width for readability */
    margin: 0 auto;
}

.policy-content-card {
    background-color: var(--white);
    padding: 40px 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}


/* --- Typography for Readability --- */

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.policy-content-card h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 15px;
}

.policy-content-card h2:first-of-type {
    margin-top: 0;
}

.policy-content-card p,
.policy-content-card li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-content-card p {
    margin-bottom: 15px;
}

.policy-content-card ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-content-card li {
    margin-bottom: 10px;
}

.policy-content-card a {
    color: var(--primary-gold);
    font-weight: 500;
    text-decoration: none;
}

.policy-content-card a:hover {
    text-decoration: underline;
}

.policy-content-card strong {
    color: var(--text-dark);
    font-weight: 600;
}


/* --- Responsive Adjustments --- */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .policy-content-card {
        padding: 30px 25px;
    }
}


/* ==================================================================== */


/* === FINAL & CORRECT UMRAH PACKAGES STYLING (v8.0 - Button Update) === */


/* ==================================================================== */


/* --- 1. Main Section & Header --- */

.umrah-listings-section {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.listings-header-text .listings-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.listings-header-text .listings-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.btn-view-more {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 12px 25px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}


/* --- 2. The Packages Grid (Static 3-Column Layout) --- */

.umrah-grid {
    display: grid;
    /* This creates three explicit, non-stretching columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


/* --- 3. The Individual Umrah Card --- */

.umrah-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.umrah-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.umrah-card-banner {
    position: relative;
}

.umrah-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.days-badge {
    position: absolute;
    bottom: -28px;
    left: 20px;
    width: 56px;
    height: 56px;
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.days-badge strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.days-badge span {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.umrah-card-content {
    padding: 45px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-details-wrapper {
    margin-bottom: 1rem;
}

.hotel-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.hotel-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hotel-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    margin: 0;
}

.hotel-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.pricing-grid-umrah {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    margin-top: auto;
}

.price-item-umrah {
    background-color: var(--white);
    padding: 10px;
    text-align: center;
}

.price-item-umrah span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.price-item-umrah strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}


/* --- 4. MODIFIED: "View Details" Button Styling --- */


/* This now uses the dark style you provided */

.btn-view-deal {
    display: block;
    width: 100%;
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
    /* Ensure no default border */
}

.btn-view-deal:hover {
    background-color: #000;
    /* Darker hover effect */
}


/* --- 5. Mobile Styling --- */

@media (max-width: 992px) {
    /* Change desktop grid to mobile horizontal scroll */
    .umrah-grid {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 1rem;
        padding: 0.5rem 1rem 1rem 1rem;
        margin: 0 -1rem;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .umrah-grid::-webkit-scrollbar {
        display: none;
    }
    .umrah-card {
        flex: 0 0 85%;
        max-width: 340px;
        scroll-snap-align: start;
    }
}


/* ==================================================================== */


/* === FINAL & COMPLETE SINGLE TOUR/PACKAGE DETAIL PAGE STYLES === */


/* ==================================================================== */


/* --- 1. Main Page Wrapper & Container --- */

.tour-detail-page {
    padding: 40px 0;
    background-color: #fff;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* --- 2. Main Two-Column Layout --- */

.tour-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 50px;
    align-items: flex-start;
}


/* --- 3. Left Column: Main Content --- */

.tour-header {
    margin-bottom: 30px;
}

.tour-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.tour-meta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-rating i {
    color: var(--primary-gold);
}


/* --- 4. Image Gallery --- */

.image-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.gallery-main-image {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
}

.gallery-thumbnails img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}


/* --- 5. Informational & Content Sections --- */

.guide-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin: 40px 0;
}

.guide-avatar i {
    color: var(--primary-dark);
}

.guide-details {
    flex-grow: 1;
}

.guide-details span {
    color: var(--text-light);
}

.guide-details h3 {
    font-size: 1.3rem;
    margin: 5px 0;
    color: var(--text-dark);
}

.btn-message {
    background: #e7f0f7;
    color: var(--primary-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-message i {
    margin-right: 8px;
}

.tour-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.tour-section:last-of-type {
    border-bottom: none;
}

.tour-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tour-section p,
.tour-section ul li {
    line-height: 1.7;
    color: var(--text-light);
}

.tour-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.customize-tour-banner {
    padding: 40px;
    margin: 30px 0;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://tse1.mm.bing.net/th/id/OIP.8A52PMGIMf9vQEX_M0fAAQHaE8?rs=1&pid=ImgDetMain&o=7&rm=3') center/cover;
}

.customize-tour-banner h3 {
    font-size: 1.8rem;
}

.btn-secondary {
    background: var(--primary-dark);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #000;
}


/* --- 6. Right Column: Booking Sidebar --- */

.tour-booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.booking-card .booking-form {
    padding: 25px;
}

.booking-price {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--text-dark);
}

.booking-form .form-group {
    margin-bottom: 15px;
}

.booking-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.booking-input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border-color);
    padding: 0 15px;
    border-radius: 8px;
}

.party-size-selector {
    display: flex;
}

.party-size-selector input {
    flex-grow: 1;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    height: 44px;
}

.party-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    background: var(--light-bg);
    cursor: pointer;
}

.party-btn.minus {
    border-radius: 8px 0 0 8px;
}

.party-btn.plus {
    border-radius: 0 8px 8px 0;
}

.btn-booking {
    width: 100%;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.3s;
}

.btn-booking:hover {
    filter: brightness(110%);
}

.booking-card .price-grid-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.umrah-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: var(--border-color);
}

.price-cell {
    background-color: var(--white);
    padding: 15px;
    text-align: center;
}

.price-cell label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.price-cell strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.details-grid {
    display: grid;
    gap: 15px;
}

.tag {
    display: inline-block;
    background: #f39c12;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: white;
}

.activity-level {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 5px;
}

.activity-level.minimal {
    background: #28a745;
}


/* --- 7. Flyer Modal Styles --- */

.notice {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.notice.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.notice.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#flyerModal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: var(--primary-dark, #2a2a2a);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#flyerModalImage {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.close-btn {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

#downloadFlyerBtn {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

#downloadFlyerBtn:hover {
    background-color: #0056b3;
}

#downloadFlyerBtn i {
    margin-right: 8px;
}


/* --- 8. Responsive Styles --- */

@media (max-width: 992px) {
    .tour-layout-grid {
        grid-template-columns: 1fr;
    }
    .tour-booking-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .tour-header h1 {
        font-size: 2rem;
    }
    .image-gallery {
        grid-template-columns: 1fr;
    }
    .gallery-thumbnails {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .guide-info-card {
        flex-direction: column;
        text-align: center;
    }
    .mobile-form {
        display: block !important;
    }
    .desktop-form {
        display: none !important;
    }
    .hide-mobile {
        display: none !important;
    }
}


/*
=====================================================
--- IMPROVED GROUP FARE RESULTS PAGE STYLES V2.1 ---
=====================================================
- Uses CSS Grid for robust, flexible, and perfectly aligned layouts.
- Added styling for the new "Available Seats" meta tag.
- Reverted page wrapper width to 1700px per request.
*/

:root {
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* --- Page Layout --- */

.page-wrapper {
    max-width: 1700px;
    /* Set to 1700px as requested */
    margin: 2rem auto;
    padding: 0 2rem;
}

.content-header h1 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.content-header p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}


/* --- Main Fare Card Grid Layout --- */

.fare-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.fare-card:hover {
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-gold);
}

.flight-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* --- Flight Leg Grid Layout --- */

.flight-leg {
    display: grid;
    grid-template-columns: 80px 1fr auto 1fr 100px;
    align-items: center;
    gap: 1rem;
}


/* --- Grid Column Styling --- */

.flight-airline {
    text-align: center;
}

.flight-airline img {
    width: 35px;
    margin-bottom: 0.25rem;
}

.flight-airline span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.flight-departure,
.flight-arrival {
    text-align: left;
}

.flight-departure strong,
.flight-arrival strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
}

.flight-departure span,
.flight-arrival span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.flight-travel-arrow {
    text-align: center;
}

.flight-travel-arrow span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.arrow {
    width: 100%;
    min-width: 80px;
    height: 1px;
    background-color: var(--border-color);
    position: relative;
    margin: 0.25rem 0;
}

.arrow::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -2px;
    top: -7px;
    color: var(--text-light);
}

.flight-baggage {
    text-align: center;
    color: var(--text-light);
}

.flight-baggage i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.flight-baggage span {
    font-size: 0.8rem;
    font-weight: 500;
}


/* --- Pricing and Booking Section --- */

.pricing-info {
    text-align: right;
    border-left: 1px solid var(--border-color);
    padding-left: 2rem;
}

.price-display strong {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.price-display span {
    font-size: 1rem;
    color: var(--text-light);
}

.price-display small {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-book {
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

.btn-book:hover {
    background-color: var(--primary-dark);
}

.meta-tags {
    margin-top: 1rem;
}

.meta-tags span {
    background-color: var(--light-bg);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: 0.5rem;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    /* Ensures icon and text align */
}


/* NEW: Specific styling for the available seats tag */

.meta-tags span.seats-available {
    background-color: #e8f5e9;
    /* Light green */
    color: #2e7d32;
    /* Darker green */
    border-color: #a5d6a7;
    /* Medium green border */
    font-weight: 600;
}


/* NEW: Styling for icons inside meta tags */

.meta-tags span i {
    margin-right: 6px;
    opacity: 0.7;
}


/* --- No Results Message --- */

.no-results {
    text-align: center;
    padding: 3rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}


/* --- RESPONSIVE STYLES --- */

@media (max-width: 992px) {
    .fare-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pricing-info {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 1.5rem;
        text-align: center;
    }
    .meta-tags {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .meta-tags span {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    .flight-leg {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto;
        gap: 0 1rem;
    }
    .flight-airline {
        grid-row: 1 / span 4;
    }
    .flight-departure,
    .flight-arrival,
    .flight-travel-arrow,
    .flight-baggage {
        text-align: left;
    }
    .flight-travel-arrow .arrow {
        width: 40px;
        transform: rotate(90deg);
        transform-origin: left;
        margin: 0.75rem 0 0.75rem 5px;
    }
    .flight-travel-arrow .arrow::after {
        left: 38px;
        top: -7px;
    }
    .flight-baggage {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    .flight-baggage i {
        display: inline-block;
        margin-bottom: 0;
    }
}

.trip-type-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.trip-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.trip-btn.active {
    border-color: #4A90E2;
    background: #EAF2FF;
    color: #4A90E2;
    font-weight: bold;
}