/* ==========================================================================
   ZYNBEX (Pvt) Ltd - Layout 4: Process Timeline & Storytelling Flow
   100% Mobile Responsive Edition
   ========================================================================== */

:root {
    --bg-main: #F4F7FC;
    --bg-surface: #FFFFFF;
    --glass-card: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.95);
    --glass-border-subtle: rgba(219, 228, 240, 0.8);
    
    --primary-navy: #090D16;
    --secondary-slate: #1E293B;
    --text-muted: #64748B;
    
    --brand-blue: #1E50A0;
    --brand-electric: #2563EB;
    --brand-cyan: #06B6D4;
    --brand-gold: #D97706;
    
    --brand-gradient: linear-gradient(135deg, #1E50A0 0%, #2563EB 50%, #0EA5E9 100%);
    --card-gradient: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE57;
    
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    --shadow-elevated: 0 20px 50px -15px rgba(30, 80, 160, 0.12);
    --shadow-3d: 0 30px 60px -20px rgba(15, 23, 42, 0.15);
    
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 32px;
    
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-main);
    color: var(--secondary-slate);
    font-family: var(--font-body);
    line-height: 1.6;
    padding-bottom: 75px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-symbol {
    width: 44px;
    height: 38px;
    flex-shrink: 0;
}

.logo-symbol svg {
    width: 100%;
    height: 100%;
}

.logo-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--primary-navy);
    line-height: 1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-top: 3px;
    display: block;
}

.btn-whatsapp-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hero Sales Copy (overlaid on the ZYNBEX hero photo, see navbar/hero-container
   rules further down for the photo + skewed navbar itself) */
.hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5% 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slogan {
    font-family: 'Oswald', sans-serif;
    color: #bfe4ff;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -6px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-copy h1 {
    font-family: var(--font-head);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    max-width: 900px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-copy h1 span {
    background: linear-gradient(135deg, #4da8ff 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 32px;
    max-width: 580px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.btn-hero-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

/* ==========================================================================
   ZYNBEX Hero: Full-Bleed Photo + Skewed Navbar
   ========================================================================== */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

/* Background photo + ambient color glow, isolated on its own layer so the
   glossy filter boosts the image without touching navbar/text on top. */
.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(to bottom, rgba(8, 13, 24, 0.32) 0%, rgba(8, 13, 24, 0.58) 100%),
                radial-gradient(circle at 42% 40%, rgba(80, 190, 255, 0.28) 0%, rgba(255, 150, 40, 0.14) 40%, rgba(0, 0, 0, 0) 72%),
                url('assets/images/zynbex-hero-bg.jpg') center/cover no-repeat;
    filter: saturate(1.25) contrast(1.12) brightness(1.05);
    pointer-events: none;
}

/* Glossy diagonal light sweep for a shinier, more metallic hero */
.hero-shine {
    content: '';
    position: absolute;
    top: -20%;
    left: -60%;
    width: 45%;
    height: 140%;
    z-index: 1;
    background: linear-gradient(115deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.05) 40%,
                rgba(255, 255, 255, 0.45) 50%,
                rgba(255, 255, 255, 0.05) 60%,
                rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    mix-blend-mode: overlay;
    animation: heroShineSweep 7s ease-in-out infinite;
}

@keyframes heroShineSweep {
    0% { left: -60%; }
    35% { left: 130%; }
    100% { left: 130%; }
}

/* Skewed navbar stays visible site-wide (sticky). It's transparent over the
   hero photo and gains a solid dark background once scrolled past it --
   see .navbar.scrolled, toggled from script.js on scroll. */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(8, 13, 24, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 0 40px;
    position: relative;
    transform-origin: top left;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-self: stretch;
    width: 100%;
    z-index: 2;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-self: stretch;
    width: 100%;
    z-index: 2;
}

.nav-bar-blue {
    background: linear-gradient(180deg, rgba(16, 32, 60, 0.90) 0%, rgba(10, 20, 42, 0.95) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 15px;
    height: 50px;
    border: 1px solid rgba(0, 180, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.nav-bar-blue .unskew {
    width: 100%;
    justify-content: space-evenly;
}

.nav-bar-left {
    transform: skewX(-20deg);
    padding-left: 10px;
    padding-right: 25px;
    border-radius: 2px 0 0 2px;
}

.nav-bar-right {
    transform: skewX(20deg);
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 0 2px 2px 0;
}

.nav-bar-right .unskew {
    transform: skewX(-20deg);
}

.unskew {
    transform: skewX(20deg);
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.nav-link:hover {
    color: #00c3ff;
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.8);
}

.logo-center {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 22px;
    text-decoration: none;
}

/* Supplied brand logo, background removed to a transparent PNG so it sits
   directly on the hero photo and on the scrolled navbar alike. */
.logo-image {
    display: block;
    width: auto;
    height: 82px;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.75));
    transition: height 0.3s ease;
}

.navbar.scrolled .logo-image {
    height: 62px;
}

.footer-logo {
    display: block;
    width: auto;
    height: 88px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 18px;
}

.sparkle {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    right: 45px;
    color: rgba(0, 212, 255, 0.8);
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.9));
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   LAYOUT 4 SPECIAL: 4-STEP INTERACTIVE ENGINEERING PROCESS TIMELINE
   ========================================================================== */
.timeline-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    border-y: 1px solid var(--glass-border-subtle);
    padding: 80px 5%;
    width: 100%;
}

.timeline-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.timeline-step-btn {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.timeline-step-btn.active {
    border-color: var(--brand-electric);
    background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.2);
    transform: translateY(-4px);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--brand-electric);
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.timeline-step-btn.active .step-num {
    background: var(--brand-gradient);
    color: #FFFFFF;
}

.step-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.step-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.timeline-content-card {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-elevated);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    width: 100%;
}

.timeline-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EFF6FF;
    color: var(--brand-electric);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.timeline-info h3 {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 14px;
    text-align: center;
}

.timeline-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.7;
}

.timeline-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    width: 100%;
}

.timeline-specs-list li {
    font-size: 0.92rem;
    color: var(--secondary-slate);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timeline-specs-list i {
    color: var(--brand-electric);
}

.timeline-visual-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    border: 4px solid #FFFFFF;
    height: 360px;
    width: 100%;
}

.timeline-visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why ZYNBEX Section — mobile-first: plain, single-column, no decorative
   background layers by default. Diagonal shape + side photo are enhancements
   only switched on once there's enough width to fit them cleanly. */
.why-section {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    overflow: hidden;
}

.why-bg-image,
.why-bottom-strip {
    display: none;
}

.why-section::before {
    content: none;
}

.why-inner {
    position: relative;
    z-index: 1;
}

.why-title {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

.why-title span {
    color: var(--brand-electric);
}

.why-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand-electric) 0%, var(--brand-electric) 50%, #E2E8F0 50%, #E2E8F0 100%);
}

.why-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-intro {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 780px;
    margin-bottom: 28px;
}

.why-focus-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
}

.divider-line {
    flex: 0 0 34px;
    height: 1px;
    background: #CBD5E1;
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-electric);
    flex-shrink: 0;
}

.why-focus-title {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-navy);
    text-align: center;
}

/* Single stacked column by default; both rows share the same grid so item
   order stays 1-7 top-to-bottom on mobile. */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.why-grid-top {
    margin-bottom: 16px;
}

.why-item {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--brand-electric);
}

.why-icon-circle {
    width: 58px;
    height: 58px;
    background: #FFFFFF;
    color: var(--primary-navy);
    border: 2px solid var(--brand-electric);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.why-item h4 {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
    padding-bottom: 12px;
    position: relative;
}

.why-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand-electric);
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Tablet: 2-up cards */
@media (min-width: 641px) {
    .why-grid-top,
    .why-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: full reference layout — 3-top/4-bottom grid, diagonal navy
   accent, and the faded side photo. Fixed pixel sizing throughout so
   nothing depends on an ambiguous auto-height parent. */
@media (min-width: 1025px) {
    .why-section {
        background: #FFFFFF;
        min-height: 720px;
        padding-bottom: 130px;
    }

    .why-bg-image {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 720px;
        z-index: 0;
        pointer-events: none;
    }

    .why-bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
        opacity: 0.5;
    }

    .why-bg-fade {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0.92) 20%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.15) 70%, rgba(255, 255, 255, 0) 100%);
    }

    .why-section::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 48%;
        height: 300px;
        background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 100%);
        clip-path: polygon(0 30%, 100% 100%, 0 100%);
        z-index: 0;
        pointer-events: none;
    }

    .why-bottom-strip {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 14px;
        background: var(--primary-navy);
        z-index: 0;
        pointer-events: none;
    }

    .why-intro {
        font-size: 1.08rem;
        margin-bottom: 36px;
    }

    .why-focus-divider {
        gap: 14px;
        margin-bottom: 36px;
    }

    .divider-line {
        flex-basis: 60px;
    }

    .why-focus-title {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .why-grid {
        gap: 22px;
    }

    .why-grid-top {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 22px;
    }

    .why-grid-bottom {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-item {
        padding: 32px 22px;
    }

    .why-icon-circle {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .why-item h4 {
        font-size: 1.05rem;
    }
}

/* Careers Section */
.careers-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.careers-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* Services Section */
section {
    padding: 80px 5%;
    position: relative;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-header > span {
    color: var(--brand-electric);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 14px;
}

.pill {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pill:hover {
    background: var(--brand-gradient);
    color: #FFFFFF;
    border-color: transparent;
}

/* Lined section header variant (e.g. "— Our Core Services —") */
.section-header-lined {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-header-lined h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.section-header-lined h2 .line {
    display: none;
    height: 2px;
    width: 36px;
    background: var(--brand-electric);
    border-radius: 2px;
}

.section-header-lined p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Services grid: mobile-first — single column by default, scaling up via
   min-width breakpoints below instead of collapsing a desktop layout down. */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

.service-card {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(30, 80, 160, 0.18);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 190px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

.service-icon-badge {
    position: absolute;
    left: 20px;
    bottom: -22px;
    width: 52px;
    height: 52px;
    background: var(--primary-navy);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 3px solid #FFFFFF;
    box-shadow: var(--shadow-elevated);
}

.service-card-body {
    padding: 36px 24px 26px;
    text-align: left;
}

.service-card-body h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
    text-align: left;
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: left;
}

.service-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.service-check-list li {
    font-size: 0.86rem;
    color: var(--secondary-slate);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.service-check-list i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: var(--brand-electric);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

/* Tablet: 2-up grid + reveal the divider lines in the section header */
@media (min-width: 641px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-header-lined h2 .line {
        display: block;
    }
}

/* Desktop: 3x2 grid */
@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Estimator Section */
.estimator-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
    width: 100%;
}

.estimator-box {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-elevated);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    width: 100%;
}

.estimator-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.estimator-left h3 {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 14px;
    text-align: center;
}

.estimator-left p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    text-align: center;
}

.benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.benefits li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.benefits i {
    color: var(--brand-electric);
    font-size: 1.2rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.field label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-align: center;
}

.input-ctrl {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    color: var(--primary-navy);
    padding: 12px 16px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    width: 100%;
    text-align: center;
}

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    width: 100%;
}

.contact-info-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1.5px solid var(--glass-border-subtle);
    box-shadow: var(--shadow-elevated);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-item-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
}

.contact-icon-centered {
    width: 52px;
    height: 52px;
    background: #EFF6FF;
    color: var(--brand-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto;
}

.contact-form-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1.5px solid var(--glass-border-subtle);
    box-shadow: var(--shadow-elevated);
    text-align: center;
}

/* Portfolio Cards */
.portfolio-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.portfolio-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.portfolio-card {
    min-width: calc(33.333% - 16px);
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    border: 1.5px solid var(--glass-border-subtle);
    text-align: center;
}

.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.portfolio-meta {
    padding: 20px;
    text-align: center;
}

.portfolio-meta h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-navy);
}

/* Sticky Bottom Quick Quote Bar */






/* Footer */
footer {
    background: var(--primary-navy);
    color: #94A3B8;
    padding: 70px 5% 30px;
    width: 100%;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-align: center;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    gap: 8px;
}

/* ==========================================================================
   BUTTONS — quotation / outline / read more / footer contact
   ========================================================================== */
.btn-quote {
    background: var(--brand-gradient);
    color: #FFFFFF;
    padding: 14px 26px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.28);
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.3;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.38);
}

.btn-quote.small {
    padding: 10px 16px;
    font-size: 0.82rem;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

.btn-quote.full {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--brand-blue);
    padding: 13px 24px;
    border: 2px solid var(--brand-electric);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--brand-electric);
    color: #FFFFFF;
}

.btn-outline.light {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline.light:hover {
    background: #FFFFFF;
    color: var(--primary-navy);
    border-color: #FFFFFF;
}

.btn-read-more {
    color: var(--brand-electric);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    transition: gap 0.25s ease, color 0.25s ease;
}

.btn-read-more:hover {
    gap: 13px;
    color: var(--brand-blue);
}

.btn-footer-mail {
    background: var(--brand-gradient);
    color: #FFFFFF;
    padding: 11px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    word-break: break-word;
    text-align: center;
}

.btn-footer-mail:hover {
    transform: translateY(-2px);
}

.footer-phone {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-phone:hover {
    color: #FFFFFF;
}

.careers-email {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: 18px;
}

.careers-email a {
    color: var(--brand-electric);
    font-weight: 700;
    text-decoration: none;
}

/* Service card links & actions */
.service-card-image {
    display: block;
}

.service-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.service-card-body h3 a:hover {
    color: var(--brand-electric);
}

.service-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border-subtle);
    width: 100%;
}

.service-card-actions .btn-quote.small {
    width: 100%;
}

/* ==========================================================================
   SUBPAGES — service detail & about
   ========================================================================== */
body.subpage {
    background: var(--bg-main);
}

/* Subpages have no hero to sit over, so the navbar is pinned rather than
   sticky and the banner below reserves the space it occupies. */
body.subpage .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.subpage-shell {
    position: relative;
    z-index: 1000;
}

.detail-banner {
    position: relative;
    padding: 150px 5% 72px;
    overflow: hidden;
    background: var(--primary-navy);
    display: flex;
    justify-content: center;
    text-align: center;
}

.detail-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.detail-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.detail-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.94) 0%, rgba(9, 13, 22, 0.72) 55%, rgba(9, 13, 22, 0.92) 100%);
}

.detail-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94A3B8;
    margin-bottom: 22px;
}

.breadcrumb a {
    color: #93C5FD;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #FFFFFF;
}

.breadcrumb i {
    font-size: 0.62rem;
    color: #64748B;
}

.breadcrumb span {
    color: #E2E8F0;
}

.detail-banner-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
}

.detail-banner-inner h1 {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 14px;
}

.detail-banner-inner p {
    color: #CBD5E1;
    font-size: 1.05rem;
    max-width: 620px;
}

.detail-eyebrow {
    color: var(--brand-electric);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

/* Overview */
.detail-overview {
    background: #FFFFFF;
}

.detail-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.detail-overview-text h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 18px;
    line-height: 1.2;
}

.detail-overview-text p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.detail-overview-media img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    border: 4px solid #FFFFFF;
}

.detail-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

/* Scope of work */
.detail-features {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

.detail-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.detail-feature {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    padding: 26px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.detail-feature:hover {
    transform: translateY(-5px);
    border-color: var(--brand-electric);
    box-shadow: var(--shadow-elevated);
}

.detail-feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #EFF6FF;
    color: var(--brand-electric);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.detail-feature h4 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.detail-feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Materials & applications */
.detail-specs {
    background: #FFFFFF;
}

.detail-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

.spec-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: var(--shadow-elevated);
    text-align: center;
}

.spec-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--brand-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 18px;
}

.spec-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.chip-list li {
    background: #EFF6FF;
    color: var(--brand-blue);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Closing CTA band */
.detail-cta-band {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 100%);
    position: relative;
    overflow: hidden;
}

.detail-cta-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

.cta-band-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-band-inner h2 {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1.25;
}

.cta-band-inner p {
    color: #CBD5E1;
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.75;
}

.cta-band-inner .detail-cta-row {
    justify-content: center;
}

/* Related services */
.related-section {
    background: var(--bg-main);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.related-card {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-elevated);
    border: 1.5px solid var(--glass-border-subtle);
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-electric);
}

.related-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.related-card:hover img {
    transform: scale(1.06);
}

.related-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 16px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--primary-navy);
}

.related-meta i {
    color: var(--brand-electric);
}

/* ==========================================================================
   HOMEPAGE — "where would you like to start" link cards
   ========================================================================== */
.home-links-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

.home-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.home-link-card {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.home-link-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-electric);
    box-shadow: var(--shadow-elevated);
}

.home-link-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}

.home-link-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.home-link-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.home-link-go {
    color: var(--brand-electric);
    font-weight: 800;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.25s ease;
}

.home-link-card:hover .home-link-go {
    gap: 13px;
}

/* ==========================================================================
   PROJECTS PAGE — static gallery reusing the portfolio card styling
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

.gallery-grid .portfolio-card {
    min-width: 0;
    transition: all 0.35s ease;
}

.gallery-grid .portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-electric);
    box-shadow: 0 25px 50px -12px rgba(30, 80, 160, 0.18);
}

.portfolio-meta p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 4px;
}

/* ==========================================================================
   CAREERS PAGE
   ========================================================================== */
.roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
}

.role-card {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-electric);
    box-shadow: var(--shadow-elevated);
}

.role-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--brand-electric);
    border: 2px solid var(--brand-electric);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.role-card h4 {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.role-card p {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.6;
}

.apply-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.apply-step {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apply-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #FFFFFF;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.apply-step h4 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.apply-step p {
    color: var(--text-muted);
    font-size: 0.89rem;
    line-height: 1.65;
}

.apply-step a {
    color: var(--brand-electric);
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-item-centered h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

/* Block-level so an item carrying more than one address stacks them. */
.contact-item-centered a,
.contact-item-centered p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    word-break: break-word;
}

.contact-item-centered a + a {
    margin-top: 4px;
}

.contact-item-centered a:hover {
    color: var(--brand-electric);
}

.contact-form-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    text-align: center;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-intro {
    background: #FFFFFF;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.about-intro-text h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 18px;
    line-height: 1.2;
}

.about-intro-text p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-intro-text strong {
    color: var(--primary-navy);
}

.about-intro-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-intro-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    border: 4px solid #FFFFFF;
}

.mission-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
}

.mission-card {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-lg);
    padding: 38px 30px;
    box-shadow: var(--shadow-elevated);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}

.mission-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 14px;
}

.mission-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.values-section {
    background: #FFFFFF;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.value-item {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-left: 4px solid var(--brand-electric);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-elevated);
}

.value-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #EFF6FF;
    color: var(--brand-electric);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.value-item p {
    color: var(--secondary-slate);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
}

.industries-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.industry-item {
    background: #FFFFFF;
    border: 1.5px solid var(--glass-border-subtle);
    border-radius: var(--radius-md);
    padding: 26px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-electric);
    box-shadow: var(--shadow-elevated);
}

.industry-item i {
    font-size: 1.7rem;
    color: var(--brand-electric);
}

.industry-item span {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--primary-navy);
}

/* Subpage layout scale-up */
@media (min-width: 641px) {
    .detail-feature-grid,
    .detail-specs-grid,
    .related-grid,
    .mission-grid,
    .values-grid,
    .home-links-grid,
    .gallery-grid,
    .roles-grid,
    .apply-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {
    .detail-overview-grid,
    .about-intro-grid {
        grid-template-columns: 1.15fr 1fr;
        gap: 56px;
    }

    .detail-feature-grid,
    .related-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-links-grid,
    .roles-grid,
    .apply-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .detail-overview-media img {
        height: 420px;
    }

    .about-intro-media {
        grid-template-columns: 1fr;
    }

    .about-intro-media img {
        height: 240px;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s ease;
}

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

/* ==========================================================================
   LAYOUT 4 SUPER-STRICT MOBILE & TABLET MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .timeline-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .timeline-content-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 32px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .portfolio-card {
        min-width: calc(50% - 12px);
    }
    .estimator-box {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }

    /* The navbar itself is deliberately NOT restyled here -- it keeps the same
       single skewed row on phones as on desktop, and script.js scales the whole
       bar down as one unit so the layout is identical at every width. */

    .nav-wrapper {
        padding: 0 12px;
    }

    .footer-logo {
        height: 72px;
    }

    /* Hero Copy Mobile */
    .hero-copy {
        padding: 0 16px 40px;
    }

    .hero-copy h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }

    .hero-slogan {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .btn-hero-wa {
        width: 100%;
        padding: 14px 20px;
    }

    /* Process Timeline Mobile Responsiveness */
    .timeline-section {
        padding: 50px 16px;
    }

    .timeline-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .timeline-step-btn {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .step-num {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .step-title {
        font-size: 0.9rem;
    }

    .step-subtitle {
        font-size: 0.72rem;
    }

    .timeline-content-card {
        padding: 20px;
        border-radius: 18px;
        gap: 20px;
    }

    .timeline-info h3 {
        font-size: 1.6rem;
    }

    .timeline-info p {
        font-size: 0.92rem;
    }

    .timeline-visual-box {
        height: 220px;
    }

    /* Section & Cards Mobile */
    section {
        padding: 50px 16px;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .pill {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .estimator-box {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .row-2 {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        min-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Sticky Bottom Bar Mobile Styling - Zero Overflow Fix */






    .btn-hero-wa {
        width: 100%;
        max-width: 100%;
        font-size: 0.95rem;
        padding: 14px 16px;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }

    /* Subpage mobile. The fixed navbar is scaled down by script.js, so its
       rendered bottom sits far above its unscaled layout height -- this only
       needs to clear the visual bar, not the full 90px element. */
    .detail-banner {
        padding: 100px 16px 50px;
    }

    .detail-banner-inner h1 {
        font-size: 2rem;
    }

    .detail-banner-inner p {
        font-size: 0.95rem;
    }

    .detail-banner-icon {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }

    .detail-overview-text h2,
    .about-intro-text h2,
    .cta-band-inner h2 {
        font-size: 1.6rem;
    }

    .detail-overview-media img {
        height: 230px;
    }

    .about-intro-media {
        grid-template-columns: 1fr;
    }

    .about-intro-media img {
        height: 210px;
    }

    .detail-cta-row {
        flex-direction: column;
        width: 100%;
    }

    .detail-cta-row .btn-quote,
    .detail-cta-row .btn-outline {
        width: 100%;
    }

    .spec-card {
        padding: 26px 18px;
    }

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

@media (max-width: 400px) {
    .hero-copy h1 {
        font-size: 1.8rem !important;
    }

    .timeline-nav {
        grid-template-columns: 1fr 1fr;
    }


}


/* ==========================================================================
   Active navigation state
   ========================================================================== */
.nav-link.active {
    color: #38D9F5;
    text-shadow: 0 0 14px rgba(56, 217, 245, 0.55);
}

/* ==========================================================================
   Mobile menu: hamburger + slide-in drawer
   ========================================================================== */
.nav-toggle {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(9, 13, 22, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    border-radius: 2px;
    background: #FFFFFF;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(5, 9, 17, 0.62);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.mobile-menu-overlay.open { opacity: 1; }

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: min(82vw, 330px);
    padding: 26px 22px 34px;
    overflow-y: auto;
    background: linear-gradient(170deg, #0C1524 0%, #111C31 60%, #0A1120 100%);
    border-right: 1px solid rgba(120, 190, 255, 0.16);
    box-shadow: 18px 0 44px rgba(0, 0, 0, 0.5);
    transform: translateX(-104%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-logo {
    display: block;
    height: 74px;
    width: auto;
    margin: 4px auto 22px;
}

.mobile-menu .nav-link {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #E4EDF8;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.4px;
    text-decoration: none;
    transform: none;
}

.mobile-menu .nav-link:hover { background: rgba(56, 217, 245, 0.1); color: #FFFFFF; }

.mobile-menu .nav-link.active {
    background: rgba(56, 217, 245, 0.14);
    color: #38D9F5;
}

.mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    font-size: 1.05rem;
    cursor: pointer;
}

.mobile-menu-wa {
    margin-top: 20px;
    padding: 13px 18px;
    border-radius: 50px;
    background: var(--whatsapp-green);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
}

body.menu-locked { overflow: hidden; }

/* Below this width the skewed bar no longer fits unscaled, so it is swapped
   for the drawer instead of being shrunk to an unreadable size. */
@media (max-width: 940px) {
    .nav-toggle { display: flex; }
    .nav-left,
    .nav-right { display: none; }
    .nav-wrapper { grid-template-columns: 1fr; justify-items: center; padding: 0 16px; }
}

/* ==========================================================================
   Floating WhatsApp button (replaces the old sticky bottom bar)
   ========================================================================== */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1300;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 50px;
    background: var(--whatsapp-green);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.42);
    transition: transform 0.25s ease, background 0.25s ease;
}

.wa-float i { font-size: 1.35rem; }
.wa-float:hover { background: var(--whatsapp-hover); transform: translateY(-3px); }

@media (max-width: 640px) {
    /* Collapse to a circular icon so it never covers the content. */
    .wa-float { right: 16px; bottom: 16px; padding: 0; width: 56px; height: 56px;
                justify-content: center; }
    .wa-float i { font-size: 1.65rem; }
    .wa-float-label { display: none; }
}

/* ==========================================================================
   Footer contact pills
   ========================================================================== */
.btn-footer-phone {
    margin-top: 12px;
    padding: 11px 20px;
    border-radius: 50px;
    background: var(--whatsapp-green);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-footer-phone:hover { background: var(--whatsapp-hover); transform: translateY(-2px); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-section { padding: 80px 5% 20px; }

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--card-gradient);
    border: 1px solid var(--glass-border-subtle);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border: 0;
    background: transparent;
    color: var(--primary-navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.02rem;
    text-align: left;
    cursor: pointer;
}

.faq-q i { color: var(--brand-electric); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--brand-blue); }

/* max-height rather than the 0fr/1fr grid trick: fr rows do not resolve
   against an auto-height container here, which collapsed every answer to 0. */
.faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.faq-item.open .faq-a {
    max-height: 520px;
    opacity: 1;
}

.faq-a > p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

/* ==========================================================================
   Contact: social buttons
   ========================================================================== */
.contact-socials { margin-top: 26px; text-align: center; }

.contact-socials h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 14px;
}

.social-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.social-btn {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #FFFFFF;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(30, 80, 160, 0.24);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.social-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.social-wa { background: var(--whatsapp-green); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); }
.social-li { background: linear-gradient(135deg, #0A66C2, #0E76A8); }
.social-ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-fb { background: linear-gradient(135deg, #1877F2, #0C5AC8); }
.social-map { background: linear-gradient(135deg, #DB4437, #B3312A); }

/* ==========================================================================
   Forms: attachments, status, honeypot
   ========================================================================== */
.stack-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.file-drop { position: relative; }

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 18px;
    border: 2px dashed rgba(37, 99, 235, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.04);
    text-align: center;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.file-drop:hover .file-drop-inner {
    border-color: var(--brand-electric);
    background: rgba(37, 99, 235, 0.08);
}

.file-drop-inner i { font-size: 1.6rem; color: var(--brand-electric); }
.file-drop-inner strong { font-size: 0.95rem; color: var(--primary-navy); }
.file-drop-inner span { font-size: 0.82rem; color: var(--text-muted); }

.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }

.file-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.05);
    font-size: 0.86rem;
    color: var(--secondary-slate);
}

.file-list li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li em { font-style: normal; color: var(--text-muted); font-size: 0.8rem; }
.file-list li.file-too-big { background: rgba(220, 38, 38, 0.1); color: #B91C1C; display: block; }

.form-status {
    width: 100%;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    min-height: 1.2em;
}

.form-status.success {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(22, 163, 74, 0.12);
    color: #15803D;
}

.form-status.error {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.1);
    color: #B91C1C;
}
