        /* ========== GLOBAL & ENHANCED THEME ========= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        :root {
            --primary-accent: #6366f1;
            --primary-hover: #4f46e5;
            --secondary-accent: #06b6d4;
            --highlight-text: #ffffff;
            --hero-bg: #0a0a0f; /* Black background */
            --body-bg: #0a0a0f; /* Changed from blue to black */
            --light-text: #e5e7eb;
            --muted-text: #9ca3af;
            --hero-cta-primary: #f59e0b;
            --hero-cta-secondary: #ec4899;
            --glass-bg: rgba(30, 30, 30, 0.75);
            --card-bg: #1f2937; /* Kept card background for contrast */
            --border-subtle: rgba(255, 255, 255, 0.1);
            --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
            --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
            --gradient-dark: linear-gradient(135deg, #111827 0%, #0a0a0f 100%);
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background: var(--gradient-dark);
            background-attachment: fixed;
            overflow-x: hidden;
            color: var(--light-text);
            line-height: 1.6;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            position: relative;
        }

        .container {
            max-width: 1200px;
            width: 100%;
            margin-inline: auto;
            padding-inline: 1rem;
        }

        /* ===== REFINED HEADER & NAVIGATION ===== */
        header {
            position: fixed;
            inset: 0 0 auto;
            background: var(--glass-bg);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            padding-block: 0.8rem;
            z-index: 1000;
            border-bottom: 1px solid var(--border-subtle);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        header.header-hidden {
            transform: translateY(-100%);
        }

        .header-content { 
            display: flex; 
            align-items: center; 
            justify-content: space-between; 
            max-width: 1250px; /* ADDED to match other sections */
            margin: 0 auto; /* ADDED to center the content */
            width: 100%; /* ADDED to ensure full width within constraint */
        }
        .logo { font-size: 2rem; font-weight: 700; color: var(--highlight-text); text-decoration: none; letter-spacing: -0.03em; }
        .logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

        nav ul { display: flex; list-style: none; gap: 1rem; }
        nav .nav-link {
            position: relative;
            color: var(--muted-text);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            padding: 0.5rem 0.25rem;
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: 0;
            left: 0;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .nav-link:hover { color: var(--highlight-text); }
        .nav-link.active::after {
            transform: scaleX(1);
        }

        .nav-link.active {
            color: var(--highlight-text);
        }

        .cta-header {
            display: inline-flex; align-items: center; gap: 0.6em;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--highlight-text); padding: 0.9rem 2rem; border-radius: 50px;
            font-weight: 600; text-decoration: none; font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        .cta-header:hover {
            transform: translateY(-3px) scale(1.05);
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 15px 3px rgba(99, 102, 241, 0.6),
                        0 0 25px 8px rgba(236, 72, 153, 0.4),
                        0 0 35px 12px rgba(6, 182, 212, 0.3);
        }
        .cta-header .fas {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .cta-header:hover .fas {
            transform: rotate(15deg);
        }

        .mobile-menu-toggle { display: none; font-size: 1.8rem; background: none; border: none; color: var(--light-text); cursor: pointer; padding: 0.6rem; border-radius: 8px; transition: all 0.3s ease; }
        .mobile-menu-toggle:hover { background: var(--glass-bg); transform: scale(1.1); }

        /* --- HERO ANIMATION --- */
        #home { 
            position: relative; 
            min-height: 100vh;
            width: 100%; 
            background: transparent;
        }
        #home::after {
            content: ''; position: absolute; inset: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="1" fill="rgba(99,102,241,0.3)"/><circle cx="900" cy="200" r="0.5" fill="rgba(6,182,212,0.4)"/><circle cx="300" cy="800" r="0.8" fill="rgba(16,185,129,0.3)"/><circle cx="800" cy="700" r="0.6" fill="rgba(245,158,11,0.2)"/><circle cx="500" cy="400" r="0.4" fill="rgba(236,72,153,0.3)"/></svg>');
            animation: cosmic-drift 20s ease-in-out infinite; z-index: 1;
        }
        @keyframes cosmic-drift {
            0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
            50% { transform: translate(-20px, 20px) rotate(180deg); opacity: 0.7; }
        }

        .sticky-container { 
            position: sticky; 
            top: 0; 
            height: 100vh; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            text-align: center; 
            overflow: hidden; 
            z-index: 2; 
            width: 100%; 
        }

        #background-content { 
            width: 100%; 
            height: 100%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            position: relative; 
            background: transparent; 
        }

        #revealed-section { 
            position: absolute; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: #000; 
            color: white; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
        }

        #revealed-content { 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center; 
            gap: 3rem; 
            padding: 3rem; 
            max-width: 1200px; 
        }

        #revealed-content p { 
    font-size: clamp(1.3rem, 2.8vw, 2rem); 
    line-height: 1.8; 
    max-width: 800px; 
    color: var(--light-text); 
    font-weight: 400; 
    letter-spacing: 0.01em;
    text-align: center;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 0 1.2rem;
}

#revealed-content .highlight-text {
    font-weight: 600;
    color: var(--highlight-text);
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 0.2rem;
}
        .buttons-container { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

        .btn-revealed {
            padding: 1.1rem 3rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.05rem;
            background-color: #000;
            color: var(--highlight-text);
            border: 1px solid rgba(245, 158, 11, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .btn-revealed:hover {
            background-color: #111;
            border-color: var(--hero-cta-primary);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
            transform: translateY(-2px);
        }

        .btn-secondary {
            border-color: rgba(99, 102, 241, 0.5);
            border-radius: 50px !important; /* Ensure rounded corners match btn-revealed */
        }

        .btn-secondary:hover {
            border-color: var(--primary-accent);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }

        .hero-content { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; position: relative; z-index: 2; }
        .hero-text { text-align: center; max-width: 1200px; padding: 0 2rem; }
        .hero-text h1 { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; color: var(--highlight-text); line-height: 1.1; letter-spacing: -0.03em; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }

        .h1-highlight {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: var(--primary-accent);
        }
        
        /* --- GENERAL SECTION & BUTTON STYLES --- */
        .section { 
            padding: 6rem 0; 
            position: relative; 
        }
        .section.bg-darker { 
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), var(--body-bg) 20%, var(--body-bg) 80%, rgba(0, 0, 0, 0.2));
        }
        .section-title { text-align: center; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: var(--highlight-text); margin-bottom: 1.2rem; }
        .section-title .highlight { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
        .section-subtitle { text-align: center; font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted-text); margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.7; }
        .btn-primary {
            background: #000;
            color: var(--highlight-text);
            padding: 0.9rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            border: 1px solid rgba(99, 102, 241, 0.5);
            font-size: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }
        .btn-primary:hover {
            transform: translateY(-3px) scale(1.03);
            background: #111;
            border-color: var(--primary-accent);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }

        /* --- CTA Section --- */
        .cta-section {
            background: var(--body-bg); /* Use exact same background as body */
            text-align: center;
            overflow: visible; /* Allow content to overflow */
            position: relative;
            margin-top: -2px; /* Larger overlap */
            margin-bottom: -2px; /* Larger overlap */
            padding-top: calc(6rem + 2px); /* Compensate for negative margin */
            padding-bottom: calc(6rem + 2px); /* Compensate for negative margin */
            border: none; /* Remove any borders */
            isolation: isolate; /* Creates a new stacking context */
            z-index: 1; /* Ensure proper stacking */
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -150px;
            bottom: -150px;
            left: -150px;
            right: -150px;
            background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08), rgba(0, 0, 0, 0) 80%);
            animation: rotate-glow 25s linear infinite;
            z-index: -1;
            pointer-events: none;
        }

        .cta-section::after {
            content: '';
            position: absolute;
            inset: 0; /* Shorthand for top, right, bottom, left = 0 */
            background: var(--gradient-dark);
            opacity: 0.7;
            z-index: -2;
            box-shadow: 0 0 40px 40px var(--body-bg); /* Large shadow to blend edges */
            pointer-events: none;
        }

        /* Add seamless connector elements */
        .cta-section .seamless-top,
        .cta-section .seamless-bottom {
            position: absolute;
            left: 0;
            width: 100%;
            height: 40px;
            background: var(--body-bg);
            z-index: -1;
        }

        .cta-section .seamless-top {
            top: -10px;
        }

        .cta-section .seamless-bottom {
            bottom: -10px;
        }

        @keyframes rotate-glow {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .cta-content {
            display: grid;
            grid-template-columns: 3fr 2fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .cta-text {
            text-align: left;
        }

        .cta-text .section-title,
        .cta-text .section-subtitle {
            text-align: left;
            margin-left: 0;
            margin-right: 0;
        }
        
        .cta-visual {
            position: relative;
            min-height: 350px;
        }

        /* --- MODERNIZED SOLUTION --- */
        .solutions-grid {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .solution-card {
            background-color: rgba(40, 40, 40, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 2.5rem 2rem;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            text-align: left;
            border: 1px solid var(--border-subtle);
            
            /* Animation properties */
            transition: all 0.4s ease-out;
            position: relative;
            left: 0px;
            width: 340px; 
            min-height: 420px; /* Use min-height to ensure content fits */
            box-shadow: -1rem 0 3rem rgba(0,0,0,0.4);
        }

        .solution-card:not(:first-child) {
            margin-left: -150px;
        }

        .solution-card:hover {
            transform: translateY(-20px);
            z-index: 10;
            border-color: var(--primary-accent);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }

        .solution-card:hover ~ .solution-card {
            left: 100px;
        }

        .solution-icon { display: none; }

        .solution-card h3 {
            color: var(--highlight-text);
            margin-bottom: 0.75rem;
            font-size: 1.75rem;
            font-weight: 700;
            display: flex;
            align-items: center;
        }

        .solution-card p.description {
            color: var(--muted-text);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .solution-features {
            list-style: none;
            padding-left: 0;
            margin-bottom: 1.5rem;
        }

        .solution-features li {
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
        }

        .solution-features li::before {
            content: '→';
            color: var(--highlight-text);
            font-weight: 400;
            margin-right: 0.75rem;
        }
        
        .solution-features li i { display: none; }

        .solution-card .learn-more {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            color: var(--light-text);
            font-size: 1.5rem;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s ease;
        }

        .solution-card:hover .learn-more {
            opacity: 1;
            transform: scale(1);
        }

        .learn-more:hover {
            color: var(--primary-accent);
        }

        .learn-more .fas {
            transition: transform 0.3s ease-in-out;
        }

        .solution-card:hover .learn-more .fas {
            transform: rotate(-45deg);
        }
        
        .subsystem-list {
            list-style: none;
            padding-left: 0;
            margin-bottom: 1.5rem;
            columns: 2;
            column-gap: 1rem;
        }

        .subsystem-list li { color: var(--light-text); font-size: 0.95rem; margin-bottom: 0.6rem; display: flex; align-items: center;}
        
        .subsystem-list li::before {
            content: '→';
            color: var(--highlight-text);
            font-weight: 400;
            margin-right: 0.75rem;
        }
        
        .afr-content, .april-content, .composites-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
        .afr-visual img, .april-visual img, .composites-visual img { width: 70%; height: auto; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
        
        .april-visual, .composites-visual {
            display: flex;
            flex-direction: column;
            align-items: center; /* This will center the button horizontally */
        }
        
        .edms-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; max-width: 1100px; margin: 0 auto; }
        .edms-visual { display: flex; flex-direction: column; align-items: center; }
        .edms-visual img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
        .edms-info { text-align: left; }
        
        .april-info, .composites-info, .afr-info { text-align: left; }
        .april-info h2, .composites-info h2, .afr-info h2 { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--highlight-text); margin-bottom: 1rem; font-weight: 700; }
        .afr-info .description { color: var(--muted-text); margin-bottom: 2rem; line-height: 1.7;}
        .april-info h2 .lab-name, .composites-info h2 .highlight, .afr-info .highlight { color: var(--primary-accent); }
        .april-info .april-fullname, .edms-info .edms-fullname { 
            font-size: 1.1rem; 
            color: var(--muted-text); 
            margin-bottom: 1.5rem; 
            font-style: italic; 
        }
        .april-subtitle { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--highlight-text); margin-bottom: 1.5rem; font-weight: 600; }
        .april-info > p, .composites-info p { color: var(--muted-text); margin-bottom: 1.5rem; line-height: 1.8; max-width: 600px;}
        
        /* RESTORED AFR DETAILS */
        .afr-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; background: rgba(0,0,0, 0.2); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border-subtle); }
        .detail-item {
            background-color: rgba(50, 50, 50, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 1.2rem 1.5rem;
            border-radius: 8px;
            border: 1px solid var(--border-subtle);
        }
        .detail-item strong { display: block; color: var(--primary-accent); font-size: 0.9rem; margin-bottom: 0.5rem; text-transform: uppercase; font-weight: 600; }
        .detail-item span { color: var(--light-text); font-size: 1.05rem; display: flex; align-items: center; gap: 0.6rem; font-weight: 500;}
        .detail-item span i { font-size: 1rem; opacity: 0.9; color: var(--primary-accent);}
        .mission-lifetime { margin: 2rem 0; background: rgba(0,0,0, 0.2); padding: 1.5rem; border-radius: 8px; }
        .mission-lifetime h4 { font-size: 1.1rem; color: var(--light-text); margin-bottom: 1rem; text-align: center; font-weight: 600;}
        .progress-bar-container { background: rgba(0,0,0, 0.2); border-radius: 25px; height: 10px; overflow: hidden; margin-bottom: 0.5rem; border: 1px solid var(--border-subtle); }
        .progress-bar { height: 100%; background: var(--gradient-primary); border-radius: 25px 0 0 25px; }
        .progress-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted-text); padding: 0 5px; margin-top: 0.75rem; }
        .progress-labels .completed { color: var(--primary-accent); font-weight: bold;}


        /* RESTORE ORIGINAL CAPABILITIES GRID */
        .capabilities-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin: 1.5rem 0; }
        @media (min-width: 500px) { .april-info .capabilities-grid, .composites-info .capabilities-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }

        .capability-item {
            background-color: rgba(31, 41, 55, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 1.2rem;
            border-radius: 8px;
            display: flex;
            align-items: center;
            border: 1px solid var(--border-subtle);
            transition: all 0.3s ease;
        }

        .capability-item:hover { 
            background-color: rgba(55, 65, 81, 0.5);
            transform: scale(1.03); 
        }

        .capability-item i { color: var(--primary-accent); margin-right: 1rem; font-size: 1.2rem; width: 25px; text-align: center; }
        .capability-item span { font-size: 0.95rem; font-weight: 500; color: var(--light-text);}



        /* --- News Section & Scroller --- */
        .news-scroller {
            overflow: hidden;
            -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
            mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
            margin-top: 3rem;
        }

        .news-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 2rem;
        }

        .news-card {
            flex-shrink: 0;
            width: 350px;
            background-color: rgba(50, 50, 50, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--border-subtle);
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s, box-shadow 0.4s;
            box-shadow: 0 8px 30px rgba(0,0,0,0.2);
        }
        .news-card:hover { transform: translateY(-10px); border-color: var(--primary-accent); box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2); }
        .news-card-image-container { height: 220px; overflow: hidden; }
        .news-card-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
        .news-card:hover .news-card-image-container img { transform: scale(1.08);}
        .news-card-content { padding: 1.8rem; flex-grow: 1; display: flex; flex-direction: column; }
        .news-date { color: var(--primary-accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .news-card h4 {
            color: var(--highlight-text);
            font-size: 1.25rem;
            margin-bottom: 1rem;
            line-height: 1.45;
            flex-grow: 1;
            font-weight: 600;
        }
        .news-card p.excerpt {
            color: var(--muted-text);
            margin-bottom: 1.5rem;
            line-height: 1.65;
            font-size: 0.9rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* --- SUBPAGE HERO SECTION --- */
        .page-hero {
            padding-top: 10rem;
            padding-bottom: 5rem;
            background: var(--hero-bg);
            text-align: center;
            border-bottom: 1px solid var(--border-subtle);
        }
        .page-hero h1 {
            font-size: clamp(2.8rem, 6vw, 4.2rem);
            font-weight: 700;
            color: var(--highlight-text);
            margin-bottom: 1.2rem;
            line-height: 1.2;
        }
        .page-hero h1 .highlight {
            background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
        }
        .page-hero .page-subtitle {
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            color: var(--muted-text);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.7;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: rgba(10, 10, 15, 0.5); /* A semi-transparent overlay */
            z-index: 0;
        }
        .page-hero .container {
            position: relative;
            z-index: 1;
        }

        /* --- BUS PAGE SPECIFIC STYLES --- */
        .bus-card {
            background-color: rgba(40, 40, 40, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 2.5rem 2rem;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
            transition: all 0.3s ease-in-out;
            text-align: left;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            display: flex;
            flex-direction: column;
        }
        .bus-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 16px 35px rgba(99, 102, 241, 0.15), 0 8px 15px rgba(0,0,0,0.3);
            border-color: var(--primary-accent);
            background-color: rgba(50, 50, 50, 0.4);
        }

        .buses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }
        .bus-card .bus-image-placeholder {
            height: 200px;
            background-color: rgba(10, 10, 15, 0.5);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            border: 1px dashed var(--border-subtle);
        }
        .bus-card .bus-image-placeholder i {
            font-size: 4rem;
            color: var(--primary-accent);
            opacity: 0.65;
            transition: all 0.3s ease;
        }

        .bus-card:hover .bus-image-placeholder i {
            transform: scale(1.2);
            opacity: 0.9;
        }
        .bus-card .bus-image-placeholder img {
            width: 100%; height: 100%; object-fit: cover; border-radius: 8px;
        }

        .bus-card h3 {
            font-size: 1.7rem;
            color: var(--highlight-text);
            margin-bottom: 0.5rem;
            font-weight: 700;
        }
        .bus-card .status-heritage {
            color: var(--primary-accent);
            font-weight: 600;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .bus-card .status-heritage span {
            font-size: 0.8em; opacity: 0.9; font-weight: normal; color: var(--muted-text);
        }
        .bus-card p.description {
            color: var(--muted-text);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.7;
            flex-grow: 1;
        }
        .bus-features {
            list-style: none;
            margin-bottom: 1.5rem;
            padding-left: 0;
            color: var(--muted-text);
            font-size: 0.95rem;
            flex-grow: 1;
        }
        .bus-features li {
            margin-bottom: 0.9rem; display: flex; align-items: flex-start;
        }
        .bus-features li i {
            color: var(--primary-accent);
            margin-right: 0.9rem;
            font-size: 1rem;
            margin-top: 0.25em;
            flex-shrink: 0;
            width: 20px;
        }
        .bus-features li strong {
            color: var(--light-text); margin-right: 0.5rem; font-weight: 500;
        }
        .bus-card .learn-more {
            color: var(--primary-accent);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            transition: all 0.3s ease;
            font-size: 1rem;
            margin-top: auto;
            padding: 0.5rem 0;
        }

        .bus-card .learn-more:hover {
            color: var(--primary-hover);
            transform: translateX(5px);
        }

        .bus-card .learn-more i {
            transition: transform 0.3s ease;
        }

        .bus-card .learn-more:hover i {
            transform: translateX(4px);
        }

        /* --- NEW FOOTER STYLING --- */
        footer {
            background-color: #060913;
            padding: 5rem 0 0;
            border-top: 1px solid var(--border-subtle);
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
            opacity: 0.5;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            margin-bottom: 4rem;
            max-width: 1250px; /* OPTIMIZED for 1920x1080 display size */
            margin-left: auto; /* ADDED to center the content */
            margin-right: auto; /* ADDED to center the content */
        }

        .footer-main {
            display: flex;
            flex-direction: column;
        }

        .footer-logo-link {
            margin-bottom: 1rem;
            font-size: 2rem;
            font-weight: 700;
            color: var(--highlight-text);
            text-decoration: none;
        }

        .footer-logo-link span {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-tagline {
            font-size: 0.9rem;
            color: var(--muted-text);
            line-height: 1.6;
            max-width: 300px;
            margin-bottom: 1.5rem;
        }

        .footer-main .footer-buttons {
            margin-bottom: 1.5rem;
        }

        .footer-btn {
            display: inline-block;
            padding: 0.7rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--light-text);
            background: #000;
            transition: all 0.3s ease;
            border: 1px solid var(--primary-accent);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .footer-btn:hover {
            background: #111;
            transform: translateY(-3px);
            border-color: var(--primary-hover);
            box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
        }

        .footer-main .social-links {
            display: flex;
            gap: 1rem;
        }

        .footer-main .social-links a {
            color: var(--muted-text);
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        .footer-main .social-links a:hover {
            color: var(--primary-accent);
        }

        .footer-links-group {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 2rem;
        }

        .nav-column h4 {
            color: var(--highlight-text);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            letter-spacing: 0.5px;
        }

        .nav-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .nav-column ul li {
            margin-bottom: 0.8rem;
        }

        .nav-column ul li a {
            color: var(--muted-text);
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            position: relative;
            padding-left: 14px;
        }

        .nav-column ul li a::before {
            content: '›';
            position: absolute;
            left: 0;
            opacity: 0;
            transition: all 0.2s ease;
        }

        .nav-column ul li a:hover {
            color: var(--primary-accent);
            transform: translateX(4px);
        }

        .nav-column ul li a:hover::before {
            opacity: 1;
        }

        .nav-column p {
            font-size: 0.95rem;
            line-height: 1.7;
            color: var(--muted-text);
        }

        .nav-column .contact-link {
            color: var(--primary-accent);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
            font-weight: 500;
            display: inline-block;
            margin-top: 0.5rem;
        }

        .nav-column .contact-link:hover {
            color: var(--light-text);
        }

        .footer-bottom {
            border-top: 1px solid var(--border-subtle);
            padding-top: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--muted-text);
            max-width: 1250px; /* ADDED to match other sections */
            margin: 0 auto; /* ADDED to center the content */
        }

        .legal-links a {
            color: var(--muted-text);
            text-decoration: none;
            transition: color 0.3s;
        }

        .legal-links a:hover {
            color: var(--primary-accent);
        }

        .legal-links .divider {
            margin: 0 0.5rem;
        }

        /* Footer Responsive Styles */
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .page-header-hero { padding-top: 8rem; padding-bottom: 4rem; }
            .services-grid .service-card { width: 280px; }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 1024px) {
    .container { width: 98%; } /* INCREASED from 95% to 98% for wider cards */
            nav ul { gap: 1.5rem; }
            .afr-content, .april-content, .composites-content { grid-template-columns: 1fr; text-align: center; }
            .afr-visual, .april-visual, .composites-visual { order: -1; margin-bottom: 2rem; margin-left: auto; margin-right: auto; max-width: 80%;}
            .april-info, .composites-info, .afr-info { text-align: center; }
            .april-info > p, .composites-info p, .afr-info .description { margin-left: auto; margin-right: auto;}
            .capabilities-grid { margin-left: auto; margin-right: auto; max-width: 500px; }
            .afr-details-grid { grid-template-columns: 1fr;}
        }
        @media (max-width: 768px) {
            .nav-desktop { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--glass-bg); backdrop-filter: blur(24px); padding: 1.5rem 0; border-radius: 0 0 16px 16px; }
            .nav-desktop.active { display: flex; }
            nav ul { flex-direction: column; width: 100%; align-items: center; gap: 0.5rem; }
            nav ul li { width: 100%; text-align: center; }
            nav a.nav-link { display: block; }
            .mobile-menu-toggle { display: block; }
            .cta-header { display: none; }
            .hero-text h1 { font-size: clamp(2.5rem, 10vw, 4.5rem); }
            .section { padding: 4rem 0;}
            .footer-content { text-align: center;}
            .social-links { justify-content: center;}
            .news-card {
                width: 80vw;
            }
            .buses-grid { 
                grid-template-columns: 1fr; 
            }
        }

        @media (max-width: 860px) {
            .cta-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .cta-text {
                text-align: center;
                margin-bottom: 2rem;
            }
            .cta-text .section-title,
            .cta-text .section-subtitle {
                text-align: center;
                margin-left: auto;
                margin-right: auto;
            }
            .cta-visual {
                 min-height: 250px;
            }
        }
        
        @media (max-width: 480px) {
            .bus-card { padding: 2rem 1.5rem; }
            .bus-features li { font-size:0.9rem; }
        }

        /* --- STACKING CARDS ANIMATION --- */
        .stack-container {
            position: relative;
            padding-bottom: 10vh; /* Provides space for the last card to scroll past */
        }

        .stack-container .container {
            /* Revert grid layout to a natural flow */
            display: block;
            padding-top: 5vh;
            padding-bottom: 5vh;
        }

        .stack-card {
            /* Re-introduce sticky positioning */
            position: sticky;
            top: 8vh;
            width: 100%;
        }

        .stack-card .section {
            padding: 1.5rem; /* Reduced padding to decrease card size */
            background-color: rgba(30, 30, 35, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-subtle);
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        }

        #april-card .section {
            background-color: rgba(50, 50, 50, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        #composites-card .section {
            background-color: #141418; /* A solid, dark color */
            backdrop-filter: none;
        }

        #edms-card .section {
            background-color: #141418;
            background-image: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.98));
        }

        /* Target titles inside stack-cards specifically for size reduction */
        .stack-card .april-info h2, .stack-card .composites-info h2 { 
            font-size: 1.75rem; 
            margin-bottom: 0.8rem;
        }

        /* Target paragraphs inside stack-cards */
        .stack-card .april-info p, .stack-card .composites-info p {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .stack-card .april-fullname {
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .afr-info .description { color: var(--muted-text); margin-bottom: 2rem; line-height: 1.7;}
        .april-info h2 .lab-name, .composites-info h2 .highlight, .afr-info .highlight { color: var(--primary-accent); }
        .mission-lifetime h4 { font-size: 1.1rem; color: var(--light-text); margin-bottom: 1rem; text-align: center; font-weight: 600;}
        .progress-bar-container { background: rgba(0,0,0, 0.2); border-radius: 25px; height: 10px; overflow: hidden; margin-bottom: 0.5rem; border: 1px solid var(--border-subtle); }
        .progress-bar { height: 100%; background: var(--gradient-primary); border-radius: 25px 0 0 25px; }
        .progress-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted-text); padding: 0 5px; margin-top: 0.75rem; }
        .progress-labels .completed { color: var(--primary-accent); font-weight: bold;}

        /* Special transition between news and CTA sections */
        #news {
            padding-bottom: 8rem;  /* Add extra padding at bottom */
            margin-bottom: -2rem;  /* Create overlap with next section */
            background: linear-gradient(to bottom, var(--body-bg) 95%, transparent 100%);
        }

        .cta-section {
            padding-top: 8rem;  /* Extra padding to account for overlap */
        }

        /* Apply consistent background for all sections */
        #news, 
        #contact-us,
        #solutions,
        #afr-mission,
        .stack-container,
        footer {
            position: relative;
            z-index: 1;
            background-color: var(--body-bg);
        }

        #afr-mission {
            padding: 4rem 0; /* Reduced padding for smoother flow */
            scroll-margin-top: 100px; /* Account for fixed header */
        }

/* --- SUBSYSTEMS PAGE SPECIFIC STYLES --- */
.subsystems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.subsystem-card {
    background-color: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.subsystem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-accent);
    background-color: rgba(55, 65, 81, 0.4);
}

.subsystem-image {
    height: 200px;
    background-color: var(--hero-bg); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted-text);
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}
.subsystem-image .placeholder-icon {
    font-size: 3rem; 
    color: var(--muted-text);
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

.subsystem-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.subsystem-header { 
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.subsystem-icon { 
    font-size: 1.5rem; 
    color: var(--primary-accent);
    margin-right: 0.8rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.subsystem-card h3 {
    font-size: 1.4rem; 
    color: var(--highlight-text);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.flight-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.flight-badge i { margin-right: 0.5rem; font-size: 0.8em; }

.subsystem-card p.description {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    font-size: 0.9rem; 
    line-height: 1.6;
}

.specs-container {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}
.specs-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.85rem; 
    color: var(--light-text);
}
.specs-list li {
    margin-bottom: 0.4rem; display: flex; line-height: 1.5;
}
.specs-list li strong {
    color: var(--muted-text);
    min-width: 100px; 
    display: inline-block;
    margin-right: 0.5rem;
    font-weight: 500;
}

.btn-datasheet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-accent); 
    color: var(--primary-accent); 
    background: transparent;
    margin-top: auto;
    width: 100%;
}
.btn-datasheet:hover {
    background: var(--primary-accent);
    color: var(--highlight-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.2);
}

 @media (max-width: 480px) {
    .specs-list li { flex-direction: column; align-items: flex-start; }
    .specs-list li strong { min-width: auto; margin-bottom: 0.25rem; }
 }
 
/* ██████████████████████████████████████████████████████████████████████████████████
   ███████████████████████ PAYLOADS PAGE SECTION ████████████████████████████████████
   ██████████████████████████████████████████████████████████████████████████████████ */

/* ========== PAYLOAD HERO SECTION ========== */
/* Creates a full-screen hero with animated background and layered gradients */
.payload-hero {
    position: relative;
    min-height: 100vh; /* Full viewport height */
    /* Multi-layered gradient background for depth and visual interest */
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.95) 0%, 
        rgba(55, 65, 81, 0.85) 50%, 
        rgba(75, 85, 99, 0.95) 100%);
    /* Subtle radial gradients for accent lighting effects */
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    overflow: hidden; /* Prevent content from extending beyond boundaries */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="m 60 0 l 0 60 l -60 0 l 0 -60 l 60 0 z" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--primary-accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 12px;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite alternate;
}

.element-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 30%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Capabilities Section */
.capabilities-section {
    padding: 6rem 0;
    background: var(--section-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.capability-card {
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.capability-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.6s ease-out;
}

.capability-card:hover {
    transform: translateY(-10px);
    background: rgba(55, 65, 81, 0.4);
    border-color: var(--primary-accent);
}

.capability-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.capability-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.capability-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced Payload Cards */
.bg-darker {
    background: var(--body-bg);
}

/* ========== SHARED PAYLOAD COMPONENTS ========== */

/* Payloads Grid Container */
/* Controls the overall layout of all payload cards on the page */
.payloads-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column layout for vertical stacking */
    gap: 4rem; /* Large spacing between cards for visual separation */
    margin-top: 2rem; /* Space from section header */
}

/* ========== BASE PAYLOAD CARD SYSTEM ========== */
/* Shared styles for both Fineview and Vista payload cards */
.payload-card {
    /* Glass morphism background effect */
    background: rgba(40, 40, 40, 0.3); /* Semi-transparent dark background */
    backdrop-filter: blur(10px); /* Creates frosted glass effect */
    
    /* Card shape and layout */
    border-radius: 20px; /* Rounded corners for modern look */
    overflow: hidden; /* Ensures content stays within rounded corners */
    border: 1px solid var(--border-subtle); /* Subtle border for definition */
    
    /* Interactive effects */
    transition: all 0.3s ease; /* Smooth animations for hover effects */
    position: relative; /* Allows absolute positioning of child elements */
    
    /* Card dimensions and centering */
    max-width: 1250px !important; /* OPTIMIZED for 1920x1080 display size */
    margin: 0 auto !important; /* Centers card horizontally */
    width: 100% !important; /* FORCE full container width */
}

/* ████████████████████████████████████████████████████████████████████████████████
   ██████████████████████████ FINEVIEW PAYLOAD SECTION ████████████████████████████
   ████████████████████████████████████████████████████████████████████████████████ */

/* ========== FINEVIEW PAYLOAD CARD ========== */
/* Featured payload styling - Flight Ready status */
.featured-payload {
    border: 1px solid var(--border-subtle); /* Standard border for featured cards */
    /* Additional Fineview-specific styling can be added here */
}

/* ========== PAYLOAD CARD HOVER EFFECTS ========== */
/* Unified hover effects for both Fineview and Vista cards */
.payload-card:hover {
    transform: translateY(-10px); /* Lifts card up on hover for 3D effect */
    /* Dual shadow system: deep shadow + colored glow */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), /* Deep shadow for depth */
                0 0 30px rgba(99, 102, 241, 0.3); /* Blue glow for tech aesthetic */
    border: 2px solid var(--primary-accent); /* Accent border highlights interaction */
}

/* Featured payload hover effect (same as general for consistency) */
.featured-payload:hover {
    border: 2px solid var(--primary-accent); /* Maintains consistent hover styling */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), /* Matching shadow system */
                0 0 30px rgba(99, 102, 241, 0.3); /* Matching glow effect */
}

/* ========== FINEVIEW STATUS BADGE ========== */
/* Flight Ready status for the Fineview payload */
.flight-ready {
    background: rgba(34, 197, 94, 0.2); /* Semi-transparent green background */
    color: #10b981; /* Bright green text */
    border: 1px solid rgba(34, 197, 94, 0.3); /* Subtle green border */
}

/* ████████████████████████████████████████████████████████████████████████████████
   ███████████████████████████ VISTA PAYLOAD SECTION █████████████████████████████
   ████████████████████████████████████████████████████████████████████████████████ */

/* ========== VISTA PAYLOAD CARD ========== */
/* Vista payload - In Development status */
/* Vista inherits base .payload-card styles */

/* ========== VISTA STATUS BADGE ========== */
/* In Development status for the Vista payload */
.in-development {
    background: rgba(245, 158, 11, 0.2); /* Semi-transparent orange background */
    color: #f59e0b; /* Bright orange text */
    border: 1px solid rgba(245, 158, 11, 0.3); /* Subtle orange border */
}

/* ████████████████████████████████████████████████████████████████████████████████
   ██████████████████████ SHARED PAYLOAD COMPONENTS ███████████████████████████████
   ████████████████████████████████████████████████████████████████████████████████ */

/* ========== PAYLOAD STATUS SYSTEM ========== */

/* Status badge positioning container - Used by both Fineview and Vista */
.payload-status {
    position: absolute; /* Positioned relative to payload card */
    top: 1rem; /* Distance from top edge */
    right: 1rem; /* Distance from right edge */
    z-index: 10; /* Ensures badge appears above other elements */
}

/* Base status badge styling - Shared by both payload types */
.status-badge {
    display: inline-flex; /* Allows icon and text alignment */
    align-items: center; /* Vertically centers content */
    gap: 0.5rem; /* Space between icon and text */
    padding: 0.5rem 1rem; /* Internal spacing */
    border-radius: 50px; /* Pill-shaped badge */
    font-size: 0.85rem; /* Compact text size */
    font-weight: 600; /* Bold text for importance */
    text-transform: uppercase; /* All caps for status emphasis */
    letter-spacing: 0.05em; /* Slightly spaced letters for readability */
}

/* ========== PAYLOAD IMAGE SYSTEM ========== */

/* Image container - houses the payload illustration */
.payload-image-container {
    position: relative; /* Allows absolute positioning of overlay */
    height: 100px; /* INCREASED from 10px to 400px for proper card proportions */
    overflow: hidden; /* Keep hidden to contain overlay but allow image pop-out via transform */
    border-radius: 12px; /* Match image border radius */
}

/* Payload image styling */
.payload-image-container img {
    width: 100%; /* Full container width */
    height: 100%; /* Full container height */
    object-fit: cover; /* Maintains aspect ratio while filling container */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Enhanced smooth animation */
    border-radius: 12px; /* Rounded corners for modern look */
}

/* Image zoom effect on card hover */
.payload-card:hover .payload-image-container img {
    transform: scale(1.1) translateY(-10px); /* Enhanced zoom with pop-out effect */
}

/* ========== IMAGE OVERLAY SYSTEM ========== */

/* Hidden overlay that slides up on hover */
.image-overlay {
    position: absolute; /* Positioned within image container */
    bottom: 0; /* Aligns to bottom edge */
    left: 0; /* Spans full width */
    right: 0; /* Spans full width */
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); /* Fade to dark */
    padding: 2rem; /* Internal spacing for content */
    transform: translateY(100%); /* Initially hidden below container */
    transition: transform 0.3s ease; /* Smooth slide animation */
    overflow: hidden; /* Prevent text spillage */
    border-radius: 0 0 12px 12px; /* Match image border radius */
}

/* Overlay reveal on card hover */
.payload-card:hover .image-overlay {
    transform: translateY(0); /* Slides up to reveal overlay */
}

/* Content within the overlay */
.overlay-content {
    display: flex; /* Horizontal layout */
    align-items: center; /* Vertical centering */
    gap: 0.5rem; /* Space between icon and text */
    color: white; /* High contrast text */
    font-weight: 600; /* Bold text for readability */
}

/* ========== PAYLOAD CONTENT AREA ========== */

/* Main content container for payload specifications */
.payload-specs {
    padding: 1.25rem 2rem 1.5rem 2rem; /* Comfortable spacing around content */
}

/* ========== PAYLOAD HEADER SECTION ========== */

/* Header containing title only (tags now positioned separately) */
.payload-header {
    display: flex; /* Side-by-side layout */
    align-items: center; /* Vertical alignment */
    justify-content: flex-start; /* Align title to the left */
    margin-bottom: 1rem; /* Space before content */
}

/* Payload name/title (Fineview, Vista) */
.payload-header h3 {
    font-size: 2rem; /* Large, prominent title */
    font-weight: 700; /* Bold for hierarchy */
    color: var(--text-primary); /* High contrast text */
}

/* ========== PAYLOAD TAG SYSTEM ========== */

/* Container for category tags */
.payload-tags {
    display: flex; /* Horizontal tag layout */
    gap: 0.5rem; /* Space between individual tags */
    position: absolute; /* Position relative to payload card */
    top: 4rem; /* Position below the Flight Ready badge (1rem + badge height + margin) */
    right: 1rem; /* Align with Flight Ready badge */
    z-index: 9; /* Below status badge but above other elements */
}

/* Individual tag styling (Optical, EO, Multispectral, etc.) */
.tag {
    padding: 0.25rem 0.75rem; /* Compact internal spacing */
    background: rgba(99, 102, 241, 0.1); /* Semi-transparent accent background */
    color: var(--primary-accent); /* Accent color text */
    border-radius: 50px; /* Pill-shaped tags */
    font-size: 0.8rem; /* Small, readable text */
    font-weight: 500; /* Medium weight for clarity */
    border: 1px solid rgba(99, 102, 241, 0.3); /* Subtle accent border */
}

/* Tabs System */
.specs-tabs {
    margin: 2rem 0;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-subtle);
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-accent);
    background: rgba(99, 102, 241, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-accent);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

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

/* Enhanced Specifications */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.spec-card {
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.spec-card:hover {
    background: rgba(55, 65, 81, 0.4);
    border-color: var(--primary-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.spec-card .spec-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.spec-card .spec-details {
    text-align: center;
}

.spec-card .spec-details strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.spec-card .spec-details span {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.app-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.app-item i {
    font-size: 1.5rem;
    color: var(--primary-accent);
}

.app-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.features-list i {
    color: var(--secondary-accent);
    font-size: 1.1rem;
}

/* Coming Soon Features */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-preview.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.6s ease-out;
}

.feature-preview:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.feature-preview i {
    font-size: 2rem;
    color: var(--primary-accent);
}

.feature-preview strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-preview span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== PAYLOAD ACTION BUTTONS ========== */

/* Container for payload action buttons (Download, Learn More, etc.) */
.payload-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

/* ========== BUTTON VARIANTS ========== */

/* Secondary button styling (Learn More, Get Notified) */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05); /* Subtle transparent background */
    color: var(--text-primary); /* High contrast text */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    padding: 0.75rem 1.5rem; /* Comfortable button size */
    border-radius: 8px; /* Rounded corners */
    text-decoration: none; /* Remove link underlines */
    font-weight: 500; /* Medium text weight */
    transition: all 0.3s ease; /* Smooth hover effects */
    display: inline-flex; /* Allows icon alignment */
    align-items: center; /* Vertically centers content */
    gap: 0.5rem; /* Space between icon and text */
}

/* Secondary button hover effects */
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1); /* Lighter on hover */
    border-color: var(--primary-accent); /* Accent border highlight */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* ========== DISABLED BUTTON STATE ========== */

/* Disabled button styling (Coming Soon) */
.btn-primary.disabled {
    opacity: 0.5; /* Faded appearance */
    cursor: not-allowed; /* Shows unavailable cursor */
    pointer-events: none; /* Prevents interactions */
}

/* Technology Showcase */
.tech-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(17, 24, 39, 0.95) 100%);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1250px; /* OPTIMIZED for 1920x1080 display size */
    margin: 0 auto; /* ADDED to center the content */
}

.tech-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tech-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tech-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-accent);
}

.highlight-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.highlight-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Technology Animation */
.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.tech-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 10s;
}

.ring-2 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 260px;
    height: 260px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
}

.center-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    100% { box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
}

/* Call to Action Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 197, 94, 0.08) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 1250px; /* OPTIMIZED for 1920x1080 display size */
    margin: 0 auto; /* ADDED to center the content */
}

.cta-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--highlight-text);
}

.cta-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--muted-text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Hero Title Styling */
.hero-content-centered h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content-centered .page-subtitle {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-subtitles {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.subtitle-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subtitle-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.subtitle-box i {
    color: var(--primary-accent);
    font-size: 1.1rem;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .section-title {
    margin-bottom: 1.5rem;
}

.section-header .section-subtitle {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .payloads-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content-centered {
        padding-top: 2rem;
        padding-bottom: 1rem;
        min-height: 80vh;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payload-card {
        margin: 0; /* REMOVED 1rem margins to allow full width */
    }
    
    .payloads-grid {
        gap: 2rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .payload-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .payload-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .spec-card {
        padding: 0.75rem;
    }
    
    .spec-card .spec-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .spec-card .spec-details strong {
        font-size: 0.8rem;
    }
    
    .spec-card .spec-details span {
        font-size: 0.7rem;
    }
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* --- AIT SERVICES PAGE STYLES --- */
.service-category-title {
    text-align: left;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--highlight-text);
    margin-bottom: 3rem;
    position: relative;
}

.service-category-title::after {
    content: '';
    position: absolute;
    left: 0;
    transform: translateX(0);
    bottom: -1rem;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

/* AIT Services Page Hero Styles */
.page-hero .hero-content-container {
    text-align: center;
    padding: 4rem 0;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.page-hero .page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem; 
    scroll-behavior: smooth;
    scrollbar-width: none; /* For Firefox */
}

.services-grid::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.services-scroller-container {
    position: relative;
}

.service-card {
    background-color: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    width: 320px;
    flex-shrink: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background-color: rgba(55, 65, 81, 0.4);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    color: var(--highlight-text);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p.description {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(5px);
    color: var(--highlight-text);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: auto;
}

.scroll-arrow:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
}

.services-scroller-container:hover .scroll-arrow {
    opacity: 1;
    pointer-events: auto;
}

.scroll-arrow-left {
    left: 10px;
}

.scroll-arrow-right {
    right: 10px;
}

.scroll-arrow.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Service Inquiry Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1f2937;
    margin: 10% auto;
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
    width: 80%;
    max-width: 600px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-button {
    color: var(--muted-text);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--highlight-text);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

.modal h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--highlight-text);
}

#serviceInquiryForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#serviceInquiryForm label {
    font-size: 0.9rem;
    color: var(--muted-text);
    font-weight: 500;
}

#serviceInquiryForm input,
#serviceInquiryForm select,
#serviceInquiryForm textarea {
    width: 100%;
    padding: 1rem;
    background: #0a0a0f;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#serviceInquiryForm input:focus,
#serviceInquiryForm select:focus,
#serviceInquiryForm textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

#serviceInquiryForm button {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

.hero-key-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    color: var(--light-text);
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.feature-item i {
    color: var(--primary-accent);
    font-size: 1.1rem;
}

/* ========== PAYLOAD CARD WIDTH OVERRIDE SECTION ========== */
/* These rules override all responsive constraints to ensure payload cards can be wide */

/* Force payload cards to use full available width */.payload-card {
    max-width: 1250px !important; /* OPTIMIZED for 1920x1080 display size */
    width: 100% !important;
    margin: 0 auto !important;
}

/* Override all responsive breakpoints for payload cards */
@media (max-width: 480px) {
    .payload-card {
        margin: 0 !important;
        width: 100% !important;
        min-height: auto !important; /* Allow small mobile cards to expand */
    }
    
    .payload-image-container {
        height: 250px !important; /* Even smaller for very small screens */
        overflow: visible !important; /* Ensure pop-out works on small mobile */
    }
}

@media (max-width: 768px) {
    .payload-card {
        margin: 0 !important;
        width: 100% !important;
        min-height: auto !important; /* Allow mobile cards to expand */
    }
    
    .payload-image-container {
        height: 300px !important; /* Reduced height for mobile but still visible */
        overflow: visible !important; /* Ensure pop-out works on mobile */
    }
    
    .payload-tags {
        top: 3.5rem; /* Slightly closer on mobile */
        right: 0.5rem; /* Less margin on mobile */
        flex-wrap: wrap; /* Allow tags to wrap on small screens */
        max-width: calc(100% - 1rem); /* Prevent overflow */
    }
}

@media (max-width: 1024px) {
    .payload-card {
        margin: 0 auto !important;
        width: 100% !important;
    }
}

/* Clickable card styles */
.clickable-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.clickable-card:active {
    transform: translateY(-2px);
} 

