/* ============================================
   🎨 FENNY TRAVELS - ULTRA-PREMIUM UI/UX 2025
   Flight-Agency V3 Design Standard
   ============================================ */

/* Import Premium Design System */
@import url('./premium-design-system.css');

/* Legacy Variables - Now using Premium Design System */
:root {
    /* Map legacy variables to premium system */
    --primary-color: #0A2463;
    --secondary-color: #1E3A8A;
    --accent-gold: #D4AF37;
    --accent-teal: #14B8A6;
    --accent-coral: #F87171;
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Use modern premium colors */
    --dark-color: var(--deep-blue);
    --light-color: var(--bg-secondary);
    --text-color: var(--text-primary);
    --text-muted: var(--text-muted);
    --border-color: var(--border-light);
    --bg-white: var(--pure-white);
    --bg-gray: var(--bg-secondary);
    
    --shadow-sm: var(--shadow-soft);
    --shadow: var(--shadow-medium);
    --shadow-md: var(--shadow-deep);
    --shadow-lg: var(--shadow-deep);
    --shadow-xl: var(--shadow-deep);
    --shadow-gold: var(--shadow-gold);
    
    --font-primary: var(--font-display);
    --font-secondary: var(--font-body);
    
    --transition-fast: var(--transition-fast);
    --transition-base: var(--transition-base);
    --transition-slow: var(--transition-slow);
    --transition-bounce: var(--transition-spring);
}

/* Dark mode is now default - no need for [data-theme="dark"] */

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

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(30, 64, 175, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: all var(--transition-base);
    overflow-x: hidden;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 100%;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navy Blue Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.2);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

/* Wider container for hero section */
.hero-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Loading Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes planeFly {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-50px) rotate(5deg);
        opacity: 0;
    }
}

@keyframes cloudMove {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Travel Animations */
@keyframes floatTravel1 {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-100px) rotate(15deg);
        opacity: 0;
    }
}

@keyframes floatTravel2 {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(100px) rotate(-15deg);
        opacity: 0;
    }
}

@keyframes floatTravel3 {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-50px) rotate(10deg);
        opacity: 0;
    }
}

@keyframes floatTravel4 {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(150px) rotate(-10deg);
        opacity: 0;
    }
}

@keyframes floatTravel5 {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.45;
    }

    90% {
        opacity: 0.45;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-80px) rotate(20deg);
        opacity: 0;
    }
}

@keyframes floatTravelVertical1 {
    0% {
        transform: translateY(-100px) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(calc(100vh + 100px)) translateX(100px) rotate(15deg);
        opacity: 0;
    }
}

@keyframes floatTravelVertical2 {
    0% {
        transform: translateY(-100px) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(calc(100vh + 100px)) translateX(-100px) rotate(-15deg);
        opacity: 0;
    }
}

@keyframes floatTravelDiagonal1 {
    0% {
        transform: translateX(-100px) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(25deg);
        opacity: 0;
    }
}

@keyframes floatTravelDiagonal2 {
    0% {
        transform: translateX(calc(100vw + 100px)) translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateX(-100px) translateY(calc(100vh + 100px)) rotate(-25deg);
        opacity: 0;
    }
}

/* Floating Travel Elements Container */
.floating-travel-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-travel-item {
    position: absolute;
    font-size: 2rem;
    pointer-events: none;
    will-change: transform;
    filter: drop-shadow(0 2px 8px rgba(10, 36, 99, 0.15));
}

/* Blue colored items */
.floating-travel-item.color-blue {
    color: rgba(10, 36, 99, 0.4);
    filter: drop-shadow(0 2px 8px rgba(10, 36, 99, 0.2));
}

/* Gold colored items */
.floating-travel-item.color-gold {
    color: rgba(212, 175, 55, 0.5);
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

/* Different sizes for variety */
.floating-travel-item.size-small {
    font-size: 1.5rem;
    opacity: 0.3;
}

.floating-travel-item.size-small.color-blue {
    color: rgba(10, 36, 99, 0.3);
}

.floating-travel-item.size-small.color-gold {
    color: rgba(212, 175, 55, 0.4);
}

.floating-travel-item.size-medium {
    font-size: 2rem;
    opacity: 0.4;
}

.floating-travel-item.size-medium.color-blue {
    color: rgba(10, 36, 99, 0.4);
}

.floating-travel-item.size-medium.color-gold {
    color: rgba(212, 175, 55, 0.5);
}

.floating-travel-item.size-large {
    font-size: 2.5rem;
    opacity: 0.5;
}

.floating-travel-item.size-large.color-blue {
    color: rgba(10, 36, 99, 0.5);
}

.floating-travel-item.size-large.color-gold {
    color: rgba(212, 175, 55, 0.6);
}

/* Animation classes */
.floating-travel-item.anim-1 {
    animation: floatTravel1 20s linear infinite;
}

.floating-travel-item.anim-2 {
    animation: floatTravel2 25s linear infinite;
}

.floating-travel-item.anim-3 {
    animation: floatTravel3 30s linear infinite;
}

.floating-travel-item.anim-4 {
    animation: floatTravel4 22s linear infinite;
}

.floating-travel-item.anim-5 {
    animation: floatTravel5 28s linear infinite;
}

.floating-travel-item.anim-vertical-1 {
    animation: floatTravelVertical1 35s linear infinite;
}

.floating-travel-item.anim-vertical-2 {
    animation: floatTravelVertical2 40s linear infinite;
}

.floating-travel-item.anim-diagonal-1 {
    animation: floatTravelDiagonal1 45s linear infinite;
}

.floating-travel-item.anim-diagonal-2 {
    animation: floatTravelDiagonal2 50s linear infinite;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

/* ============================================
   PREMIUM HEADER - Transparent to Solid
   ============================================ */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(10, 36, 99, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(10, 36, 99, 0.1);
    border-bottom: 1px solid rgba(10, 36, 99, 0.12);
}

/* Transparent on hero section */
.hero-section ~ .main-header,
body:not(.scrolled) .main-header:first-of-type {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    transition: padding var(--transition-base);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    display: block;
}

.navbar-brand:hover .logo {
    transform: rotate(5deg) scale(1.1);
}

/* Logo fallback if image doesn't load */
.navbar-brand .logo[style*="display: none"]+.brand-name {
    display: inline-block;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-blue-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Animated Airplane in Header */
.header-airplane {
    position: absolute;
    top: 20px;
    right: 200px;
    font-size: 2rem;
    opacity: 0.3;
    animation: planeFly 20s linear infinite;
    pointer-events: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.navbar-nav > li > a {
    text-decoration: none;
    color: var(--deep-blue);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all var(--transition-base);
    font-family: var(--font-body);
}

.navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--royal-gold);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.navbar-nav > li > a:hover {
    color: var(--deep-blue-dark);
    transform: translateY(-1px);
}

.navbar-nav > li > a:hover::after {
    width: 100%;
}

/* Packages Dropdown */
.packages-dropdown {
    position: relative;
}

.packages-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.packages-dropdown .dropdown-toggle .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

.packages-dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.packages-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    z-index: 1000;
}

.packages-dropdown:hover .packages-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.packages-menu li {
    margin: 0;
}

.packages-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.packages-menu a i {
    color: var(--royal-gold);
    width: 18px;
}

.packages-menu a:hover {
    background: var(--bg-secondary);
    color: var(--deep-blue);
    padding-left: 2rem;
}

.dropdown {
    position: relative;
}

.user-profile-dropdown .user-profile-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.user-profile-dropdown .user-profile-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-profile-dropdown .user-profile-toggle i:first-child {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-profile-dropdown .user-profile-toggle .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-profile-dropdown .user-profile-toggle .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform var(--transition-base);
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cart Icon */
.cart-icon-wrapper {
    position: relative;
}

.cart-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all var(--transition-base);
    text-decoration: none;
}

.cart-icon-link i {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

.cart-icon-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-icon-link:hover i {
    background: linear-gradient(135deg, #3b82f6, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 12px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cart-icon-link:hover .cart-badge {
    background: linear-gradient(135deg, #3b82f6, #fbbf24);
    transform: scale(1.1);
}

.user-profile-dropdown:hover .user-profile-toggle .fa-chevron-down,
.user-profile-dropdown.active .user-profile-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    min-width: 220px;
    padding: 0.75rem 0;
    display: none;
    list-style: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.3s ease-out;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    position: relative;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #3b82f6, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left-color: rgba(255, 255, 255, 0.6);
    padding-left: 1.5rem;
    transform: translateX(5px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.dropdown-menu a:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    border-left: 3px solid #d4af37;
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
}

/* Premium Buttons with Animations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-display);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-spring);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-medium);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--midnight-blue);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-gold);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-success:disabled {
    opacity: 0.9;
    cursor: not-allowed;
}

.btn-primary.btn-search {
    position: relative;
    overflow: visible;
}

.btn-primary.btn-search::after {
    content: '✈';
    position: absolute;
    right: -30px;
    opacity: 0;
    transition: all var(--transition-base);
}

.btn-primary.btn-search:hover::after {
    right: 20px;
    opacity: 1;
    animation: planeFly 1s ease-out;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-lg {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
}

/* ============================================
   PREMIUM HERO SECTION - Light Theme
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 50%, #F1F3F5 100%);
    padding: calc(var(--section-padding) + 2rem) 0 var(--section-padding);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    margin-top: 80px; /* Account for fixed header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(30, 58, 138, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

/* Animated Clouds */
.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.cloud1 {
    width: 200px;
    height: 60px;
    top: 20%;
    left: -200px;
    animation: cloudMove 30s linear infinite;
}

.cloud1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud1::after {
    width: 60px;
    height: 60px;
    top: -30px;
    right: 10px;
}

.cloud2 {
    width: 150px;
    height: 45px;
    top: 50%;
    left: -150px;
    animation: cloudMove 25s linear infinite;
    animation-delay: -10s;
}

.cloud2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 8px;
}

.cloud2::after {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 8px;
}

.cloud3 {
    width: 180px;
    height: 55px;
    top: 70%;
    left: -180px;
    animation: cloudMove 35s linear infinite;
    animation-delay: -20s;
}

.cloud3::before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 9px;
}

.cloud3::after {
    width: 55px;
    height: 55px;
    top: -27px;
    right: 9px;
}

/* Animated Airplanes */
.hero-airplane {
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: planeFly 25s linear infinite;
    top: 30%;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.hero-airplane:nth-child(2) {
    animation-delay: -8s;
    top: 60%;
    font-size: 2.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeIn 1s ease-out;
    width: 100%;
    overflow: visible;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    text-align: center;
    animation: fadeInUp 1s var(--ease-smooth);
    background: var(--gradient-blue-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    letter-spacing: -0.02em;
}

/* Hero title inside flight search form */
.flight-search-container .hero-title {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 300;
    animation: slideInRight 1s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* ============================================
   PREMIUM FLIGHT SEARCH CONTAINER
   ============================================ */
.flight-search-container {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-hover);
    margin-top: var(--space-lg);
    position: relative;
    animation: fadeInScale 0.8s var(--ease-spring);
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    overflow: visible;
}

.flight-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Manage Booking CTA */
.manage-booking-cta {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-base);
    z-index: 10;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.manage-booking-cta i {
    font-size: 0.7rem;
}

.manage-booking-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.manage-booking-cta:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .manage-booking-cta {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        gap: 0.3rem;
    }
    
    .manage-booking-cta span {
        display: none;
    }
    
    .manage-booking-cta i {
        font-size: 0.8rem;
    }
}

.flight-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 992px) {
    .flight-search-container {
        padding: 0.875rem 1.5rem;
        background: rgba(255, 255, 255, 0.12);
    }
}

.flight-search-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-teal), var(--primary-color));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

.trip-type {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    justify-content: center;
}

.trip-option {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition-base);
    position: relative;
    font-weight: 500;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: none;
}

.trip-option input[type="radio"] {
    display: none;
}

.trip-option:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.trip-option.active {
    background: rgba(255, 255, 255, 0.35);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.trip-option.active::after {
    display: none;
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    align-items: end;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Single row layout for desktop */
@media (min-width: 992px) {
    .search-fields {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.75rem;
        align-items: flex-end;
    }
    
    .search-fields .form-group {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    /* Specific widths for better balance */
    .search-fields .form-group:has(input[name="from"]),
    .search-fields .form-group:has(input[id="fromAirport"]) {
        flex: 1.2 1 0;
        min-width: 140px;
    }
    
    .search-fields .form-group:has(input[name="to"]),
    .search-fields .form-group:has(input[id="toAirport"]) {
        flex: 1.2 1 0;
        min-width: 140px;
    }
    
    .search-fields .form-group:has(input[name="departure_date"]),
    .search-fields .form-group:has(input[id="departureDate"]) {
        flex: 1 1 0;
        min-width: 130px;
    }
    
    .search-fields .form-group.return-date-group {
        flex: 1 1 0;
        min-width: 130px;
    }
    
    .search-fields .form-group:has(.passenger-selector),
    .search-fields .form-group:has(.passenger-btn) {
        flex: 1.1 1 0;
        min-width: 150px;
    }
    
    .search-fields .form-group:has(select[name="cabin_class"]),
    .search-fields .form-group:has(select[id="cabinClass"]),
    .search-fields .form-group:has(input[id="cabinClassDisplay"]) {
        flex: 1 1 0;
        min-width: 140px;
    }
    
    .search-fields .form-group:has(input[id="departureDate"]),
    .search-fields .form-group:has(input[id="returnDate"]) {
        flex: 1 1 0;
        min-width: 130px;
    }
    
    .search-fields .form-group:has(.btn-search),
    .search-fields .form-group:has(button.btn-search) {
        flex: 0 0 auto;
        min-width: 160px;
        max-width: 180px;
    }
    
    .btn-search {
        width: 100%;
        margin-top: 0;
        white-space: nowrap;
    }
    
    /* Ensure all inputs have same height */
    .search-fields input,
    .search-fields select,
    .search-fields .passenger-btn {
        height: 38px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .search-fields {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .search-fields .form-group:has(.btn-search) {
        grid-column: span 2;
    }
}

/* Mobile Optimizations for Flight Search Form */
@media (max-width: 767px) {
    .search-fields {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .search-fields .form-group {
        width: 100%;
        margin-bottom: 0;
    }
    
    .search-fields .form-group:has(.btn-search) {
        grid-column: 1;
        margin-top: 0.5rem;
    }
    
    /* Trip type options - make them smaller and wrap */
    .trip-type {
        gap: 0.4rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trip-option {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        flex: 1 1 auto;
        min-width: 80px;
        text-align: center;
    }
    
    /* Form inputs - larger for touch */
    .search-fields input,
    .search-fields select,
    .search-fields .passenger-btn {
        height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    /* Labels - smaller but readable */
    .search-fields .form-group label {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    /* Search button - full width and larger */
    .btn-search {
        width: 100%;
        height: 48px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        margin-top: 0.5rem;
        grid-column: 1;
    }
    
    /* Passenger button - full width */
    .passenger-btn {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }
    
    /* Advanced options */
    .advanced-options-toggle {
        margin-top: 0.5rem;
    }
    
    .advanced-options-toggle button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .advanced-options {
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .advanced-options .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .advanced-options .form-group {
        width: 100%;
    }
    
    /* Autocomplete dropdowns - full width on mobile */
    .autocomplete-dropdown,
    .airport-autocomplete {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        min-width: auto !important;
    }
    
    .autocomplete-item {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .flight-search-container {
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    .search-fields {
        gap: 0.625rem;
    }
    
    .trip-option {
        padding: 0.375rem 0.625rem;
        font-size: 0.7rem;
        min-width: 70px;
    }
    
    .search-fields input,
    .search-fields select,
    .search-fields .passenger-btn {
        height: 44px;
        font-size: 16px;
        padding: 0.75rem 0.875rem;
    }
    
    .search-fields .form-group label {
        font-size: 0.65rem;
    }
    
    .btn-search {
        height: 48px;
        font-size: 0.9375rem;
        padding: 0.875rem 1.25rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
}

.form-group {
    position: relative;
    z-index: 1;
}

/* Ensure form groups with dropdowns have higher z-index when active */
.form-group:has(.autocomplete-dropdown:not([style*="display: none"])),
.form-group:has(.airport-autocomplete:not([style*="display: none"])) {
    z-index: 99998;
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
    text-shadow: none;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    height: 38px;
    box-sizing: border-box;
}

.form-group input[readonly] {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.85);
}

.form-group input[readonly]:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group:has(input:focus) label,
.form-group:has(select:focus) label {
    color: var(--primary-color);
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

.autocomplete-item {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.autocomplete-item:hover {
    background: var(--light-color);
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.autocomplete-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.autocomplete-item small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Airport Autocomplete Styles */
.airport-autocomplete {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 99999;
    box-shadow: var(--shadow-lg);
    display: none;
    margin-top: 4px;
    min-width: 300px;
    max-width: 500px;
}

[data-theme="dark"] .airport-autocomplete {
    background: rgba(15, 23, 42, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.airport-autocomplete .autocomplete-item {
    padding: 0.875rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

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

.airport-autocomplete .autocomplete-item:hover,
.airport-autocomplete .autocomplete-item.selected {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    padding-left: 1.25rem;
    border-left: 3px solid rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .airport-autocomplete .autocomplete-item:hover,
[data-theme="dark"] .airport-autocomplete .autocomplete-item.selected {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-left: 3px solid var(--accent-gold);
}

.airport-autocomplete .airport-code {
    min-width: 50px;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.8), rgba(30, 58, 138, 0.8));
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .airport-autocomplete .airport-code {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(184, 134, 11, 0.8));
}

.airport-autocomplete .airport-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.airport-autocomplete .airport-info strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

[data-theme="dark"] .airport-autocomplete .airport-info strong {
    color: var(--accent-gold);
}

.airport-autocomplete .airport-info small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .airport-autocomplete .airport-info small {
    color: rgba(255, 255, 255, 0.7);
}

.airport-autocomplete .autocomplete-item.no-results {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: default;
    border: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.airport-autocomplete .autocomplete-item.no-results:hover {
    background: transparent;
    padding-left: 1rem;
    border-left: none;
}

[data-theme="dark"] .airport-autocomplete .autocomplete-item.no-results {
    color: rgba(255, 255, 255, 0.7);
}

/* Form group relative positioning for autocomplete */
.form-group {
    position: relative;
}

.passenger-selector {
    position: relative;
}

.passenger-btn {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    height: 38px;
    box-sizing: border-box;
    color: var(--text-color);
}

.passenger-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.passenger-btn i {
    color: var(--primary-color);
    font-size: 1rem;
}

.passenger-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.passenger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

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

.passenger-item label {
    font-size: 0.8rem;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
}

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

.counter-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.counter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

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

.counter input {
    width: 50px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-search {
    margin-top: 0;
    width: 100%;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 38px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-search:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Mobile: button on new row */
@media (max-width: 991px) {
    .btn-search {
        margin-top: 0.75rem;
        grid-column: 1 / -1;
        height: 48px;
    }
}

/* Compact form optimizations */
.flight-search-form .form-group:has(.btn-search) {
    grid-column: 1 / -1;
}

.advanced-options-toggle {
    margin-top: 0.75rem;
    text-align: center;
}

.advanced-options-toggle button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    transition: all var(--transition-base);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.advanced-options-toggle button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.advanced-options {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.advanced-options .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Return date group styling - controlled by JavaScript */
.return-date-group {
    display: none;
}

/* On desktop, return date appears inline in the same row */
@media (min-width: 992px) {
    .return-date-group[style*="block"] {
        display: flex !important;
        flex-direction: column;
    }
}

/* Features Section - Enhanced */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-soft);
    position: relative;
    z-index: 1;
    overflow: visible;
}

.section-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: var(--text-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.features-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    border-radius: 2px;
}

/* ============================================
   UNIFIED GRID SYSTEM FOR CARDS
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
        max-width: 100%;
    }
}

.feature-card {
    background: var(--gradient-navy-gold);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-light);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--royal-gold);
    background: var(--gradient-navy-gold);
    filter: brightness(1.1);
}

.feature-card i {
    font-size: 2.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    display: inline-block;
    transition: transform var(--transition-spring);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.feature-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-on-dark);
    font-family: var(--font-display);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-size: 0.875rem;
    font-family: var(--font-body);
}

/* Mobile Optimizations for Feature Cards */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.25rem;
        border-radius: 12px;
        min-height: auto;
    }
    
    .feature-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .feature-card p {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin: 0;
    }
    
    .feature-card:hover {
        transform: none; /* Disable hover transform on mobile */
    }
    
    .feature-card:hover i {
        transform: none; /* Disable icon animation on mobile */
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .feature-card i {
        font-size: 1.75rem;
        margin-bottom: 0.625rem;
    }
    
    .feature-card h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
    }
    
    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Destinations - Premium Glassmorphism Cards */
.destinations-section {
    padding: var(--section-padding) 0;
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Destinations section header - navy blue text */
.destinations-section .section-title {
    color: var(--deep-blue);
}

.destinations-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.destinations-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--royal-gold) var(--bg-secondary);
    padding-bottom: var(--space-md);
    flex-wrap: nowrap;
}

.destinations-grid::-webkit-scrollbar {
    height: 8px;
}

.destinations-grid::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

.destinations-grid::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.destinations-grid::-webkit-scrollbar-thumb:hover {
    background: var(--deep-blue);
}

.destination-card {
    scroll-snap-align: start;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    flex-grow: 0;
}

.destination-card {
    position: relative;
    height: 280px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
    background: var(--gradient-navy-gold);
    width: 100%;
    box-sizing: border-box;
}

.destination-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--royal-gold);
}

.destination-card:hover::after {
    opacity: 0.9;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 1.5rem;
    z-index: 2;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.destination-card:hover .destination-overlay {
    transform: translateY(0);
}

.destination-overlay h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.destination-overlay p {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Footer - Premium Styling */
.main-footer {
    background: #000000;
    color: #FFFFFF;
    padding: var(--section-padding) 0 var(--space-md);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure modals appear above footer - highest priority */
.modal-overlay {
    z-index: 999999 !important;
    position: fixed !important;
}

.main-footer {
    z-index: 1 !important;
    position: relative !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-lg);
    color: #FFFFFF;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    line-height: 1.8;
}

.footer-section p i,
.footer-section i {
    color: var(--royal-gold);
    margin-right: var(--space-xs);
    width: 20px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-section a:hover {
    color: var(--royal-gold);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.25rem;
    color: #FFFFFF;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.social-links a:hover {
    background: var(--royal-gold);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--royal-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
    font-size: 0.95rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Sticky Search Bar */
.sticky-search-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--pure-white);
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.sticky-search-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.sticky-search-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.sticky-route-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.sticky-route {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--deep-blue);
    font-family: var(--font-display);
}

.sticky-route i {
    color: var(--royal-gold);
    font-size: 0.875rem;
}

.sticky-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

.sticky-actions .btn {
    white-space: nowrap;
}

/* Search Results - Enhanced */
.search-results-page {
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    min-height: 100vh;
}

.search-summary {
    margin-bottom: 0.75rem;
    background: var(--bg-white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.85rem;
}

.search-summary-content {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.route-info {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.route-info .route {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.route-info .date {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.results-count {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.results-count strong {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

/* Search Results Layout with Sidebar */
.search-results-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .search-results-layout {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .search-results-layout {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 991px) {
    .search-results-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filters-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 1.5rem;
        min-width: 100%;
        width: 100%;
    }
}

/* Filters Sidebar - Optimized & Sticky */
.filters-sidebar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    transition: all var(--transition-base);
    min-width: 280px;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-teal));
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}

.filters-sidebar:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: rgba(30, 58, 138, 0.2);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid rgba(30, 58, 138, 0.1);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    backdrop-filter: blur(10px);
    z-index: 5;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.filters-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.filters-header h3 i {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

.clear-filters {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(30, 58, 138, 0.2);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.875rem;
    border-radius: 8px;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.clear-filters:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.filters-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 138, 0.08);
    transition: all var(--transition-base);
    width: 100%;
    box-sizing: border-box;
}

.filter-group:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(30, 58, 138, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.filter-label::before {
    content: '';
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
}

.filter-select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 2px solid rgba(30, 58, 138, 0.15);
    border-radius: 8px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231e3a8a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1),
                0 4px 12px rgba(30, 58, 138, 0.15);
    background-color: white;
    transform: translateY(-1px);
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.price-range-inputs input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: 2px solid rgba(30, 58, 138, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-base);
    box-sizing: border-box;
    min-width: 0;
}

.price-range-inputs input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background: white;
}

.price-range-inputs span {
    color: var(--text-muted);
    font-weight: 600;
}

#priceRange {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.2), rgba(212, 175, 55, 0.2));
    outline: none;
    -webkit-appearance: none;
    margin: 0.75rem 0;
    cursor: pointer;
}

#priceRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4),
                0 0 0 4px rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
    border: 2px solid white;
}

#priceRange::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.5),
                0 0 0 4px rgba(255, 255, 255, 0.9);
}

#priceRange::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
    border: 2px solid white;
    transition: all var(--transition-base);
}

#priceRange::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.price-display {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-align: center;
    display: block;
    margin-top: 0.5rem;
    font-weight: 700;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    width: 100%;
}

.checkbox-group::-webkit-scrollbar {
    width: 4px;
}

.checkbox-group::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.625rem;
    border-radius: 8px;
    transition: all var(--transition-base);
    font-weight: 500;
    color: var(--text-color);
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.checkbox-group label:hover {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(212, 175, 55, 0.08));
    transform: translateX(4px);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    border-radius: 4px;
    border: 2px solid rgba(30, 58, 138, 0.3);
    transition: all var(--transition-base);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-group input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.checkbox-group input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.checkbox-group label span {
    flex: 1;
    user-select: none;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.flight-results-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: transparent;
}

.flight-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: transparent;
}

.flight-result-container {
    display: block;
    width: 100%;
}

.flight-card {
    background: transparent;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.875rem;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-spring);
    position: relative;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--text-primary);
}

.flight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
    transform: scaleY(0);
    transition: transform var(--transition-spring);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.flight-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-gold), var(--shadow-deep);
    border: 2px solid var(--royal-gold);
    background: rgba(30, 64, 175, 0.05);
    filter: brightness(1.05);
}

.flight-card:hover::before {
    transform: scaleY(1);
}

.flight-card.in-cart {
    border: 3px solid var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2), var(--shadow-gold);
    background: rgba(30, 64, 175, 0.08);
}

.flight-card.in-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: scaleY(1);
}

.flight-main {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(220px, 1fr) minmax(120px, 160px);
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .flight-main {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .flight-airline {
        justify-content: flex-start;
    }
    
    .flight-times {
        justify-content: flex-start;
    }
    
    .flight-price {
        text-align: left;
    }
    
    .flight-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-details,
    .btn-add-to-cart {
        width: 100%;
    }
}

.flight-airline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}

.flight-airline>div {
    min-width: 0;
    flex: 1;
}

.flight-airline strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.flight-airline span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.flight-airline img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-base);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
}

.flight-card:hover .flight-airline img {
    transform: scale(1.1) rotate(5deg);
}

/* Airline logo for booking pages */
.airline-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.airline-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.4rem;
}

.flight-times {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    min-width: 0;
    flex: 1;
    width: 100%;
}

.flight-times::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color), var(--primary-color), var(--border-color));
    z-index: 0;
}

.time-block {
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    padding: 0 0.75rem;
    min-width: 0;
    flex: 0 0 auto;
}

.time-block .time {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
}

.time-block .airport {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time-block .date {
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.time {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    color: var(--text-color);
    margin-bottom: 0.15rem;
}

.airport {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.flight-duration {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    padding: 0.5rem 0.75rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.flight-duration i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.flight-duration .duration-value {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.2;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(212, 175, 55, 0.1));
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(30, 58, 138, 0.15);
    min-width: fit-content;
}

.stops-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    width: 100%;
    margin-top: 0.25rem;
}

.flight-duration i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.stops {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 16px;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(30, 58, 138, 0.2);
    white-space: nowrap;
}

.stops i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.stops strong {
    font-weight: 700;
    font-size: 0.8rem;
}

.stop-airports-list {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.2;
}

.stops.direct {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    font-weight: 600;
    border-color: rgba(16, 185, 129, 0.2);
}

.stops.direct i {
    color: var(--success-color);
}

.stops.direct strong {
    color: var(--success-color);
}

.flight-price {
    text-align: right;
    min-width: 0;
    width: 100%;
}

.flight-price .price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.flight-price strong {
    font-size: 0.66rem;
    color: var(--primary-color);
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.flight-price small {
    font-size: 0.42rem;
    color: var(--text-muted);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
}

.price-total-display {
    font-size: 1.25rem !important;
    font-weight: 700;
}

.flight-price small {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.flight-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    width: 100%;
}

.flight-actions .btn,
.flight-actions .btn-details {
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-details {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.btn-details:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-details.active {
    background: var(--primary-color);
    color: white;
}

/* Flight Details Expanded - Optimized Single Container */
.flight-details-expanded {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.details-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.details-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.details-row .detail-col.full-width {
    grid-column: 1 / -1;
}

.detail-col {
    min-width: 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 138, 0.08);
    transition: all var(--transition-base);
    height: 100%;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(30, 58, 138, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    min-width: 24px;
    padding-top: 0.25rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(212, 175, 55, 0.1));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.detail-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.detail-value.price-total {
    color: var(--primary-color);
    font-size: 0.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.layover-row .detail-item {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(212, 175, 55, 0.05));
    border-color: rgba(30, 58, 138, 0.15);
}

.layover-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.layover-item-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9rem;
}

.layover-item-detail strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.layover-item-detail .stop-info {
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.layover-details strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.direct-item {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.3);
}

.direct-item i {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: var(--success-color);
}

.direct-item .detail-value {
    color: var(--success-color);
    font-weight: 600;
}

.pricing-row .detail-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 134, 11, 0.1));
    border-color: rgba(212, 175, 55, 0.2);
}

.pricing-row .detail-item i {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.2));
    color: var(--accent-gold);
}

.price strong {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Booking Page */
.booking-page {
    padding: 1.5rem 0;
}

.booking-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
}

.booking-section {
    background: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

/* Detail Grid for Booking Information */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.detail-grid > div {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-grid strong {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flight Summary Card */
.flight-summary-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.flight-summary-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.flight-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.airline-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.airline-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-gray);
    padding: 0.5rem;
}

.airline-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.airline-info strong {
    font-size: 1.1rem;
    color: var(--text-color);
}

.airline-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.route-info {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.route-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.route-info .airport {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.route-info .time {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.route-info .duration {
    text-align: center;
    padding: 0.5rem 1rem;
    background: var(--bg-gray);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Admin Table Container */
.admin-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    min-width: 600px;
}

.admin-table thead {
    background: var(--bg-gray);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.admin-table tbody tr:hover {
    background: var(--bg-gray);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* Booking Actions */
.booking-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

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

.passenger-form {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.booking-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-summary-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    margin-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.25rem;
}

/* Dashboard */
.dashboard-page {
    padding: 1.5rem 0;
    padding-top: 100px; /* Account for fixed header */
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section Container - Individual container for each section */
.section-container {
    width: 100%;
    margin-bottom: 0;
}

.section-container:first-child {
    margin-top: 0;
}

.section-container:last-child {
    margin-bottom: 0;
}

.section-container h1 {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.stat-icon.revenue {
    background: var(--success-color);
}

.stat-icon.bookings {
    background: var(--primary-color);
}

.stat-icon.pending {
    background: var(--warning-color);
}

.stat-icon.users {
    background: var(--secondary-color);
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-secondary {
    background: #e5e7eb;
    color: #374151;
}

/* Auth Pages */
.auth-page {
    background: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
}

.auth-card h2 {
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Payment */
.payment-page {
    padding-top: 100px; /* Account for fixed header */
    min-height: calc(100vh - 100px);
}

.payment-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.payment-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-section {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.payment-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.payment-summary-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.payment-gateways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gateway-option {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.gateway-option input[type="radio"] {
    display: none;
}

.gateway-option.active {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.gateway-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gateway-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Filters Section */
.filters-section {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.filters-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.filter-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.filter-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform var(--transition-base);
}

.filter-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.price-range-display {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Booking Page Enhancements */
.booking-page {
    padding: 2rem 0;
    background: var(--bg-gray);
    min-height: 100vh;
}

.booking-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.75rem;
}

.booking-section {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.booking-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.booking-section h3 {
    margin-bottom: 0.875rem;
    color: var(--text-color);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.flight-summary-card {
    background: var(--bg-gray);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.passenger-form {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.875rem;
    transition: all var(--transition-base);
    background: var(--bg-white);
}

.passenger-form:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.passenger-form h4 {
    margin-bottom: 0.875rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.booking-summary-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.booking-summary-card h3 {
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 3px solid var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Dashboard Enhancements */
.dashboard-page {
    padding: 3rem 0;
    padding-top: 100px; /* Account for fixed header */
    background: var(--bg-gray);
    min-height: calc(100vh - 100px);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-teal));
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    transform: scaleY(1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.dashboard-section {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.25rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.action-card {
    background: var(--bg-gray);
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.action-card i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.action-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.action-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 0.75rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1e3a8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    padding: 0.5rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.navbar-nav.mobile-open {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    gap: 0;
}

.navbar-nav.mobile-open li {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .hero-section {
        padding: 2rem 0 1.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .flight-search-container {
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
        max-width: 100%;
    }
    
    /* Flight search form mobile optimizations */
    .search-fields {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    .search-fields .form-group {
        width: 100%;
        margin-bottom: 0;
    }
    
    .trip-type {
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trip-option {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        flex: 1 1 auto;
        min-width: 80px;
        text-align: center;
    }
    
    .search-results-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filters-sidebar {
        position: static;
        max-height: none;
        margin-bottom: 1.5rem;
        min-width: 100%;
        width: 100%;
    }
    
    .filters-header {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    .filter-group {
        padding: 0.75rem;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .search-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .results-count {
        font-size: 0.95rem;
    }
    
    .results-count strong {
        font-size: 1.3rem;
    }
    
    .flight-main {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .flight-airline {
        justify-content: flex-start;
    }
    
    .flight-times {
        justify-content: flex-start;
    }
    
    .flight-price {
        text-align: left;
    }
    
    .flight-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .btn-details,
    .btn-primary,
    .btn-add-to-cart {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        min-height: 44px;
    }
    
    .flight-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .flight-main {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        padding: 0.5rem 0;
    }
    
    .flight-airline {
        flex-direction: row;
        align-items: center;
        gap: 0.625rem;
    }
    
    .flight-airline img {
        width: 45px;
        height: 45px;
    }
    
    .flight-airline strong {
        font-size: 0.875rem;
    }
    
    .flight-airline span {
        font-size: 0.75rem;
    }
    
    .flight-times {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    
    .time-block {
        width: 100%;
    }
    
    .flight-duration {
        margin: 0.5rem 0;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .stops-info {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .flight-price {
        text-align: left;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
    }
    
    .flight-price .price {
        font-size: 1.25rem;
    }
    
    .flight-price .price-label {
        font-size: 0.75rem;
    }
    
    .details-row {
        grid-template-columns: 1fr;
    }
    
    .flight-details-expanded {
        padding: 1rem;
    }
    
    .detail-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .detail-item i {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .layover-details {
        gap: 0.4rem;
    }
    
    .layover-details span {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    
    .search-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-fields {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .trip-type {
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .trip-option {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .form-group label {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .form-group input,
    .form-group select,
    .passenger-btn {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
        height: 44px; /* Touch-friendly */
        border-radius: 8px;
    }
    
    .passenger-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-search {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        height: 48px;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    /* Advanced options mobile */
    .advanced-options {
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .advanced-options .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .advanced-options .form-group {
        width: 100%;
    }
    
    .advanced-options-toggle button {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .booking-sidebar {
        position: static;
    }
    
    .flight-main {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .flight-airline {
        justify-content: center;
        text-align: center;
    }
    
    .flight-airline strong,
    .flight-airline span {
        text-align: center;
    }
    
    .flight-times {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .flight-times::before {
        display: none;
    }
    
    .time-block {
        width: 100%;
        padding: 0.5rem;
    }
    
    .flight-duration {
        width: 100%;
        padding: 0.5rem;
    }
    
    .flight-price {
        text-align: center;
        width: 100%;
    }
    
    .flight-price .price {
        align-items: center;
    }
    
    .flight-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .flight-actions .btn,
    .flight-actions .btn-details {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   NEW HOMEPAGE SECTIONS - Premium Styling
   ============================================ */

/* Featured Deals Section */
.deals-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.deals-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.deals-slider {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.deals-slider::-webkit-scrollbar {
    display: none;
}

.deal-card {
    min-width: 280px;
    max-width: 320px;
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    color: var(--text-on-dark);
}
    scroll-snap-align: start;
    transition: all var(--transition-base);
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.deal-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-gold);
    color: var(--deep-blue);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-display);
    box-shadow: var(--shadow-gold);
}

.deal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.deal-route {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.deal-price .old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.125rem;
}

.deal-price .new-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-blue);
    font-family: var(--font-display);
}

.deals-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.deals-nav button {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-light);
    background: var(--pure-white);
    color: var(--deep-blue);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deals-nav button:hover {
    background: var(--deep-blue);
    color: var(--pure-white);
    border-color: var(--deep-blue);
    transform: scale(1.1);
}

/* VIP Services Section */
.vip-services-section {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

.vip-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.vip-service-card {
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    color: var(--text-on-dark);
}

.vip-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--royal-gold);
}

.vip-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-blue);
    box-shadow: var(--shadow-gold);
}

.vip-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vip-service-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: var(--space-2xl) auto 0;
}

.testimonials-slider {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-lg);
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 100%;
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
    transition: all var(--transition-base);
    color: var(--text-on-dark);
}

.testimonial-rating {
    color: var(--royal-gold);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    display: flex;
    gap: var(--space-xs);
}

.testimonial-text {
    font-size: 1.125rem;
    color: #FFFFFF;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--gradient-blue);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.author-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
}

.author-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonials-nav button {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-light);
    background: var(--pure-white);
    color: var(--deep-blue);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-nav button:hover {
    background: var(--deep-blue);
    color: var(--pure-white);
    border-color: var(--deep-blue);
    transform: scale(1.1);
}

.testimonials-dots {
    display: flex;
    gap: var(--space-sm);
}

.testimonials-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--border-light);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonials-dots .dot.active {
    background: var(--deep-blue);
    width: 32px;
}

/* Trust Badges Section */
.trust-badges-section {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.trust-badge-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    color: var(--text-on-dark);
}

.trust-badge-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.trust-badge-item i {
    font-size: 3rem;
    color: var(--royal-gold);
    margin-bottom: var(--space-md);
}

.trust-badge-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trust-badge-item p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.airline-partners {
    margin-top: var(--space-3xl);
    text-align: center;
}

.partners-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-weight: 600;
}

.airline-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.airline-logo {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-blue);
    transition: all var(--transition-base);
    cursor: pointer;
}

.airline-logo:hover {
    transform: scale(1.1);
    background: var(--gradient-blue);
    color: var(--pure-white);
    box-shadow: var(--shadow-medium);
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-blue);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
}

.newsletter-content > p {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
}

.newsletter-form {
    margin-top: var(--space-xl);
}

.newsletter-input-group {
    display: flex;
    gap: var(--space-md);
    background: var(--pure-white);
    border-radius: var(--radius-full);
    padding: var(--space-xs);
    box-shadow: var(--shadow-deep);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group .btn {
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-full);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.newsletter-privacy {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .deals-section,
    .vip-services-section,
    .testimonials-section,
    .trust-badges-section,
    .newsletter-section {
        padding: var(--section-padding-mobile) 0;
    }

    .deal-card {
        min-width: 280px;
    }

    .vip-services-grid,
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-input-group {
        flex-direction: column;
        border-radius: var(--radius-xl);
    }

    .newsletter-input-group .btn {
        width: 100%;
    }

    .airline-logos {
        gap: var(--space-lg);
    }

    .airline-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   VISA ASSISTANCE PAGE STYLES
   ============================================ */

.visa-process-section {
    padding: var(--section-padding) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-blue);
    color: var(--pure-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    box-shadow: var(--shadow-medium);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.country-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.country-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: var(--royal-gold);
}

.country-flag {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.country-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.country-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.visa-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.visa-service-card {
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    color: var(--text-on-dark);
}

.visa-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-blue);
    box-shadow: var(--shadow-gold);
}

.visa-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.visa-service-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.visa-service-card ul {
    list-style: none;
    padding: 0;
}

.visa-service-card ul li {
    padding: var(--space-sm) 0;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    padding-left: var(--space-lg);
}

.visa-service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--royal-gold);
    font-weight: 700;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .visa-services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DEALS PAGE STYLES
   ============================================ */

.featured-deal-card {
    background: var(--pure-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    max-width: 600px;
    margin: 0 auto;
    transition: all var(--transition-base);
}

.featured-deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.deal-badge-large {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    background: var(--gradient-gold);
    color: var(--deep-blue);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 800;
    font-family: var(--font-display);
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.student-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.student-deal-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
}

.student-deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--royal-gold);
}

.student-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-gold);
    color: var(--deep-blue);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.student-deal-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.route-card {
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    color: var(--text-on-dark);
}

.route-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.route-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.route-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-blue);
    font-family: var(--font-display);
}

.route-discount {
    background: var(--gradient-gold);
    color: var(--deep-blue);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
}

.route-price {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
}

.transfers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.transfer-card {
    background: var(--gradient-navy-gold);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    color: var(--text-on-dark);
}

.transfer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.transfer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--gradient-blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pure-white);
    box-shadow: var(--shadow-medium);
}

.transfer-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.transfer-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-lg);
}

.transfer-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-on-dark);
    margin-bottom: var(--space-lg);
    font-family: var(--font-display);
}

@media (max-width: 768px) {
    .student-deals-grid,
    .routes-grid,
    .transfers-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UX ENHANCEMENTS
   ============================================ */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--gradient-blue);
    color: var(--pure-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-deep);
    z-index: 1000;
    transition: all var(--transition-base);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: var(--gradient-gold);
    color: var(--deep-blue);
}

/* WhatsApp Chat Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-deep);
    z-index: 1000;
    transition: all var(--transition-base);
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .whatsapp-widget {
        bottom: 1rem;
        left: 1rem;
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }
}

/* ============================================
   CHECKOUT PROGRESS BAR
   ============================================ */

.checkout-progress-bar {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 3px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-base);
    margin-bottom: var(--space-md);
}

.step-circle i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.step-number {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.progress-step.active .step-circle {
    background: var(--gradient-blue);
    border-color: var(--deep-blue);
    box-shadow: var(--shadow-gold);
}

.progress-step.active .step-circle i {
    color: var(--pure-white);
}

.progress-step.active .step-number {
    background: var(--royal-gold);
    border-color: var(--royal-gold);
    color: var(--deep-blue);
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-base);
}

.progress-step.active .step-label {
    color: var(--deep-blue);
    font-weight: 700;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--border-light);
    margin: 0 var(--space-sm);
    margin-top: -32px;
    position: relative;
    z-index: 1;
}

.progress-bar-fill {
    position: absolute;
    top: 2rem;
    left: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width 0.6s var(--ease-spring);
    z-index: 1;
    border-radius: var(--radius-full);
}

.checkout-step {
    animation: fadeInUp 0.5s var(--ease-smooth);
}

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

@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .progress-step {
        min-width: 80px;
        margin-bottom: var(--space-lg);
    }
    
    .step-circle {
        width: 56px;
        height: 56px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .progress-line {
        display: none;
    }
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   UNIFIED GRID SYSTEM FOR ALL CARD SECTIONS
   ============================================ */

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

@media (min-width: 1400px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Nigerian Destinations Grid */
.nigerian-destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

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

@media (max-width: 767px) {
    .nigerian-destinations-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* VIP Services Grid - Already defined but optimize */
@media (min-width: 1200px) {
    .vip-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .vip-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Student Deals Grid */
.student-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .student-deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .student-deals-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Routes Grid */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .routes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Transfers Grid */
.transfers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .transfers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .transfers-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Mission Grid (About Page) */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Visa Services Grid */
.visa-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .visa-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .visa-services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Trust Badges Grid - Optimize */
@media (min-width: 1200px) {
    .trust-badges-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* Deals Slider Grid */
.deals-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-lg);
}

@media (min-width: 1200px) {
    .deals-slider {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .deals-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .deals-slider {
        grid-template-columns: 1fr;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
}

/* Countries Grid (Visa Page) */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .countries-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .countries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

/* Process Steps Grid */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

@media (min-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* Addons Grid (Checkout) */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 1200px) {
    .addons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Flight Results Grid */
.flight-results-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    background: transparent !important;
}

/* Consistent Card Styling */
.card:not(.flight-card):not([style*="background"]),
.feature-card,
.destination-card,
.package-card,
.vip-service-card,
.deal-card,
.testimonial-card,
.trust-badge-item,
.route-card,
.transfer-card,
.visa-service-card,
.mission-card,
.contact-info-card {
    width: 100%;
    box-sizing: border-box;
}

/* Apply gradient to generic card class if no explicit background */
.card:not(.flight-card):not([style*="background"]) {
    background: var(--gradient-navy-gold);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.card:not(.flight-card):not([style*="background"]) h3,
.card:not(.flight-card):not([style*="background"]) h4 {
    color: var(--text-on-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card:not(.flight-card):not([style*="background"]) p {
    color: rgba(255, 255, 255, 0.95);
}

/* Apply gradient to any card that doesn't have explicit background */
.mission-card,
.contact-info-card,
.package-card:not([style*="background"]) {
    background: var(--gradient-navy-gold);
    color: var(--text-on-dark);
}

.mission-card h3,
.contact-info-card h3,
.package-card h3 {
    color: var(--text-on-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mission-card p,
.contact-info-card p,
.package-card p {
    color: rgba(255, 255, 255, 0.95);
}

/* Grid Container Utility */
.grid-container {
    display: grid;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

/* Tablet breakpoint for balanced layouts */
@media (min-width: 768px) and (max-width: 1024px) {
    .dashboard-page {
        gap: 1.5rem;
    }
    
    .section-container {
        margin-bottom: 0;
    }
    
    .section-container h1 {
        font-size: 2rem;
    }
    
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .route-info {
        grid-template-columns: 1fr auto 1fr;
        gap: 1rem;
    }
    
    .booking-section {
        padding: 1.5rem;
    }
    
    .flight-summary-card {
        padding: 1.25rem;
    }
}

@media (max-width: 767px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .filters {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    /* Booking Details Responsive */
    .dashboard-page {
        gap: 1.5rem;
        padding-top: 80px;
    }
    
    .section-container {
        margin-bottom: 0;
    }
    
    .section-container h1 {
        font-size: 1.75rem;
        margin-bottom: 0;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .booking-section {
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .flight-summary-card {
        padding: 1rem;
    }
    
    .route-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .route-info .duration {
        order: 2;
        margin: 0.5rem auto;
        max-width: 150px;
    }
    
    .airline-info {
        flex-wrap: wrap;
    }
    
    .airline-logo-small {
        width: 40px;
        height: 40px;
    }
    
    .admin-table {
        font-size: 0.8rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .booking-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .flight-search-container {
        padding: 1rem;
    }
    
    .booking-section,
    .dashboard-section {
        padding: 1.5rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-page {
        padding-top: 80px; /* Smaller padding on mobile */
    }
    
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-sidebar {
        position: static;
        top: auto;
    }
    
    .dashboard-page {
        padding-top: 80px; /* Smaller padding on mobile */
        gap: 1.25rem;
    }
    
    .section-container {
        margin-bottom: 0;
    }
    
    .section-container h1 {
        font-size: 1.5rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flight-summary-card {
        padding: 1rem;
    }
    
    .route-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    .route-info .duration {
        order: 2;
        margin: 0.5rem 0;
    }
    
    .airline-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-table-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .admin-table {
        min-width: 100%;
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .booking-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ============================================ */

/* Base Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Container Optimization */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Section Optimization */
    section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Card Optimization */
    .card,
    .feature-card,
    .destination-card,
    .package-card,
    .vip-service-card,
    .deal-card,
    .testimonial-card,
    .booking-card,
    .stat-card,
    .flight-summary-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .card h3,
    .feature-card h3,
    .destination-card h3,
    .package-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .card p,
    .feature-card p,
    .destination-card p,
    .package-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Grid Optimization - Force Single Column */
    .features-grid,
    .destinations-grid,
    .packages-grid,
    .vip-services-grid,
    .deals-grid,
    .testimonials-grid,
    .trust-badges-grid,
    .dashboard-stats,
    .booking-details,
    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
    
    /* Typography Optimization */
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    h4 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    /* Button Optimization */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        min-height: 44px; /* Touch-friendly */
        width: 100%;
        max-width: 100%;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-height: 36px;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.0625rem;
        min-height: 52px;
    }
    
    /* Form Optimization */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    select,
    textarea {
        width: 100%;
        padding: 0.875rem;
        font-size: 1rem; /* Prevents zoom on iOS */
        min-height: 44px; /* Touch-friendly */
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* Table Optimization */
    .table-container,
    .admin-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    
    table th,
    table td {
        padding: 0.75rem 0.5rem;
        white-space: nowrap;
    }
    
    /* Navigation Optimization */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .logo {
        height: 30px;
    }
    
    /* Footer Optimization */
    .main-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Spacing Optimization */
    .section-padding {
        padding: 2rem 0;
    }
    
    .space-lg {
        margin: 1.5rem 0;
    }
    
    .space-xl {
        margin: 2rem 0;
    }
    
    /* Image Optimization */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Modal Optimization */
    .modal-content {
        max-width: 95%;
        margin: 1rem;
    }
    
    /* Sticky Elements */
    .sticky-search-bar {
        padding: 0.75rem 0;
    }
    
    .sticky-route-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Even More Compact */
    .container {
        padding: 0 0.75rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .card,
    .feature-card,
    .destination-card,
    .package-card,
    .booking-card,
    .stat-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        min-height: 40px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    select,
    textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .main-footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .flight-search-container {
        padding: 1rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    a,
    button,
    input[type="button"],
    input[type="submit"],
    .counter-btn,
    .modal-close {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover,
    .feature-card:hover,
    .destination-card:hover {
        transform: none;
    }
    
    /* Better spacing for touch */
    .navbar-nav li {
        padding: 1rem 0;
    }
}

/* Page-Specific Mobile Optimizations */
@media (max-width: 768px) {
    /* Booking Page */
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .booking-sidebar {
        position: static;
        order: 2;
    }
    
    .booking-main {
        order: 1;
    }
    
    /* Payment Page */
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-sidebar {
        position: static;
        order: 2;
    }
    
    .payment-main {
        order: 1;
    }
    
    /* Dashboard Page */
    .dashboard-page {
        padding-top: 80px;
        gap: 1.5rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Checkout Page */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkout-sidebar {
        position: static;
        order: 2;
    }
    
    .checkout-main {
        order: 1;
    }
    
    /* Cart Page */
    .cart-items {
        gap: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .cart-item-details {
        width: 100%;
    }
    
    .cart-item-actions {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Profile Page */
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-main {
        order: 1;
    }
    
    /* Packages Page */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card {
        padding: 1.25rem;
    }
    
    /* Services Page */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Page */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    /* About Page */
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Deals Page */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Trust Badges */
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 2rem 0 1.5rem;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    /* Sticky Search Bar Mobile */
    .sticky-search-bar {
        padding: 0.75rem 1rem;
    }
    
    .sticky-search-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sticky-route-info {
        width: 100%;
    }
    
    .sticky-actions {
        width: 100%;
    }
    
    .sticky-actions .btn {
        width: 100%;
    }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .card,
    .feature-card,
    .destination-card,
    .package-card,
    .booking-card {
        padding: 0.875rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    h1 {
        font-size: 1.25rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Cart Pop-up Notification */
.mobile-cart-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: calc(100% - 2rem);
    max-width: 400px;
    z-index: 100000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.mobile-cart-popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mobile-cart-popup-content {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-cart-popup-content:active {
    transform: scale(0.98);
}

.mobile-cart-popup-content i.fa-shopping-cart {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-cart-popup-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-cart-popup-text strong {
    font-size: 1rem;
    font-weight: 700;
    display: block;
}

.mobile-cart-popup-text span {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.mobile-cart-popup-link {
    color: white;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.mobile-cart-popup-content:hover .mobile-cart-popup-link {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

@media (max-width: 480px) {
    .mobile-cart-popup {
        bottom: 15px;
        width: calc(100% - 1.5rem);
    }
    
    .mobile-cart-popup-content {
        padding: 0.875rem 1rem;
    }
    
    .mobile-cart-popup-content i.fa-shopping-cart {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    
    .mobile-cart-popup-text strong {
        font-size: 0.9375rem;
    }
    
    .mobile-cart-popup-text span {
        font-size: 0.75rem;
    }
}