/* Global Reset & Base */
:root {
    --primary-green: #00D28B;
    /* Restored to nice vibrant green */
    --hover-green: #00b376;
    /* Adjusted hover state */
    --dark-navy: #0f172a;
    --text-primary: #111827;
    --text-secondary: #374151;
    --footer-text: #94a3b8;
    /* Lightened from #9ca3af */
    --border-color: #D1D5DB;
    --white: #FFFFFF;
    --purple-blob: #E9D5FF;
    --green-blob: #D1FAE5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: #F8F9FA;
    line-height: 1.5;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    transition: all 0.3s ease;
    padding: 32px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
}

/* --- LOGO SYSTEM (HTML/CSS Version) --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10010;
    transition: transform 0.3s ease;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.logo-circle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 6px solid #ffffff;
    /* Default: White for Hero */
    transition: all 0.3s ease;
}

.logo-text-stacked {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 19px;
    /* Adjusting for stacked look */
}

/* Default Colors (For Dark Hero) */
.logo .t1,
.logo .t2 {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* 1. SCROLLED STATE (White Navbar) */
.navbar.scrolled .logo-circle {
    border-color: #1F2937;
    /* Softer dark navy instead of pure black */
}

.navbar.scrolled .logo .t1 {
    color: #1F2937;
}

.navbar.scrolled .logo .t2 {
    color: var(--primary-green);
}

/* 2. MOBILE STATE (< 1000px) */
@media (max-width: 1000px) {
    .logo-text-stacked {
        display: none;
        /* Only the ring on mobile */
    }

    .logo-circle {
        width: 32px;
        height: 32px;
        border-color: #ffffff;
        /* White ring on mobile for dark background */
    }

    /* When scrolled/white background on mobile */
    .navbar.scrolled .logo-circle {
        border-color: var(--primary-green);
        /* Stick to brand green on scrolled white background */
    }
}

/* 3. LOGO OPEN DRAWER (Mobile) */
.nav-container.open .logo .logo-circle {
    border-color: #1F2937;
}


/* Desktop Navigation Links - Centered */
/* Desktop Navigation Links - Centered */
.desktop-nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.desktop-nav-links a {
    text-decoration: none;
    color: #ffffff;
    /* White by default (Transparent BG) */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.desktop-nav-links .nav-destinations {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-nav-links .nav-destinations::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    margin-left: 4px;
}

.desktop-nav-links a:hover {
    color: var(--primary-green);
    /* Hover color stays same */
}

/* Right Actions (Desktop) */
.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-actions {
    display: none;
    /* Hidden on Desktop */
}

.nav-lang {
    text-decoration: none;
    color: #ffffff;
    /* White by default */
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-mybookings {
    background-color: var(--primary-green) !important;
    color: #002B1C !important;
    padding: 10px 22px;
    /* Slightly larger */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-mybookings:hover {
    background-color: var(--hover-green);
}

/* Desktop Actions Stack - artik kullanilmiyor, desktop-actions direkt row */
.desktop-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.desktop-stack .btn-mybookings,
.desktop-actions .btn-mybookings {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* Desktop Language Switcher Styles - Clean Version (No Glass Container) */
.lang-switcher-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Slightly tighter gap */
    background: none !important;
    padding: 0;
    border: none !important;
    transition: all 0.3s ease;
    height: auto;
}

.navbar.scrolled .lang-switcher-desktop {
    background: none !important;
    border: none !important;
}

.lang-switcher-desktop .flag-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    /* Fixed container for the flag */
    height: 28px;
    /* Fixed container for the flag */
    transition: all 0.3s ease;
}

.flag-img {
    width: 22px;
    height: 16px;
    aspect-ratio: 22 / 16;
    object-fit: cover;
    border-radius: 2px;
    filter: opacity(0.65);
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Active flag: full color, slightly larger */
.flag-btn.active .flag-img {
    filter: opacity(1) !important;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Hover: full color */
.flag-btn:hover .flag-img {
    filter: opacity(1) !important;
    transform: scale(1.15);
}

.flag-btn.active:hover .flag-img {
    transform: scale(1.5);
}

/* Mobile Nav Flags Fix */
.mobile-nav-flags .flag-img {
    width: 36px;
    height: 26px;
    border-radius: 3px;
    filter: grayscale(0) opacity(1);
    object-fit: cover;
}

.mobile-nav-flags .flag-btn.active .flag-img {
    box-shadow: 0 0 0 2px var(--primary-green);
    border-radius: 3px;
    transform: none;
}

.nav-lang-mobile .flag-img {
    width: 24px;
    height: 24px;
    filter: grayscale(0) opacity(1);
}

/* .navbar.scrolled .logo {
    color: #1F2937 !important;
} */

.navbar.scrolled .desktop-nav-links a,
.navbar.scrolled .nav-lang {
    color: #374151 !important;
    /* Dark text on white background */
}

.navbar.scrolled .desktop-nav-links a:hover {
    color: var(--primary-green) !important;
}

.navbar.scrolled .nav-toggle {
    color: #1F2937;
}

/* Mobile Navigation - Hidden by Default */
.mobile-nav {
    display: none;
}

/* Mobile Toggle Button - Hidden on Desktop */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    z-index: 10010;
    position: relative;
    display: none;
    /* overridden in media query */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-toggle .hamburger {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: all 0.28s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: all 0.28s ease;
}

.nav-toggle .hamburger::before {
    top: -7px;
}

.nav-toggle .hamburger::after {
    top: 7px;
}

.nav-toggle.open .hamburger {
    background: transparent;
}

/* X lines: thinner, gray like reference */
.nav-toggle.open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    width: 18px;
    height: 1.5px;
    background: #9CA3AF;
}

.nav-toggle.open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
    width: 18px;
    height: 1.5px;
    background: #9CA3AF;
}

.nav-overlay {
    display: none;
}

/* Tablet & Mobile Responsive */
@media (max-width: 1000px) {

    /* Hide Desktop Nav Elements */
    .desktop-nav-links,
    .desktop-actions {
        display: none;
    }

    /* Show Mobile Actions */
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Flag button in mobile nav: flat small icon, no big circle */
    .mobile-actions .flag-btn {
        width: auto;
        height: auto;
        border: none;
        background: transparent;
        border-radius: 4px;
        padding: 2px;
        transition: opacity 0.2s;
    }

    .mobile-actions .flag-btn:hover {
        opacity: 0.75;
        transform: none;
        border: none;
    }

    .mobile-actions .flag-img {
        width: 24px;
        height: 18px;
        border-radius: 2px;
        filter: none;
        opacity: 1;
    }

    .nav-lang-mobile {
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        font-size: 0.9rem;
    }

    .nav-help-mobile {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
    }

    /* Mobile Book Button (Green) - Hidden by default */
    .mobile-book-btn {
        display: none;
        background-color: #00D28B;
        /* Primary Green */
        color: #002B1C;
        padding: 8px 16px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
        transition: background-color 0.2s;
    }

    .mobile-book-btn:hover {
        background-color: #00b376;
    }

    .lang-switcher-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-right: 12px;
    }

    /* SCROLLED STATE BEHAVIOR */
    .navbar.scrolled .lang-switcher-mobile,
    .navbar.scrolled .nav-help-mobile {
        display: none;
        /* Hide icons on scroll */
    }

    .navbar.scrolled .mobile-book-btn {
        display: block;
        /* Show Book button on scroll */
    }

    /* Colors when scrolled (toggle button) */
    .navbar.scrolled .nav-toggle {
        color: #374151;
        /* Dark color on white background */
    }

    /* Show Mobile Toggle */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 4px;
    }

    /* Logo adjustments */
    .logo {
        margin-right: auto;
        /* Push everything else to the right */
        font-size: 1.2rem;
        /* Slightly smaller on mobile if needed */
    }

    /* Mobile Navbar - compact, single padding source */
    .navbar {
        padding: 8px 0;
        border-bottom: none;
    }

    .navbar.scrolled {
        padding: 8px 0;
        background-color: #ffffff !important;
        border-bottom: 1px solid #E5E7EB;
    }

    /* ===== MOBILE SLIDE DRAWER (from left) ===== */
    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        max-width: 380px;
        background: #ffffff;
        z-index: 10010;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 60px 0 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0);
    }

    .nav-container.open .mobile-nav {
        transform: translateX(0);
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    }

    /* Mobile Nav Links */
    .mobile-nav a {
        color: #1a2540;
        font-size: 0.975rem;
        font-weight: 400;
        padding: 14px 24px;
        text-decoration: none;
        transition: background 0.15s;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #ffffff;
    }

    .mobile-nav a:first-child {
        margin-top: 0;
    }

    .mobile-nav a:hover {
        background: #F9FAFB;
    }

    /* Divider Between Sections */
    .nav-divider {
        height: 1px;
        background: #E5E7EB;
        margin: 8px 0;
        border: none;
    }

    /* First divider pushes the bottom group (Book Now + flags) to the bottom */
    .mobile-nav>.nav-divider:first-of-type {
        margin-top: auto;
    }

    /* Second divider (below Book Now, above flags): hidden */
    .mobile-nav>.mobile-nav-flags~.nav-divider,
    .mobile-nav>.nav-divider:last-of-type {
        display: none;
    }

    /* My Booking - With List Icon */
    .mobile-nav .nav-mybooking {
        color: #1F2937;
    }

    .mobile-nav .nav-mybooking::after {
        content: '\f0ca';
        font-family: 'Font Awesome 6 Free';
        font-weight: 400;
        font-size: 1rem;
        color: #9CA3AF;
    }

    /* Help - With Question Icon */
    .mobile-nav .nav-help::after {
        content: '\f059';
        font-family: 'Font Awesome 6 Free';
        font-weight: 400;
        font-size: 1.1rem;
        color: #9CA3AF;
    }

    /* Language Flags Container - Bottom: horizontal flags, no divider */
    .mobile-nav-flags {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 16px 24px 28px;
        margin-top: 0;
        justify-content: flex-start;
        align-items: center;
        border-top: none;
    }

    .flag-btn {
        width: auto;
        height: auto;
        border-radius: 4px;
        border: 2px solid transparent;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        cursor: pointer;
        transition: all 0.2s;
        padding: 2px;
        font-size: 0.95rem;
        font-weight: 500;
        color: #1F2937;
        margin-bottom: 0;
    }

    .flag-btn:hover {
        border-color: #D1D5DB;
        background: transparent;
    }

    .flag-btn.active {
        background: transparent;
    }

    .flag-icon {
        font-size: 1.5rem;
        line-height: 1;
    }

    /* Colors when scrolled */
    .navbar.scrolled .nav-toggle,
    .navbar.scrolled .nav-lang-mobile,
    .navbar.scrolled .nav-help-mobile {
        color: #374151;
    }

    /* ===== MENU ACIKKEN (OPEN STATE) ===== */

    /* Logo ve Toggle koyu renk (drawer header'da) */
    .nav-container.open .logo,
    .nav-container.open .nav-toggle {
        color: #1F2937 !important;
    }

    /* Toggle (X) - drawer header sag ust */
    .nav-container.open .nav-toggle {
        position: fixed;
        top: 0;
        left: auto;
        right: 15%;
        z-index: 10012;
        margin: 0;
        width: 60px;
        height: 60px;
    }

    /* 380px max-width sonrasi: X butonu drawer'in sag kenarinda */
    @media (min-width: 448px) {
        .nav-container.open .nav-toggle {
            right: auto;
            left: 320px;
        }
    }

    /* Logo - drawer header sol ust: sadece ikon, kucuk daire */
    .nav-container.open .logo {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10012;
        width: auto;
        height: 60px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        gap: 0;
        color: #1F2937 !important;
    }

    /* Logo text: hidden when drawer is open */
    .nav-container.open .logo .logo-text {
        display: none;
    }

    /* Logo icon - small dark circle */
    .nav-container.open .logo i {
        width: 34px;
        height: 34px;
        background: #1F2937;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    /* Menu acikken sagdaki ikonlari gizle */
    .nav-container.open .mobile-actions {
        display: none;
    }

    .nav-toggle {
        margin-right: 8px;
    }

    /* Drawer header bar */
    .nav-container.open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 380px;
        height: 60px;
        background: #ffffff;
        z-index: 10011;
        border-bottom: 1px solid #E5E7EB;
    }

    /* Dark overlay behind drawer */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 10005;
        pointer-events: none;
        transition: background 0.3s ease;
    }

    .nav-container.open .nav-overlay {
        background: rgba(0, 0, 0, 0.4);
        pointer-events: auto;
    }
}

/* HERO */
.hero {
    position: relative;
    height: 750px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('../../images/background.webp') no-repeat center center/cover;
    background-attachment: scroll;
}

@media (max-width: 768px) {
    .hero {
        height: 600px;
        /* Reduced for mobile */
        /* For mobile, we might want to prioritize faster loading over large cover */
        background:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.3)),url('../../images/background-mobile.webp') no-repeat center 20%/cover;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 24px 80px;
}

.hero-text {
    flex: 1;
    color: #fff;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.4rem;
    opacity: 0.95;
    font-weight: 500;
    margin-bottom: 20px;
}

/* WIDGET */
.booking-widget {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 380px;
    min-height: 530px;
    /* Pre-reserve height to reduce CLS */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.widget-title {
    font-size: 1rem;
    height: 1.2rem;
    /* Fixed height for title */
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    /* Use our new darker text variable */
}

.route-group {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    background: #fff;
}

.route-input {
    position: relative;
    padding-left: 0;
    /* padding shifted to input for precise dropdown alignment */
    transition: all 0.2s;
}

/* Autocomplete wrapper: position:relative is the anchor for dropdown */


.route-input:focus-within {
    background: transparent !important;
    /* Transparent to keep the 'o' icon and dots visible */
    z-index: 5000;
    /* High enough to bring the whole container (and dropdown) above other fields */
    border-radius: 6px;
    box-shadow: 0 0 0 2px #111827;
}

/* Redundant blocks removed */

.autocomplete-hint {
    padding: 16px 20px 16px 44px;
    /* Align with the vertical dotted line */
    color: #4B5563;
    /* Darker, more legible gray */
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.autocomplete-item {
    padding: 12px 16px 12px 44px;
    /* Space for icons on the left */
    /* ... remains same ... */
}

.route-input input {
    border: none;
    outline: none;
    width: 100%;
    padding: 16px 12px 16px 48px;
    /* Added 48px padding (was 44px) to prevent overlap with pins on small screens */
    font-size: 0.95rem;
    color: #1F2937;
    background: transparent;
}

.route-input.top {
    border-bottom: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

/* Top divider turns red only when bottom field has an error (standalone) */
.route-input.top.error {
    border-bottom-color: #EF4444;
}

/* .route-input itself gets a border when it errors â€” match route-group corners */
.route-input.error {
    border: 1px solid #EF4444;
    background: #fff8f8;
}

/* Top field error: round top corners to match the route-group */
.route-input.top.error {
    border-bottom: 1px solid #EF4444;
    border-radius: 6px 6px 0 0;
}

/* Bottom field error: round bottom corners to match the route-group */
.route-input.bottom.error {
    border-radius: 0 0 6px 6px;
    margin-top: -1px;
}

/* When BOTH fields error: top overlaps cleanly into bottom */
.route-input.top.error+.route-input.bottom.error {
    border-top: none;
    margin-top: 0;
}

/* When only top errors, no double border on the separator */
.route-input.top.error+.route-input.bottom:not(.error) {
    border-top: none;
}

/* Autocomplete Dropdown Styles */
.autocomplete-wrapper {
    position: relative;
}

/* Autocomplete Dropdown Styles removed and moved to end for consistency */

/* On mobile/smaller widgets, ensure dropdown doesn't overflow or look detached */
.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-hint {
    padding: 16px 20px;
    color: #9CA3AF;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}


.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #F9FAFB;
}

.item-icon {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.item-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.2;
}

.item-type {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: capitalize;
}


.route-overlay {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    padding: 20px 0;
    z-index: 4500;
    /* High enough to be visible but lower than dropdown (5001) */
}

.route-icon-start {
    width: 10px;
    height: 10px;
    border: 3px solid #6B7280;
    border-radius: 50%;
    background: transparent;
    z-index: 2;
}

.route-dots {
    flex-grow: 1;
    border-left: 2px dotted #9CA3AF;
    margin: 4px 0;
    width: 0;
}

.route-icon-end {
    color: #4B5563;
    font-size: 1.1rem;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.date-input-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 16px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    cursor: pointer;
}

.date-field {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 0.95rem;
    color: #1F2937;
    background: transparent;
    cursor: pointer;
}

.counts-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.count-col {
    flex: 1;
}

.counter-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    height: 52px;
    padding: 0 6px;
    justify-content: space-between;
    transition: all 0.2s;
}

.counter-box:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.counter-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    background: #f8fafc;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.counter-btn:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-1px);
}

.counter-btn:active {
    transform: scale(0.92);
}

.counter-val {
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-green) !important;
    /* Force darker green */
    color: #002B1C !important;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    background-color: var(--hover-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -1px rgba(0, 0, 0, 0.25);
}

.widget-reassurance {
    font-size: 0.82rem;
    color: #6B7280;
    text-align: center;
    margin-top: 30px;
    line-height: 1.3;
    font-weight: 500;
}

.widget-footer {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #4B5563;
    align-items: center;
    margin-top: 10px;
}

.footer-icon-circle {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 1.1rem;
}


/* CONTENT WRAPPER - ADJUSTED FOR 100PX TOTAL GAP */
.content-wrapper {
    position: relative;
    z-index: 20;
    padding-bottom: 50px;
    /* 50px here */
}

.white-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -80px;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    /* Consistent padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    width: 100%;
}

.cards-grid {
    display: flex;
    gap: 30px;
}

.info-card {
    flex: 1;
}

.card-img-wrapper {
    height: 180px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Base zoom-in */
    transition: transform 0.5s ease;
}

/* Specific zoom for We Monitor for better impact */
.card-img-wrapper img.zoom-extra {
    transform: scale(1.5);
}

.info-card:hover img {
    transform: scale(1.2);
    /* Extra zoom on hover */
}

.info-card:hover img.zoom-extra {
    transform: scale(1.55);
    /* Even MORE on hover for the extra zoomed ones */
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #111827;
}

.info-card p {
    color: var(--text-secondary);
    /* Use our new darker secondary text */
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 45px;
}

/* SHARED CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}


/* EXTRAS SECTION (RESTORED STYLE) */
.extras-section {
    padding: 30px 0 30px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* EXTRAS HEADER */
.extras-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.extras-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.green-divider {
    width: 50px;
    height: 4px;
    background: #00D28B;
    margin: 0 auto;
    border-radius: 4px;
}

/* DECORATIVE BLOBS (RESTORED) */
.decor-blob-purple {
    position: absolute;
    top: 100px;
    left: 0;
    width: 160px;
    height: 160px;
    background: var(--purple-blob);
    border-radius: 30px;
    opacity: 0.6;
    z-index: -1;
    transform: rotate(0deg);
}

.decor-blob-green {
    position: absolute;
    bottom: 40px;
    right: -5px;
    width: 175px;
    height: 175px;
    background: var(--green-blob);
    border-radius: 40px;
    opacity: 0.6;
    z-index: -1;
    transform: rotate(0deg);
}

.relative-container {
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

/* CONTROLS CONTAINER (BOTTOM CENTER) */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -20px;
    width: 100%;
    position: relative;
    z-index: 30;
}

.prev-extra {
    left: auto;
}

.next-extra {
    right: auto;
}

@media (max-width: 767px) {
    .nav-btn {
        display: flex;
    }

    .relative-container {
        padding: 0 24px;
    }
}

.extras-slider-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: none;
    cursor: grab;
}

.extras-slider-container::-webkit-scrollbar {
    display: none;
}

.extras-track {
    display: flex;
    gap: 10px;
    width: max-content;
    padding: 0 10px;
}

/* CARD DESIGN WITH WHITE FRAME & HOVER EFFECT */
.extra-card {
    position: relative;
    width: 280px;
    height: 320px;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.extra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.extra-img {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.extra-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 400 / 250;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Base Gradient Overlay */
.extra-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

/* Start Text Overlay Logic */
.extra-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.extra-info h3,
.extra-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s;
}

.extra-info p {
    font-size: 0.85rem;
    color: #ffffff;
    /* pure white for better contrast on gradient */
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* HOVER STATE: Text background turns white */
.extra-card:hover .extra-info {
    background: #fff;
    bottom: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.extra-card:hover .extra-info h3,
.extra-card:hover .extra-info h4 {
    color: var(--dark-navy);
    text-shadow: none;
}

.extra-card:hover .extra-info p {
    color: #111827;
    /* Dark text on white background */
    text-shadow: none;
}

/* Hide gradient on hover so white bg is clean */
.extra-card:hover .extra-img::after {
    opacity: 0;
}

.extra-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.extra-badge.free {
    background: #00D28B;
    color: #fff;
}

.extra-badge.optional {
    background: #F59E0B;
    color: #fff;
}

/* Ensure container allows full width scrolling */
.container-wide {
    max-width: 1400px;
}


/* EXTRAS SECTION (RESTORED STYLE) */
.extras-section {
    padding: 30px 0 30px;
    /* Reduced top padding to 10px */
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* EXTRAS HEADER */
.extras-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.extras-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.green-divider {
    width: 50px;
    height: 4px;
    background: #00D28B;
    margin: 0 auto;
    border-radius: 4px;
}

/* DECORATIVE BLOBS (RESTORED) */
.decor-blob-purple {
    position: absolute;
    top: 100px;
    left: 0;
    width: 160px;
    height: 160px;
    background: var(--purple-blob);
    border-radius: 30px;
    opacity: 0.6;
    z-index: -1;
    transform: rotate(0deg);
}

.decor-blob-green {
    position: absolute;
    bottom: 40px;
    right: -5px;
    width: 175px;
    height: 175px;
    background: var(--green-blob);
    border-radius: 40px;
    opacity: 0.6;
    z-index: -1;
    transform: rotate(0deg);
}

.relative-container {
    position: relative;
    z-index: 5;
    /* Ensure container has some padding for buttons to sit on edges */
    padding: 0 20px;
}

/* CONTROLS CONTAINER (BOTTOM CENTER) */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -20px;
    /* Moved up closer to cards */
    width: 100%;
    position: relative;
    z-index: 30;
}

/* NAVIGATION BUTTONS consolidated later */

.prev-extra {
    left: auto;
    /* Align to container edge */
}

.next-extra {
    right: auto;
}

@media (max-width: 767px) {
    .nav-btn {
        display: flex;
        /* Ensure they are visible on mobile if desired, or none */
    }

    .relative-container {
        padding: 0 24px;
    }
}

.extras-slider-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 40px;
    /* Added 20px top padding to prevent clipping on hover */
    scrollbar-width: none;
    cursor: grab;
}

.extras-slider-container::-webkit-scrollbar {
    display: none;
}

.extras-track {
    display: flex;
    gap: 10px;
    /* Reduced gap to 10px as requested */
    width: max-content;
    padding: 0 10px;
}

/* CARD DESIGN WITH WHITE FRAME & HOVER EFFECT */
.extra-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    /* Cleaner, lighter shadow */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.extra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    /* More subtle hover shadow */
}



.extra-img {
    width: 100%;
    height: 100%;
    /* Fill the padded area */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.extra-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Base Gradient Overlay (Always visible for text readability) */
.extra-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

/* Start Text Overlay Logic */
.extra-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    transition: all 0.3s ease;
    /* Normally transparent/gradient based */
}

.extra-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s;
}

.extra-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: color 0.3s;

    /* Clamp text to keeping layout clean */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* HOVER STATE: Text background turns white */
.extra-card:hover .extra-info {
    background: #fff;
    /* White background on hover */
    bottom: 0;
    /* Ensures it stays put or can animate up */
    border-top-left-radius: 12px;
    /* Smooth corners if wanted */
    border-top-right-radius: 12px;
}

.extra-card:hover .extra-info h4 {
    color: var(--dark-navy);
    /* Dark text on white */
    text-shadow: none;
}

.extra-card:hover .extra-info p {
    color: #6B7280;
    /* Gray text on white */
    text-shadow: none;
}

/* Hide gradient on hover so white bg is clean */
.extra-card:hover .extra-img::after {
    opacity: 0;
}

.extra-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.extra-badge.free {
    background: #00D28B;
    color: #fff;
}

.extra-badge.optional {
    background: #F59E0B;
    color: #fff;
}




/* Ensure container allows full width scrolling */
.container-wide {
    max-width: 1400px;
    /* Wider container for the slider */
}




/* SECTIONS */
/* SOCIAL PROOF NEW SECTION */
.social-proof-new {
    padding: 30px 0 30px;
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* 80px Navbar + 10px Gap - 30px Section Padding = 60px */
    scroll-margin-top: 60px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 20px;
    text-align: center;
    /* Center globally */
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Review Platforms Row */
.review-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.platform-item {
    text-align: center;
    /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center flex items */
    gap: 6px;
    min-width: 140px;
}

.review-text {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 2px;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark-navy);
}

.rating-score {
    font-size: 0.95rem;
    color: var(--dark-navy);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.divider {
    width: 1px;
    height: 50px;
    background: #E5E7EB;
}


/* Photo Grid */
.riders-gallery-wrapper {
    position: relative;
    max-width: 1200px;
    /* Match standard container width */
    margin: 0 auto;
    padding: 20px;
    /* Internal padding */
    width: 100%;
}

/* Background Decorations (Pale Mint Blobs) - RECTANGULAR & ALIGNED LIKE REWARDS */
/* Background Decorations - THINNER PROTRUSION (SUBTLE) */
.gallery-blob-left {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 175px;
    height: 175px;
    background: #D1FAE5;
    border-radius: 40px;
    z-index: 0;
}

.gallery-blob-right {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 175px;
    height: 175px;
    background: #D1FAE5;
    border-radius: 40px;
    z-index: 0;
}

.riders-grid {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 5;
    /* Removed fixed height to let content dictate, but forced img heights */
}

/* Fix layout sizing including borders */
.riders-grid * {
    box-sizing: border-box;
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 0px;
    /* Strict equal split with zero basis */
    min-width: 0;
    /* Prevent content overflow */
}

/* RESTORED RATIOS: EQUAL SPLIT */
.col-large {
    flex: 1;
    /* 50% width */
}

.col-mixed {
    flex: 1;
    /* 50% width */
}

/* Remove complex ratio logic classes */


.grid-row-small {
    display: flex;
    gap: 24px;
}

.grid-img {
    display: block;
    /* Fix vertical align issues */
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 5px solid #fff;
}

/* ADJUSTED HEIGHTS FOR BETTER PROPORTIONS */
.img-main,
.img-wide {
    height: 340px !important;
    /* Slightly reduced from 380px */
}

.grid-row-small .grid-img {
    height: 140px !important;
    /* Reduced from 160px to prevent overflow */
    flex: 1;
}

@media (max-width: 767px) {
    .review-platforms {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        /* center items on narrow viewports */
        padding-left: 0;
        padding-right: 0;
    }



    .divider {
        display: none;
    }

    .review-platforms .platform-item {
        width: auto;
        border-bottom: none;
        padding: 6px 0;
    }

    .riders-grid {
        flex-direction: column;
        gap: 16px;
        padding: 0 12px;
    }

    .gallery-blob-left,
    .gallery-blob-right {
        display: none;
    }

    /* Mobile photo adjustments */
    .img-main,
    .img-wide {
        height: auto !important;
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 12px;
    }

    .grid-row-small {
        display: flex;
        gap: 12px;
        flex-direction: column;
        /* stack images */
    }

    .grid-row-small .grid-img {
        height: auto !important;
        width: 100% !important;
        aspect-ratio: 16/9;
        border-radius: 12px;
        border: 3px solid #fff;
    }

    /* Center review cards on mobile */
    .reviews-grid .review-card {
        text-align: center;
    }

    .reviews-grid .review-card .review-meta {
        justify-content: center;
        gap: 10px;
        margin-top: 6px;
    }

    .review-stars {
        margin: 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
        gap: 30px;
        margin-top: 40px;
    }

    .reviews-grid .review-card {
        text-align: center;
    }
}



/* REVIEWS SECTION (NEW) */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Generous gap */
    margin-top: 60px;
    text-align: left;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* 3-Column Reviews Grid Override */
.reviews-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 50px;
    margin-bottom: 30px;
    position: relative;
}

.reviews-grid-3 .review-card {
    background: transparent;
    padding: 0 35px;
    border: none;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.reviews-grid-3 .review-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #E5E7EB;
}

.reviews-grid-3 .review-card:hover {
    transform: scale(1.03);
}

.reviews-grid-3 .review-card:hover .review-body {
    color: var(--dark-navy);
}

.reviews-grid-3 .review-body {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    color: #4B5563;
    min-height: 85px;
    transition: color 0.3s ease;
}

.reviews-grid-3 .review-stars {
    margin-bottom: 12px;
    justify-content: center;
}

.reviews-grid-3 .review-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.reviews-grid-3 .review-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4B5563;
}

@media (max-width: 900px) {
    .reviews-grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 16px;
    }

    .reviews-grid-3 .review-card {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        padding: 0 0 30px 0;
    }

    .reviews-grid-3 .review-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.review-card {
    background: transparent;
}

.review-body {
    font-size: 1.05rem;
    color: var(--dark-navy);
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: 500;
}

.reviews-footer {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.btn-view-all-reviews,
.btn-all-dest {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.btn-view-all-reviews:hover,
.btn-all-dest:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #555;
    flex-wrap: wrap;
}

.review-stars {
    color: #00D28B;
    /* Restored nice green stars */
    font-size: 0.9rem;
    letter-spacing: 3px;
    display: flex;
    /* Ensure inline */
}

.review-author {
    font-weight: 600;
    color: #666;
}

.review-date {
    color: #999;
}

@media (max-width: 767px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 30px;
        margin-top: 40px;
    }
}

/* DRIVER SECTION NEW */
.driver-section-new {
    padding: 30px 0 10px;
    background: #fff;
    text-align: center;
}

/* Driver Slider - REMOVED BOTTOM MARGIN FOR OVERLAP */
.driver-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 0;
    /* Removed margin to allow overlap */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    /* Keep slider/photo above vetting box */
}

.slider-content {
    flex: 1;
    position: relative;
    min-height: 280px;
    /* Reserve height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
    /* Space for shadow */
}

.driver-profile {
    display: none;
    /* Hidden by default */
    align-items: center;
    gap: 60px;
    text-align: left;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.driver-profile.active {
    display: flex;
    /* Show only active */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.driver-photo img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    /* Circular profile as common in reference, or adjust to rounded sq */
    object-fit: cover;
    /* border: 4px solid #fff; optional based on preference */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Stronger shadow for depth */
    background: #fff;
    /* Ensure it stands out against green */
    border: 5px solid #fff;
    /* White border to separate from background */
}

.driver-info h3 {
    font-size: 1.8rem;
    color: var(--dark-navy);
    font-weight: 800;
    margin-bottom: 12px;
}

.driver-desc {
    font-size: 1rem;
    color: #4B5563;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 450px;
}

.driver-details {
    display: flex;
    gap: 40px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.detail-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

/* Nav Buttons */
.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Vetting Box - REDUCED OVERLAP */
.vetting-box {
    background: #D1FAE5;
    /* Mint green match */
    border-radius: 20px;
    /* More rounded */
    padding: 60px 60px 60px;
    /* Standard padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: -25px auto 0;
    /* Minimal overlap */
    text-align: left;
    position: relative;
    z-index: 1;
    /* Sits behind the driver photo */
}

.vetting-text {
    flex: 1;
    max-width: 300px;
    /* Slightly narrower */
}

.vetting-text h3 {
    font-size: 1.6rem;
    color: var(--dark-navy);
    font-weight: 800;
    /* Bolder */
    line-height: 1.3;
}

.vetting-steps {
    flex: 2;
    display: flex;
    align-items: flex-start;
    /* Align to top */
    justify-content: flex-end;
    /* Push to right */
    gap: 16px;
    padding-top: 10px;
}

.step-item {
    align-items: center;
    /* Center items */
    text-align: center;
    /* Center text */
    gap: 16px;
    position: relative;
    flex: 1 1 200px;
    max-width: 280px;
    min-height: 220px;
    justify-content: center;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.8rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.final-step {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-top: -8px;
    /* Alignment correction for larger icon */
}

.step-label {
    font-size: 0.9rem;
    color: #4B5563;
    /* Slightly darker grey */
    font-weight: 600;
    line-height: 1.5;
}

/* Dashed Arrows with Arrowhead */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: auto;
    position: relative;
    margin-top: 0;
    min-width: 40px;
}

.step-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 5px;
    /* Leave space for arrow head */
    border-top: 2px dashed #00D28B;
    /* Green dashed line */
    opacity: 0.6;
}

.step-arrow::after {
    content: '\f054';
    /* FontAwesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    /* Smaller arrow head */
    color: #00D28B;
}

@media (max-width: 900px) {
    .driver-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .vetting-box {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
        text-align: center;
    }

    .vetting-text {
        max-width: 100%;
        text-align: center;
    }

    .vetting-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .step-arrow {
        display: none;
    }
}

/* DESTINATIONS SECTION NEW */
.destinations-section {
    padding: 30px 0 10px;
    text-align: center;
    background: #fff;
    /* 80px Navbar + 10px Gap - 30px Section Padding = 60px */
    scroll-margin-top: 60px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.dest-card {
    display: block;
    text-decoration: none;
    height: 220px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dest-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.dest-card:hover {
    transform: translateY(-5px);
}

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.dest-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    text-align: left;
    color: #fff;
    width: calc(100% - 40px);
}

.dest-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dest-content p {
    font-size: 0.85rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.destinations-footer {
    margin-top: 0;
    margin-bottom: 30px;
}

.btn-all-dest {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-all-dest:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #D1D5DB;
}


/* FLEET SECTION */
.fleet-section {
    padding: 30px 0 30px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Fleet Decorative Blobs (Copy of Extras) */
.fleet-blob-purple {
    position: absolute;
    top: 85px;
    left: 00px;
    width: 160px;
    height: 160px;
    background: var(--purple-blob);
    border-radius: 30px;
    opacity: 0.6;
    z-index: -1;
    transform: rotate(0deg);
}

.fleet-blob-green {
    position: absolute;
    bottom: -20px;
    right: -5px;
    width: 175px;
    height: 175px;
    background: var(--green-blob);
    border-radius: 40px;
    opacity: 0.6;
    z-index: -1;
    transform: rotate(0deg);
}

.fleet-section .container {
    position: relative;
    z-index: 5;
}

/* Fleet Track - 4 Column Grid (Same as Extras) */
.fleet-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

/* Fleet-specific card overrides for full-width responsive images */
.fleet-track .extra-card {
    width: 100%;
    height: auto;
    /* let content determine height */
    display: flex;
    flex-direction: column;
}

.fleet-track .extra-img {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleet-track .extra-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    display: block;
    transform: scale(1.15);
    /* Manually zoom in further */
    transition: transform 0.3s ease;
}

.fleet-track .extra-card:hover .extra-img img {
    transform: scale(1.25);
    /* Extra zoom on hover */
}

/* Remove gradient overlay from fleet cards */
.fleet-track .extra-img::after {
    display: none;
}

.fleet-track .extra-info {
    position: relative;
    padding: 16px 10px 10px;
    background: transparent;
}

.fleet-track .extra-info h3,
.fleet-track .extra-info h4 {
    color: var(--dark-navy);
    font-size: 1.25rem;
    text-shadow: none;
}

.fleet-track .extra-info p {
    color: #4B5563;
    text-shadow: none;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .fleet-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fleet-track {
        grid-template-columns: 1fr;
    }

    .fleet-track .extra-img {
        height: 180px;
    }
}


/* HOW IT WORKS SECTION */
.how-it-works-section {
    padding: 30px 0 30px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    text-align: center;
    position: relative;
}

.how-it-works-section .title-underline {
    margin-bottom: 0;
}

.how-it-works-section .step-arrow::before,
.how-it-works-section .step-arrow::after {
    display: none;
}

/* Centered steps layout */
.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* center all items horizontally */
    gap: 5px;
    /* slightly larger gap when centered */
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: nowrap;
    /* keep items in single row on desktop to preserve order */
}

.step-item {
    flex: 3;
    text-align: center;
    position: relative;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Aligns everything to the top */
    padding-top: 20px;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    /* Reduced bottom margin slightly too */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item h4,
.step-item p {
    text-align: center;
}

@media (max-width: 900px) {
    .steps-container {
        gap: 18px;
    }

    .step-icon {
        width: 130px;
        height: 130px;
    }

    .step-item {
        flex: 1 1 220px;
        max-width: 280px;
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .steps-container {
        gap: 14px;
    }

    .step-icon {
        width: 100px;
        height: 100px;
    }

    .step-item {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .steps-container {
        gap: 14px;
    }

    .step-icon {
        width: 88px;
        height: 88px;
    }

    .step-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-green);
}

.step-item:hover .step-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}



.step-item h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.step-item p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    /* Force narrow width */
    margin: 0;
    align-self: flex-start;
    /* Move arrow up to match icon/title line */
    padding-top: 60px;
    /* Align arrow vertically with icons */
    flex-shrink: 0;
}

.step-arrow i {
    font-size: 18px;
    color: rgba(6, 213, 153, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-container {
        flex-wrap: wrap;
        gap: 40px;
    }

    .step-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 250px;
    }

    .step-icon {
        width: 80px;
        height: 80px;
    }

    .step-icon i {
        font-size: 28px;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 50px;
    }

    .step-item {
        flex: 1 1 100%;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .step-icon i {
        font-size: 28px;
    }

    .step-item h4 {
        font-size: 1.2rem;
    }

    .step-item p {
        font-size: 0.9rem;
    }
}


/* AIRPORT GUIDES SECTION */
.guides-section {
    padding: 30px 0 30px;
    text-align: center;
    background: #fff;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    /* Reduced from 30px to close the gap with header */
}

/* tag sizing variables for easy tweaking */
.popular-tags {
    --tag-font: 0.4rem;
    --tag-padding-y: 0.15rem;
    --tag-padding-x: 0.4rem;
    --tag-scale-hover: 2;
}

.tag-item {
    display: inline-block;
    padding: var(--tag-padding-y) var(--tag-padding-x);
    background: #F3F4F6;
    border-radius: 999px;
    color: #374151;
    font-size: var(--tag-font);
    font-weight: 500;
    text-decoration: none;
    transition: transform .18s cubic-bezier(.2, .9, .3, 1), box-shadow .18s ease, background .12s ease;
    transform-origin: center center;
    will-change: transform;
}

/* Hover: grow only the hovered tag (modal-like), bring to front and add shadow */
.tag-item:hover {
    transform: scale(var(--tag-scale-hover));
    z-index: 9999;
    position: relative;
    background: #FFFFFF;
    color: #0f1724;
    box-shadow: 0 18px 40px rgba(15, 23, 36, 0.28);
}

/* FAQ SECTION */
.faq-section {
    padding: 30px 0 30px;
    background: #fff;
    text-align: center;
    /* 80px Navbar + 10px Gap - 30px Section Padding = 60px */
    scroll-margin-top: 60px;
}

.faq-list {
    max-width: 1200px;
    margin: 40px auto 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.faq-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: fit-content;
}

.faq-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-navy);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-question i {
    font-size: 1.1rem;
    color: #9CA3AF;
    transition: transform 0.3s ease;
}

/* Change icon to plus/minus in JS or via pseudo elements, 
   but for now let's use the rotation with the fa-plus icon if we update HTML */
.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary-green);
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
}

.faq-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
    font-size: 0.95rem;
    color: #4B5563;
}

.faq-footer a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.faq-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    .vertical-row,
    .vertical-row.row-reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .floating-widget {
        display: none;
        /* Hide widgets on mobile for cleaner look */
    }

    .learn-more {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}

.footer {
    background: #1F2937;
    padding: 80px 0;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-col a {
    color: #9CA3AF;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1000px) {

    /* Keep nav in flow on tablet/smaller screens to avoid layout overlap */
    /* Restore centered nav in flow on tablet/smaller screens */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        background: transparent;
        position: relative;
        padding: 0 16px;
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .hero-container {
        flex-direction: column;
        padding-top: 100px;
        height: auto;
    }

    /* Make hero height automatic between 480â€“1000px so content determines height */
    .hero {
        height: auto;
        min-height: 0;
        background-position: center top;
        padding-top: 68px;
        padding-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.05;
        text-align: center;
    }

    .hero-text p {
        font-size: 1.1rem;
        text-align: center;
    }

    .booking-widget {
        width: 98%;
        /* Even wider for maximum space */
        max-width: 520px;
        margin: 0 auto 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        /* Restored the premium corners */
    }

    .white-container {
        margin-top: 18px;
        padding: 32px;
    }

    .cards-grid {
        flex-direction: column;
        gap: 20px;
    }

    .decor-blob-purple,
    .decor-blob-green,
    .fleet-blob-purple,
    .fleet-blob-green {
        display: none;
    }
}

/* Mobile Hero & Widget (tablets & small screens) */
@media (max-width: 767px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        padding: 40px 12px 40px;
    }

    .booking-widget {
        width: 100%;
        max-width: 450px;
        padding: 20px 16px;
        margin: 0 auto;
    }

    .hero-text {
        text-align: left;
        margin-right: 0;
        margin-bottom: 5px;
        padding: 0 8px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
        text-align: left;
    }

    .hero-text p {
        font-size: 1.1rem;
        text-align: left;
    }

    .content-wrapper {
        padding-top: 8px;
    }

    .section-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
}

/* Compact phones (â‰¤479px) â€” MUST come after 767px to override */
@media (max-width: 479px) {

    /* Hero: auto height, compact padding */
    .hero {
        height: auto;
        min-height: 0;
        background-position: center top;
        padding-top: 35px;
        padding-bottom: 0;
    }

    .hero-container {
        padding: 20px 24px 20px;
    }

    .hero-text {
        margin-bottom: 5px;
    }

    .hero-text h1 {
        font-size: 2.15rem;
        line-height: 1.1;
        margin-bottom: 8px;
        padding: 0 4px;
        text-align: left;
    }

    .hero-text p {
        font-size: 0.9rem;
        padding: 0 8px;
        text-align: left;
        margin-bottom: 12px;
    }

    .hero-text p br {
        display: none;
    }

    /* Widget: sabit yan bosluk - container padding'i etkiler */
    .booking-widget {
        width: 100%;
        max-width: none;
        margin: 0 auto 12px;
        padding: 18px 24px;
        min-height: auto !important;
        border-radius: 16px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    }

    .widget-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .route-input input {
        font-size: 0.88rem;
        padding: 14px 10px 14px 48px;
    }

    .date-field {
        font-size: 0.88rem;
    }

    .date-input-wrapper {
        height: 46px;
    }

    .form-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .counter-box {
        height: 46px;
    }

    .counter-btn {
        font-size: 1.3rem;
        width: 36px;
    }

    .counts-row {
        gap: 12px;
        margin-bottom: 18px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .widget-reassurance {
        font-size: 0.78rem;
        margin-top: 0;
    }

    /* Mobile menu: drawer inherits from 1000px block, no full-screen override needed */

    /* Layout spacing */
    .white-container {
        margin-top: 12px;
        padding: 20px;
    }

    .card-img-wrapper {
        height: 120px;
    }

    .cards-grid {
        gap: 18px;
    }

    /* Header: smaller logo & flag on compact phones */
    .logo {
        font-size: 1.05rem;
    }

    .nav-toggle {
        z-index: 10011;
    }

}


/* --- Autocomplete Dropdown (AirportTransfer Style) --- */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0 !important;
    margin-left: 0 !important;
    right: auto;
    min-width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #E5E7EB;
    max-height: 380px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
    padding: 8px 0;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-group-header {
    padding: 14px 16px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fff;
}

.autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #F9FAFB;
}

.item-icon-wrapper {
    width: 38px;
    height: 38px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.autocomplete-item:hover .item-icon-wrapper {
    background: #E5E7EB;
}

.item-icon-wrapper i {
    color: #4B5563;
    font-size: 1.1rem;
}

.item-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.item-primary-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-secondary-info {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 400;
    margin-top: 1px;
}

.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
}

/* --- MOBILE SEARCH MODAL --- */
.ms-modal {
    display: none;
}

@media (max-width: 768px) {
    .ms-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 10000;
        display: none;
        flex-direction: column;
        animation: msFadeIn 0.3s ease;
    }

    .ms-modal.active {
        display: flex;
    }

    @keyframes msFadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .ms-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 8px;
        border-bottom: 1px solid #f1f5f9;
        height: 56px;
        flex-shrink: 0;
        background: #fff;
    }

    .ms-close-btn {
        background: none;
        border: none;
        font-size: 1.25rem;
        color: #1e2d44;
        padding: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ms-header-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .ms-back-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #0F294D;
        cursor: pointer;
        width: 40px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .ms-title {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 1.1rem;
        color: #1e2d44;
        letter-spacing: -0.01em;
    }

    .ms-search-container {
        padding: 8px 16px;
        flex-shrink: 0;
    }
 
    .ms-route-box {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-top: 4px;
        margin-bottom: 12px;
    }

    .ms-input-row {
        position: relative;
        display: flex;
        align-items: center;
        height: 48px;
        padding: 0 16px;
        transition: background 0.2s;
        gap: 12px;
    }
 
    .ms-input-row:first-child {
        border-bottom: 1px solid #edf2f7;
    }

    .ms-route-box::before {
        content: '';
        position: absolute;
        left: 31.5px;
        top: 30px;
        height: 40px;
        border-left: 2px dotted #cbd5e1;
        z-index: 4;
        pointer-events: none;
    }

    .ms-input-row.active {
        background: #f8fafc;
    }

    .ms-input-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        font-size: 1.1rem;
        z-index: 5;
    }

    .ms-input-row input {
        flex: 1;
        height: 100%;
        border: none;
        background: transparent;
        padding: 0 4px;
        font-size: 1.05rem;
        font-family: 'Inter', sans-serif;
        color: #1e2d44;
        font-weight: 500;
        outline: none;
    }

    .ms-input-row input::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }

    .ms-clear-field {
        background: #f1f5f9;
        border: none;
        color: #64748b;
        font-size: 0.9rem;
        cursor: pointer;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
    }

    .ms-input-row.active .ms-clear-field {
        display: flex;
    }
    
    .ms-picker-container {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
        display: flex;
        flex-direction: column;
    }

    .ms-results {
        flex: 1;
        overflow-y: auto;
        padding: 0 0 10px 0;
    }

    .ms-hint {
        padding: 40px 20px;
        text-align: center;
        color: #9ca3af;
        font-size: 0.9rem;
    }

    .ms-group-header {
        padding: 8px 16px 4px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #9ca3af;
        letter-spacing: 0.05em;
        background: #f9fafb;
    }
 
    .ms-item {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px solid #f3f4f6;
        cursor: pointer;
        transition: background 0.2s;
    }
 
    .ms-item:active {
        background: #f3f4f6;
    }

    .ms-item-icon {
        width: 44px;
        height: 44px;
        background: #f1f5f9;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .ms-item-icon i {
        font-size: 1.1rem;
        color: #475569;
    }

    .ms-item[data-type="airport"] .ms-item-icon i {
        color: #1a73e8;
    }

    .ms-item-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .ms-item-name {
        font-weight: 600;
        font-size: 1rem;
        color: #1e2d44;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .ms-item-sub {
        font-size: 0.85rem;
        color: #64748b;
        font-weight: 500;
    }

    .ms-footer, .ms-done-btn {
        display: none !important;
    }

    body.ms-open {
        overflow: hidden !important;
    }
}

/* SERVICE CITIES MAP SECTION */
.map-section {
    padding: 30px 0 30px;
    background: #fff;
    text-align: center;
}

.map-subtitle {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 30px;
    margin-top: -20px;
}

#service-map {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

/* Custom marker styles */
.map-section .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-section .leaflet-popup-content {
    margin: 12px 16px;
    font-family: 'Inter', sans-serif;
}

.map-section .popup-title {
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.map-section .popup-text {
    font-size: 0.85rem;
    color: #6B7280;
}

/* Custom Map Markers */
.custom-marker {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.marker-pin {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

.marker-pin.hub {
    background: #06D599;
    width: 30px;
    height: 30px;
    margin: -30px 0 0 -30px;
    box-shadow: 0 4px 12px rgba(6, 213, 153, 0.4);
}

.marker-pin.point {
    background: #374151;
    width: 14px;
    height: 14px;
    margin: -14px 0 0 -14px;
}

.marker-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
    left: 0;
    top: 0;
}

.hub-marker .marker-pin::after {
    width: 18px;
    height: 18px;
    margin: 10px 0 0 10px;
}

.point-marker .marker-pin::after {
    width: 8px;
    height: 8px;
    margin: 5px 0 0 5px;
}

/* Marker Cluster Styles */
.leaflet-cluster {
    height: 40px !important;
    width: 40px !important;
    margin-left: -20px !important;
    margin-top: -20px !important;
    background: #06D599 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(6, 213, 153, 0.4);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff !important;
    border: 3px solid #fff;
}

.leaflet-cluster:hover {
    background: #05C18A !important;
    transform: scale(1.1);
}

/* Spinner for chunked loading */
.leaflet-cluster-anim {
    transition: transform 0.2s;
}

/* ==================== */
/* REVIEWS MODAL STYLES */
/* ==================== */

.reviews-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.reviews-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.reviews-modal {
    background: #fff;
    width: 92%;
    max-width: 800px;
    height: 90vh;
    max-height: 90vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.reviews-modal-overlay.active .reviews-modal {
    transform: scale(1);
    opacity: 1;
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: #00D28B;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close i {
    font-size: 1rem;
    color: #fff;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.modal-close:hover i {
    color: #374151;
}

/* Trust Bar */
.modal-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.trust-badge i {
    font-size: 0.7rem;
}

/* Google - Blue */
.badge-google {
    background: #E8F0FE;
    color: #1A73E8;
}

.badge-google i {
    color: #FBBC04;
}

/* Tripadvisor - Green */
.badge-tripadvisor {
    background: #E6F4EA;
    color: #34A853;
}

.badge-tripadvisor i {
    color: #34A853;
}

/* Trustpilot - Teal */
.badge-trustpilot {
    background: #E0F7F6;
    color: #00B67A;
}

.badge-trustpilot i {
    color: #00B67A;
}

/* Yandex - Red/Orange */
.badge-yandex {
    background: #FEF3E8;
    color: #FC3F1D;
}

.badge-yandex i {
    color: #FC3F1D;
}

/* Reviews.io - Purple */
.badge-reviewsio {
    background: #F3E8FF;
    color: #8B5CF6;
}

.badge-reviewsio i {
    color: #8B5CF6;
}

/* Modal Body (Scrollable) */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
}

/* Reviews List (Single Column) */
.reviews-list {
    max-width: 100%;
    margin: 0 auto;
}

.review-item {
    padding: 24px;
    background: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-green);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-item:nth-child(even) {
    border-bottom-color: #8B5CF6;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #4B5563;
    font-style: italic;
    margin-bottom: 16px;
}

.review-meta-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-type {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6B7280;
    background: #F3F4F6;
    padding: 3px 8px;
    border-radius: 10px;
}

.reviewer-country {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.review-stars-modal {
    margin-top: 6px;
}

.review-stars-modal i {
    color: #00D28B;
    font-size: 0.85rem;
    margin-right: 1px;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
    .reviews-modal {
        width: 95%;
        height: 80vh;
        max-height: 80vh;
    }

    .modal-header {
        padding: 20px 24px 14px;
    }

    .modal-body {
        padding: 30px 24px;
    }

    .modal-trust-bar {
        font-size: 0.75rem;
        gap: 6px;
        padding: 10px 16px;
    }
}

@media (max-width: 600px) {
    .reviews-modal {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .modal-body {
        padding: 24px 20px;
    }

    .modal-header-content h3 {
        font-size: 1.25rem;
    }

    .modal-trust-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-dot {
        display: none;
    }

    .review-text {
        font-size: 0.95rem;
    }
}

/* (Moved to consolidated blocks above) */

/* Very Small Screens - Stack Passengers Input */
@media (max-width: 360px) {
    .counts-row {
        flex-wrap: wrap;
    }

    .count-col {
        flex: 100%;
        /* Force full width stacking */
        min-width: 100%;
    }
}

/* ==================== */
/* NEW FOOTER STYLES    */
/* ==================== */

.footer {
    background-color: #111827;
    /* Very dark/black */
    color: #D1D5DB;
    /* Lighter gray for better contrast on dark background */
    padding: 80px 0 40px;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    /* Brand column wider */
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Column */
.brand-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 5px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--primary-green);
}

/* Footer Links */
.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #E5E7EB;
    /* Lighter color for better contrast */
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.view-all {
    color: var(--primary-green) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #cbd5e1;
    /* Accessible gray on dark */
    font-size: 0.9rem;
}

.trust-text {
    font-size: 0.9rem;
    color: #D1D5DB;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.payment-methods {
    display: flex;
    gap: 16px;
    font-size: 1.8rem;
    color: #fff;
    opacity: 0.9;
}

.copyright {
    font-size: 0.85rem;
    color: #cbd5e1;
    /* Accessible gray (was #94a3b8) */
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-logo .logo-box {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
        gap: 12px;
    }

    .footer-logo .logo-text-stacked {
        display: flex;
        flex-direction: column;
        line-height: 0.95;
        font-size: 19px;
        color: #ffffff !important;
        text-align: left;
    }

    .footer-logo .t1,
    .footer-logo .t2 {
        color: #ffffff !important;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 16px;
    }

    .trust-text {
        justify-content: center;
    }
}

/* FIND PAGE STYLES */
.autocomplete-wrapper {
    position: relative;
}

/* Autocomplete Dropdown Styles removed and moved to end for consistency */

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #F3F4F6;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #F9FAFB;
}

.autocomplete-item i {
    color: #6B7280;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.autocomplete-item-text {
    display: flex;
    flex-direction: column;
}

.autocomplete-item-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.autocomplete-item-type {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- Custom Flatpickr Styles --- */
.flatpickr-calendar {
    font-family: "Inter", sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
}

.flatpickr-day.selected {
    background: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

.flatpickr-time input {
    color: #1F2937;
}

.flatpickr-time .flatpickr-am-pm {
    color: #1F2937;
}

.flatpickr-calendar.arrowTop:before {
    border-bottom-color: #fff;
}

.flatpickr-calendar.arrowTop:after {
    border-bottom-color: #fff;
}

/* --- Custom Vanilla Calendar Styles --- */
.vanilla-calendar {
    font-family: 'Inter', sans-serif;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    z-index: 9999 !important;
    background: #fff !important;
}

.vanilla-calendar-day__btn_selected {
    background-color: var(--primary-green) !important;
    color: #fff !important;
    border-radius: 8px !important;
}

.vanilla-calendar-time__setting {
    background-color: #f3f4f6 !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-weight: 600 !important;
}

.vanilla-calendar-time__input input {
    color: #111827 !important;
    font-weight: 700 !important;
}

.vanilla-calendar-day__btn:hover {
    background-color: #ecfdf5 !important;
    color: var(--primary-green) !important;
}

/* Ensure the popover works well with input-wrapper */
.vanilla-calendar_input {
    width: 100% !important;
    max-width: 350px !important;
}

/* --- Global Alert Modal (Premium) --- */
.at-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100010;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.at-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.at-modal-box {
    background: #fff;
    width: 90%;
    max-width: 420px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.at-modal-overlay.active .at-modal-box {
    transform: translateY(0);
}

.at-modal-icon {
    width: 80px;
    height: 80px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.at-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.at-modal-text {
    font-size: 1rem;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.at-modal-btn {
    background: #ef4444;
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    font-size: 1rem;
}

.at-modal-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

@keyframes at-shake {
    0% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

/* --- Global Form Validation Styles (Consistent with Booking Details) --- */
.form-input.error,
.h-input.error,
.date-input-wrapper.error {
    border-color: #EF4444 !important;
    background-color: #FEF2F2 !important;
    border-radius: 6px;
}

.route-group.error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15) !important;
}

.route-input.top.error {
    border-bottom: 1px solid #EF4444 !important;
}

.error-msg {
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

/* ==================== */
/* LEGAL MODAL STYLES   */
/* ==================== */

.modal-legal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-legal.active {
    opacity: 1;
    visibility: visible;
}

.modal-legal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
}

.modal-legal-container {
    background: #fff;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 90vh;
    border-radius: 16px;
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-legal.active .modal-legal-container {
    transform: translateY(0) scale(1);
}

.modal-legal-header {
    padding: 24px 32px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-legal-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.modal-legal-close {
    background: #f1f5f9;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-legal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-legal-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.modal-legal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-legal-content::-webkit-scrollbar-track {
    background: #f8fafc;
}

.modal-legal-content::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
    border: 2px solid #f8fafc;
}

.modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
    gap: 15px;
}

.legal-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #f1f5f9;
    border-top: 5px solid #00D28B;
    border-radius: 50%;
    animation: legalSpin 1s cubic-bezier(0.53, 0.21, 0.29, 0.67) infinite;
}

@keyframes legalSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .modal-legal-container {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    .modal-legal {
        padding: 0;
    }

    .modal-legal-header {
        padding: 16px 20px;
    }

    .modal-legal-content {
        padding: 30px 20px;
    }
}

/* BLOG CUSTOM COMPLEX GRID */
.blog-custom-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

/* Hidden control for load more */
.blog-extra-row {
    display: none !important;
}

.blog-extra-row.active {
    display: grid !important;
}

/* Mixed Rows: 1/4 and 3/4 Logic */
.blog-row-mixed {
    display: grid;
    grid-template-columns: 1fr 3fr;
    /* 1/4 + 3/4 ratio */
    gap: 10px;
}

/* Flipped version for the top row: 3/4 + 1/4 */
.blog-row-mixed.flipped {
    grid-template-columns: 3fr 1fr;
}

/* 4 Column Rows */
.blog-row-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Card sizing adjustments for mixed rows */
.blog-row-mixed .extra-card {
    width: 100%;
    height: 380px;
    /* Taller height for featured rows */
}

.blog-row-four .extra-card {
    width: 100%;
    height: auto;
}

/* Ensure images cover correctly In the grid */
.blog-custom-grid .extra-img {
    height: 100%;
}

.blog-row-four .extra-img {
    height: 220px;
}

/* BLOBS POSITIONING */
.fleet-blob-purple {
    position: absolute;
    top: 85px;
    left: 0;
    width: 160px;
    height: 160px;
    background: var(--purple-blob);
    border-radius: 30px;
    opacity: 0.6;
    z-index: -1;
}

.blog-blob-green {
    position: absolute;
    bottom: 55px;
    /* User preferred value */
    right: -5px;
    width: 220px;
    height: 220px;
    background: var(--green-blob);
    border-radius: 40px;
    opacity: 0.6;
    z-index: -1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .blog-row-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-row-mixed,
    .blog-row-mixed.flipped {
        grid-template-columns: 1fr;
        height: auto;
    }

    .blog-row-mixed .extra-card {
        height: auto;
    }
}

@media (max-width: 640px) {
    .blog-row-four {
        grid-template-columns: 1fr;
    }
}

/* BLOG BADGES */
.blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 5;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-badge.vlog {
    background: #ef4444;
}

.blog-badge.tips {
    background: #3b82f6;
}

.blog-badge.news {
    background: #00D28B;
}

.blog-badge.guide {
    background: #8b5cf6;
}

.blog-badge.explore {
    background: #f59e0b;
}

/* BLOG MODAL STYLES */
#blog-modal {
    display: none;
    /* Initially hidden */
}

#blog-modal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#blog-modal.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.blog-modal-wide {
    background: #fff;
    width: 100%;
    max-width: 1160px;
    /* Aligned with site container width */
    height: auto;
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#blog-modal.modal-overlay.open .blog-modal-wide {
    transform: translateY(0) scale(1);
}

.blog-modal-wide .blog-badge {
    top: 20px;
    left: 20px;
    right: auto;
}

.modal-main-img {
    width: 100%;
    height: 240px;
    /* Further reduced height */
    position: relative;
    overflow: hidden;
}

.modal-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-modal-body {
    padding: 40px;
}

.modal-meta-row {
    display: flex;
    gap: 15px;
    align-items: center;
    color: #94A3B8;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.modal-divider {
    width: 50px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 4px;
    margin-bottom: 30px;
}

.modal-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.modal-text p {
    margin-bottom: 20px;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    /* Slightly larger for better clickability */
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Stronger shadow */
    z-index: 1000;
    color: #0f172a !important;
    /* Force deep dark navy ALWAYS */
    font-size: 1.2rem;
    transition: all 0.2s ease-in-out;
}

.modal-close:hover {
    color: #EF4444;
    transform: rotate(90deg);
}

/* RESPONSIVE */
@media (max-width: 640px) {
    .blog-modal-body {
        padding: 24px;
    }

    .modal-main-img {
        height: 200px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .blog-modal-wide {
        margin: 12px;
        height: 95vh;
    }
}

/* --- Autocomplete Dropdown (AirportTransfer Style) --- */
.autocomplete-dropdown {
    position: absolute;
    top: 105% !important;
    left: -2px !important;
    right: -2px !important;
    margin-left: 0 !important;
    width: auto !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.2);
    border: none;
    max-height: 380px;
    overflow-y: auto;
    z-index: 5001 !important;
    display: none;
    padding: 8px 0;
    text-align: left;
    box-sizing: border-box !important;
}

.autocomplete-dropdown.show {
    display: block;
}

/* Category Headers */
.autocomplete-group-header {
    padding: 14px 16px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fff;
}

.autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #F9FAFB;
}

/* Icon Wrapper */
.item-icon-wrapper {
    width: 38px;
    height: 38px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.autocomplete-item:hover .item-icon-wrapper {
    background: #E5E7EB;
}

.item-icon-wrapper i {
    color: #4B5563;
    font-size: 1.1rem;
}

/* Content Hierarchy */
.item-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.item-primary-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-secondary-info {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 400;
    margin-top: 1px;
}

/* Scrollbar styling for a cleaner look */
.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
}.modal-close i{color:#0f172a!important;font-size:1.2rem!important;display:flex!important;align-items:center;justify-content:center;}
