/* N-ARK Builders & Developers - Stylesheet */
/* Fonts are loaded via <link> in HTML head for non-blocking delivery */

:root {
    --n-ark-blue: #002D62;
    --near-black: #1A1A1A;
    --pure-white: #FFFFFF;
    --slate-gray: #595959;
    --light-gray: #EAEAEA;

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-number: 'IBM Plex Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

/* Base resets & layouts */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--pure-white);
    color: var(--near-black);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Skip-to-content (a11y) ───────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: var(--n-ark-blue);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
    outline: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* ── Focus indicators (a11y) ──────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--n-ark-blue);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--n-ark-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (min-width: 769px) {
    html {
        overflow-y: scroll;
    }
}

/* Safe area inset support for notched / gesture-bar phones */
@supports (padding: env(safe-area-inset-top)) {
    .header-container {
        padding-left: calc(24px + env(safe-area-inset-left));
        padding-right: calc(24px + env(safe-area-inset-right));
    }

    .modal-window {
        padding-left: calc(40px + env(safe-area-inset-left));
        padding-right: calc(40px + env(safe-area-inset-right));
    }

    .nav-menu {
        padding-left: calc(40px + env(safe-area-inset-left));
        padding-right: calc(40px + env(safe-area-inset-right));
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Better tap highlight for mobile */
* {
    -webkit-tap-highlight-color: rgba(0, 45, 98, 0.15);
}

body {
    /* NOTE: do NOT set position:relative or overflow-x:hidden here — it breaks position:sticky children on iOS Safari */
    min-height: 100dvh;
}

body.loading {
    overflow: hidden;
}

body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Fullscreen Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: #09101e; /* Deep rich dark background */
    z-index: 10000; /* Ensure it is above everything, including header */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    visibility: visible;
}

.loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 400px;
    width: 90%;
}

.loading-logo {
    position: relative;
    animation: logoPulse 2s infinite ease-in-out;
}

.loading-logo svg path {
    fill: #ffffff; /* White logo in dark mode loading screen */
}

/* Blueprint grid behind loading */
.loading-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.loading-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
}

.loading-percent {
    font-family: var(--font-number);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #002D62, #0056b3, #ffffff);
    background-size: 200% auto;
    animation: shine 2s linear infinite;
    transition: width 0.1s cubic-bezier(0.1, 0.8, 0.1, 1);
    border-radius: 10px;
}

/* Animations */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
    }
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--near-black);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

img {
    max-width: 100%;
    display: block;
}

/* 12-Column Grid Layout Utility */
.grid-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Blueprint Grid Backgrounds */
.blueprint-bg {
    background-image:
        linear-gradient(rgba(0, 45, 98, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 45, 98, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 45 Degree Diagonal Cuts & Details */
.cut-accent {
    position: relative;
    overflow: hidden;
}

.cut-accent::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, transparent 50%, var(--pure-white) 50%);
    z-index: 10;
}

.blueprint-lines-wrapper {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.blueprint-line {
    position: absolute;
    background-color: rgba(0, 45, 98, 0.1);
    z-index: 1;
}

.blueprint-line.horizontal {
    height: 1px;
    left: 0;
    right: 0;
}

.blueprint-line.vertical {
    width: 1px;
    top: 0;
    bottom: 0;
}

/* Interactive Island Header Styling */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Do NOT use overflow:hidden here — it clips the island pill's box-shadow */
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

/* Mobile nav backdrop — hidden globally by default, shown only when .active is added via JS */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.nav-backdrop.active {
    display: block;
    pointer-events: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Nav Link Hover Draw Animation */
.nav-link {
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--n-ark-blue);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Scrolled button shape adjustment matching header curves */
.header-wrapper.scrolled {
    padding: 12px 0;
}

.header-wrapper.scrolled .nav-menu .btn-primary {
    border-radius: 100px;
    padding: 8px 24px;
}

.header-wrapper.scrolled .header-container {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 45, 98, 0.08);
    border-radius: 100px;
    padding: 12px 32px;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, transparent, var(--pure-white) 75%);
    z-index: 2;
}

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Signature Photo Overlay Treatment */
.photo-treatment {
    position: relative;
}

.photo-treatment::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--n-ark-blue);
    opacity: 0.15;
    mix-blend-mode: color;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    grid-column: 1 / span 8;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--n-ark-blue);
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--near-black);
    line-height: 1.1;
}

.hero-title span {
    color: var(--n-ark-blue);
}

.hero-description {
    font-size: 18px;
    color: var(--slate-gray);
    margin-bottom: 40px;
    max-width: 540px;
}

/* Premium Buttons */
.btn-primary {
    background-color: var(--n-ark-blue);
    color: var(--pure-white);
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 45, 98, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 45, 98, 0.3);
}

/* About & Counter Section */
.about-text-col {
    grid-column: 1 / span 7;
}

.about-stats-col {
    grid-column: 9 / span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    border-left: 3px solid var(--n-ark-blue);
    padding-left: 24px;
}

.stat-number {
    font-family: var(--font-number);
    font-size: 48px;
    font-weight: 700;
    color: var(--n-ark-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Grid Section */
.services-header {
    grid-column: 1 / span 12;
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--n-ark-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.services-grid {
    grid-column: 1 / span 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.works-grid {
    grid-column: 1 / span 12;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--pure-white);
    border: 1px solid var(--light-gray);
    padding: 40px;
    position: relative;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--n-ark-blue);
    box-shadow: 0 20px 40px rgba(0, 45, 98, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    color: var(--n-ark-blue);
}

.service-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--slate-gray);
    font-size: 14px;
}

/* Vision & Mission Section */
.vision-mission {
    background-color: var(--light-gray);
    position: relative;
}

.vision-card,
.mission-card {
    background-color: var(--pure-white);
    padding: 60px;
    border: 1px solid rgba(0, 45, 98, 0.05);
}

.vision-card {
    grid-column: 1 / span 6;
}

.mission-card {
    grid-column: 7 / span 6;
}

.card-title {
    font-size: 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pillar-list {
    margin-top: 30px;
    list-style: none;
}

.pillar-item {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.pillar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--n-ark-blue);
    border-radius: 50%;
}

/* Why Choose Us Section */
.why-header {
    grid-column: 1 / span 5;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.why-grid {
    grid-column: 7 / span 6;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.why-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-quick);
}

.why-card:hover {
    background-color: rgba(0, 45, 98, 0.01);
}

.why-num {
    font-family: var(--font-number);
    font-size: 20px;
    font-weight: 600;
    color: var(--n-ark-blue);
}

.why-card-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.why-card-content p {
    color: var(--slate-gray);
    font-size: 14px;
}

/* Leadership Section */
.leadership-text {
    grid-column: 1 / span 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leadership-card {
    grid-column: 7 / span 6;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    background-color: var(--pure-white);
    border: 1px solid var(--light-gray);
    align-items: center;
}

.leader-img-col {
    grid-column: 1 / span 5;
    height: 100%;
    background-color: var(--light-gray);
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.leader-img-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--light-gray);
    display: block;
}

.leader-info-col {
    grid-column: 6 / span 7;
    padding: 40px;
}

.leader-name {
    font-size: 24px;
    margin-bottom: 4px;
}

.leader-title {
    font-size: 14px;
    color: var(--n-ark-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.leader-bio {
    color: var(--slate-gray);
    font-size: 14px;
    margin-bottom: 24px;
    text-align: justify;
}

.leader-expertise {
    font-size: 13px;
}

/* CTA Call to Action */
.cta-section {
    background-color: var(--n-ark-blue);
    color: var(--pure-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section .blueprint-bg {
    opacity: 0.1;
    position: absolute;
    inset: 0;
}

.cta-content {
    grid-column: 3 / span 8;
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--pure-white);
    font-size: 44px;
    margin-bottom: 24px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn-secondary {
    background-color: var(--pure-white);
    color: var(--n-ark-blue);
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer Section */
.footer {
    background-color: var(--near-black);
    color: var(--pure-white);
    padding: 80px 0 40px;
}

.footer-brand {
    grid-column: 1 / span 4;
}

.footer-logo {
    width: 140px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links {
    grid-column: 6 / span 3;
}

.footer-contact {
    grid-column: 10 / span 3;
}

.footer-title {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--pure-white);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #999;
    font-size: 14px;
}

.footer-list a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    grid-column: 1 / span 12;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 12px;
}

/* Scroll Animation Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay modifiers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ============================================================
   RESPONSIVE DESIGN — 3-tier: Tablet · Mobile · Small Mobile
   ============================================================ */

/* Work item hover zoom — desktop only */
.work-item {
    transition: var(--transition-smooth);
}

.work-item:hover img {
    transform: scale(1.04);
}

.work-item img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Hamburger button — hidden by default on desktop */
.menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 14px;
    z-index: 9999;
    flex-shrink: 0;
    touch-action: manipulation;
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--near-black);
    margin: 5px 0;
    transition: var(--transition-smooth);
    transform-origin: center;
    pointer-events: none; /* ensure click events bubble directly to the button */
}

/* ── TABLET (≤ 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Typography scale-down */
    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 34px;
    }

    .cta-title {
        font-size: 36px;
    }

    /* Grid container narrower padding */
    .grid-container {
        padding: 0 32px;
    }

    /* Hero: widen content column */
    .hero-content {
        grid-column: 1 / span 10;
    }

    /* About */
    .about-text-col {
        grid-column: 1 / span 7;
    }

    .about-stats-col {
        grid-column: 9 / span 4;
    }

    /* Services: 2-column grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Vision & Mission: full-width stacked */
    .vision-card {
        grid-column: 1 / span 12;
        margin-bottom: 0;
        padding: 48px;
    }

    .mission-card {
        grid-column: 1 / span 12;
        padding: 48px;
    }

    /* Why Us: header wider, remove sticky */
    .why-header {
        grid-column: 1 / span 5;
        position: sticky;
        top: 100px;
    }

    .why-grid {
        grid-column: 7 / span 6;
    }

    /* Leadership: full-width card */
    .leadership-text {
        grid-column: 1 / span 5;
    }

    .leadership-card {
        grid-column: 7 / span 6;
    }

    /* CTA */
    .cta-content {
        grid-column: 2 / span 10;
    }

    /* Footer: compact layout */
    .footer-brand {
        grid-column: 1 / span 5;
    }

    .footer-links {
        grid-column: 7 / span 2;
    }

    .footer-contact {
        grid-column: 10 / span 3;
    }
}

/* ── MOBILE-LARGE (≤ 768px) ────────────────────────────────── */
@media (max-width: 768px) {

    /* Section spacing */
    .section-padding {
        padding: 64px 0;
    }

    .grid-container {
        padding: 0 20px;
        column-gap: 16px;
    }

    /* Typography fluid scale */
    .hero-title {
        font-size: 36px;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .cta-title {
        font-size: 28px;
    }

    .card-title {
        font-size: 18px;
    }

    /* ── SUBPAGE HERO ── */
    .subpage-hero {
        padding-top: 88px !important;
        padding-bottom: 32px !important;
    }

    .blueprint-bg > .grid-container > div > h1 {
        font-size: 28px !important;
    }

    .subpage-hero p {
        font-size: 11px;
        line-height: 1.7;
    }

    /* ── HEADER ── */
    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 0;
    }

    .header-wrapper.scrolled {
        padding: 4px 0;
    }

    /* Show hamburger, hide desktop nav */
    .menu-btn {
        display: flex;
        flex-direction: column;
        padding: 8px;
    }

    .menu-btn span {
        width: 14px;
        height: 2px;
        margin: 3px 0;
    }

    /* Fullscreen slide-in nav drawer — use translate instead of right:-100% to avoid horizontal scroll bleed */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%); /* off-screen without adding width to layout */
        width: min(80vw, 320px);
        height: 100vh;
        height: 100dvh;
        background-color: var(--pure-white);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 48px 40px;
        gap: 28px;
        transition: var(--transition-smooth);
        z-index: 9000; /* above backdrop but below hamburger */
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Nav links larger in drawer */
    .nav-menu .nav-link {
        font-size: 18px;
        padding: 8px 0;
    }

    /* Get Quote button: full-width in drawer */
    .nav-menu .btn-primary {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
        border-radius: 8px;
        padding: 14px 24px;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* Smaller logo in mobile header — both states */
    .brand-logo svg {
        width: 24px;
        height: 25px;
    }

    /* On scroll: island mode (full-width on mobile, pill shape with bg/blur/shadow) */
    .header-wrapper.scrolled .header-container {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 45, 98, 0.1);
        border-radius: 60px;
        padding: 4px 16px;
        box-shadow: 0 10px 30px rgba(0, 45, 98, 0.12);
    }

    /* ── HERO ── */
    .hero {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .hero-content {
        grid-column: 1 / span 12;
    }

    /* Dim image and stretch full behind text */
    .hero-media {
        width: 100%;
        opacity: 0.18;
    }

    /* ── ABOUT ── */
    .about-text-col {
        grid-column: 1 / span 12;
    }

    .about-text-col h2 {
        margin-bottom: 16px;
    }

    .about-text-col p {
        font-size: 11px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .about-text-col p:last-child {
        margin-bottom: 0;
    }

    .about-stats-col {
        grid-column: 1 / span 12;
        margin-top: 32px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .about-stats-col .stat-item {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .stat-number {
        font-size: 34px;
    }

    /* ── SERVICES ── */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .service-card .card-title {
        font-size: 20px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* ── WORKS GRID ── */
    .works-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Reset wide-item span on mobile */
    .works-grid>.work-item[style*="grid-column: span 2"],
    .works-grid>.work-item[style*="grid-column:span 2"] {
        grid-column: span 1 !important;
    }

    .work-img {
        height: 200px;
        border-radius: 8px;
    }

    .work-item h3 {
        font-size: 18px;
        margin-top: 12px;
    }

    .work-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* ── VISION & MISSION ── */
    .vision-card,
    .mission-card {
        grid-column: 1 / span 12 !important;
        padding: 28px 24px;
        border: 1px solid var(--light-gray);
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .vision-card h2,
    .mission-card h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .vision-card p,
    .mission-card p {
        font-size: 11px;
        line-height: 1.7;
    }

    .mission-card ul {
        margin-top: 4px;
    }

    .mission-card li {
        font-size: 11px;
        line-height: 1.7;
        margin-bottom: 8px;
    }

    /* ── WHY US ── */
    .why-header {
        grid-column: 1 / span 12;
        position: relative;
        top: auto;
        margin-bottom: 28px;
    }

    .why-header h2 {
        font-size: 26px;
    }

    .why-grid {
        grid-column: 1 / span 12;
        gap: 0;
    }

    .why-card {
        padding: 18px 0;
    }

    .why-card h3 {
        font-size: 18px;
    }

    .why-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* ── LEADERSHIP ── */
    .leadership-text {
        grid-column: 1 / span 12;
        margin-bottom: 24px;
    }

    .leadership-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .leadership-card {
        grid-column: 1 / span 12;
        grid-template-columns: 1fr;
        border-radius: 12px;
        margin-bottom: 16px;
        border: 1px solid var(--light-gray);
    }

    .leader-img-col {
        grid-column: 1 / -1;
        height: 280px;
        border-radius: 12px 12px 0 0;
        background-color: var(--light-gray);
    }

    .leader-info-col {
        grid-column: 1 / -1;
        padding: 20px 24px 28px;
    }

    .leader-info-col h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .leader-info-col .leader-title {
        font-size: 12px;
        display: block;
        margin-bottom: 16px;
    }

    .leader-info-col p {
        font-size: 11px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .leader-info-col .leader-bio:last-of-type {
        margin-bottom: 0;
    }

    .leader-info-col .leader-expertise {
        font-size: 11px;
    }

    /* ── CTA ── */
    .cta-content {
        grid-column: 1 / span 12;
    }

    .cta-title {
        font-size: 26px;
    }

    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* ── FOOTER ── */
    .footer {
        padding: 60px 0 32px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        grid-column: 1 / span 12;
        margin-bottom: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Disable hover transform on touch */
    .service-card:hover {
        transform: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* ── SMALL MOBILE (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {

    .grid-container {
        padding: 0 16px;
        column-gap: 12px;
    }

    .section-padding {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-tagline {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 17px;
    }

    .service-card p {
        font-size: 13px;
    }

    .vision-card,
    .mission-card {
        padding: 28px 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .leader-img-col {
        height: 220px;
    }

    .leader-info-col {
        padding: 16px 20px 20px;
    }

    .leader-name {
        font-size: 18px;
    }

    .leader-info-col p {
        font-size: 11px;
    }

    .about-text-col p {
        font-size: 11px;
    }

    .about-stats-col {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .work-item h3 {
        font-size: 17px;
    }

    .work-item p {
        font-size: 13px;
    }

    .why-card h3 {
        font-size: 17px;
    }

    .why-card p {
        font-size: 13px;
    }

    .cta-title {
        font-size: 22px;
    }

    .subpage-hero {
        padding-top: 72px !important;
        padding-bottom: 32px !important;
    }

    .blueprint-bg > .grid-container > div > h1 {
        font-size: 26px !important;
    }

    .about-stats-col {
        flex-direction: column;
    }

    .work-img {
        height: 160px;
    }
}




/* ================================================================
   🎬  SCROLL IMAGE SEQUENCE SECTION
   ================================================================ */

/* ── Tunnel: tall scroll container that pins the canvas in place ── */
.sequence-section {
    position: relative;
    height: 4500px;
    /* Desktop — JS reads actual offsetHeight */
    background: #09101e; /* match canvas dark bg — prevents white bleed when scrolling into/out of section */
}

/* ── Sticky viewport: stays pinned while user scrolls through tunnel ── */
.sequence-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #09101e;
}

/* ── Full-bleed canvas — all frames drawn here via JS ── */
#sequenceCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none; /* allows touch swipe events to pass through to scroll naturally on mobile */
}

/* ================================================================
   CINEMATIC TEXT OVERLAYS (① ② ③ ④)
   Opacity is set directly by JS each frame — no CSS transition so
   fades are frame-accurate.  pointer-events toggled via JS too.
   ================================================================ */

/* Base — common to all 4 overlays */
.seq-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    /* JS enables when visible */
}

/* ① Left-side brand intro (white gradient, dark text) */
.seq-overlay--left {
    display: flex;
    align-items: center;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.91) 26%,
            rgba(255, 255, 255, 0.52) 48%,
            transparent 68%);
}

/* Overlay grid + content column */
.seq-ov-grid {
    width: 100%;
    align-items: center;
}

.seq-ov-left-content {
    grid-column: 1 / span 7;
    position: relative;
    z-index: 1;
}

/* ② Bottom-left dark card (quality message) */
.seq-overlay--bottom-left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 56px 7vw;
    background: linear-gradient(175deg,
            transparent 40%,
            rgba(0, 5, 30, 0.55) 72%,
            rgba(0, 5, 30, 0.82) 100%);
}

/* ③ Bottom-center card (foundation message) */
.seq-overlay--bottom-center {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 56px;
    background: linear-gradient(180deg,
            transparent 35%,
            rgba(0, 5, 30, 0.55) 65%,
            rgba(0, 5, 30, 0.88) 100%);
}

/* ④ Right-side dark card (blueprint message) */
.seq-overlay--right-card {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 7vw;
    background: linear-gradient(90deg,
            transparent 32%,
            rgba(0, 5, 30, 0.48) 55%,
            rgba(0, 5, 30, 0.88) 76%);
}

/* ── seq-card: dark text card used in overlays ②③④ ── */
.seq-card {
    max-width: 360px;
    color: var(--pure-white);
}

.seq-card--center {
    text-align: center;
    max-width: 480px;
}

.seq-card__tag {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 14px;
}

.seq-card__title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.seq-card__body {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}



/* ================================================================
   ② FOUNDER CARD OVERLAY
   Right-aligned dark panel — slides in when frame ≥ 282
   ================================================================ */
.founder-card {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 7vw;
    /* Deep dark gradient on right — engineer portrait visible on left */
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 38%,
            rgba(0, 10, 42, 0.52) 56%,
            rgba(0, 10, 42, 0.93) 78%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-card.visible {
    opacity: 1;
}

.founder-card.visible .founder-card-inner {
    pointer-events: auto;
}

/* Inner panel: slides in from the right on appear */
.founder-card-inner {
    max-width: 400px;
    color: var(--pure-white);
    transform: translateX(36px);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.founder-card.visible .founder-card-inner {
    transform: translateX(0);
    opacity: 1;
}

/* Override section-subtitle inside dark card */
.seq-subtitle {
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 14px;
    display: block;
}

.founder-name {
    font-size: 38px;
    font-weight: 800;
    color: var(--pure-white);
    line-height: 1.15;
    margin-bottom: 6px;
}

.founder-role {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.52);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.founder-bio {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 30px;
}

/* CTA inside the dark card — inverted colours */
.founder-cta-btn {
    background-color: var(--pure-white) !important;
    color: var(--n-ark-blue) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.38);
}

.founder-cta-btn:hover {
    background-color: var(--pure-white) !important;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.52);
    transform: translateY(-2px);
}

/* ================================================================
   ③ SCROLL HINT CHEVRON
   ================================================================ */
.scroll-hint {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    pointer-events: none;
    animation: bounceHint 2.6s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.scroll-hint.hidden {
    opacity: 0;
    animation: none;
}

@keyframes bounceHint {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.78;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}

/* ================================================================
   ④ PROGRESS SCRUB BAR
   ================================================================ */
#sequenceProgress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 20;
}

#sequenceProgressFill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0050c8 0%, #5aadff 100%);
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
}

/* ================================================================
   RESPONSIVE — Tunnel height & layout adaptations
   ================================================================ */

/* ── TABLET  ≤ 1024px ── */
@media (max-width: 1024px) {
    .sequence-section {
        height: 3200px;
    }

    .seq-ov-left-content {
        grid-column: 1 / span 9;
    }

    .founder-card-inner {
        max-width: 360px;
    }

    .founder-name {
        font-size: 32px;
    }

    .founder-bio {
        font-size: 14px;
    }

    .seq-card__title {
        font-size: 28px;
    }
}

/* ── MOBILE  ≤ 768px ── */
@media (max-width: 768px) {
    .sequence-section {
        height: 2200px; /* increased from 1500px for slower scroll */
    }

    /* ─ Overlay ①: top-down gradient on mobile ─ */
    .seq-overlay--left {
        background: linear-gradient(175deg,
                rgba(255, 255, 255, 0.97) 0%,
                rgba(255, 255, 255, 0.92) 38%,
                rgba(255, 255, 255, 0.38) 62%,
                transparent 80%);
        align-items: flex-start;
        padding-top: 18vh;
    }

    .seq-ov-left-content {
        grid-column: 1 / span 12;
    }

    /* ─ CTA button full width on mobile for easier tapping ─ */
    .seq-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    /* ─ Overlays ② ③ ④: collapse to bottom strip, centered ─ */
    .seq-overlay--bottom-left,
    .seq-overlay--bottom-center,
    .seq-overlay--right-card {
        align-items: flex-end;
        justify-content: center;
        padding: 0 0 36px;
        background: linear-gradient(180deg,
                transparent 20%,
                rgba(0, 5, 30, 0.6) 55%,
                rgba(0, 5, 30, 0.92) 80%);
    }

    .seq-card {
        max-width: 100%;
        width: 100%;
        padding: 0 24px;
        text-align: center;
    }

    .seq-card__title {
        font-size: 22px;
    }

    .seq-card__body {
        font-size: 13px;
    }

    /* ─ Founder card: bottom-anchored on mobile ─ */
    .founder-card {
        align-items: flex-end;
        justify-content: center;
        padding: 0 0 38px;
        background: linear-gradient(180deg,
                transparent 0%,
                transparent 22%,
                rgba(0, 10, 42, 0.60) 50%,
                rgba(0, 10, 42, 0.96) 74%);
    }

    /* Slide in from bottom on mobile (not from right) */
    .founder-card-inner {
        max-width: 100%;
        width: 100%;
        padding: 0 24px;
        text-align: center;
        transform: translateY(24px);
    }

    .founder-card.visible .founder-card-inner {
        transform: translateY(0);
    }

    .founder-name {
        font-size: 22px;
    }

    .founder-role {
        font-size: 11px;
    }

    .founder-bio {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .founder-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-hint {
        bottom: 28px;
        font-size: 9px;
    }
}

/* ── SMALL MOBILE  ≤ 480px ── */
@media (max-width: 480px) {
    .sequence-section {
        height: 1800px; /* increased from 1200px for slower scroll */
    }

    .founder-name {
        font-size: 19px;
    }

    .seq-card__title {
        font-size: 19px;
    }

    /* ─ Hero smaller text ─ */
    .seq-overlay--left {
        padding-top: 17vh;
    }

    .seq-ov-left-content .hero-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .seq-ov-left-content .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .seq-ov-left-content .hero-tagline {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .seq-cta-btn {
        padding: 14px 20px;
        font-size: 12px;
    }

    /* ─ Overlays ②③④ tighter spacing ─ */
    .seq-overlay--bottom-left,
    .seq-overlay--bottom-center,
    .seq-overlay--right-card {
        padding: 0 0 24px;
    }

    .seq-card {
        padding: 0 16px;
    }

    .seq-card__body {
        font-size: 12px;
    }

    /* ─ Founder card ─ */
    .founder-card {
        padding: 0 0 24px;
    }

    .founder-card-inner {
        padding: 0 16px;
    }

    .founder-bio {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .founder-cta-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .scroll-hint {
        bottom: 20px;
    }
}

/* ================================================================
   💬 GLASSMORPHIC WHATSAPP MODAL POPUP
   ================================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 5, 20, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: flex-start; /* flex-start + margin auto enables safe scrolling when content overflows */
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 40px 0;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    width: 90%;
    max-width: 520px;
    margin: auto; /* keeps window centered when space permits, allows scroll when overflowing */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 45, 98, 0.1);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 10, 40, 0.25);
    transform: translateY(32px) scale(0.96);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--slate-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--near-black);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--near-black);
    margin-top: 8px;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--slate-gray);
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--n-ark-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--pure-white);
    border: 1px solid rgba(0, 45, 98, 0.15);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--near-black);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--n-ark-blue);
    box-shadow: 0 0 0 4px rgba(0, 45, 98, 0.08);
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 20px 0;
    }
    .modal-window {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .modal-title {
        font-size: 20px;
    }
    .modal-close {
        top: 16px;
        right: 16px;
        font-size: 28px;
    }
    .modal-header {
        margin-bottom: 20px;
    }
    .modal-form {
        gap: 14px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ================================================================
   🛠️ EXPERTISE PAGE CARD HOVER EFFECT
   ================================================================ */
.service-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Hover background image + brand color overlay (N-ARK dark blue 65% opacity) */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 45, 98, 0.65), rgba(0, 45, 98, 0.65)), var(--bg-img);
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.06);
}

/* Hover active states */
.service-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0, 45, 98, 0.22);
    transform: translateY(-4px);
}

.service-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Text & icon color shifts to white on hover */
.service-card:hover .service-title {
    color: var(--pure-white) !important;
}

.service-card:hover .service-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.service-card:hover .service-icon {
    color: var(--pure-white) !important;
}