@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background-color: #02090d;
            color: #ffffff;
            overflow-x: hidden;
        }

        /* Dark teal background gradient matching exact hero screenshot */
        .bg-exact-hero {
            background: radial-gradient(circle at 70% 45%, #053338 0%, #031e23 35%, #020d12 70%, #01080b 100%);
        }

        /* Headline text styling - Pitch dark by default */
        .headline-dark {
            color: #5f8a95;
            text-shadow: none;
            transition: color 0.15s ease, text-shadow 0.15s ease;
        }

        /* Highlighted class added when inside SVG Torch radius */
        .headline-illuminated {
            color: #00f2fe !important;
            text-shadow: 0 0 25px rgba(0, 242, 254, 1), 0 0 50px rgba(16, 185, 129, 0.9);
        }

        /* Button cyan glow effect */
        .btn-cyan-glow {
            box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .btn-cyan-glow:hover {
            box-shadow: 0 0 35px rgba(0, 242, 254, 0.85);
            transform: translateY(-2px);
        }

        /* Continuous Marquee Ticker Loop */
        @keyframes marquee {
            0% { transform: translateX(0%); }
            100% { transform: translateX(-50%); }
        }
        .animate-marquee {
            display: flex;
            width: max-content;
            animation: marquee 22s linear infinite;
        }
        .animate-marquee:hover {
            animation-play-state: paused;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #02090d;
        }
        ::-webkit-scrollbar-thumb {
            background: #0d2830;
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #00f2fe;
        }

        /* Cybernetic Background Grid Overlay */
        .bg-cyber-grid {
            background-image: 
                linear-gradient(to right, rgba(0, 242, 254, 0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
        }

        /* Glowing Laser Divider Line */
        .laser-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.8) 50%, transparent 100%);
            box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
            position: relative;
        }
        .laser-divider::after {
            content: '';
            position: absolute;
            top: -3px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 7px;
            background: #00f2fe;
            filter: blur(4px);
            border-radius: 9999px;
            animation: pulseGlow 2.5s ease-in-out infinite alternate;
        }

        @keyframes pulseGlow {
            0% { opacity: 0.3; width: 40px; }
            100% { opacity: 1; width: 120px; }
        }

        /* SVG Torch Container Pointer Rules */
        .torch-container {
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
        }

        /* Slide-in & Motion Animation Classes */
        :where(.js) .reveal-on-scroll {
            opacity: 0;
            transform: translateY(45px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        :where(.js) .reveal-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        :where(.js) .reveal-right {
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        :where(.js) .reveal-on-scroll.revealed, :where(.js) .reveal-left.revealed, :where(.js) .reveal-right.revealed {
            opacity: 1;
            transform: translate(0, 0);
        }

        /* Interactive Service Glassmorphism Cards */
        .service-card {
            background: linear-gradient(135deg, rgba(3, 21, 26, 0.85) 0%, rgba(2, 13, 18, 0.95) 100%);
            border: 1px solid rgba(0, 242, 254, 0.18);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .service-card:hover {
            border-color: rgba(0, 242, 254, 0.75);
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 45px -15px rgba(0, 242, 254, 0.35);
        }
        .service-card:hover .service-icon {
            transform: scale(1.18) rotate(6deg);
            background: rgba(0, 242, 254, 0.2);
            border-color: rgba(0, 242, 254, 0.8);
            box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
        }

        /* Light Mode Theme Overrides */
        body.light-mode {
            background: radial-gradient(circle at 70% 45%, #cce7eb 0%, #daf0f3 35%, #eef7f9 70%, #f8fcfd 100%);
            color: #0f172a;
        }
        body.light-mode .headline-dark {
            color: #111827;
        }
        body.light-mode .headline-illuminated {
            color: #0369a1 !important;
            text-shadow: none;
        }
        body.light-mode header {
            background-color: rgba(255, 255, 255, 0.9) !important;
            border-color: rgba(203, 213, 225, 0.8) !important;
        }
        body.light-mode nav a {
            color: #374151 !important;
        }
        body.light-mode nav a.text-white {
            color: #0369a1 !important;
        }
        body.light-mode p, body.light-mode .text-gray-300 {
            color: #374151 !important;
        }
        body.light-mode .text-gray-400, body.light-mode .text-gray-500 {
            color: #4b5563 !important;
        }
        body.light-mode .bg-cyber-grid {
            background-image: 
                linear-gradient(to right, rgba(2, 132, 199, 0.1) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(2, 132, 199, 0.1) 1px, transparent 1px);
        }
        body.light-mode section#about h2, 
        body.light-mode section#services h2,
        body.light-mode #serviceModal h3,
        body.light-mode .about-card h3 {
            color: #0f172a !important;
        }
        body.light-mode .service-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 245, 249, 0.96) 100%);
            border-color: rgba(2, 132, 199, 0.25);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        }
        body.light-mode .service-card h3 {
            color: #0f172a !important;
        }
        body.light-mode .about-card {
            background: rgba(255, 255, 255, 0.93) !important;
            border-color: rgba(2, 132, 199, 0.3) !important;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
        }
        body.light-mode section#services {
            border-color: rgba(2, 132, 199, 0.2);
        }
        body.light-mode .bg-\[\#010d14\] {
            background-color: #e2f1f5 !important;
            border-color: rgba(2, 132, 199, 0.3) !important;
        }
        body.light-mode .text-cyan-200 {
            color: #0369a1 !important;
        }
        body.light-mode #serviceModal > div {
            background-color: #ffffff !important;
            border-color: rgba(2, 132, 199, 0.4) !important;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
        }
        body.light-mode #themeToggleBtn {
            background-color: #e2e8f0;
            border-color: #cbd5e1;
            color: #334155;
        }
/* Footer light mode */
body.light-mode .site-footer {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}
body.light-mode .footer-heading,
body.light-mode .footer-brand {
    color: #0f172a !important;
}
body.light-mode .site-footer li,
body.light-mode .site-footer .footer-link,
body.light-mode .site-footer .text-gray-500 {
    color: #475569 !important;
}
body.light-mode .site-footer .footer-link:hover {
    color: #0284c7 !important;
}
body.light-mode .footer-social {
    background-color: #e2f1f5;
}

/* ===== Portfolio 3D Carousel ===== */
.partner-stage {
    position: relative;
    height: 300px;
    perspective: 1300px;
    perspective-origin: 50% 40%;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}
.partner-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 260px;
    padding: 14px 14px 18px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(8, 28, 36, 0.85), rgba(2, 13, 18, 0.9));
    border: 1px solid rgba(0, 242, 254, 0.14);
    text-align: center;
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.partner-card.is-center {
    border-color: rgba(0, 242, 254, 0.55);
    box-shadow: 0 25px 60px -20px rgba(0, 242, 254, 0.35);
}
.partner-logo {
    height: 130px;
    padding: 10px 14px;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    pointer-events: none;
    image-rendering: auto;
}
.partner-name {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: #c5ced3;
}
.partner-card.is-center .partner-name { color: #ffffff; }

.partner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: rgba(2, 13, 18, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.partner-arrow:hover {
    background: #00f2fe;
    color: #02090d;
    box-shadow: 0 0 22px rgba(0, 242, 254, 0.6);
}

@media (max-width: 640px) {
    .partner-stage { height: 270px; }
    .partner-card { width: 210px; }
    .partner-logo { height: 105px; padding: 8px 10px; }
    .partner-name { font-size: 15px; }
}

/* Portfolio light mode */
body.light-mode .portfolio-title { color: #0f172a !important; }
body.light-mode .partner-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.97));
    border-color: rgba(2, 132, 199, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body.light-mode .partner-card.is-center {
    border-color: rgba(2, 132, 199, 0.6);
    box-shadow: 0 20px 45px -15px rgba(2, 132, 199, 0.35);
}
body.light-mode .partner-name { color: #475569; }
body.light-mode .partner-card.is-center .partner-name { color: #0f172a; }
body.light-mode .partner-logo { box-shadow: inset 0 0 0 1px #e2e8f0; }
body.light-mode .partner-arrow {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.4);
    color: #0284c7;
}

    

        html { scroll-behavior: smooth; }
        main[id], section[id], footer[id] { scroll-margin-top: 84px; }

        #scrollProgress {
            position: fixed; top: 0; left: 0; height: 3px; width: 0%;
            z-index: 60; pointer-events: none;
            background: linear-gradient(90deg, #00f2fe, #3b82f6, #10b981);
            box-shadow: 0 0 12px rgba(0, 242, 254, 0.8);
        }
        header { transition: padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }
        header.is-scrolled {
            padding-top: 0.6rem !important; padding-bottom: 0.6rem !important;
            border-color: rgba(0, 242, 254, 0.35) !important;
            box-shadow: 0 12px 30px -12px rgba(0, 242, 254, 0.3);
        }
        nav a { transition: color 0.2s ease, border-color 0.2s ease; }

        /* Section titles slide up with a sweeping cyan underline */
        .portfolio-title { position: relative; padding-bottom: 14px; }
        .portfolio-title::after {
            content: ''; position: absolute; left: 50%; bottom: 0; height: 3px; width: 0;
            transform: translateX(-50%); border-radius: 9999px;
            background: linear-gradient(90deg, transparent, #00f2fe, transparent);
            transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
        }
        .portfolio-title.revealed::after { width: 180px; }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            .reveal-on-scroll, .reveal-left, .reveal-right { transition: none !important; opacity: 1 !important; transform: none !important; }
        }
    

        /* Lenis smooth-scroll helpers */
        html.lenis, html.lenis body { height: auto; }
        html.lenis { scroll-behavior: auto !important; }
        .lenis.lenis-stopped { overflow: hidden; }

        /* Ambient orbs that drift as you scroll */
        .scroll-orb {
            position: fixed; top: 0; left: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px;
            border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform;
        }
        #scrollOrbA { background: radial-gradient(circle, rgba(0,242,254,0.20) 0%, rgba(0,242,254,0.07) 40%, transparent 70%); }
        #scrollOrbB { background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, rgba(59,130,246,0.07) 40%, transparent 70%); }
        body.light-mode .scroll-orb { opacity: 0.45; }

        /* Heading reveal: rise + un-blur */
        :where(.js) .fx-head {
            opacity: 0; transform: translateY(34px) scale(0.96); filter: blur(10px);
            transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s, transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s, filter 0.9s ease 0.15s;
        }
        :where(.js) .fx-head.fx-in { opacity: 1; transform: none; filter: blur(0); }

        /* Service cards: keep the independent parallax 'translate' un-animated */
        .service-card-item { transition-property: opacity, transform, border-color, box-shadow, background !important; }

        /* Side dot navigation */
        #sideDots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: none; flex-direction: column; gap: 16px; }
        @media (min-width: 1100px) { #sideDots { display: flex; } }
        #sideDots a {
            position: relative; width: 10px; height: 10px; border-radius: 50%;
            border: 1.5px solid rgba(0,242,254,0.55); transition: all 0.3s ease;
        }
        #sideDots a:hover { background: rgba(0,242,254,0.5); }
        #sideDots a.active { background: #00f2fe; box-shadow: 0 0 12px #00f2fe; transform: scale(1.4); }
        #sideDots a span {
            position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(8px);
            opacity: 0; pointer-events: none; white-space: nowrap;
            font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
            color: #00f2fe; background: rgba(2,13,18,0.92); border: 1px solid rgba(0,242,254,0.3);
            padding: 3px 9px; border-radius: 9999px; transition: all 0.25s ease;
        }
        #sideDots a:hover span { opacity: 1; transform: translateY(-50%); }
        body.light-mode #sideDots a { border-color: rgba(2,132,199,0.6); }
        body.light-mode #sideDots a.active { background: #0284c7; box-shadow: 0 0 12px #0284c7; }
        body.light-mode #sideDots a span { background: #fff; color: #0284c7; border-color: rgba(2,132,199,0.4); }

        @media (prefers-reduced-motion: reduce) {
            .fx-head { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
            .scroll-orb { display: none; }
        }
    

        .process-line { position: absolute; left: 12%; right: 12%; top: 64px; height: 2px; z-index: 0;
            background: rgba(80,120,200,0.18); border-radius: 9999px; }
        .process-line i { display: block; height: 100%; width: 0%; border-radius: 9999px;
            background: linear-gradient(90deg, #38a5f1, #a855f7, #ec4899, #10c98f);
            box-shadow: 0 0 14px rgba(124,77,255,0.7); }

        .process-card {
            position: relative; z-index: 1; text-align: center;
            padding: 34px 26px 32px; border-radius: 26px;
            background: rgba(255,255,255,0.015);
            border: 1px solid rgba(120,150,220,0.08);
            transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1),
                        translate 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
        }
        .process-card:hover {
            translate: 0 -8px;
            background: linear-gradient(160deg, rgba(30,34,70,0.55), rgba(14,12,30,0.65));
            border-color: rgba(90,140,255,0.28);
            box-shadow: 0 24px 50px -22px rgba(var(--glow), 0.55);
        }
        .process-icon {
            width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 18px;
            display: flex; align-items: center; justify-content: center;
            font-size: 24px; color: #fff;
            background: linear-gradient(135deg, var(--c1), var(--c2));
            box-shadow: 0 14px 30px -10px rgba(var(--glow), 0.6);
            transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
        }
        .process-card:hover .process-icon {
            transform: rotate(-9deg) scale(1.1);
            box-shadow: 0 18px 38px -8px rgba(var(--glow), 0.9);
        }
        .process-phase { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: #6e9cff; transition: color 0.3s; }
        .process-card:hover .process-phase { color: #93b4ff; }
        .process-name { margin: 8px 0 14px; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.01em; transition: color 0.3s; }
        .process-card:hover .process-name { color: #4f8ef7; }
        .process-desc { font-size: 15px; line-height: 1.7; color: #a3acba; transition: color 0.3s; }
        .process-desc .w { opacity: 0.55; transition: opacity 0.35s ease; }
        .process-desc .w.on { opacity: 1; }
        .process-card:hover .process-desc { color: #fff; }
        .process-card:hover .process-desc .w { opacity: 1; }

        /* light mode */
        body.light-mode #process h2 { color: #0f172a !important; }
        body.light-mode .process-card { background: rgba(255,255,255,0.7); border-color: rgba(2,132,199,0.15); }
        body.light-mode .process-card:hover { background: #fff; border-color: rgba(2,132,199,0.45); }
        body.light-mode .process-name { color: #0f172a; }
        body.light-mode .process-card:hover .process-name { color: #0284c7; }
        body.light-mode .process-phase { color: #0284c7; }
        body.light-mode .process-card:hover .process-desc { color: #0f172a !important; }
        body.light-mode .process-line { background: rgba(2,132,199,0.18); }

        @media (prefers-reduced-motion: reduce) { .process-desc .w { opacity: 1 !important; } }
    


/* =====================================================================
   Fixes: visibility, overlap, alignment, responsiveness
   ===================================================================== */

/* Stacking order: modal 50 > header 40 > side dots 35 > ticker/dividers 20 > content 10 */
header { z-index: 40; }
#sideDots { z-index: 35; }
#torchSvg { transition: opacity 0.4s ease; }
#torchSvg.is-off { opacity: 0; }

/* Hero headline: dim-but-readable until the torch lights it */
.hero-headline .torch-word { display: inline-block; }

/* About: two equal cards, no stacking */
.about-grid { align-items: stretch; }
.about-card { position: relative; height: 100%; }

/* Services: centred flex-wrap so filtered results stay centred and aligned */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}
.service-grid .service-card-item { width: 100%; }
@media (min-width: 768px) {
    .service-grid { gap: 2rem; }
    .service-grid .service-card-item { width: calc((100% - 2rem) / 2); }
}
@media (min-width: 1024px) {
    .service-grid .service-card-item { width: calc((100% - 4rem) / 3); }
}
.service-card-item .service-icon { flex-shrink: 0; }
.service-card-item h3 { line-height: 1.25; }

/* Cards must never be clipped by neighbours when hovered */
.service-card:hover, .process-card:hover { z-index: 5; }

/* Partner carousel: arrows always above cards, stage never bleeds under header */
.partner-stage { isolation: isolate; }

/* Filter pills: consistent size + wrapping on small screens */
.service-filter-btn { white-space: nowrap; }
@media (max-width: 480px) {
    .service-filter-btn { padding: 0.5rem 0.9rem; font-size: 11px; }
}

/* Mobile navigation */
#mobileMenuBtn {
    width: 2.25rem; height: 2.25rem; border-radius: 9999px;
    border: 1px solid rgba(0,242,254,0.4); background: rgba(8,51,68,0.4);
    color: #00f2fe; display: inline-flex; align-items: center; justify-content: center;
}
#mobileNav {
    position: fixed; left: 0; right: 0; top: 0; z-index: 39;
    padding: 5.25rem 1.5rem 1.25rem;
    background: rgba(2,9,13,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,242,254,0.3);
    display: flex; flex-direction: column; gap: 0.25rem;
    transform: translateY(-110%); visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), visibility 0s linear 0.35s;
}
#mobileNav.open { transform: none; visibility: visible; transition-delay: 0s; }
#mobileNav a {
    padding: 0.85rem 0.25rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
    color: #d1d5db; border-bottom: 1px solid rgba(0,242,254,0.1);
}
#mobileNav a:hover { color: #00f2fe; }
@media (min-width: 1024px) { #mobileNav, #mobileMenuBtn { display: none !important; } }
body.light-mode #mobileNav { background: rgba(255,255,255,0.97); }
body.light-mode #mobileNav a { color: #334155; }
body.light-mode #mobileMenuBtn { background: #e2e8f0; border-color: #cbd5e1; color: #0284c7; }

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 2px solid #00f2fe; outline-offset: 3px; }

/* Small-screen polish */
@media (max-width: 640px) {
    #about, #services { border-radius: 1.25rem; }
    .process-card { padding: 28px 20px 26px; }
}
@media (max-width: 1023px) {
    .process-line { display: none; }
}

/* Reduced motion: everything visible, nothing moving */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee { animation: none; }
    .laser-divider::after { animation: none; }
}


/* =====================================================================
   Pass 2: consistency, accessibility, light-mode and robustness fixes
   ===================================================================== */

/* Light mode: header brand + accent text were white/cyan on a white header */
body.light-mode header .text-white { color: #0f172a !important; }
body.light-mode header nav a.text-white { color: #0284c7 !important; }
body.light-mode .text-cyan-400, body.light-mode .text-cyan-300 { color: #0369a1; }
body.light-mode .text-emerald-400 { color: #047857; }
body.light-mode .process-desc { color: #475569; }
body.light-mode .service-filter-btn:not(.active) { background-color: #f1f5f9; border-color: #cbd5e1; color: #475569; }
body.light-mode .service-filter-btn.active { color: #0369a1; }
body.light-mode .partner-arrow:hover { background: #0284c7; color: #fff; }

/* Shared section badge so all four sections match */
.section-badge {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.375rem 0.875rem; border-radius: 9999px;
    border: 1px solid rgba(6, 182, 212, 0.4); background: rgba(8, 51, 68, 0.3);
    color: #22d3ee; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    box-shadow: 0 8px 20px -10px rgba(0, 242, 254, 0.35);
}
body.light-mode .section-badge { color: #0369a1; background: rgba(224, 242, 254, 0.7); border-color: rgba(2, 132, 199, 0.4); }

/* Consistent vertical rhythm between the four main sections */
#about, #services, #portfolio, #process { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) {
    #about, #services, #portfolio, #process { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Ticker: each set at least one viewport wide so ultra-wide screens never show a gap */
.animate-marquee > div { min-width: 100vw; justify-content: space-around; }

/* Modal: scrolls on short screens instead of overflowing */
#serviceModalContent { max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; }

/* Explore links: keyboard focus ring */
.service-card-item [role="button"]:focus-visible { outline: 2px solid #00f2fe; outline-offset: 4px; border-radius: 6px; }

/* Hero CTA is now a link */
a.btn-cyan-glow { text-decoration: none; display: inline-flex; }

/* No-JS / script-failure fallback for the partner carousel: a plain scrollable row */
html:not(.js) .partner-stage { height: auto; display: flex; gap: 16px; padding: 24px; overflow-x: auto; perspective: none; }
html:not(.js) .partner-card { position: static; flex: 0 0 220px; transform: none; }
html:not(.js) .partner-arrow { display: none; }

/* Reduced motion: no blur / tilt on carousel cards */
@media (prefers-reduced-motion: reduce) {
    .partner-card { filter: none !important; }
    .btn-cyan-glow:hover, .service-card:hover { transform: none; }
}


/* =====================================================================
   Added content: "What we do" tiles + footer call to action
   ===================================================================== */
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px)  { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.offer-tile {
    position: relative; padding: 1.5rem; border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(3,21,26,0.85), rgba(2,13,18,0.95));
    border: 1px solid rgba(0,242,254,0.18);
    transition: border-color .3s ease, box-shadow .3s ease, translate .3s ease;
}
.offer-tile:hover { border-color: rgba(0,242,254,0.6); box-shadow: 0 18px 40px -18px rgba(0,242,254,0.35); translate: 0 -4px; }
.offer-icon {
    width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    color: #22d3ee; background: rgba(8,51,68,0.6); border: 1px solid rgba(0,242,254,0.3);
}
.offer-tile h4 { font-size: 1.125rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; line-height: 1.25; }
.offer-tile p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: #d1d5db; }
body.light-mode .offer-heading { color: #0f172a !important; }
body.light-mode .offer-tile { background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(241,245,249,0.96)); border-color: rgba(2,132,199,0.25); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
body.light-mode .offer-tile h4 { color: #0f172a; }
body.light-mode .offer-icon { background: #e0f2fe; border-color: rgba(2,132,199,0.3); color: #0369a1; }

.footer-cta {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
    margin-bottom: 3rem; padding: 1.75rem; border-radius: 1.5rem;
    border: 1px solid rgba(0,242,254,0.3);
    background: linear-gradient(135deg, rgba(3,21,26,0.9), rgba(4,29,36,0.9));
}
@media (min-width: 768px) { .footer-cta { flex-direction: row; align-items: center; padding: 2rem 2.5rem; } }
.footer-cta-title { font-size: 1.375rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; line-height: 1.3; max-width: 34rem; }
@media (min-width: 640px) { .footer-cta-title { font-size: 1.75rem; } }
body.light-mode .footer-cta { background: #fff; border-color: rgba(2,132,199,0.3); }
body.light-mode .footer-cta-title { color: #0f172a; }


/* =====================================================================
   Pass 3: section identity (all colours derived from the existing teal/cyan theme)
   ===================================================================== */

/* Full-width bands: each section gets its own tone from the same palette */
.band { position: relative; width: 100%; isolation: isolate; overflow: hidden; }
.band::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(0, 242, 254, var(--grid-a, 0.05)) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 254, var(--grid-a, 0.05)) 1px, transparent 1px);
    background-size: var(--grid, 50px) var(--grid, 50px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.band-inner { position: relative; z-index: 2; max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .band-inner { padding-inline: 3.5rem; } }

/* About: lighter teal, split layout */
.band-about {
    background: linear-gradient(180deg, #04242b 0%, #053139 55%, #042229 100%);
    border-top: 1px solid rgba(0, 242, 254, 0.3);
}
/* Services: deepest tone, centred, cooler glow at the top */
.band-services {
    --grid: 36px; --grid-a: 0.035;
    background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(0, 242, 254, 0.09), transparent 70%), #020c11;
    border-top: 1px solid rgba(0, 242, 254, 0.2);
}
/* Portfolio: mid teal spotlight behind the carousel */
.band-portfolio {
    --grid: 64px; --grid-a: 0.03;
    background: radial-gradient(ellipse 80% 55% at 50% 62%, #0a4a53 0%, #063540 45%, #04222a 100%);
    border-top: 1px solid rgba(0, 242, 254, 0.28);
}
/* Process: near-black with a blue tint from the theme gradient */
.band-process {
    --grid: 44px; --grid-a: 0.04;
    background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(59, 130, 246, 0.14), transparent 70%), #01090d;
    border-top: 1px solid rgba(59, 130, 246, 0.25);
}
footer.site-footer {
    margin-top: 0;
    background: linear-gradient(180deg, #04202a 0%, #021018 100%) !important;
    border-top-color: rgba(0, 242, 254, 0.4);
}

/* About split layout */
.about-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; text-align: left; }
.about-copy .section-badge { align-self: flex-start; }
@media (max-width: 1023px) { .about-copy { align-items: center; text-align: center; } .about-copy .section-badge { align-self: center; } }
.about-stack { display: grid; gap: 1.25rem; }
.about-stack .about-card { height: auto; }
.about-copy h2 { padding-left: 0; }
@media (min-width: 1024px) {
    .about-copy { padding-left: 1.5rem; border-left: 3px solid rgba(0, 242, 254, 0.55); }
}

/* Services: "What we do" gets its own sub-panel */
#whatWeDo { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid rgba(0, 242, 254, 0.15); }

/* Process: smaller, tighter header so it reads as a different rhythm */
.band-process .process-title { letter-spacing: -0.02em; }

/* Section transform scrub was removed from the script: keep sections still while scrolling */
.band, .band-inner { transform: none; }

/* Light-mode versions of the bands */
body.light-mode .band::before {
    background-image:
        linear-gradient(to right, rgba(2, 132, 199, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
}
body.light-mode .band-about { background: linear-gradient(180deg, #d3ebf0, #e4f3f6); border-top-color: rgba(2, 132, 199, 0.3); }
body.light-mode .band-services { background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(2, 132, 199, 0.12), transparent 70%), #f6fbfc; border-top-color: rgba(2, 132, 199, 0.25); }
body.light-mode .band-portfolio { background: radial-gradient(ellipse 80% 55% at 50% 62%, #bfe0e8 0%, #d3eaef 50%, #e1f1f4 100%); border-top-color: rgba(2, 132, 199, 0.28); }
body.light-mode .band-process { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(2, 132, 199, 0.12), transparent 70%), #eef7f9; border-top-color: rgba(2, 132, 199, 0.25); }
body.light-mode .about-copy { border-left-color: rgba(2, 132, 199, 0.5); }
body.light-mode #whatWeDo { border-top-color: rgba(2, 132, 199, 0.2); }
body.light-mode .about-copy h2, body.light-mode .band-process h2 { color: #0f172a !important; }
body.light-mode footer.site-footer { background: #f1f7f9 !important; }

/* ---- Reveal safety net: nothing stays hidden if animations are off / fail ---- */
@media (prefers-reduced-motion: reduce) {
    .fx-head { opacity: 1 !important; transform: none !important; filter: none !important; }
    .fe-bi { animation: none !important; }
}


/* =====================================================================
   Face Products page (faceex.html) — the .fe-* classes had no styles
   ===================================================================== */
.fe-pg main { width: 100%; flex: 1 1 auto; }

/* Hero */
.fe-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: grid; place-items: center; text-align: center;
    padding: 8rem 1.5rem 5.5rem;
    background: radial-gradient(circle at 50% 42%, #053338 0%, #031e23 42%, #020d12 78%, #01080b 100%);
}
.fe-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(4, 36, 43, 0.9));
}
#feCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: 0.9; }
.fe-hero > div { position: relative; z-index: 2; max-width: 62rem; }
.fe-pill {
    display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.35rem 1rem 0.35rem 0.35rem;
    border-radius: 9999px; border: 1px solid rgba(6, 182, 212, 0.4); background: rgba(8, 51, 68, 0.35);
    color: #22d3ee; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.fe-pill i {
    font-style: normal; font-weight: 800; letter-spacing: 0.05em; padding: 0.25rem 0.7rem; border-radius: 9999px;
    color: #02090d; background: linear-gradient(90deg, #00f2fe, #3b82f6);
}
.fe-h1 { font-size: clamp(2.4rem, 7.2vw, 5rem); font-weight: 900; line-height: 1.04; letter-spacing: -0.02em; color: #fff; }
.fe-w { color: #9fb7bf; }
.fe-grad {
    background: linear-gradient(90deg, #22d3ee, #34d399 50%, #3b82f6);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.fe-bi { animation: feRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.fe-pill.fe-bi { animation-delay: 0.05s; }
.fe-h1.fe-bi { animation-delay: 0.18s; }
p.fe-bi { animation-delay: 0.32s; }
div.fe-bi { animation-delay: 0.45s; }
@keyframes feRise { from { opacity: 0; transform: translateY(26px); } }

.fe-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1.9rem;
    border-radius: 9999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: #fff; text-decoration: none; background: linear-gradient(90deg, #22d3ee, #2563eb);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4); transition: box-shadow 0.3s ease, translate 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.fe-btn:hover { box-shadow: 0 0 36px rgba(0, 242, 254, 0.8); translate: 0 -2px; }
.fe-btn.fe-ghost { background: rgba(2, 13, 18, 0.45); color: #22d3ee; border: 1px solid rgba(0, 242, 254, 0.5); box-shadow: none; }
.fe-btn.fe-ghost:hover { background: rgba(0, 242, 254, 0.12); box-shadow: 0 0 24px rgba(0, 242, 254, 0.3); }

/* Sections: full-width bands with a constrained content column */
.fe-sec {
    position: relative; isolation: isolate; text-align: center; overflow: hidden;
    padding: 5rem max(1.5rem, calc((100% - 1200px) / 2));
}
@media (min-width: 1024px) { .fe-sec { padding-top: 7rem; padding-bottom: 7rem; } }
.fe-sec::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(0, 242, 254, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 254, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
#feSystem   { background: linear-gradient(180deg, #04242b, #053139 60%, #042229); border-top: 1px solid rgba(0, 242, 254, 0.3); }
#feFeatures { background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(0, 242, 254, 0.08), transparent 70%), #020c11; border-top: 1px solid rgba(0, 242, 254, 0.2); }
#fePrivacy  { background: radial-gradient(ellipse 80% 60% at 50% 50%, #0a4a53 0%, #063540 50%, #04222a 100%); border-top: 1px solid rgba(0, 242, 254, 0.28); }
#specs      { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(59, 130, 246, 0.14), transparent 70%), #01090d; border-top: 1px solid rgba(59, 130, 246, 0.25); }

.fe-lbl {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.9rem; border-radius: 9999px;
    border: 1px solid rgba(6, 182, 212, 0.4); background: rgba(8, 51, 68, 0.3); color: #22d3ee;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 8px 20px -10px rgba(0, 242, 254, 0.35);
}
.fe-lbl::before { content: '\2726'; font-size: 0.7rem; }
.fe-title { display: block; margin-top: 1rem; font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.fe-sec > p { color: #cbd5e1; line-height: 1.7; }

/* Card grid: centred rows, so 5-item grids never leave an orphan on the left */
.fe-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 1.25rem; margin-top: 3rem; }
.fe-card {
    position: relative; flex: 1 1 100%; text-align: left; padding: 1.75rem; border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(3, 21, 26, 0.88), rgba(2, 13, 18, 0.96));
    border: 1px solid rgba(0, 242, 254, 0.18);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, translate 0.3s ease, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 640px)  { .fe-card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 1024px) { .fe-grid { gap: 1.5rem; } .fe-card { flex-basis: calc((100% - 3rem) / 3); } }
.fe-card:hover { border-color: rgba(0, 242, 254, 0.6); box-shadow: 0 18px 40px -18px rgba(0, 242, 254, 0.35); translate: 0 -4px; }
.fe-card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: #fff; }
.fe-card p { margin-top: 0.55rem; font-size: 0.92rem; line-height: 1.7; color: #cbd5e1; }
.fe-ic {
    flex-shrink: 0; width: 3rem; height: 3rem; display: grid; place-items: center; margin-bottom: 1.1rem;
    border-radius: 0.9rem; font-size: 1.1rem; color: #22d3ee; background: rgba(8, 51, 68, 0.6); border: 1px solid rgba(0, 242, 254, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.fe-card:hover .fe-ic, .fe-step:hover .fe-ic { background: rgba(0, 242, 254, 0.18); box-shadow: 0 0 22px rgba(0, 242, 254, 0.4); }
.fe-card.fe-noic { padding-top: 2.1rem; overflow: hidden; }
.fe-card.fe-noic::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #22d3ee, #34d399, #3b82f6); }
.fe-card.fe-noic h3 { font-size: 1.3rem; }

/* How it works: numbered steps */
.fe-step {
    display: flex; align-items: flex-start; gap: 1.25rem; text-align: left; padding: 1.4rem 1.6rem; border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(3, 21, 26, 0.88), rgba(2, 13, 18, 0.96)); border: 1px solid rgba(0, 242, 254, 0.18);
}
.fe-step .fe-ic { margin-bottom: 0; }
.fe-step h3 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.1rem; font-weight: 800; color: #fff; }
.fe-step h3 em {
    flex-shrink: 0; display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 9999px;
    font-style: normal; font-size: 0.78rem; font-weight: 800; color: #02090d; background: linear-gradient(135deg, #22d3ee, #34d399);
}
.fe-step p { margin-top: 0.4rem; font-size: 0.92rem; line-height: 1.7; color: #cbd5e1; }
@media (max-width: 480px) { .fe-step { flex-direction: column; gap: 0.9rem; } }

/* Spec table */
.fe-spec {
    display: grid; grid-template-columns: 1fr; max-width: 56rem; margin-inline: auto; text-align: left;
    border-radius: 1.5rem; border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(3, 21, 26, 0.9), rgba(2, 13, 18, 0.96)); padding: 0.5rem 1.5rem;
    box-shadow: 0 24px 60px -30px rgba(59, 130, 246, 0.45);
}
@media (min-width: 768px) { .fe-spec { grid-template-columns: 1fr 1fr; column-gap: 3rem; padding: 0.75rem 2.25rem; } }
.fe-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(0, 242, 254, 0.12); }
.fe-row:last-child { border-bottom: 0; }
@media (max-width: 767px) { .fe-spec > div:first-child .fe-row:last-child { border-bottom: 1px solid rgba(0, 242, 254, 0.12); } }
.fe-row span { font-size: 0.88rem; color: #9fb3bb; }
.fe-row b { font-size: 0.95rem; font-weight: 700; color: #fff; text-align: right; }

/* Product images (when added): never stretched or cropped */
.fe-media { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 1.1rem; overflow: hidden; background: #fff; padding: 0.75rem; }
.fe-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; image-rendering: auto; }

/* Light mode */
body.light-mode .fe-hero { background: radial-gradient(circle at 50% 42%, #cce7eb 0%, #daf0f3 45%, #eef7f9 100%); }
body.light-mode .fe-hero::after { background: linear-gradient(180deg, transparent, rgba(211, 235, 240, 0.9)); }
body.light-mode .fe-h1, body.light-mode .fe-title, body.light-mode .fe-card h3, body.light-mode .fe-step h3, body.light-mode .fe-row b { color: #0f172a; }
body.light-mode .fe-w { color: #4b5563; }
body.light-mode .fe-grad { background-image: linear-gradient(90deg, #0284c7, #047857 55%, #2563eb); }
body.light-mode .fe-lbl, body.light-mode .fe-pill { color: #0369a1; background: rgba(224, 242, 254, 0.7); border-color: rgba(2, 132, 199, 0.4); }
body.light-mode .fe-btn.fe-ghost { color: #0369a1; background: rgba(255, 255, 255, 0.6); border-color: rgba(2, 132, 199, 0.5); }
body.light-mode .fe-sec::before { background-image: linear-gradient(to right, rgba(2, 132, 199, 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(2, 132, 199, 0.07) 1px, transparent 1px); }
body.light-mode #feSystem { background: linear-gradient(180deg, #d3ebf0, #e4f3f6); border-top-color: rgba(2, 132, 199, 0.3); }
body.light-mode #feFeatures { background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(2, 132, 199, 0.12), transparent 70%), #f6fbfc; border-top-color: rgba(2, 132, 199, 0.25); }
body.light-mode #fePrivacy { background: radial-gradient(ellipse 80% 60% at 50% 50%, #bfe0e8, #d3eaef 55%, #e1f1f4); border-top-color: rgba(2, 132, 199, 0.28); }
body.light-mode #specs { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(2, 132, 199, 0.12), transparent 70%), #eef7f9; border-top-color: rgba(2, 132, 199, 0.25); }
body.light-mode .fe-card, body.light-mode .fe-step, body.light-mode .fe-spec { background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.97)); border-color: rgba(2, 132, 199, 0.25); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
body.light-mode .fe-card p, body.light-mode .fe-step p, body.light-mode .fe-sec > p { color: #475569; }
body.light-mode .fe-row span { color: #4b5563; }
body.light-mode .fe-row { border-bottom-color: rgba(2, 132, 199, 0.15); }
body.light-mode .fe-ic { background: #e0f2fe; border-color: rgba(2, 132, 199, 0.3); color: #0369a1; }


/* ---- Pass 3 refinements ---- */
.process-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(120, 150, 220, 0.16); }
.process-desc .w { opacity: 0.72; }
@media (min-width: 1100px) {
    #partnerPrev { left: 3rem; }
    #partnerNext { right: 3.5rem; }
}
body.light-mode .process-card { background: rgba(255, 255, 255, 0.75); border-color: rgba(2, 132, 199, 0.2); }


/* =====================================================================
   DAY MODE REFINEMENT
   Everything here is scoped to body.light-mode, so Dark Mode is untouched.
   Palette: headings #111827 / body #374151 / secondary #4B5563 / accent #0369a1
   ===================================================================== */
body.light-mode {
    --day-heading: #111827;
    --day-body: #374151;
    --day-muted: #4b5563;
    --day-accent: #0369a1;
    --day-accent-strong: #075985;
    --day-border: #d3dce6;
    --day-border-strong: #b9c6d4;
    --day-shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 10px 24px -14px rgba(17, 24, 39, 0.20);
    --day-shadow-hover: 0 2px 4px rgba(17, 24, 39, 0.08), 0 18px 34px -16px rgba(3, 105, 161, 0.35);
    background: radial-gradient(circle at 70% 40%, #e2edf3 0%, #ecf2f6 45%, #f4f7fa 100%);
}

/* ---- Headings: one near-black, everywhere ---- */
body.light-mode :is(h1, h2, h3, h4):not(.fe-grad) { color: var(--day-heading); }
body.light-mode section#about h2,
body.light-mode section#services h2,
body.light-mode .portfolio-title,
body.light-mode #process h2,
body.light-mode .offer-heading,
body.light-mode .about-copy h2,
body.light-mode .about-card h3,
body.light-mode .service-card h3,
body.light-mode #serviceModal h3,
body.light-mode .footer-heading,
body.light-mode .footer-brand,
body.light-mode .footer-cta-title,
body.light-mode .process-name,
body.light-mode .offer-tile h4 { color: var(--day-heading) !important; }

/* Gradient headline words: the dark-mode cyan was ~1.7:1 on a light page. Same hues, darker stops. */
body.light-mode .bg-clip-text {
    background-image: linear-gradient(90deg, #0e7490 0%, #047857 52%, #1d4ed8 100%) !important;
}

/* ---- Body / secondary text ---- */
body.light-mode .process-desc,
body.light-mode .offer-tile p,
body.light-mode .fe-card p,
body.light-mode .fe-step p,
body.light-mode .fe-sec > p,
body.light-mode .site-footer li,
body.light-mode .site-footer .footer-link,
body.light-mode .site-footer .text-gray-500 { color: var(--day-body) !important; }
body.light-mode .process-desc .w { opacity: 0.8; }
body.light-mode .process-desc .w.on { opacity: 1; }
body.light-mode .process-phase { color: var(--day-accent); }
body.light-mode .partner-name { color: var(--day-body); }
body.light-mode .partner-card.is-center .partner-name { color: var(--day-heading); }
body.light-mode .text-cyan-400, body.light-mode .text-cyan-300 { color: var(--day-accent); }
body.light-mode .text-cyan-200 { color: var(--day-accent-strong) !important; }

/* ---- Borders / dividers: visible, not heavy ---- */
body.light-mode [class*="border-cyan-950"] { border-color: var(--day-border) !important; }
body.light-mode footer.site-footer { background: #eef2f6 !important; border-color: var(--day-border) !important; }

/* ---- Section backgrounds: neutral cool greys with a hint of the brand teal ---- */
body.light-mode .band::before {
    background-image:
        linear-gradient(to right, rgba(3, 105, 161, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(3, 105, 161, 0.06) 1px, transparent 1px);
}
body.light-mode .band-about     { background: linear-gradient(180deg, #e4ecf2, #ebf1f5); border-top-color: var(--day-border); }
body.light-mode .band-services  { background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(3, 105, 161, 0.07), transparent 70%), #f7f9fb; border-top-color: var(--day-border); }
body.light-mode .band-portfolio { background: radial-gradient(ellipse 80% 55% at 50% 62%, #d6e3ec 0%, #e3ecf2 55%, #edf2f6 100%); border-top-color: var(--day-border); }
body.light-mode .band-process   { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(3, 105, 161, 0.07), transparent 70%), #f1f5f8; border-top-color: var(--day-border); }
body.light-mode #whatWeDo { border-top-color: var(--day-border); }
body.light-mode .band > .absolute.rounded-full { opacity: 0.3; }          /* ambient blobs: quieter */
body.light-mode .scroll-orb { opacity: 0.22; }

/* ---- Header ---- */
body.light-mode header {
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-color: var(--day-border) !important;
}
body.light-mode header.is-scrolled {
    border-color: var(--day-border-strong) !important;
    box-shadow: 0 8px 20px -14px rgba(17, 24, 39, 0.35);
}
body.light-mode nav a { font-weight: 700; }
body.light-mode nav a:hover { color: var(--day-accent) !important; }
body.light-mode nav a.border-cyan-400 { border-color: var(--day-accent) !important; }
body.light-mode [class*="border-2"][class*="bg-cyan-950"] {              /* FIS logo mark (header + footer) */
    background: #e0f2fe; border-color: var(--day-accent); color: var(--day-accent); box-shadow: none;
}
body.light-mode #themeToggleBtn { background: #fff; border-color: var(--day-border-strong); color: var(--day-body); box-shadow: none; }
body.light-mode #themeToggleBtn:hover { border-color: var(--day-accent); }

/* ---- Badges ---- */
body.light-mode .section-badge,
body.light-mode #home [class*="bg-cyan-950/30"] {
    background: #e0f2fe; border-color: #7cc4e6; color: var(--day-accent-strong); box-shadow: none;
}
body.light-mode #home [class*="bg-cyan-950/30"] { font-weight: 700; }

/* ---- Buttons: solid, readable, no glow ---- */
body.light-mode .btn-cyan-glow {
    background-image: linear-gradient(90deg, #0e7490, #1d4ed8) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px -6px rgba(29, 78, 216, 0.55);
}
body.light-mode .btn-cyan-glow:hover { filter: brightness(1.08); box-shadow: 0 10px 20px -8px rgba(29, 78, 216, 0.6); }
body.light-mode .partner-arrow { box-shadow: var(--day-shadow); }
body.light-mode .partner-arrow:hover { box-shadow: var(--day-shadow); }

/* ---- Filter tabs ---- */
body.light-mode .service-filter-btn:not(.active) {
    background: #fff; border-color: var(--day-border-strong); color: var(--day-body); box-shadow: none;
}
body.light-mode .service-filter-btn:not(.active):hover {
    background: #f0f9ff; border-color: var(--day-accent); color: var(--day-accent);
}
body.light-mode .service-filter-btn.active {
    background: var(--day-accent); border-color: var(--day-accent); color: #fff;
    box-shadow: 0 4px 10px -4px rgba(3, 105, 161, 0.55);
}

/* ---- Cards: service, about, offer, process, partner ---- */
body.light-mode .service-card,
body.light-mode .offer-tile,
body.light-mode .process-card,
body.light-mode .footer-cta {
    background: #fff;
    border: 1px solid var(--day-border);
    box-shadow: var(--day-shadow);
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.light-mode .about-card {
    background: #fff !important;
    border-color: var(--day-border) !important;
    box-shadow: var(--day-shadow) !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.light-mode .service-card:hover,
body.light-mode .offer-tile:hover,
body.light-mode .process-card:hover {
    border-color: var(--day-accent);
    box-shadow: var(--day-shadow-hover);
}
body.light-mode .service-card:hover { transform: translateY(-4px); }
body.light-mode .about-card:hover { border-color: var(--day-accent) !important; }
body.light-mode .service-card-item > div.absolute { display: none; }      /* corner glow blob */
body.light-mode .partner-card {
    background: #fff; border-color: var(--day-border); box-shadow: var(--day-shadow);
}
body.light-mode .partner-card.is-center { border-color: var(--day-accent); box-shadow: var(--day-shadow-hover); }
body.light-mode .partner-logo { box-shadow: inset 0 0 0 1px var(--day-border); }

/* Icon tiles */
body.light-mode .service-icon,
body.light-mode .about-card > div:first-child,
body.light-mode .offer-icon,
body.light-mode .fe-ic {
    background: #e0f2fe; border: 1px solid #9fd3ee; color: var(--day-accent); box-shadow: none;
}
body.light-mode .about-card > div[class*="emerald-950"] { background: #d1fae5; border-color: #6ee7b7; color: #047857; }
body.light-mode .service-card:hover .service-icon {
    background: var(--day-accent); border-color: var(--day-accent); color: #fff;
    transform: scale(1.06); box-shadow: none;
}

/* Service badges: tinted chip + dark text of the same hue */
body.light-mode .service-card-item span.rounded-full {
    background: #e0f2fe; border-color: #9fd3ee; color: var(--day-accent-strong); font-weight: 700;
}
body.light-mode .service-card-item span.rounded-full[class*="emerald-950"] { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
body.light-mode .service-card-item span.rounded-full[class*="purple-950"]  { background: #f3e8ff; border-color: #d8b4fe; color: #6b21a8; }
body.light-mode .service-card-item span.rounded-full[class*="amber-950"]   { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
body.light-mode .service-card-item span.rounded-full[class*="blue-950"]    { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }

/* Tech-stack pills */
body.light-mode .service-card-item .flex-wrap > span {
    background: #f1f5f9; border-color: var(--day-border); color: var(--day-body); font-weight: 600;
}

/* "Explore" link row */
body.light-mode .service-card-item [role="button"] { color: var(--day-accent); }
body.light-mode .service-card-item [role="button"]:hover { color: var(--day-accent-strong); }

/* ---- Modal ---- */
body.light-mode #serviceModal button[class*="bg-cyan-950"],
body.light-mode #serviceModal button[class*="bg-slate-900"] {
    background: #f1f5f9; border-color: var(--day-border-strong); color: var(--day-body);
}
body.light-mode #serviceModal button[class*="bg-cyan-950"]:hover,
body.light-mode #serviceModal button[class*="bg-slate-900"]:hover { background: #e2e8f0; color: var(--day-heading); }
body.light-mode #serviceModal .text-emerald-400 { color: #047857; }

/* ---- Footer ---- */
body.light-mode .footer-social { background-color: #e2e8f0; }
body.light-mode .site-footer .footer-link:hover { color: var(--day-accent) !important; }

/* ---- Focus + scrollbar (the dark-mode cyan ring / dark track were invisible or jarring) ---- */
body.light-mode a:focus-visible,
body.light-mode button:focus-visible,
body.light-mode .service-card-item [role="button"]:focus-visible { outline-color: var(--day-accent); }
html:has(body.light-mode)::-webkit-scrollbar-track { background: #eef2f6; }
html:has(body.light-mode)::-webkit-scrollbar-thumb { background: #b9c6d4; }
html:has(body.light-mode)::-webkit-scrollbar-thumb:hover { background: var(--day-accent); }

/* ---- faceex.html parity ---- */
body.light-mode .fe-card, body.light-mode .fe-step, body.light-mode .fe-spec {
    background: #fff; border-color: var(--day-border); box-shadow: var(--day-shadow);
}
body.light-mode .fe-card:hover { border-color: var(--day-accent); box-shadow: var(--day-shadow-hover); }
body.light-mode .fe-row { border-bottom-color: var(--day-border); }
body.light-mode .fe-hero { background: radial-gradient(circle at 50% 42%, #dfeaf1 0%, #e9f0f5 45%, #f2f6f9 100%); }
body.light-mode #feSystem   { background: linear-gradient(180deg, #e4ecf2, #ebf1f5); border-top-color: var(--day-border); }
body.light-mode #feFeatures { background: radial-gradient(ellipse 70% 35% at 50% 0%, rgba(3, 105, 161, 0.07), transparent 70%), #f7f9fb; border-top-color: var(--day-border); }
body.light-mode #fePrivacy  { background: radial-gradient(ellipse 80% 60% at 50% 50%, #d6e3ec, #e3ecf2 55%, #edf2f6); border-top-color: var(--day-border); }
body.light-mode #specs      { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(3, 105, 161, 0.07), transparent 70%), #f1f5f8; border-top-color: var(--day-border); }
body.light-mode .fe-lbl, body.light-mode .fe-pill { background: #e0f2fe; border-color: #7cc4e6; color: var(--day-accent-strong); box-shadow: none; }
body.light-mode .fe-btn:not(.fe-ghost) { background: linear-gradient(90deg, #0e7490, #1d4ed8); box-shadow: 0 6px 16px -6px rgba(29, 78, 216, 0.55); }
body.light-mode .fe-btn.fe-ghost { color: var(--day-accent-strong); background: #fff; border-color: var(--day-border-strong); }

/* =====================================================================
   Certifications & Achievements  (#certifications)
   Uses the same 3D carousel component as Trusted Partners (.partner-stage / .partner-card /
   .partner-logo / .partner-name / .partner-arrow). Only the differences are defined here.
   ===================================================================== */
.band-certs {
    --grid: 64px; --grid-a: 0.03;
    background: radial-gradient(ellipse 80% 55% at 50% 58%, #0a4a53 0%, #063540 45%, #03181f 100%);
    border-top: 1px solid rgba(0, 242, 254, 0.28);
}

/* Certificates are portrait pages, so the stage and cards are taller than the logo cards */
.cert-stage { height: 560px; }
.partner-card.cert-slide { display: block; width: 280px; color: inherit; text-decoration: none; cursor: pointer; }
.cert-slide .partner-logo { position: relative; height: 360px; padding: 0; border-radius: 14px; }
.cert-slide .partner-logo img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.cert-slide .partner-name { font-size: 16px; }
.cert-sub { margin-top: 4px; min-height: 2.5em; font-size: 12.5px; line-height: 1.25; color: #8fa3ab; }
.partner-card.cert-slide.is-center .cert-sub { color: #c5ced3; }

/* Hover highlight (transform is owned by the carousel script, so use outline/glow only) */
.cert-slide:hover { border-color: rgba(0, 242, 254, 0.55); }
.cert-slide .partner-logo { transition: box-shadow 0.35s ease; }
.cert-slide:hover .partner-logo,
.cert-slide:focus-visible .partner-logo { box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.85), 0 0 26px rgba(0, 242, 254, 0.45); }
.cert-slide:hover .partner-logo img { transform: scale(1.03); }
.cert-slide:hover .partner-name { color: #67e8f9; }
.cert-slide:focus-visible { outline: 2px solid #00f2fe; outline-offset: 4px; }

/* Small "opens a PDF" corner icon: on hover, and always on the centred card for touch screens */
.cert-open {
    position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 9999px;
    display: flex; align-items: center; justify-content: center; font-size: 11px;
    color: #02090d; background: #00f2fe; box-shadow: 0 0 14px rgba(0, 242, 254, 0.55);
    opacity: 0; transform: scale(0.8); transition: opacity 0.25s ease, transform 0.3s ease; pointer-events: none;
}
.cert-slide:hover .cert-open, .cert-slide:focus-visible .cert-open { opacity: 1; transform: scale(1); }
@media (hover: none) { .partner-card.cert-slide.is-center .cert-open { opacity: 1; transform: scale(1); } }

@media (min-width: 1100px) {
    #certPrev { left: 3rem; }
    #certNext { right: 3.5rem; }
}
@media (max-width: 640px) {
    .cert-stage { height: 460px; }
    .partner-card.cert-slide { width: 216px; }
    .cert-slide .partner-logo { height: 272px; }
    .cert-slide .partner-name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .cert-slide .partner-logo img, .cert-open { transition: none; }
    .cert-slide:hover .partner-logo img { transform: none; }
}
/* No-JS / script-failure fallback: plain scrollable row, same as the partner carousel */
html:not(.js) .cert-stage { height: auto; }
html:not(.js) .partner-card.cert-slide { flex: 0 0 240px; }

/* Day mode */
body.light-mode .band-certs {
    background: radial-gradient(ellipse 80% 55% at 50% 58%, #d6e3ec 0%, #e3ecf2 55%, #edf2f6 100%);
    border-top-color: var(--day-border);
}
body.light-mode .cert-sub { color: var(--day-muted); }
body.light-mode .partner-card.cert-slide.is-center .cert-sub { color: var(--day-body); }
body.light-mode .cert-slide:hover { border-color: var(--day-accent); }
body.light-mode .cert-slide:hover .partner-logo,
body.light-mode .cert-slide:focus-visible .partner-logo { box-shadow: 0 0 0 2px var(--day-accent), 0 8px 22px rgba(3, 105, 161, 0.3); }
body.light-mode .cert-slide:hover .partner-name { color: var(--day-accent); }
body.light-mode .cert-open { background: var(--day-accent); color: #fff; box-shadow: none; }
