﻿/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    /* Color Palette - Navy/Grey/White */
    --navy-dark: #050E17;
    --navy-main: #0A1F30;
    --navy-light: #162C40;
    --accent: #E5E7EB;
    /* Light grey accent */
    --accent-hover: #FFFFFF;
    --text-white: #FFFFFF;
    --text-muted: #B0B8C1;
    --border-color: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.accent-text {
    color: var(--accent);
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.max-w-md {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border-color: var(--accent);
    background: transparent;
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--navy-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(5, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 14, 23, 0.9) 0%, rgba(5, 14, 23, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text-col {
    max-width: 650px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.bold-headline {
    font-size: 5.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Glassmorphism Sidebar Container */
.hero-stats-sidebar {
    position: relative;
    width: 280px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-sizing: border-box;
    border-radius: 20px;

    /* Glassmorphism Blend */
    background: rgba(10, 31, 48, 0.4);
    /* Base matching your badge colors */
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);

    /* Outline Definition & Shadows */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Background Design Accent (Rail Track Line) */
.rail-track-line {
    position: absolute;
    top: 0;
    left: 36px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 15%,
            rgba(255, 255, 255, 0.15) 85%,
            rgba(255, 255, 255, 0) 100);
    z-index: 1;
}

/* Stat Layout Structures */
.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 00px;
    /* Shifts text away from track line */
    z-index: 2;
}

/* Stat Typography styling */
.stat-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-unit {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0px;
}

.stat-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.00em;
    text-transform: uppercase;
}

/* Bottom Badges Alignment */
.badges {
    display: flex;
    gap: 86px;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
}

.badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    /* Ensures clear badge legibility */
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: translateY(-2px);
}


/* ==========================================================================
   ABOUT / SPLIT LAYOUT
   ========================================================================== */
.about {
    padding: var(--section-padding);
    background-color: var(--navy-main);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.split-images {
    position: relative;
    height: 600px;
}

.img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    object-fit: cover;
    border-radius: 4px;
}

.img-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 70%;
    object-fit: cover;
    border: 10px solid var(--navy-main);
    border-radius: 4px;
}

.image-tag {
    position: absolute;
    top: 30px;
    right: 10%;
    background: var(--accent);
    color: var(--navy-dark);
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Container Layout Setup */
.registration-cards {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    box-sizing: border-box;
}

/* Glassmorphism Card Conversions */
.reg-card {
    /* Translucent Glass Base Layer */
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);

    padding: 20px 25px;
    /* Boosted padding slightly for breathing room */
    flex: 1;
    border-radius: 0 16px 16px 0;
    /* Smooths outer right-hand corners */

    /* Depth Layering Accents */
    border-left: 3px solid var(--accent);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Interactive Hover States */
.reg-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Typography Overrides for Dark/Glass Contrast */
.reg-card h5 {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    /* Replaces var(--text-muted) for better glass opacity control */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 6px 0;
}

.reg-card p {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Directors Section Layout Alignment */
.directors {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.director {
    display: flex;
    align-items: center;
    gap: 15px;
}

.director img {
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.director strong {
    display: block;
    font-size: 1.1rem;
}

.director span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners {
    padding: 40px 0;
    background-color: var(--navy-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logos img {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--navy-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--navy-main);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.loco-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(229, 231, 235, 0.9);
    color: var(--navy-dark);
    padding: 5px 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-radius: 20px;
}

.card-content {
    padding: 30px;
    position: relative;
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--navy-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    border-radius: 50%;
    margin-top: -55px;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.reveal-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent-hover);
}

.banner-cta {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid transparent;
}

.banner-cta:hover {
    border-bottom-color: var(--accent);
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why-choose {
    padding: var(--section-padding);
    background: var(--navy-dark);
}

.sticky-col {
    position: sticky;
    top: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--navy-light);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process {
    padding: var(--section-padding);
    background-color: var(--navy-main);
}

.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 50px;
}

.progress-line {
    position: absolute;
    top: 0;
    left: 15px;
    width: 3px;
    height: 100%;
    background: var(--border-color);
}

.progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
}

.stage {
    position: relative;
    margin-bottom: 40px;
}

.stage::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--navy-main);
    border: 3px solid var(--accent);
    z-index: 2;
}

.stage-num {
    position: absolute;
    left: -90px;
    top: 0;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.stage h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stage p {
    color: var(--text-muted);
}

/* ==========================================================================
   MATRIX & CAPABILITIES
   ========================================================================== */
.matrix-capabilities {
    padding: var(--section-padding);
    background-color: var(--navy-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cap-card {
    display: flex;
    background: var(--navy-main);
    border-radius: 4px;
    overflow: hidden;
}

.cap-card img {
    width: 40%;
    object-fit: cover;
}

.cap-info {
    padding: 30px;
    width: 60%;
}

.cap-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.cap-info p {
    color: var(--text-muted);
}

.fleet-matrix {
    width: 100%;
    border-collapse: collapse;
    background: var(--navy-main);
    border-radius: 4px;
    overflow: hidden;
}

.fleet-matrix th,
.fleet-matrix td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.fleet-matrix th {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(0, 0, 0, 0.2);
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.electric {
    background: #E5E7EB;
    color: #0A1F30;
}

.badge.diesel {
    background: #9CA3AF;
    color: #0A1F30;
}

/* ==========================================================================
   QUALITY
   ========================================================================== */
.quality {
    padding: 80px 0;
    background-color: var(--accent);
    color: var(--navy-dark);
}

.quality .section-title {
    color: var(--navy-dark);
}

.testing-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.test-badge {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
    padding: var(--section-padding);
    background-color: var(--navy-dark);
}

.contact-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    color: var(--accent);
}

.contact-form-card {
    background: var(--navy-light);
    padding: 40px;
    border-radius: 4px;
    border-top: 4px solid var(--accent);
}

.contact-form-card h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--navy-main);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-family: var(--font-body);
    border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #03080c;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-badges {
    display: flex;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   SERVICE PAGE SPECIFIC STYLES
   ========================================================================== */
.service-header {
    padding: 150px 0 80px;
    background-color: var(--navy-light);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.service-header .section-subtitle {
    display: block;
    margin-bottom: 10px;
}

.service-content {
    padding: 80px 0;
    background-color: var(--navy-main);
}

.service-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.service-body p {
    margin-bottom: 20px;
}

.service-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
}

.service-body li {
    margin-bottom: 10px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text-col {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        border-left: none;
        border-top: 2px solid var(--accent);
    }

    .rail-track-line {
        display: none;
    }

    .bold-headline {
        font-size: 4rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .btn-primary {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cap-card {
        flex-direction: column;
    }

    .cap-card img {
        width: 100%;
    }

    .cap-info {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   ANIMATIONS (SMOOTH SCROLL REVEALS)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   PROCESS PAGE (ZIGZAG LAYOUT)
   ========================================================================== */
.page-header {
    padding: 180px 0 100px;
    background-color: var(--navy-light);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.zigzag-section {
    padding: var(--section-padding);
    background-color: var(--navy-main);
    overflow: hidden;
}

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.zigzag-row:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-image {
    flex: 1;
    position: relative;
}

.zigzag-image img {
    border-radius: 4px;
    border: 4px solid var(--navy-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.zigzag-text {
    flex: 1;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--border-color);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.zigzag-text h3 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.zigzag-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   CONTACT PAGE (MAP & FAQ)
   ========================================================================== */
.map-container {
    width: 100%;
    height: 450px;
    background-color: var(--navy-light);
    margin: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--navy-main);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--navy-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-white);
    transition: var(--transition);
}

.faq-question:hover,
.faq-question.active {
    background-color: var(--navy-dark);
    color: var(--accent);
}

.faq-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: var(--navy-dark);
    color: var(--text-muted);
}

.faq-question.active+.faq-answer {
    padding: 20px 25px;
    max-height: 300px;
    /* arbitrary max height for transition */
}

@media (max-width: 992px) {

    .zigzag-row,
    .zigzag-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
}

/* Outer Full-Viewport Frame */
.page-header {
    position: relative;
    width: 100%;
    height: 50vh;
    /* Adjust height matching your specific subpage requirements */
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #050f18;
    box-sizing: border-box;
}

/* Image scaling to match the reference banner style */
.header-viewport-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.header-viewport-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Linear color gradient to darken layout and improve reading contrast */
.header-viewport-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(5, 15, 24, 0.75) 0%,
            rgba(5, 15, 24, 0.5) 50%,
            rgba(5, 15, 24, 0.85) 100%);
}

/* Content wrapper styling */
.header-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-content-layer {
    text-align: center;
}

/* Typography styles matching high-contrast dark configurations */
.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent, #00e5ff);
    margin-bottom: 12px;
}

.bold-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Centered visual anchor scroll indicator */
.scroll-indicator {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.chevron-down {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: bounceIndicator 2s infinite;
}

@keyframes bounceIndicator {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-6px) rotate(45deg);
    }

    60% {
        transform: translateY(-3px) rotate(45deg);
    }
}
