/* ==========================================================================
   MM ENTERPRISES - CORE DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

/* --- 1. DESIGN TOKENS --- */
:root {
    --color-navy: #0B132B;
    --color-navy-light: #131F42;
    --color-techblue: #00A3E0;
    --color-techblue-hover: #008CBE;
    --color-verified: #00B87C;
    --color-slate: #F4F6F8;
    --color-slate-muted: rgba(244, 246, 248, 0.7);
    --border-subtle: rgba(255, 255, 255, 0.1);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --container-max: 1280px;
}

/* --- 2. GLOBAL RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--color-navy);
    color: var(--color-slate);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; }
a { text-decoration: none; color: inherit; }

/* --- 3. LAYOUT UTILITIES --- */
.container {
    width: 100%; max-width: var(--container-max);
    margin: 0 auto; padding: 0 24px;
}
.section-pad { padding: 100px 0; }

/* ==========================================================================
   --- GSAP FOUC SAFEGUARD (Production Safety) ---
   ========================================================================== */
/* Hides animated elements until animations.js takes over to prevent glitchy flashing */
.hero-anim, 
.trust-anim, 
.fade-up, 
.stagger-up, 
.segmenter-card, 
.matrix-header, 
.matrix-card {
    visibility: hidden;
}

/* --- 4. COMPONENTS --- */

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-techblue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 16px 32px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 163, 224, 0.3);
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-align: center;
}
.btn-primary:hover { background-color: var(--color-techblue-hover); }
.btn-primary:active { transform: scale(0.98); }


/* ==========================================================================
   --- HERO SECTION (Top-Tier Next-Gen Tactical Interface) ---
   ========================================================================== */
.hero-cinematic {
    position: relative;
    height: calc(100vh - 85px); 
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    background-color: #020617; /* Premium deep obsidian base */
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Optimized Ultra-Slim Glass Console Dock --- */
.hero-console-slim {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: calc(100% - 48px);
    max-width: 1280px;
    
    /* Pushed to high transparency (0.22) */
    background: rgba(4, 7, 16, 0.22); 
    
    /* Boosted blur & saturation handles structural text readability perfectly over the video */
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    
    /* Ultra-fine hairline border tracking with deep atmospheric shadow drop */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; 
    
    /* SLIMMED HEIGHT: Reduced vertical padding from 36px to 20px */
    padding: 20px 40px;
    
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 24px 60px -15px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.console-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr; 
    gap: 32px; /* Slimmed gap down to keep structure compact */
    align-items: center;
}

/* --- Left: High-End Minimalist Typography --- */
.console-info h1 { 
    font-size: clamp(1.85rem, 3.5vw, 2.65rem); 
    font-weight: 800;
    line-height: 1.15; 
    letter-spacing: -0.03em; 
    text-transform: none; 
    
    /* Premium metallic silver gradient overlay split */
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px 0; /* Tighter baseline text space */
    
    /* Safety ambient shadow layer anchors readability over highly transparent layers */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.console-info p { 
    font-size: 0.975rem; 
    line-height: 1.5; 
    color: #e2e8f0; /* Boosted brightness slightly to counter background transparency */
    max-width: 95%;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* --- Right: Next-Gen Interactions & Input Deck --- */
.console-interact {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Reduced internal tracking height */
}

/* Buttons: Premium Fluid Design */
.console-actions { 
    display: flex; 
    gap: 16px; 
}
.btn-heavy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px; /* Slightly slimmed down padding footprint */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none; 
    letter-spacing: -0.01em;
    border-radius: 8px; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    text-align: center;
}

.btn-heavy-primary {
    background-color: var(--color-techblue);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}
.btn-heavy-primary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25);
}

.btn-heavy-outline {
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-heavy-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Telemetry Fleet Badges */
.console-metrics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px; /* Reduced separation padding */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}
.console-metric {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.775rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px; /* Ultra-slim pill frames */
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}
.console-metric:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.console-metric svg { 
    width: 14px; height: 14px; 
    color: var(--color-techblue); 
    filter: drop-shadow(0 0 6px var(--color-techblue)); 
}

/* ==========================================================================
   --- TABLET LAYOUT RESPONSIVENESS ---
   ========================================================================== */
@media (max-width: 1023px) {
    .hero-console-slim {
        padding: 20px 24px;
    }
    .console-grid { 
        grid-template-columns: 1fr; 
        gap: 24px; 
    }
    .console-info {
        text-align: center;
    }
    .console-info p {
        margin: 0 auto;
    }
}

/* ==========================================================================
   --- MOBILE NEXT-GEN OVERHAUL ---
   ========================================================================== */
@media (max-width: 767px) {
    .hero-cinematic { 
        height: auto; 
        min-height: auto; 
        display: flex;
        flex-direction: column;
        background-color: #020617;
    }
    
    .hero-video-wrapper { 
        position: relative; 
        height: 38vh; 
        min-height: 260px; 
        inset: auto;
    }
    
    /* MAINTAINS THE PREMIUM FLOATING BENTO LOOK ON MOBILE WITH HIGHER TRANSPARENCY */
    .hero-console-slim { 
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: -40px auto 32px auto; 
        width: calc(100% - 32px); 
        
        /* Dropped mobile opacity down from 0.75 to a highly responsive transparent layer (0.42) */
        background: rgba(4, 7, 16, 0.42);
        backdrop-filter: blur(32px) saturate(180%);
        -webkit-backdrop-filter: blur(32px) saturate(180%);
        
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px; 
        
        /* SLIMMED HEIGHT MOBILE CONTAINER MARGINS */
        padding: 20px 16px;
        
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    
    .console-info h1 { 
        font-size: 1.55rem !important; 
        text-align: center;
    }
    
    .console-info p {
        text-align: center;
        font-size: 0.875rem;
        color: #e2e8f0;
    }
    
    .console-actions { 
        flex-direction: column; 
        gap: 8px; 
        width: 100%;
    }
    
    .btn-heavy {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .console-metrics {
        flex-direction: row;       
        flex-wrap: wrap;           
        justify-content: center;   
        gap: 8px 10px;            
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .console-metric {
        font-size: 0.725rem;
        padding: 5px 10px;
    }
}

/* ==========================================================================
   --- SMART VIDEO BUFFERING SYSTEM ---
   ========================================================================== */
.video-buffer-overlay {
    position: absolute;
    inset: 0;
    background-color: #020617; 
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.video-buffer-overlay .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-techblue);
    border-radius: 50%;
    animation: bufferSpin 1s linear infinite;
}

@keyframes bufferSpin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   --- VERIFICATION RIBBON (Industrial Grid & Micro-Animations) ---
   ========================================================================== */
.verification-ribbon {
    background-color: #fafbfc;
    padding: 60px 0;
    border-top: 1px solid rgba(11, 19, 43, 0.06);
    border-bottom: 1px solid rgba(11, 19, 43, 0.06);
    overflow: hidden;
}

/* Header Framing */
.verification-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding: 0 16px;
}
.verification-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(11, 19, 43, 0.1), transparent);
}
.verification-title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    color: rgba(11, 19, 43, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* --- The Response Engine Grid --- */
.verification-grid {
    display: grid;
    /* Auto-fit guarantees items break perfectly dynamically based on width */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 0 16px;
}

/* --- Industrial Verification Badge Cards --- */
.verification-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid rgba(11, 19, 43, 0.08);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(11, 19, 43, 0.02);
    transition: 
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    will-change: transform;
}

/* Structural Icon Frame */
.badge-icon-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #f1f5f9;
    border-radius: 6px;
    flex-shrink: 0; /* Prevents icon from squishing under any text load */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.badge-render {
    width: 28px;
    height: 28px;
    object-fit: contain;
    /* Clean corporate saturation fallback state */
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

/* Content Layout */
.badge-details {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Ensures inner text wrapping behaves safely */
}
.badge-indicator-tag {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-techblue);
    font-weight: 700;
    margin-bottom: 4px;
}
.badge-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-navy);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.badge-subtext {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(11, 19, 43, 0.6);
    word-wrap: break-word; /* Hard safety line wrap safeguard */
}

/* --- High-Tier Animation Interactivity (Hover States) --- */
.verification-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-techblue);
    box-shadow: 0 20px 32px rgba(11, 19, 43, 0.08);
}
.verification-card:hover .badge-icon-frame {
    transform: scale(1.05) rotate(2deg);
}
.verification-card:hover .badge-render {
    filter: grayscale(0%);
}

/* Premium Metallic Reflective Sweep Effect */
.card-glow-effect {
    position: absolute;
    inset: 0;
    border-radius: 5px;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}
.card-glow-effect::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
}
.verification-card:hover .card-glow-effect::before {
    left: 150%;
    transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   --- MOBILE RESPONSIVE LAYOUT SAFETY ---
   ========================================================================== */
@media (max-width: 1023px) {
    .verification-header {
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .verification-ribbon {
        padding: 40px 0;
    }
    .verification-header {
        flex-direction: column;
        gap: 12px;
    }
    .verification-line {
        display: none; /* Strip decorative side borders on tight viewports */
    }
    .verification-title {
        font-size: 0.75rem;
        white-space: normal; /* Allow title to drop naturally if screen is tiny */
    }
    .verification-grid {
        grid-template-columns: 1fr; /* Stack into clean single-column cards on mobile */
        gap: 16px;
    }
    .verification-card {
        padding: 20px;
    }
    .verification-card:hover {
        transform: translateY(-2px); /* Scale down heavy animations on mobile for stability */
    }
}

/* ==========================================================================
   --- INDUSTRIAL FLEET DIVISIONS (Split-Block Layout) ---
   ========================================================================== */
.fleet-divisions-section {
    background-color: #F8FAFC; /* A very soft slate background so the white GIFs pop */
    padding: 100px 0;
    overflow: hidden;
}

/* Header Styling */
.divisions-header {
    text-align: center;
    margin-bottom: 80px;
}
.divisions-subtitle {
    font-family: monospace;
    font-size: 0.8125rem;
    color: var(--color-techblue);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}
.divisions-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.divisions-header p {
    color: #475569;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- The Alternating Row Layout --- */
.divisions-stack {
    display: flex;
    flex-direction: column;
    gap: 100px; /* Generous breathing room between sections */
}

.division-row {
    display: flex;
    align-items: center;
    gap: 64px;
}
.division-row.image-right {
    flex-direction: row-reverse;
}

/* --- Media Bay (The GIF Frame) --- */
.division-media-bay {
    flex: 1;
    width: 50%;
}
.media-frame {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid rgba(11, 19, 43, 0.06);
    box-shadow: 0 20px 40px rgba(11, 19, 43, 0.04);
    /* Soft tech-blue accent line */
    border-bottom: 4px solid var(--color-techblue);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.division-row:hover .media-frame {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(11, 19, 43, 0.08);
}
.division-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

/* --- Content Bay (Typography) --- */
.division-content-bay {
    flex: 1;
    width: 50%;
}
.div-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: rgba(0, 163, 224, 0.1);
    color: var(--color-techblue);
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.div-title {
    font-size: 2rem;
    color: var(--color-navy);
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.1;
}
.div-desc {
    color: #475569;
    line-height: 1.7;
    font-size: 1.0625rem;
    margin-bottom: 40px;
}

/* Interaction Button */
.div-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.div-cta .cta-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-techblue);
    transition: transform 0.3s ease;
}
.div-cta:hover { color: var(--color-techblue); }
.div-cta:hover .cta-arrow { transform: translateX(6px); }


/* ==========================================================================
   --- MOBILE RESPONSIVENESS ---
   ========================================================================== */
@media (max-width: 1023px) {
    .division-row, .division-row.image-right {
        gap: 40px;
    }
    .div-title { font-size: 1.75rem; }
}

@media (max-width: 767px) {
    .fleet-divisions-section { padding: 60px 0; }
    .divisions-header { margin-bottom: 48px; }
    .divisions-stack { gap: 64px; }
    
    /* Force mobile to always stack: GIF on top, Text on bottom */
    .division-row, .division-row.image-right {
        flex-direction: column;
        gap: 32px;
    }
    
    .division-media-bay, .division-content-bay {
        width: 100%;
    }
    
    .media-frame { padding: 16px; }
    .division-image { max-height: 280px; }
    
    .div-title { font-size: 1.5rem; margin-bottom: 16px; }
    .div-desc { margin-bottom: 24px; }
}



/* ==========================================================================
   --- 7. COMPONENT: CAPABILITIES MATRIX (Parallax & Mobile Carousel) ---
   ========================================================================== */
.matrix-section {
    position: relative;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

/* Cinematic Background */
.matrix-cinematic-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-attachment: fixed; z-index: 1;
}
.matrix-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.25) 0%, rgba(11, 19, 43, 0.1) 100%);
    z-index: 2;
}
.matrix-content-wrapper { position: relative; z-index: 5; }

/* Header Typography */
.matrix-header { max-width: 800px; margin-bottom: 64px; }
.matrix-header p {
    color: var(--color-techblue); text-transform: uppercase;
    letter-spacing: 2px; font-weight: 700; font-size: 0.875rem; margin-bottom: 16px;
}
.matrix-header h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 800; text-transform: uppercase;}

/* ---------------------------------------------------
   MOBILE-FIRST CAROUSEL LAYOUT
   (By default, it acts as a horizontal slider)
--------------------------------------------------- */
.matrix-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Makes the cards "snap" into place when swiping */
    gap: 16px;
    padding-bottom: 24px; /* Space for a clean scroll */
    /* Hide scrollbar for a cleaner app-like feel */
    -ms-overflow-style: none; scrollbar-width: none;
}
.matrix-grid::-webkit-scrollbar { display: none; }

.matrix-card {
    /* Mobile: Cards take up 85% of screen, allowing the next card to peek out */
    flex: 0 0 85%;
    scroll-snap-align: center;
    
    background-size: cover; background-position: center; background-repeat: no-repeat;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; padding: 32px;
    position: relative; overflow: hidden; height: 400px;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* ---------------------------------------------------
   DESKTOP GRID OVERRIDE (Replaces slider with Grid)
--------------------------------------------------- */
@media (min-width: 1024px) {
    .matrix-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible; /* Disable scrolling */
        gap: 24px;
        padding-bottom: 0;
    }
    .matrix-card { flex: auto; scroll-snap-align: none; }
}

/* --- Internal Card Elements (Hover & Tap Logic) --- */
.matrix-card-overlay { position: absolute; inset: 0; background: rgba(11, 19, 43, 0.3); z-index: 1; transition: background 0.4s;}
.matrix-card:hover .matrix-card-overlay,
.matrix-card.is-active .matrix-card-overlay { background: rgba(11, 19, 43, 0.1); }

.matrix-card-default { position: relative; z-index: 2; transition: transform 0.5s ease; }
.matrix-icon {
    width: 48px; height: 48px; background: rgba(255,255,255,0.05);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; transition: background 0.5s ease; border: 1px solid rgba(255,255,255,0.1);
}
.matrix-card h3 { font-size: 1.25rem; margin-bottom: 24px; color: #fff; text-transform: uppercase; font-weight: 800; }

.matrix-metrics {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px;
    transition: opacity 0.3s ease; position: relative; z-index: 2;
}
.matrix-metrics table { width: 100%; font-size: 0.75rem; color: rgba(255,255,255,0.7); border-collapse: collapse;}
.matrix-metrics td { padding: 4px 0; }
.matrix-metrics .text-right { text-align: right; color: #fff; font-family: monospace; font-size: 0.875rem; font-weight: 600; }

/* The Hover Reveal Block */
.matrix-reveal {
    position: absolute; inset: 0; background: rgba(255, 80, 0, 0.95); backdrop-filter: blur(8px);
    padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
    transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); z-index: 3;
}
.matrix-reveal h4 { font-size: 1.25rem; color: #fff; margin-bottom: 16px; text-transform: uppercase; font-weight: 800;}
.matrix-reveal p { font-size: 0.875rem; color: rgba(255,255,255,0.9); line-height: 1.6; }
.matrix-reveal-link {
    color: #fff; font-family: var(--font-heading); font-weight: 700;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
}

/* ---------------------------------------------------
   HOVER (Desktop) & ACTIVE (Mobile Tap) TRIGGERS
--------------------------------------------------- */
.matrix-card:hover .matrix-card-default,
.matrix-card.is-active .matrix-card-default { transform: translateY(-10px); }

.matrix-card:hover .matrix-icon,
.matrix-card.is-active .matrix-icon { background: rgba(255, 80, 0, 0.2); border-color: var(--color-techblue); }

.matrix-card:hover .matrix-metrics,
.matrix-card.is-active .matrix-metrics { opacity: 0; }

.matrix-card:hover .matrix-reveal,
.matrix-card.is-active .matrix-reveal { transform: translateY(0); }



/* ==========================================================================
   --- 8. COMPONENT: CASE STUDIES CAROUSEL ---
   ========================================================================== */
.cases-section { background-color: #fff; color: var(--color-navy); position: relative; padding: 60px 0; }
.cases-header { margin-bottom: 48px; }
.cases-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-navy); font-weight: 800; text-transform: uppercase;}
.cases-header span { color: var(--color-techblue); }

.case-viewport { position: relative; display: flex; flex-direction: column; justify-content: center; }
.case-track { display: flex; gap: 32px; padding: 0 5vw; will-change: transform; }

.case-card {
    background: var(--color-slate); padding: 48px; border-radius: 4px;
    border: 1px solid rgba(11, 19, 43, 0.05);
    display: flex; flex-direction: column; justify-content: space-between;
}
.case-cat {
    font-size: 0.75rem; font-weight: 700; color: var(--color-techblue);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.case-card h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 24px; color: var(--color-navy); font-weight: 800;}
.case-metric-box { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.case-metric-box .metric { font-size: clamp(2.5rem, 5vw, 3.5rem); font-family: var(--font-heading); font-weight: 800; line-height: 1; color: var(--color-navy); }
.case-metric-box .label { font-size: 0.8125rem; font-weight: 700; color: rgba(11, 19, 43, 0.5); text-transform: uppercase; padding-bottom: 4px; }
.case-outcome { font-size: 0.9375rem; line-height: 1.6; color: rgba(11, 19, 43, 0.8); border-top: 1px solid rgba(11, 19, 43, 0.1); padding-top: 24px; }

/* Call to Action Card */
.case-card.cta-card {
    background: var(--color-techblue); color: #fff;
    text-align: center; align-items: center; justify-content: center; border: none;
}
.case-card.cta-card h3 { color: #fff; margin-bottom: 24px; }
.case-card.cta-card p { color: rgba(255,255,255,0.9); margin-bottom: 32px; }
.case-card.cta-card .btn-light {
    background: #fff; color: var(--color-techblue); padding: 16px 32px; text-decoration: none;
    font-family: var(--font-heading); font-weight: 700; border-radius: 4px;
    transition: background 0.3s ease; display: inline-block; text-transform: uppercase; letter-spacing: 1px;
}
.case-card.cta-card .btn-light:hover { background: var(--color-navy); color: #fff; }

/* ---------------------------------------------------
   MOBILE-FIRST CAROUSEL (Native Swipe Scrolling)
--------------------------------------------------- */
@media (max-width: 767px) {
    .case-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px; /* Room for shadow/scroll */
        -ms-overflow-style: none; scrollbar-width: none; /* Hide scrollbar */
    }
    .case-track::-webkit-scrollbar { display: none; }
    .case-card { 
        flex: 0 0 85%; /* Shows a peek of the next card */
        scroll-snap-align: center; 
        padding: 32px 24px;
    }
}

/* ---------------------------------------------------
   DESKTOP OVERRIDE (GSAP Pinned Scrolling)
--------------------------------------------------- */
@media (min-width: 768px) {
    .cases-section { padding: 0; }
    .case-viewport { height: 100vh; position: sticky; top: 0; overflow: hidden; }
    .case-track { padding: 0 10vw; overflow-x: visible; }
    .case-card { flex-shrink: 0; width: 85vw; max-width: 550px; }
}

/* ==========================================================================
   --- 9. GLOBAL FOOTER (World-Class Corporate) ---
   ========================================================================== */
.global-footer {
    background-color: var(--color-navy); /* Solid, trustworthy brand base */
    padding: 80px 0 32px 0;
    color: #fff;
    border-top: 4px solid var(--color-techblue); /* Premium accent line */
}

/* --- Main 3-Column Grid --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

/* Expand to 3 columns on Desktop */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr; /* Brand column gets more breathing room */
        gap: 64px;
    }
}

/* --- Column 1: Brand --- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.footer-logo-img {
    width: 50px; /* Update this based on the actual proportions of your logo */
    height: auto;
}
.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 400px;
}

/* --- Shared Column Headers --- */
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-techblue);
    margin-bottom: 24px;
}

/* --- Column 2: Navigation --- */
.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(6px); /* Clean slider effect on hover */
}

/* --- Column 3: Directory --- */
.footer-emails {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 20px;
}
.footer-emails li {
    display: flex; flex-direction: column; gap: 4px;
}
.email-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
}
.footer-emails a {
    color: #fff;
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footer-emails a:hover {
    color: var(--color-techblue);
}

/* --- Footer Bottom (Copyright & Credits) --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    text-align: center;
}

/* Split to left/right on Desktop */
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row; justify-content: space-between; text-align: left;
    }
}

.footer-copy, .footer-credit {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-credit a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-credit a:hover {
    color: var(--color-techblue);
}

/* --- FOOTER GRID --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile default */
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tablet Layout */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop 4-Column Layout */
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1.5fr; 
        /* The Brand gets slightly more room (2fr) so the text doesn't squish */
    }
}

/* ==========================================================================
   --- 10. COMPONENT: SMART FREIGHT FORM (High-Conversion Layout) ---
   ========================================================================== */
.form-section { 
    /* Vibrant, premium gradient instead of a boring gray or gloomy black */
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-techblue) 100%);
    padding: 100px 0 120px 0;
    position: relative;
}

.form-header { text-align: center; margin-bottom: 56px; }
.form-header h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); color: #fff; margin-bottom: 16px; font-weight: 900; text-transform: uppercase;}
.form-header p { color: rgba(255, 255, 255, 0.9); max-width: 650px; margin: 0 auto; line-height: 1.6; font-size: 1.125rem; }

.form-card {
    background-color: #ffffff; /* Crisp white card */
    padding: 56px; 
    border-radius: 12px;
    max-width: 800px; margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); /* Deep, gorgeous shadow to make it float */
    border: none;
    position: relative;
    z-index: 5;
}
@media (max-width: 640px) { .form-card { padding: 32px 24px; } }

/* Progressive Disclosure Steps */
.step-header { border-bottom: 2px solid #f1f5f9; padding-bottom: 16px; margin-bottom: 32px; }
.step-counter { 
    background-color: var(--color-techblue); color: #fff;
    padding: 4px 12px; border-radius: 20px;
    font-family: var(--font-heading); font-size: 0.75rem; 
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 12px; 
}
.step-title { font-size: 1.5rem; color: var(--color-navy); font-weight: 800; text-transform: uppercase; }

/* Input Architecture */
.form-group { margin-bottom: 24px; display: flex; flex-direction: column; }
.form-label { 
    font-family: var(--font-heading); font-size: 0.8125rem; color: var(--color-navy); 
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; 
}
.form-control {
    width: 100%; padding: 16px; 
    background-color: #f8fafc; border: 2px solid #e2e8f0; border-radius: 6px;
    color: var(--color-navy); font-family: var(--font-body); font-size: 1rem; font-weight: 600;
    transition: all 0.3s ease; appearance: none;
}
.form-control::placeholder { color: #94a3b8; font-weight: 400; }
.form-control:focus { 
    outline: none; border-color: var(--color-techblue); background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.15);
}

/* Custom Select Dropdown Styling */
select.form-control { 
    cursor: pointer; 
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230B132B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); 
    background-repeat: no-repeat; background-position: right 16px top 50%; background-size: 12px auto; 
}

/* Grid Layouts for specific rows */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

/* Buttons & State Management */
.form-actions { display: grid; gap: 16px; margin-top: 40px; }
.form-actions.two-col { grid-template-columns: 1fr 2fr; }
@media (max-width: 640px) { .form-actions.two-col { grid-template-columns: 1fr; } }

.btn-secondary {
    background-color: #f1f5f9; color: var(--color-navy); border: 2px solid #e2e8f0;
    font-family: var(--font-heading); font-weight: 800; padding: 16px; border-radius: 6px;
    cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 1px;
}
.btn-secondary:hover { background-color: #e2e8f0; border-color: #cbd5e1; }

.btn-submit { 
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9375rem; font-weight: 800; 
    padding: 16px; width: 100%; display: block; border-radius: 6px; border: none; cursor: pointer;
    /* High-contrast safety orange to draw the eye immediately */
    background-color: #FF5000; color: #fff; transition: background 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 80, 0, 0.4);
}
.btn-submit:hover { background-color: #cc4000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 80, 0, 0.5); }

/* Dynamic Display Utility */
.hidden-step { display: none !important; }


/* ==========================================================================
   --- 11. COMPONENT: GLOBAL NAVIGATION BAR (Heavy Industrial Theme) ---
   ========================================================================== */

.site-header.industrial-header {
    position: sticky; top: 0; z-index: 1000;
    background-color: var(--color-navy); /* Deep Navy Solid Block */
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 2px solid var(--color-techblue); /* Sharp tech-blue baseline */
}

/* --- TIER 1: Utility Bar --- */
.utility-bar {
    background-color: #050914; /* Extremely dark contrast bar */
    color: white;
    font-size: 0.75rem;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.utility-flex {
    display: flex; justify-content: space-between; align-items: center;
}
.utility-left { display: flex; align-items: center; gap: 12px; }

/* Updated Right Side for Contact Links */
.utility-right { display: flex; align-items: center; gap: 16px; }
.utility-contact {
    display: flex; align-items: center; gap: 6px;
    transition: color 0.2s ease;
}
.utility-contact svg { color: var(--color-techblue); }
.utility-right a:hover { color: #fff; }
.divider { color: rgba(255,255,255,0.2); }

/* Blinking Dispatch Indicator */
.dispatch-pulse {
    display: inline-block; width: 8px; height: 8px;
    background-color: var(--color-verified);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-verified);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 184, 124, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 184, 124, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 184, 124, 0); }
}

/* --- TIER 2: Main Navigation --- */
.nav-flex {
    display: flex; justify-content: space-between; align-items: center;
    height: 85px; 
}
.nav-brand { display: flex; align-items: center; }
.nav-brand-icon img { 
    height: 52px; width: auto; object-fit: contain; display: block; 
}

/* Industrial Links (Block Hover Style) */
.nav-links { 
    display: flex; gap: 12px; align-items: center; list-style: none; 
}
.nav-item {
    font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
    color: #fff; text-transform: uppercase; letter-spacing: 1.5px;
    padding: 12px 16px; border-radius: 4px;
    transition: all 0.2s ease; display: block;
}
.nav-item:hover, .dropdown.active .nav-item { 
    background-color: rgba(255,255,255,0.08); 
    color: var(--color-techblue); 
}

.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-cta { 
    padding: 14px 28px; font-size: 0.875rem; 
    border-radius: 2px; text-transform: uppercase; letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none; background: none; border: none; 
    color: #fff; cursor: pointer; padding: 4px;
}
.mobile-menu-btn svg { width: 32px; height: 32px; }

/* --- Dropdown Logic (High Contrast) --- */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; }
.dropdown-caret { transition: transform 0.3s ease; }

.dropdown-menu {
    position: absolute; top: calc(100% + 5px); left: 0;
    background-color: #ffffff; 
    border-top: 4px solid var(--color-techblue); 
    border-radius: 0 0 4px 4px; 
    list-style: none; min-width: 260px; padding: 12px 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.2s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); z-index: 1100;
}
.dropdown-item {
    display: block; padding: 14px 24px;
    font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem;
    color: var(--color-navy); text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.2s ease; border-bottom: 1px solid rgba(11, 19, 43, 0.05);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { 
    color: var(--color-techblue); background-color: var(--color-slate); padding-left: 32px; 
}

@media (min-width: 1024px) {
    .dropdown:hover .dropdown-menu, .dropdown.active .dropdown-menu { 
        opacity: 1; visibility: visible; transform: translateY(0); 
    }
    .dropdown:hover .dropdown-caret, .dropdown.active .dropdown-caret { transform: rotate(180deg); }
}

/* Mobile Overrides */
@media (max-width: 1023px) {
    .utility-bar { display: none; } 
    .site-header.industrial-header { padding: 0 16px; }
    
    .nav-links {
        position: absolute; top: 87px; left: 0; width: 100%;
        background-color: var(--color-navy); 
        flex-direction: column; align-items: flex-start; gap: 0;
        max-height: 0; overflow: hidden; 
        transition: max-height 0.4s ease;
        box-shadow: 0 20px 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { max-height: 100vh; overflow-y: auto; }
    .nav-links li { width: 100%; }
    
    .nav-item { 
        padding: 20px 24px; border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05); 
    }
    
    .mobile-menu-btn { display: block; }
    .nav-cta { display: none; }
    
    .dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        background-color: #070D1F; 
        border: none; box-shadow: none; display: none;
    }
    .dropdown.active .dropdown-menu { display: block; }
    .dropdown-item { 
        color: #fff; border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 16px 24px 16px 40px; 
    }
    .dropdown-item:hover { background-color: rgba(0,163,224,0.1); color: var(--color-techblue); }
}


/* ==========================================================================
   --- ABOUT US PAGE STYLES ---
   ========================================================================== */

/* --- 1. HERO SECTION --- */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-align: center; overflow: hidden;
}
.about-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: 1; transform: scale(1.05); /* Prevents edge-bleed on parallax */
}
.about-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(11, 19, 43, 0.6) 0%, rgba(11, 19, 43, 0.95) 100%);
    z-index: 2;
}
.about-hero-content {
    position: relative; z-index: 5;
    max-width: 800px; padding: 0 5vw;
}
.hero-kicker {
    display: inline-block; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-techblue); margin-bottom: 16px;
}
.about-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 900; text-transform: uppercase; }
.about-hero h1 span { color: var(--color-techblue); }
.about-hero p { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.8); line-height: 1.6; }


/* --- 2. THE ASSET ADVANTAGE --- */
.about-intro { background-color: #fff; }
.intro-grid {
    display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 1024px) {
    .intro-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.intro-text h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-navy); margin-bottom: 24px; font-weight: 900; text-transform: uppercase;}
.intro-text h2 span { color: var(--color-techblue); }
.intro-text p { font-size: 1.0625rem; color: #475569; line-height: 1.7; margin-bottom: 20px; }
.intro-bullets { list-style: none; padding: 0; margin-top: 32px; }
.intro-bullets li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--color-navy); margin-bottom: 16px; font-size: 1.0625rem; }
.intro-bullets svg { width: 24px; height: 24px; color: var(--color-techblue); }

.intro-image { position: relative; }
.intro-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.intro-badge {
    position: absolute; bottom: -20px; left: -20px;
    background-color: var(--color-techblue); color: #fff;
    padding: 24px; border-radius: 8px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 163, 224, 0.3);
}
@media (max-width: 768px) { .intro-badge { bottom: -15px; left: 15px; padding: 16px; } }
.badge-num { font-size: 2.5rem; font-weight: 900; line-height: 1; font-family: var(--font-heading); }
.badge-text { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }


/* --- 3. BY THE NUMBERS (Parallax) --- */
.about-stats {
    position: relative; padding: 100px 0; color: #fff; overflow: hidden;
}
.stats-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    background-attachment: fixed; z-index: 1;
}
.stats-overlay {
    position: absolute; inset: 0; background: rgba(11, 19, 43, 0.85); z-index: 2;
}
.stats-grid {
    position: relative; z-index: 5;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { display: block; font-size: clamp(2.5rem, 5vw, 4rem); font-family: var(--font-heading); font-weight: 900; color: var(--color-techblue); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.8); }

/* --- 3.5 INTERACTIVE TIMELINE --- */
.about-timeline { background-color: #fff; }
.timeline-header { text-align: center; margin-bottom: 64px; }
.timeline-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-navy); font-weight: 900; text-transform: uppercase;}
.timeline-header h2 span { color: var(--color-techblue); }
.timeline-header p { font-size: 1.125rem; color: #475569; margin-top: 16px; }

.timeline-wrapper { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
@media (min-width: 768px) {
    .timeline-wrapper { padding-left: 0; }
}

/* The Background Line */
.timeline-track {
    position: absolute; top: 0; bottom: 0; left: 40px; width: 4px; background: #e2e8f0; border-radius: 4px;
}
/* The Glowing Animated Line */
.timeline-progress {
    width: 100%; height: 0%; /* JS will animate this */
    background: var(--color-techblue); border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 163, 224, 0.6);
}

@media (min-width: 768px) {
    .timeline-track { left: 50%; transform: translateX(-50%); }
}

.timeline-item { position: relative; margin-bottom: 56px; width: 100%; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute; left: -9px; top: 0; width: 22px; height: 22px;
    background: #fff; border: 4px solid var(--color-techblue); border-radius: 50%;
    z-index: 2; box-shadow: 0 0 0 4px #fff;
}

@media (min-width: 768px) {
    .timeline-dot { left: 50%; transform: translateX(-50%); }
    .timeline-item:nth-child(even) .timeline-content { margin-left: 55%; text-align: left; }
    .timeline-item:nth-child(odd) .timeline-content { margin-right: 55%; text-align: right; }
}
@media (max-width: 767px) {
    .timeline-content { margin-left: 32px; }
}

.timeline-content h3 { color: var(--color-techblue); font-size: 2rem; font-family: var(--font-heading); font-weight: 900; line-height: 1; margin-bottom: 8px;}
.timeline-content h4 { color: var(--color-navy); font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; text-transform: uppercase;}
.timeline-content p { color: #475569; line-height: 1.6; }

/* --- 4. CORE PILLARS --- */
.about-pillars { background-color: #f8fafc; }
.pillars-header { text-align: center; margin-bottom: 64px; }
.pillars-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-navy); font-weight: 900; text-transform: uppercase;}
.pillars-header h2 span { color: var(--color-techblue); }

.pillars-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
    background: #fff; padding: 48px 32px; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid transparent;
    transition: all 0.4s ease;
}
.pillar-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--color-techblue);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pillar-icon {
    width: 64px; height: 64px; background: rgba(0, 163, 224, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--color-techblue);
    transition: background 0.4s ease;
}
.pillar-card:hover .pillar-icon { background: var(--color-techblue); color: #fff; }
.pillar-icon svg { width: 32px; height: 32px; }
.pillar-card h3 { font-size: 1.25rem; color: var(--color-navy); margin-bottom: 16px; font-weight: 800; text-transform: uppercase; }
.pillar-card p { color: #475569; line-height: 1.6; font-size: 0.9375rem; }


/* --- 5. BOTTOM CTA --- */
.about-cta {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a295c 100%);
    padding: 100px 0; color: #fff;
}
.about-cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; font-weight: 900; text-transform: uppercase;}
.about-cta p { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; }


/* ==========================================================================
   --- CONTACT PAGE STYLES ---
   ========================================================================== */

/* --- 1. CONTACT HERO --- */
.contact-hero {
    position: relative;
    min-height: 65vh; 
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-align: center; overflow: hidden;
    padding-top: 120px;
    padding-bottom: 120px;
}

.contact-hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    background-attachment: fixed; z-index: 1; transform: scale(1.05);
}

.contact-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11, 19, 43, 1) 0%, rgba(11, 19, 43, 0.6) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative; z-index: 5; max-width: 800px; 
    padding: 0 5vw; 
}
.contact-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 900; text-transform: uppercase; }
.contact-hero h1 span { color: var(--color-techblue); }
.contact-hero p { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.8); line-height: 1.6; }

/* --- 2. COMMUNICATIONS DIRECTORY --- */
.contact-directory { background-color: var(--color-navy); padding-top: 0; padding-bottom: 100px; }
.directory-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px;
    /* Pulls the cards up so they overlap the bottom of the Hero section */
    margin-top: -80px; position: relative; z-index: 10;
}
@media (min-width: 768px) { .directory-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    background: #fff; padding: 48px 32px; border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-top: 4px solid var(--color-techblue);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.contact-card .card-icon {
    width: 64px; height: 64px; background: rgba(0, 163, 224, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px auto; color: var(--color-techblue);
    transition: background 0.4s ease;
}
.contact-card:hover .card-icon { background: var(--color-techblue); color: #fff; }
.contact-card .card-icon svg { width: 32px; height: 32px; }

.contact-card h3 { font-size: 1.25rem; color: var(--color-navy); margin-bottom: 16px; font-weight: 800; text-transform: uppercase; }
.contact-card p { color: #475569; line-height: 1.6; font-size: 0.9375rem; margin-bottom: 24px; min-height: 60px; }
.contact-link { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--color-techblue); font-size: 1.0625rem; text-decoration: none; margin-bottom: 8px; transition: color 0.3s ease; }
.contact-link:hover { color: var(--color-navy); }
.contact-phone { display: block; font-family: monospace; font-size: 1rem; color: var(--color-navy); font-weight: 700; }

/* --- 3. HQ & GENERAL INQUIRY SPLIT --- */
.contact-split { background-color: #f8fafc; }
.split-container {
    display: grid; grid-template-columns: 1fr;
    max-width: 1440px; margin: 0 auto;
}
@media (min-width: 1024px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}

/* Left Side: Dark HQ */
.split-hq {
    background-color: var(--color-navy); color: #fff;
    padding: 80px 5vw; display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 1024px) { .split-hq { padding: 100px 10%; } }

.split-hq h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); color: #fff; margin-bottom: 16px; font-weight: 900; text-transform: uppercase;}
.split-hq h2 span { color: var(--color-techblue); }
.split-hq > p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; font-size: 1.125rem; margin-bottom: 40px; }

.hq-details { margin-bottom: 40px; padding-left: 24px; border-left: 2px solid var(--color-techblue); }
.hq-details h4 { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--color-techblue); margin-bottom: 8px; }
.hq-details p { color: #fff; font-size: 1.125rem; line-height: 1.6; }

.hq-map {
    width: 100%; height: 300px; border-radius: 8px; overflow: hidden;
    /* CSS trick to make the Google map match the dark theme */
    filter: grayscale(100%) invert(92%) contrast(83%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Right Side: Form (Reuses some existing form styles but customized for layout) */
.split-form {
    padding: 80px 5vw; background-color: #fff;
}
@media (min-width: 1024px) { .split-form { padding: 100px 10%; } }
.split-form h3 { font-size: 2rem; color: var(--color-navy); margin-bottom: 16px; font-weight: 900; text-transform: uppercase; }
.split-form p { color: #475569; line-height: 1.6; margin-bottom: 40px; }

/* We reuse .form-group, .form-control, .form-label, .btn-submit from your index page CSS! */
.general-form textarea.form-control { resize: vertical; min-height: 120px; }

/* ==========================================================================
   --- 4. LIVE OPERATIONS TICKER ---
   ========================================================================== */
.ops-ticker {
    background-color: #0B132B; /* Dark Navy */
    color: #fff;
    padding: 16px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 4px solid var(--color-techblue);
    display: flex;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: tickerScroll 40s linear infinite; /* Smooth infinite scroll */
}

/* Pause the scrolling if the user hovers over it */
.ops-ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.ticker-highlight { color: var(--color-techblue); }
.ticker-dot { color: rgba(255, 255, 255, 0.3); margin: 0 32px; }

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half the track width */
}

/* ==========================================================================
   --- 5. ENTERPRISE FAQ SECTION ---
   ========================================================================== */
.contact-faq { background-color: #fff; padding: 100px 0; }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); color: var(--color-navy); margin-bottom: 16px; font-weight: 900; text-transform: uppercase;}
.faq-header h2 span { color: var(--color-techblue); }
.faq-header p { color: #475569; font-size: 1.125rem; }

.faq-wrapper { max-width: 800px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.faq-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-heading); font-size: 1.125rem; font-weight: 800; color: var(--color-navy);
    transition: color 0.3s ease;
}

.faq-question:hover { color: var(--color-techblue); }

/* The Plus/Minus Icon */
.faq-icon {
    position: relative; width: 20px; height: 20px;
}
.faq-icon::before, .faq-icon::after {
    content: ''; position: absolute; background-color: var(--color-techblue);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}
.faq-icon::before { width: 16px; height: 2px; } /* Horizontal line */
.faq-icon::after { width: 2px; height: 16px; } /* Vertical line */

/* Animated Answer Container */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer-inner {
    padding-bottom: 24px; color: #475569; line-height: 1.6; font-size: 1.0625rem;
}

/* --- ACTIVE STATE (When FAQ is opened via JS) --- */
.faq-item.active .faq-question { color: var(--color-techblue); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); } /* Turns the + into a - */


/* --- GO TO TOP Button Styling --- */
.scroll-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999; /* Ensures it floats above all other layout elements */
    width: 46px;
    height: 46px;
    background: rgba(8, 13, 28, 0.6); /* Translucent obsidian glass base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* Smooth transition state animations */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Clean SVG Icon Logic --- */
.scroll-to-top-btn svg {
    width: 18px;
    height: 18px;
    color: var(--color-techblue); /* Matches your signature system blue color */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* --- Hover State Mechanics --- */
.scroll-to-top-btn:hover {
    background: var(--color-techblue); /* Flips cleanly to solid accent color */
    border-color: var(--color-techblue);
    transform: translateY(-4px); /* Premium active upward float */
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
}

.scroll-to-top-btn:hover svg {
    color: #ffffff; /* Turns arrow pure white on active hover profiles */
    transform: translateY(-2px); /* Subtle arrow nudge animation */
}

/* --- Active Visibility State Hook --- */
.scroll-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   --- MOBILE ADJUSTMENT ---
   ========================================================================== */
@media (max-width: 767px) {
    .scroll-to-top-btn {
        bottom: 16px; /* Tucked slightly closer to the corner to save screen space */
        right: 16px;
        width: 40px; 
        height: 40px;
        background: rgba(4, 7, 16, 0.92); /* Higher contrast for mobile readability */
    }
    .scroll-to-top-btn svg {
        width: 16px;
        height: 16px;
    }
    /* Prevents hover translation stickiness on touch devices */
    .scroll-to-top-btn:hover {
        transform: none;
    }

    /* 
       PRODUCTION SAFE ZONE INJECTION
       Pushes the footer text up by 64px ONLY on mobile screens. 
       This ensures that when a user scrolls to the absolute bottom, 
       the TBI Permits text sits cleanly above the button footprint.
    */
    .footer-bottom {
        padding-bottom: 64px !important;
    }
}