:root {
    --primary: #E31937; 
    --primary-dark: #A80C24;
    --primary-light: #FADBD8; 
    --secondary: #006B3D; 
    --secondary-dark: #004D2B;
    --secondary-light: #D4EFDF; 
    --accent: #FFBF00; 
    --accent-dark: #D4A000;
    --dark: #1A1A1A; 
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #CCCCCC;
    --very-light-gray: #F0F0F0;
    --extra-light-gray: #F8F9FA; 
    --light: #FFFFFF;
    --text: #4A4A4A; 
    --text-light: #757575;
    
    --font-primary: 'Poppins:ital', sans-serif;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --box-shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --box-shadow-medium: 0 5px 15px rgba(0,0,0,0.12);
    --box-shadow-dark: 0 10px 25px rgba(0,0,0,0.15);
    --transition-speed: 0.3s;
    --transition-speed-fast: 0.2s;
    --transition-speed-slow: 0.5s;
}
/* Add this to your existing style.css file */
@media (max-width: 992px) {
    #mainNav { 
        display: none; 
        position: fixed; 
        top: 0; 
        left: -100%; 
        width: 80%; 
        max-width: 320px;
        height: 100vh; 
        background-color: var(--light);
        padding: 80px 20px 20px; 
        overflow-y: auto; 
        z-index: 999; 
        transition: left 0.4s ease; 
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    } 
    
    #mainNav.active { 
        display: block;
        left: 0; 
    }
    
    #mainNav ul { 
        flex-direction: column; 
        align-items: flex-start;
        padding-top: 20px; 
    }
    
    #mainNav li { 
        margin-right: 0; 
        width: 100%;
        margin-bottom: 10px;
    }
    
    #mainNav a { 
        padding: 12px 15px; 
        display: block; 
        font-size: 1rem; 
        width: 100%;
        border-radius: var(--border-radius-md);
    }
    
    #mainNav a.active,
    #mainNav a:hover {
        background-color: var(--primary-light);
        color: var(--primary);
    }
    
    #mainNav a.active::after, 
    #mainNav a:not(.active):hover::after { 
        display: none; 
    } 
    
    #mainNav li.highlight a { 
        margin: 15px 0;
        text-align: center; 
        display: block;
        width: 100%;
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/about-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    padding: 120px 0 80px;
    text-align: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mission-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-medium);
}

.value-card {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow-light);
    border-left: 4px solid var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: transform var(--transition-speed);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    min-width: 100px;
}

.timeline-content {
    padding-left: 30px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-item:not(:last-child) .timeline-content::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: -45px;
    width: 1px;
    background: var(--light-gray);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    padding: 120px 0 80px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.social-contact {
    margin-top: 40px;
}

.social-contact .social-links {
    margin-top: 15px;
}

.social-contact .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-right: 10px;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
}

.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    resize: vertical;
}

.map-section {
    padding: 60px 0;
    background: var(--extra-light-gray);
}

.checkin-info {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin-top: 30px;
    box-shadow: var(--box-shadow-light);
}

/* Gallery Page Styles */
.gallery-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    padding: 120px 0 80px;
    text-align: center;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--light-gray);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--light);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    overflow: auto;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

#lightbox-caption {
    margin: 15px auto;
    text-align: center;
    color: var(--light);
    font-size: 1.1rem;
}

.close-btn, .prev-btn, .next-btn {
    position: absolute;
    color: var(--light);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn {
    top: 20px;
    right: 30px;
}

.prev-btn, .next-btn {
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Fleet Page Styles */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.aircraft-card {
    background: var(--light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-medium);
    transition: transform var(--transition-speed);
}

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

.aircraft-image-wrapper {
    height: 250px;
    overflow: hidden;
}

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

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

.aircraft-content {
    padding: 25px;
}

.aircraft-specs {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.spec-item i {
    margin-right: 5px;
    color: var(--primary);
}

.certification-banner {
    background: var(--primary-light);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.cert-logo {
    height: 60px;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .mission-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-image {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-content {
        padding-left: 0;
        padding-top: 10px;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-item:not(:last-child) .timeline-content::after {
        left: 0;
        top: -20px;
        bottom: auto;
        height: 1px;
        width: 100%;
    }
}

/* Base Styles & Animation Utilities */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.7; 
    overflow-x: hidden;
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow-y: hidden; }
.container { width: 90%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Input Error Styling */
.input-error {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(227, 25, 55, 0.2) !important;
}


/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark-gray); line-height: 1.3; margin-bottom: 0.75em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); } 
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1.25em; color: var(--text-light); }
p.lead { font-size: 1.15rem; font-weight: 400; color: var(--text); }
a { text-decoration: none; color: var(--primary); transition: color var(--transition-speed) ease, opacity var(--transition-speed) ease; }
a:hover { color: var(--primary-dark); opacity: 0.85; }

/* Buttons */
.btn-primary, .btn-white, .btn-outline { display: inline-block; padding: 12px 28px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-radius: var(--border-radius-md); transition: all var(--transition-speed) ease-out; cursor: pointer; border: 2px solid transparent; text-align: center; line-height: 1.5; position: relative; overflow: hidden; }
.btn-primary i, .btn-white i, .btn-outline i { margin-left: 8px; font-size: 0.9em; }
.btn-primary::after, .btn-white::after, .btn-outline::after { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.3); border-radius: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; transition: none; } /* Reset shimmer for new effect */
.btn-primary:hover::after, .btn-white:hover::after, .btn-outline:hover::after { animation: buttonRipple 0.6s ease-out; }
@keyframes buttonRipple {
    to { transform: translate(-50%, -50%) scale(50); opacity: 0; } /* Ripple effect */
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--light); box-shadow: 0 4px 12px rgba(227, 25, 55, 0.25); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 18px rgba(227, 25, 55, 0.35); opacity: 1; }
.btn-outline { border-color: var(--primary); background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--light); transform: translateY(-2px) scale(1.02); opacity: 1; }
.btn-white { background-color: var(--light); color: var(--primary); border-color: var(--light); box-shadow: var(--box-shadow-light); }
.btn-white:hover { background-color: var(--very-light-gray); border-color: var(--very-light-gray); transform: translateY(-2px) scale(1.02); opacity: 1; }

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

/* General Section Styling */
.section-padding { padding: 80px 0; }
.bg-light-texture { background-color: var(--extra-light-gray); }
.section-subtitle { display: block; font-size: 0.9rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; opacity: 0; transform: translateY(10px); transition: opacity var(--transition-speed-slow) ease, transform var(--transition-speed-slow) ease; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-weight: 700; margin-bottom: 15px; position: relative; display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity var(--transition-speed-slow) ease 0.1s, transform var(--transition-speed-slow) ease 0.1s; }
.section-header h2::after { content: ''; display: block; width: 0; height: 3px; background: linear-gradient(to right, var(--primary), var(--accent)); margin: 15px auto 0; border-radius: 2px; transition: width 0.5s ease-out 0.2s; }
.section-header p { font-size: 1.1rem; color: var(--text-light); max-width: 700px; margin-left: auto; margin-right: auto; opacity: 0; transform: translateY(10px); transition: opacity var(--transition-speed-slow) ease 0.2s, transform var(--transition-speed-slow) ease 0.2s; }

/* In-view animations for section headers */
.section-header.in-view .section-subtitle,
.section-header.in-view h2,
.section-header.in-view p {
    opacity: 1;
    transform: translateY(0);
}
.section-header.in-view h2::after { width: 70px; }


/* Top Bar */
.top-bar { background-color: var(--dark-gray); color: var(--light-gray); padding: 8px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-links a, .top-social a { color: var(--light-gray); margin-right: 18px; display: inline-flex; align-items: center; }
.top-links a i, .top-social a i { margin-right: 6px; }
.top-links a:hover, .top-social a:hover { color: var(--accent); opacity: 1; }
.top-social span { margin-right: 10px; }

/* Main Header */
#mainHeader { background-color: var(--light); box-shadow: var(--box-shadow-light); position: relative; top: 0; left: 0; width: 100%; z-index: 1000; transition: transform 0.4s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease-out; }
#mainHeader.sticky { position: fixed; box-shadow: var(--box-shadow-medium); background-color: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px); }
#mainHeader.header-hidden { transform: translateY(-100%); }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo-link { display: flex; align-items: center; }
.logo-link:hover { opacity: 1; }
.logo-img { height: 55px; margin-right: 12px; transition: transform 0.3s ease; }
.logo-link:hover .logo-img { transform: scale(1.05) rotate(-2deg); } /* Added rotate */
.tagline { color: var(--secondary); font-style: italic; font-weight: 500; font-size: 0.9rem; line-height: 1.2; }
.tagline span { color: var(--dark-gray); font-weight: 400; display: block; font-size: 0.75rem; }
.header-right { display: flex; align-items: center; }
.user-actions { display: flex; align-items: center; }
.user-action-btn { margin-left: 18px; font-size: 0.9rem; font-weight: 500; color: var(--dark-gray); display: inline-flex; align-items: center; }
.user-action-btn i:first-child { margin-right: 6px; color: var(--primary); }
.user-action-btn i.fa-chevron-down { margin-left: 4px; font-size: 0.7em; }
.user-action-btn:hover { color: var(--primary); opacity: 1; }
.mobile-menu-btn { display: none; background: transparent; color: var(--primary); width: 40px; height: 40px; border: none; cursor: pointer; margin-left: 15px; font-size: 1.5rem; position: relative; z-index: 1001; }
.mobile-menu-btn .icon-close { display: none; }
.mobile-menu-btn.active .icon-open { display: none; }
.mobile-menu-btn.active .icon-close { display: block; animation: rotateIn 0.3s ease; }
@keyframes rotateIn { from { transform: rotate(-90deg) scale(0.5); opacity: 0;} to {transform: rotate(0deg) scale(1); opacity: 1;} }


/* Main Navigation */
#mainNav ul { display: flex; list-style: none; align-items: center; }
#mainNav li { margin-right: 25px; position: relative; }
#mainNav li:last-child { margin-right: 0; }
#mainNav a { color: var(--dark-gray); font-weight: 500; font-size: 0.95rem; padding: 20px 5px; display: flex; align-items: center; position: relative; transition: color var(--transition-speed) ease; }
#mainNav a .nav-arrow { font-size: 0.7em; margin-left: 5px; transition: transform var(--transition-speed) ease; }
#mainNav li.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }
#mainNav a:hover, #mainNav a.active { color: var(--primary); }
#mainNav a.active::after, #mainNav a:not(.active):hover::after { content: ''; position: absolute; bottom: 10px; left: 5px; right: 5px; height: 3px; background: var(--primary); border-radius: 2px; transform-origin: center; animation: navUnderlineGrow 0.3s ease-out forwards; }
@keyframes navUnderlineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
#mainNav li.highlight a { background-color: var(--primary); color: var(--light); padding: 8px 15px; border-radius: var(--border-radius-md); box-shadow: var(--box-shadow-light); transition: background-color var(--transition-speed), transform var(--transition-speed); }
#mainNav li.highlight a:hover { background-color: var(--primary-dark); transform: translateY(-2px) scale(1.02); }
#mainNav li.highlight a::after { display: none; }
#mainNav li.highlight a i { margin-right: 6px; }

/* Hero Section */
.hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; color: var(--light); padding: 40px 0; }
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out, transform 1.5s ease-out; }
.hero-bg-slide.active { opacity: 1; transform: scale(1); }
@keyframes panImage { 0% { transform: scale(1.05) translate(0, 0); } 100% { transform: scale(1.15) translate(-3%, 3%); } }
.hero-overlay-texture { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.6) 100%); z-index: 2; overflow: hidden; } /* Added overflow hidden */

/* Decorative African Pattern Elements in Hero Overlay */
.african-pattern-element {
    position: absolute;
    background-color: rgba(255, 191, 0, 0.05); /* Accent color, very transparent */
    border-radius: 50%;
    opacity: 0;
    animation: africanPatternFloat 20s infinite ease-in-out;
    filter: blur(2px); /* Soften edges */
}
.african-pattern-element.pattern-1 { width: 200px; height: 200px; top: 10%; left: 5%; animation-delay: 0s; }
.african-pattern-element.pattern-2 { width: 150px; height: 150px; bottom: 15%; right: 10%; animation-delay: 5s; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Organic shape */ }
@keyframes africanPatternFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
    25% { opacity: 1; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.7; }
    75% { opacity: 1; }
}


.hero-container-content { position: relative; z-index: 3; width: 100%; }
.hero-announce-banner { background-color: rgba(0, 0, 0, 0.4); backdrop-filter: blur(6px); padding: 20px 30px; border-radius: var(--border-radius-md); margin-bottom: 30px; text-align: center; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.banner-badge { display: inline-block; background-color: var(--accent); color: var(--dark-gray); padding: 5px 12px; font-size: 0.8rem; font-weight: 600; border-radius: var(--border-radius-sm); margin-bottom: 10px; text-transform: uppercase; }
.hero-announce-banner h2 { color: var(--light); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.hero-announce-banner h2 .highlight-text { color: var(--accent); }
.hero-announce-banner p { color: rgba(255,255,255,0.9); margin-bottom: 20px; font-size: 1rem; }
.hero-announce-banner .btn-white { font-size: 0.9rem; }
.hero-content { text-align: center; }
.hero-content h1 { color: var(--light); font-weight: 800; text-shadow: 0 3px 15px rgba(0,0,0,0.35); margin-bottom: 15px; animation: fadeInDown 1s ease-out; }
.hero-title-highlight.animated-text-fill { /* Animated text fill */
    background: linear-gradient(to right, var(--accent), var(--primary-light), var(--accent));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShine 4s linear infinite;
}
@keyframes textShine { to { background-position: -200% center; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.hero-content .subtitle { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 650px; margin: 0 auto 30px auto; text-shadow: 0 1px 5px rgba(0,0,0,0.2); animation: fadeInUp 1s ease-out 0.3s backwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-search { background-color: rgba(255,255,255,0.98); border-radius: var(--border-radius-lg); padding: 30px; margin-bottom: 30px; box-shadow: var(--box-shadow-dark); text-align: left; animation: fadeInUp 1s ease-out 0.6s backwards; }
.search-tabs { display: flex; margin-bottom: 25px; border-bottom: 1px solid var(--very-light-gray); }
.search-tabs .tab { padding: 12px 20px; background-color: transparent; border: none; border-bottom: 3px solid transparent; margin-right: 10px; border-radius: 0; cursor: pointer; color: var(--medium-gray); font-weight: 500; font-size: 0.95rem; transition: all var(--transition-speed) ease; }
.search-tabs .tab i { margin-right: 8px; }
.search-tabs .tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.search-tabs .tab:hover:not(.active) { color: var(--dark-gray); }
.flight-search .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; align-items: end; }
.form-group { color: var(--dark-gray); }
.form-group.input-icon { position: relative; }
.form-group.input-icon .icon { position: absolute; left: 15px; top: calc(50% + 10px); transform: translateY(-50%); color: var(--light-gray); font-size: 0.9em; pointer-events: none; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.85rem; }
.form-group input, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid var(--light-gray); border-radius: var(--border-radius-md); font-family: var(--font-primary); font-size: 0.9rem; transition: border-color var(--transition-speed), box-shadow var(--transition-speed); background-color: var(--light); }
.form-group.input-icon input { padding-left: 40px; }
.form-group.input-icon select { padding-left: 35px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2 5l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px;}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.15); outline: none; }
.flight-search .search-btn { grid-column: 1 / -1; padding: 14px 25px; font-size: 1rem; margin-top: 10px; }
#return-date-group { transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease; overflow: hidden; }
@media (min-width: 1200px) { .flight-search .form-grid { grid-template-columns: 1fr 1fr 0.8fr 0.8fr; grid-template-areas: "from to departure return" "passengers class promo button"; align-items: end; } .flight-search .form-grid .form-group:nth-child(1) { grid-area: from; } .flight-search .form-grid .form-group:nth-child(2) { grid-area: to; } .flight-search .form-grid .form-group:nth-child(3) { grid-area: departure; } .flight-search .form-grid .form-group:nth-child(4) { grid-area: return; } .flight-search .form-grid .form-group:nth-child(5) { grid-area: passengers; } .flight-search .form-grid .form-group:nth-child(6) { grid-area: class; } .flight-search .form-grid .promo-code-group { grid-area: promo; } .flight-search .search-btn { grid-area: button; margin-top: 0; align-self: end; height: calc(2.25rem + 24px + 2px); } }
@media (min-width: 992px) and (max-width: 1199px) { .flight-search .form-grid { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "from to departure" "return passengers class" "promo promo button"; } .flight-search .form-grid .form-group:nth-child(1) { grid-area: from; } .flight-search .form-grid .form-group:nth-child(2) { grid-area: to; } .flight-search .form-grid .form-group:nth-child(3) { grid-area: departure; } .flight-search .form-grid .form-group:nth-child(4) { grid-area: return; } .flight-search .form-grid .form-group:nth-child(5) { grid-area: passengers; } .flight-search .form-grid .form-group:nth-child(6) { grid-area: class; } .flight-search .form-grid .promo-code-group { grid-area: promo; } .flight-search .search-btn { grid-area: button; margin-top: 10px; } }
.hero-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; animation: fadeInUp 1s ease-out 0.9s backwards; }
.hero-features .feature-item { display: flex; align-items: center; color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; background-color: rgba(0,0,0,0.2); padding: 8px 15px; border-radius: var(--border-radius-md); text-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform var(--transition-speed-fast), background-color var(--transition-speed-fast); }
.hero-features .feature-item:hover { transform: translateY(-2px); background-color: rgba(0,0,0,0.3); }
.hero-features .feature-item i { margin-right: 8px; color: var(--accent); font-size: 1.1rem; }

/* Destinations Section */
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.destination-card { background-color: var(--light); border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--box-shadow-medium); transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease; display: flex; flex-direction: column; opacity: 0; transform: translateY(20px); }
.destination-card.in-view { animation: cardFadeInUp 0.5s ease-out forwards; }
@keyframes cardFadeInUp { to { opacity: 1; transform: translateY(0); } }
.destination-card:nth-child(2).in-view { animation-delay: 0.1s; } /* Stagger animation */
.destination-card:nth-child(3).in-view { animation-delay: 0.2s; }
.destination-card:nth-child(4).in-view { animation-delay: 0.3s; }

.destination-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--box-shadow-dark); }
.destination-image-wrapper { position: relative; overflow: hidden; height: 220px; }
.destination-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.destination-card:hover .destination-img { transform: scale(1.08); }
.destination-image-overlay { position: absolute; top: 15px; right: 15px; z-index: 2; }
.price-tag { background-color: var(--primary); color: var(--light); padding: 6px 12px; border-radius: var(--border-radius-sm); font-size: 0.9rem; font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
/* Decorative line on destination cards */
.card-deco-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%; /* Initial width */
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--primary));
    transition: width 0.4s ease-out;
    z-index: 3;
}
.destination-card:hover .card-deco-line {
    width: 100%;
}

.destination-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.destination-country { font-size: 0.85rem; color: var(--medium-gray); margin-bottom: 8px; display: flex; align-items: center; }
.destination-country i { margin-right: 6px; color: var(--secondary); }
.destination-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--dark-gray); }
.destination-excerpt { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; flex-grow: 1; }
.destination-content .btn-outline { align-self: flex-start; padding: 8px 18px; font-size: 0.85rem; }
.more-destinations { margin-top: 50px; }

/* Promo Banner Standalone - Enhanced */
.promo-banner-standalone { color: var(--light); text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--secondary-light) 100%); background-size: 300% 300%; animation: animatedGradientGreen 18s ease infinite alternate; /* Slower and alternate */ }
@keyframes animatedGradientGreen { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.promo-banner-standalone::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; /* background-image: url('images/african_geometric_pattern_subtle_green.svg'); */ background-size: 250px; opacity: 0.04; z-index: 1; animation: panPattern 40s linear infinite; }
@keyframes panPattern { to { background-position: 250px 250px; } }
.promo-background-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
.promo-background-elements span { position: absolute; display: block; list-style: none; background: rgba(255, 255, 255, 0.08); animation: floatShapesGreen 25s linear infinite; bottom: -150px; border-radius: 50%; }
.promo-background-elements span:nth-child(1) { left: 25%; width: 90px; height: 90px; animation-delay: 0s; opacity: 0.7; }
.promo-background-elements span:nth-child(2) { left: 10%; width: 30px; height: 30px; animation-delay: 2s; animation-duration: 15s; opacity: 0.5; }
.promo-background-elements span:nth-child(3) { left: 70%; width: 30px; height: 30px; animation-delay: 4s; opacity: 0.6; }
.promo-background-elements span:nth-child(4) { left: 40%; width: 70px; height: 70px; animation-delay: 0s; animation-duration: 20s; opacity: 0.8; }
.promo-background-elements span:nth-child(5) { left: 65%; width: 30px; height: 30px; animation-delay: 1s; opacity: 0.5; }
.promo-background-elements span:nth-child(6) { left: 85%; width: 120px; height: 120px; animation-delay: 3s; background: rgba(255,191,0, 0.08); opacity: 0.7; }
@keyframes floatShapesGreen { 0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-120vh) rotate(720deg) scale(1.2); opacity: 0; } }
/* Sun Ray Effect for Green Banner */
.african-sun-rays {
    position: absolute;
    top: 50%; left: 50%;
    width: 2px; /* Center point */
    height: 2px;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.african-sun-rays::before, .african-sun-rays::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 80vmax; /* Large enough to cover */
    height: 80vmax;
    background: radial-gradient(circle, rgba(255,191,0,0.08) 0%, rgba(255,191,0,0) 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: sunRayExpand 10s infinite ease-out;
}
.african-sun-rays::after { animation-delay: 5s; } /* Staggered ray */
@keyframes sunRayExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.promo-banner-standalone .container { position: relative; z-index: 2; }
.promo-icon { color: var(--accent); margin-bottom: 20px; display: block; animation: pulseIcon 2s infinite ease-in-out; }
@keyframes pulseIcon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.banner-content-standalone h2 { color: var(--light); margin-bottom: 15px; font-weight: 800; }
.highlight-secondary { color: var(--accent); }
.banner-content-standalone p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Why Choose Us Section */
.why-choose-us { background-color: var(--extra-light-gray); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card-v2 { background-color: var(--light); padding: 30px; border-radius: var(--border-radius-lg); text-align: center; box-shadow: var(--box-shadow-light); transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-top-color var(--transition-speed) ease; border-top: 4px solid var(--primary-light); position: relative; opacity: 0; transform: scale(0.95); }
.feature-card-v2.in-view { animation: featureCardPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; } /* Pop in effect */
@keyframes featureCardPopIn { to { opacity: 1; transform: scale(1); } }
.feature-card-v2:nth-child(even).in-view { animation-delay: 0.1s; }
.feature-card-v2:nth-child(odd).in-view { animation-delay: 0.05s; }

.feature-card-v2:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--box-shadow-medium); border-top-color: var(--primary); }
.feature-icon-v2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; line-height: 1; transition: transform 0.3s ease; }
.feature-card-v2:hover .feature-icon-v2 { transform: scale(1.1) rotate(-5deg); }
.feature-card-v2 h3 { font-size: 1.3rem; color: var(--dark-gray); margin-bottom: 10px; }
.feature-card-v2 p { font-size: 0.9rem; color: var(--text-light); }

/* Testimonials Section */
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testimonial-card-v2 { background-color: var(--light); padding: 30px; border-radius: var(--border-radius-lg); box-shadow: var(--box-shadow-medium); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; opacity: 0; transform: translateX(-20px); }
.testimonial-card-v2.in-view { animation: testimonialSlideIn 0.6s ease-out forwards; }
@keyframes testimonialSlideIn { to { opacity: 1; transform: translateX(0); } }
.testimonial-card-v2:nth-child(2).in-view { animation-delay: 0.15s; }
.testimonial-card-v2:nth-child(3).in-view { animation-delay: 0.3s; }

.testimonial-card-v2::before { content: ''; position: absolute; top: -50px; left: -50px; width: 150px; height: 150px; background-color: var(--primary-light); border-radius: 50%; opacity: 0.3; z-index: 0; transition: transform 0.5s ease, background-color 0.5s ease; }
.testimonial-card-v2:hover::before { transform: scale(1.3) rotate(45deg); background-color: var(--accent-dark); opacity: 0.2; }
.passenger-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid var(--primary); box-shadow: var(--box-shadow-light); position: relative; z-index: 1; }
.testimonial-content { position: relative; z-index: 1; }
.rating { color: var(--accent); margin-bottom: 15px; font-size: 1rem; }
.testimonial-text { font-style: italic; margin-bottom: 20px; font-size: 0.95rem; color: var(--text); position: relative; }
.testimonial-text::before, .testimonial-text::after { content: '"'; font-family: Georgia, serif; font-size: 2.5rem; color: var(--primary-light); position: absolute; line-height: 1; opacity: 0.7; }
.testimonial-text::before { top: -10px; left: -5px; }
.testimonial-text::after { bottom: -15px; right: -5px; }
.passenger-info h4 { margin-bottom: 3px; font-size: 1rem; color: var(--dark-gray); }
.passenger-info span { font-size: 0.85rem; color: var(--medium-gray); }
.passenger-info i { font-size: 0.8em; margin: 0 5px;}
@media (min-width: 576px) { .testimonial-card-v2 { flex-direction: row; align-items: flex-start; text-align: left; } .passenger-avatar { margin-right: 25px; margin-bottom: 0; flex-shrink: 0; } .testimonial-text::before { left: 0; } .testimonial-text::after { right: 0; } }

/* Partners Section */
.partners-grid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; }
.partner-logo { height: 50px; opacity: 0; transform: scale(0.8); transition: opacity 0.4s ease, transform 0.4s ease; }
.partner-logo.in-view { opacity: 1; transform: scale(1); } /* Simple fade-in scale for partners */
.partner-logo:nth-child(1).in-view { transition-delay: 0.05s; }
.partner-logo:nth-child(2).in-view { transition-delay: 0.1s; }
.partner-logo:nth-child(3).in-view { transition-delay: 0.15s; }
.partner-logo:nth-child(4).in-view { transition-delay: 0.2s; }
.partner-logo:nth-child(5).in-view { transition-delay: 0.25s; }

.partner-logo img { max-height: 100%; width: auto; opacity: 0.6; filter: grayscale(80%); transition: opacity var(--transition-speed), filter var(--transition-speed), transform var(--transition-speed); }
.partner-logo img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }

/* Newsletter Section - Enhanced with Animated Pattern */
.newsletter { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--light); text-align: center; position: relative; overflow: hidden; }
.newsletter-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px); */
    /* Using an actual SVG pattern would be better here */
    opacity: 1; /* Control overall opacity here */
    z-index: 0; /* Behind content wrapper */
    animation: slowScrollPattern 60s linear infinite;
}
.newsletter-bg-pattern::before, .newsletter-bg-pattern::after { /* Two layers of pattern for more depth */
    content: '';
    position: absolute;
    top: 0; left: 0; width: 200%; height: 200%; /* Larger for seamless scroll */
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,191,0,0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 50% 70%, rgba(255,191,0,0.06) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 120px 120px; /* Different sizes */
}
.newsletter-bg-pattern::after {
    transform: rotate(15deg); /* Slightly rotate second layer */
    opacity: 0.7;
}
@keyframes slowScrollPattern {
    from { transform: translate(0, 0); }
    to { transform: translate(-50%, -50%); } /* Scrolls diagonally */
}

.newsletter-content-wrapper { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.newsletter-icon { font-size: 3rem; color: var(--accent); margin-bottom: 20px; animation: tada 2.5s infinite ease-in-out 1s; }
@keyframes tada { from { transform: scale3d(1, 1, 1); } 10%, 20% { transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); } 30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); } 40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); } to { transform: scale3d(1, 1, 1); } }
.newsletter h2 { color: var(--light); margin-bottom: 15px; }
.newsletter p { margin-bottom: 30px; font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.form-group-newsletter { display: flex; max-width: 550px; margin: 0 auto 15px auto; box-shadow: var(--box-shadow-medium); border-radius: var(--border-radius-md); overflow: hidden; }
.form-group-newsletter input { flex-grow: 1; padding: 15px 20px; border: none; font-family: var(--font-primary); font-size: 1rem; border-radius: var(--border-radius-md) 0 0 var(--border-radius-md); outline: none; color: var(--dark-gray); }
.form-group-newsletter button { border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0; padding: 15px 25px; background: var(--accent); color: var(--dark-gray); border: none; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: background-color var(--transition-speed); }
.form-group-newsletter button:hover { background: var(--accent-dark); }
.newsletter-assurance { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.newsletter-assurance i { margin-right: 5px; }

/* Footer */
footer { background-color:  #222222; color: var(--light-gray); padding-top: 70px; font-size: 0.9rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h3 { color: var(--light); font-size: 1.1rem; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--primary); }
.footer-logo { max-height: 65px; margin-bottom: 10px; }
.footer-tagline { font-style: italic; color: var(--light); margin-bottom: 15px; font-size: 0.95rem; }
.footer-tagline span { font-size: 0.8rem; display: block; color: var(--medium-gray); }
.footer-about { margin-bottom: 20px; font-size: 0.85rem; line-height: 1.6; color: white; }
.payment-methods span { display: block; margin-bottom: 8px; font-weight: 500;}
.payment-methods img { height: 22px; margin-right: 8px; margin-bottom: 8px; background: var(--light); padding: 3px; border-radius: var(--border-radius-sm); opacity: 0.8; transition: opacity 0.2s, transform 0.2s; } /* Added transform */
.payment-methods img:hover { opacity: 1; transform: scale(1.1); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: white; transition: color var(--transition-speed), padding-left var(--transition-speed); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; opacity: 1; }
.contact-info li { margin-bottom: 15px; display: flex; align-items: flex-start; color: var(--medium-gray); }
.contact-info i { margin-right: 12px; color: var(--primary); font-size: 1rem; width: 20px; text-align: center; margin-top: 3px; }
.contact-info span { flex: 1; }
.social-links-footer a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background-color: #e31937; border-radius: 50%; margin-right: 10px; transition: background-color var(--transition-speed), transform var(--transition-speed); color: var(--light-gray); font-size: 1rem; }
.social-links-footer a:hover { background-color: var(--primary); color: var(--light); transform: translateY(-3px) scale(1.05); opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.copyright { font-size: 0.8rem; color: var(--medium-gray); }
.copyright i { font-size: 0.8em; }
.footer-bottom-links a { margin-left: 18px; font-size: 0.8rem; color: var(--medium-gray); }
.footer-bottom-links a:hover { color: var(--primary); opacity: 1; }


/* Responsive Design Adjustments for Animations & Layout */
@media (max-width: 992px) {
    #mainNav { display: none; position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); padding: 80px 0 20px 0; overflow-y: auto; z-index: 999; transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); } 
    #mainNav.active { left: 0; }
    #mainNav ul { flex-direction: column; align-items: center; padding-top: 20px; }
    #mainNav li { margin-right: 0; width: 80%; text-align: center;}
    #mainNav a { padding: 18px 20px; border-bottom: 1px solid var(--very-light-gray); display: block; font-size: 1.1rem; }
    #mainNav a.active::after, #mainNav a:not(.active):hover::after { display: none; } 
    #mainNav li.highlight a { margin: 20px auto; text-align: center; display: inline-block; width: auto;}
    .mobile-menu-btn { display: block; }
    .hero { min-height: auto; padding: 60px 0; }
    .hero-content { padding-top: 0; } 
    .flight-search .form-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .flight-search .search-btn { grid-column: 1 / -1; }
    .features-grid, .testimonials-slider, .destinations-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .footer-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; text-align: center; gap: 5px;}
    .header-container { padding: 10px 0;} .logo-img { height: 45px; } .tagline { font-size: 0.8rem; } .tagline span { font-size: 0.7rem; }
    .user-actions { display: none; } 
    .hero-announce-banner { padding: 15px 20px; } .hero-announce-banner h2 { font-size: 1.3rem; } .hero-announce-banner p { font-size: 0.9rem; }
    .section-padding { padding: 60px 0; } .section-header { margin-bottom: 40px; } .section-header h2 { font-size: 1.8rem; } .section-header p { font-size: 1rem; }
    .destinations-grid, .features-grid, .testimonials-slider { grid-template-columns: 1fr; gap: 25px; }
    .testimonial-card-v2 { flex-direction: column; align-items: center; text-align: center;} .passenger-avatar { margin-right: 0; margin-bottom: 15px; }
    .form-group-newsletter { flex-direction: column; box-shadow: none; } .form-group-newsletter input, .form-group-newsletter button { border-radius: var(--border-radius-md); } .form-group-newsletter input { margin-bottom: 10px; }
    .footer-bottom { flex-direction: column; text-align: center; } .footer-bottom-links { margin-top: 10px; } .footer-bottom-links a { margin: 0 8px; }
    .african-pattern-element, .promo-background-elements span, .african-sun-rays { /* Reduce complexity or hide on smaller screens for performance */ display: none; }
    .newsletter-bg-pattern { display: none; } /* Hide complex bg pattern */

}
@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .flight-search .form-grid { grid-template-columns: 1fr; }
    .hero-features { flex-direction: column; align-items: center; } .hero-features .feature-item { width: fit-content; }
    #mainNav li { width: 90%; } 
}