﻿/* Self-hosted Outfit Font - No external CDN requests */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/outfit-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/outfit-800.ttf') format('truetype');
}

/* === ACCESSIBILITY UTILITIES === */

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--gold);
    color: var(--primary);
    padding: 12px 24px;
    z-index: 10001;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Trust signals section - moved from inline styles */
.trust-signals-section {
    background: #f8f9fa;
    padding: 3rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.trust-signals-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.trust-signal-item {
    max-width: 300px;
}

.trust-signal-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.trust-signal-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.trust-signal-item p {
    color: #666;
    font-size: 0.95rem;
}

/* How it works section - moved from inline styles */
.how-it-works-section {
    padding: 4rem 0;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.how-it-works-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.how-it-works-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.how-it-works-card p {
    color: #666;
}

:root {
    /* Premium Aviation Color Palette */
    --primary: #0F172A;
    --navy-deep: #0A1628;
    --navy-mid: #1E3A5F;
    --slate-dark: #2D3748;
    --gold: #B02A37;
    --gold-light: #E8A0A8;
    --gold-glow: rgba(176, 42, 55, 0.3);
    --text: #334155;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;

    /* Glass Morphism */
    --glass: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(15, 23, 42, 0.85);
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-3d: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(176, 42, 55, 0.15);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Seasonal Theme Overrides (set by JS) */
    --seasonal-primary: var(--gold);
    --seasonal-secondary: var(--navy-mid);
}

body {
    /* System font stack with similar metrics to Outfit to prevent CLS */
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: var(--text);
    background-color: var(--light-bg);
    line-height: 1.7;
    font-size: 1.05rem;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animated tracks */
}

/* === PRO MOBILE OPTIMIZATIONS === */

/* Smooth scrolling + tap delay removal */
html {
    scroll-behavior: smooth;
    touch-action: manipulation;
    /* Removes 300ms tap delay */
}

/* Remove iOS tap highlight */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Minimum touch targets (44px Apple HIG standard) */
a,
button,
.card,
.btn,
.airline-tile {
    min-height: 44px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Fix for H1UserAgentFontSizeInSection deprecation warning
   Browsers historically reduced h1 font-size when nested in sectioning elements.
   This explicit rule prevents reliance on deprecated user-agent behavior. */
section h1,
article h1,
nav h1,
aside h1,
main h1,
header h1,
footer h1 {
    font-size: 2rem;
    /* Explicit size overrides deprecated UA reduction */
}

/* === GLOBAL PHONE NUMBER & CTA BUTTON FIXES === */

/* Prevent phone numbers from breaking mid-number */
a[href^="tel:"] {
    white-space: nowrap;
}

/* CTA buttons with phone numbers - prevent awkward wrapping */
.btn-gold,
.cta-button,
a[href^="tel:"].btn,
a[href^="tel:"].cta {
    white-space: nowrap;
}

/* Mobile-specific button adjustments */
@media (max-width: 480px) {

    a[href^="tel:"].btn-gold,
    .hero a[href^="tel:"],
    .cta-inline a[href^="tel:"] {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

h2 {
    font-size: 2.25rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero {
    contain: layout style;
    min-height: 600px;
    /* Reserve space to prevent CLS */
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 8rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.trust-signals h3,
.how-it-works h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trust-signals p,
.how-it-works p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    will-change: transform;
    /* GPU acceleration hint */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(176, 42, 55, 0.2);
}

.card h3 {
    margin-top: 1rem;
    font-size: 1.25rem;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.warning-box {
    background: #FFFBEB;
    border-left: 5px solid #F59E0B;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.expert-badge {
    background: var(--gold-light);
    color: var(--primary);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.summary-box {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary);
}

/* Summary box inside hero - make it readable on dark background */
.hero .summary-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-left-color: var(--gold);
    color: #fff;
}

.hero .summary-box h3,
.hero .summary-box p,
.hero .summary-box a {
    color: #fff !important;
}

.hero .summary-box a:hover {
    color: var(--gold) !important;
}

.card-red {
    border-left: 5px solid #ef4444 !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.5rem;
}

.card-green {
    border-left: 5px solid #22c55e !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.faq-item summary {
    font-weight: bold;
    color: var(--primary);
}

.faq-item p {
    margin-top: 1rem;
    color: #64748b;
}

.airline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.airline-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.airline-tile:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.airline-tile img {
    margin-bottom: 0.5rem;
}

.cta-box {
    background: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.4);
}

.btn-gold {
    background: var(--gold);
    color: black;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    margin-top: 1rem;
}

.sticky-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
    will-change: transform;
    transform: translateZ(0);
    will-change: transform;
    /* GPU acceleration hint */
}

@keyframes pulse {

    /* GPU-composited animation */
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(176, 42, 55, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(176, 42, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(176, 42, 55, 0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* CLS Prevention - Fixed Height Containers */
.airline-partners {
    contain: layout style paint;
    min-height: 120px;
    overflow: hidden;
    min-height: 120px;
    /* Prevents layout shift while logos load */
}

.logos-track {
    display: flex;
    gap: 2rem;
    min-height: 60px;
    /* Matches logo height */
    overflow: hidden;
}

.logos-track img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.airline-card-logo {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 0.5rem;
    object-fit: contain;
}

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

.destination-card {
    min-height: 240px;
    /* Prevents layout shift */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover,
.destination-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.25);
}

.destination-card:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.destination-card::after {
    content: '✈️ Search Flights';
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--gold);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.destination-card:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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


.footer {
    background: var(--primary);
    color: #e2e8f0;
    /* Improved contrast: was #94a3b8, now lighter for WCAG compliance */
    padding: 3rem 0;
    text-align: center;
    content-visibility: auto;
    /* Render optimization - delays off-screen content */
    contain-intrinsic-size: 0 200px;
    /* Placeholder height estimate */
}

.footer a {
    color: #ffffff;
    /* High contrast white links */
    margin: 0 10px;
}

/* Footer grid improvements for accessibility */
.footer-grid {
    color: #e2e8f0;
}

.footer-col h3,
.footer-col .footer-heading {
    color: #ffffff;
    font-size: 1rem;
    /* Same visual size as h4 was */
    font-weight: 700;
    margin-bottom: 1rem;
    /* High contrast headings */
}

.footer-col p,
.footer-col a {
    color: #e2e8f0;
    /* Improved contrast on dark background */
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-disclaimer,
.footer-disclaimer p,
.footer-disclaimer strong {
    color: #cbd5e1;
    /* Improved contrast for disclaimer text */
}

@media (max-width:768px) {

    /* Fluid typography for mobile */
    h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    }

    h2 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    /* Better body readability */
    body {
        font-size: 1rem;
        line-height: 1.8;
    }

    p {
        word-spacing: 0.05em;
    }

    /* Hero mobile polish */
    .hero {
        contain: layout style;
        min-height: 600px;
        /* Reserve space to prevent CLS */
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
        padding: 0 10px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sticky-btn {
        width: 90%;
        text-align: center;
        justify-content: center;
        left: 5%;
        right: 5%;
        bottom: 1.5rem;
        font-size: 1rem;
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* Footer mobile fix - prevent bottom nav overlap */
    .footer {
        padding: 2rem 0;
        padding-bottom: 100px;
        /* Space for mobile bottom nav */
        margin-bottom: 0;
    }

    /* CTA box mobile */
    .cta-box {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

.desktop-nav a {
    color: #cbd5e1;
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--gold);
}

.desktop-nav a.active {
    color: var(--white);
    border-bottom: 2px solid var(--gold);
}

.nav-left {
    display: flex;
    align-items: center;
}

.mobile-phone-icon {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width:768px) {

    /* Hide Quick Links on mobile - redundant with bottom nav */
    .hide-mobile {
        display: none !important;
    }

    .desktop-phone,
    .desktop-nav {
        display: none !important;
    }

    .nav {
        padding: 0.5rem 0;
    }

    .logo img {
        height: 40px !important;
    }

    .mobile-phone-icon {
        display: none;
        align-items: center;
        justify-content: center;
        background: var(--gold);
        color: var(--primary);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 0 10px rgba(176, 42, 55, 0.6);
        animation: pulse-gold 1.5s infinite;
        font-weight: 800;
        font-size: 1.2rem;
    }

    .mobile-phone-icon i {
        margin-right: 2px;
    }

    @keyframes pulse-gold {
        0% {
            box-shadow: 0 0 0 0 rgba(176, 42, 55, 0.7);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(176, 42, 55, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(176, 42, 55, 0);
        }
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #0f172a;
        /* Solid fallback for older browsers */
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 0;
        z-index: 2000;
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* Backdrop-filter fallback for unsupported browsers */
    @supports not (backdrop-filter: blur(10px)) {
        .mobile-bottom-nav {
            background: #0f172a;
        }
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #94a3b8;
        font-size: 0.75rem;
        text-decoration: none;
    }

    .mobile-bottom-nav a i {
        font-size: 1.2rem;
        margin-bottom: 4px;
        color: var(--gold);
    }

    .mobile-bottom-nav a.active {
        color: var(--white);
    }

    /* Pulse effect for call button in mobile nav */
    .mobile-bottom-nav a[href^="tel:"] {
        animation: mobile-call-pulse 2s infinite;
    }

    @keyframes mobile-call-pulse {
        0% {
            box-shadow: 0 5px 15px rgba(176, 42, 55, 0.5);
            transform: scale(1) translateY(-20px);
        }

        50% {
            box-shadow: 0 5px 30px rgba(176, 42, 55, 0.8), 0 0 0 10px rgba(176, 42, 55, 0.2);
            transform: scale(1.05) translateY(-20px);
        }

        100% {
            box-shadow: 0 5px 15px rgba(176, 42, 55, 0.5);
            transform: scale(1) translateY(-20px);
        }
    }

    body {
        padding-bottom: 70px;
    }

    /* Mobile-optimized Destinations Section */
    .destinations-section .destinations-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1rem;
        width: 100% !important;
        padding: 0;
    }

    .destinations-section .destination-card {
        width: 100% !important;
        height: 180px;
        border-radius: 12px;
        margin: 0 auto;
    }

    .destinations-section .destination-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .destinations-section .destination-content {
        padding: 0.75rem 1rem;
    }

    .destinations-section .destination-name {
        font-size: 1rem;
    }

    .destinations-section .destination-price {
        font-size: 0.9rem;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .sticky-btn {
        display: none;
    }
}

@import 'brands.css';

.testimonials-section {
    padding: 4rem 0;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    content-visibility: auto;
    /* Render optimization - delays off-screen content */
    contain-intrinsic-size: 0 500px;
    /* Placeholder height estimate */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.customer-name {
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.customer-action {
    font-size: 0.875rem;
    color: #047857;
    /* Darker green for better contrast - 5.9:1 ratio */
    font-weight: 600;
}

/* ========================================
   PREMIUM DESIGN SYSTEM ENHANCEMENTS
   ======================================== */

/* === GLASS MORPHISM UTILITIES === */
.glass-card {
    background: var(--glass-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.glass-light {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === SEASONAL THEME STYLES === */
.seasonal-banner {
    background: linear-gradient(90deg, var(--seasonal-primary), var(--seasonal-secondary));
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    animation: shimmer 3s infinite;
}

.seasonal-icon {
    font-size: 1.25rem;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* Christmas Theme */
.theme-christmas .hero {
    contain: layout style;
    min-height: 600px;
    /* Reserve space to prevent CLS */
    background: linear-gradient(135deg, #1a472a 0%, #0f2d1a 50%, #0a1f12 100%);
}

.theme-christmas .seasonal-banner {
    background: linear-gradient(90deg, #C41E3A, #228B22);
}

/* New Year Theme */
.theme-newyear .hero {
    contain: layout style;
    min-height: 600px;
    /* Reserve space to prevent CLS */
    background: linear-gradient(135deg, #1E3A5F 0%, #0A1628 100%);
}

.theme-newyear .seasonal-banner {
    background: linear-gradient(90deg, #FFD700, #1E3A5F);
}

/* === SCROLL REVEAL ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

@keyframes float {

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

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === DESTINATION GRID === */
.destinations-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #fff 100%);
}

.destinations-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.destinations-section .section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.destination-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    z-index: 1;
}

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

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

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

.destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    color: white;
}

.destination-name {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.destination-price {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
}

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

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

    .destination-card {
        height: 200px;
    }
}

/* === AIRLINE PARTNERS CAROUSEL === */
.airline-partners {
    contain: layout style paint;
    min-height: 120px;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--navy-deep);
    overflow: hidden;
}

.airline-partners h3 {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.logos-track {
    display: flex;
    gap: 4rem;
    animation: scroll-logos 30s linear infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    width: fit-content;
}

.logos-track img {
    height: 40px;
    width: auto;
    aspect-ratio: auto;
    contain: strict;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logos-track img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === ANIMATED STATS SECTION === */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.stat-label {
    color: #94a3b8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* === MOBILE STICKY CTA BANNER === */
.mobile-cta-banner {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta-banner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, #C41E3A 0%, #991B1B 100%);
        color: white;
        padding: 0.75rem 1rem;
        z-index: 1999;
        font-weight: 600;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }

    .mobile-cta-banner span {
        font-size: 0.85rem;
    }

    .mobile-cta-banner a {
        background: var(--gold);
        color: var(--primary);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    body.has-cta-banner {
        padding-bottom: 120px;
    }
}

/* === PREMIUM TESTIMONIAL CARDS === */
.testimonial-card.premium {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: none;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.testimonial-card.premium::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--gold-light);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card.premium:hover {
    background: linear-gradient(135deg, #fff 0%, #fef9eb 100%);
    border-color: var(--gold-light);
}

/* === FLOATING CALL BUTTON (DESKTOP) === */
.floating-call-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium), 0 0 0 0 rgba(176, 42, 55, 0.5);
    animation: floating-pulse 2s infinite;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-premium), 0 0 30px rgba(176, 42, 55, 0.5);
}

.floating-call-btn i {
    font-size: 1.5rem;
    color: var(--primary);
}

@keyframes floating-pulse {
    0% {
        box-shadow: var(--shadow-premium), 0 0 0 0 rgba(176, 42, 55, 0.5);
    }

    70% {
        box-shadow: var(--shadow-premium), 0 0 0 15px rgba(176, 42, 55, 0);
    }

    100% {
        box-shadow: var(--shadow-premium), 0 0 0 0 rgba(176, 42, 55, 0);
    }
}

@media (max-width: 768px) {
    .floating-call-btn {
        display: none;
    }
}

/* === HERO ENHANCEMENTS === */
.hero.premium {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 50%, var(--slate-dark) 100%);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero.premium h1 {
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero.premium .hero-text {
    animation: fadeInUp 1s ease-out;
}

/* Particle canvas styling */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero>*:not(#particle-canvas) {
    position: relative;
    z-index: 2;
}

/* === DESTINATIONS SECTION === */
.destinations-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.destinations-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.destination-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

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

.destination-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.destination-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.destination-price {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* === AIRLINE PARTNERS === */
.airline-partners {
    contain: layout style paint;
    min-height: 120px;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--navy-deep);
    overflow: hidden;
}

.airline-partners h3 {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.logos-track {
    display: flex;
    gap: 3rem;
    animation: scroll-logos 40s linear infinite;
    width: max-content;
}

.logos-track img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logos-track img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === STATS SECTION === */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    color: #fff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Responsive Destinations & Stats */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .stat-number {
        font-size: 2rem;
    }
}

/* Airline page logo styling */
.airline-page-logo {
    height: 60px;
    margin: 1rem auto;
    display: block;
}

/* === ENHANCED FOOTER === */
.footer {
    background: var(--navy-deep);
    color: #94a3b8;
    padding: 0;
    position: relative;
}

.footer-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer .container {
    padding: 3rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col p i {
    color: var(--gold);
    width: 20px;
    margin-right: 0.5rem;
}

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

.footer-col ul li {
    margin: 0.4rem 0;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

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

.footer-col a:hover {
    color: var(--gold);
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
    text-align: justify;
}

.footer-disclaimer strong {
    color: #94a3b8;
}

.footer-disclaimer a {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .footer-col p i {
        display: block;
        margin-bottom: 0.25rem;
    }

    .payment-icons {
        justify-content: center;
    }

    .footer-disclaimer p {
        text-align: center;
    }
}

/* === HERO SEARCH SECTION - Competitor Style === */
.hero-search-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 50%, #0f172a 100%);
    z-index: 0;
}

.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B02A37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center bottom, rgba(176, 42, 55, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-text-block {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.hero-tagline {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-text-block h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Search Card Wrapper - Floating Effect */
.search-card-wrapper {
    max-width: 950px;
    margin: 0 auto;
    min-height: 450px;
    /* Prevents CLS - reserves space for flight widget */
}

#flight-search-widget {
    min-height: 420px;
    /* Prevents CLS - space for dynamically loaded widget */
}

.search-card-wrapper .flight-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 5px 20px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Trust Signals Bar */
.trust-signals-bar {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Expert CTA Section */
.expert-cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, #C93545 100%);
    padding: 2.5rem 0;
}

.expert-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.expert-text h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.expert-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

.expert-call-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.expert-call-btn i {
    font-size: 1.5rem;
    color: var(--gold);
}

.expert-call-btn span {
    display: flex;
    flex-direction: column;
}

.expert-call-btn strong {
    font-size: 1.1rem;
}

.expert-call-btn small {
    font-size: 0.8rem;
    color: #64748b;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-search-section {
        min-height: auto;
        padding: 1.5rem 0 3rem;
    }

    .hero-text-block {
        margin-bottom: 1.5rem;
    }

    .hero-text-block h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-card-wrapper .flight-widget {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .search-card-wrapper {
        min-height: 520px;
        /* Mobile: taller widget due to stacked layout */
    }

    #flight-search-widget {
        min-height: 500px;
        /* Mobile: reserves space for stacked form fields */
    }

    .trust-items {
        gap: 1.5rem;
    }

    .trust-item {
        font-size: 0.85rem;
    }

    .expert-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .expert-text {
        text-align: center;
    }

    .expert-text h2 {
        font-size: 1.25rem;
    }

    .expert-call-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .trust-items {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

/* Airline Card Logo Styling */
.airline-card-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 4px;
}

.card h3 {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .airline-card-logo {
        width: 24px;
        height: 24px;
    }
}

/* Floating Call Button - Desktop Only */
.floating-call-btn {
    display: none !important;
    /* Hidden by default */
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(176, 42, 55, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-call-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(176, 42, 55, 0.5);
}

/* Show floating button only on desktop (when mobile nav is hidden) */
@media (min-width: 769px) {
    .floating-call-btn {
        display: none !important;
    }
}

/* Ensure mobile bottom nav is only on mobile */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* === PERFORMANCE: Reduce non-composited animations === */
@media (min-width: 769px) {

    /* Force GPU compositing for all animated elements */
    .logos-track,
    .logos-track img,
    .floating-call-btn,
    .sticky-btn,
    .pulse,
    [class*="pulse"],
    [class*="animate"] {
        transform: translateZ(0);
        will-change: transform;
        backface-visibility: hidden;
        perspective: 1000px;
    }

    /* Prefer reduced motion for non-essential animations */
    @media (prefers-reduced-motion: reduce) {
        .logos-track {
            animation: none;
        }
    }
}

/* Reserve space for dynamic content to prevent CLS */
.stats-section {
    min-height: 200px;
    contain: layout style paint;
}

.features-grid {
    min-height: 300px;
    contain: layout;
}

.airline-grid {
    min-height: 400px;
    contain: layout;
}

/* === CLS PREVENTION: Font Awesome Icons === */
/* Reserve space for icons before they load to prevent layout shift */
.fas,
.fab,
.far,
.fal,
.fad {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

/* Hero section icons - larger size */
.hero-tagline .fas,
.trust-item .fas {
    width: 1.25em;
    height: 1.25em;
}

/* Trust signals section icons - largest */
.trust-signals .fas,
.trust-signals-section .fas {
    width: 2.5rem;
    height: 2.5rem;
}

/* === CLS PREVENTION: Images with explicit dimensions === */
/* Override height:auto for images that have explicit width/height attributes */
img[width][height] {
    width: attr(width px);
    height: attr(height px);
    aspect-ratio: attr(width) / attr(height);
}

/* Specific image classes with locked dimensions */
.logos-track img {
    width: 60px !important;
    height: 60px !important;
    aspect-ratio: 1 / 1;
}

.airline-card-logo {
    width: 32px !important;
    height: 32px !important;
    aspect-ratio: 1 / 1;
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

/* === CLS PREVENTION: Hero and Search Widget === */
.hero-search-section {
    min-height: 500px;
    contain: layout style;
}

.search-card-wrapper {
    min-height: 200px;
    contain: layout;
}

/* === CLS PREVENTION: Testimonials === */
.testimonials-grid {
    min-height: 300px;
    contain: layout;
}

.testimonial-card {
    min-height: 180px;
    contain: layout style;
}

/* === CLS PREVENTION: Section containers === */
.expert-cta-section,
.trust-signals-bar,
.how-it-works-section {
    contain: layout style;
}