:root {
    --navy: #0d1b4b;
    --navy2: #122060;
    --mint: #3de89e;
    --mint2: #28d485;
    --purple: #6b5ce7;
    --white: #ffffff;
    --paper: #f4f6fc;
    --muted: #7a85a3;
    --border: rgba(13, 27, 75, 0.10);
    --ff: 'Plus Jakarta Sans', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* KEY FIX: body must NOT have overflow-x:hidden — it breaks IntersectionObserver on mobile */
body {
    font-family: var(--ff);
    background: var(--white);
    color: var(--navy);
}

/* Contain overflow at wrapper level using clip (doesn't break scroll context) */
.page-wrapper {
    overflow-x: clip;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--paper);
}

::-webkit-scrollbar-thumb {
    background: var(--mint);
    border-radius: 10px;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 60px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

nav.scrolled {
    box-shadow: 0 4px 30px rgba(13, 27, 75, 0.08);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.logo-o {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--mint);
    border-radius: 50%;
    margin: 0 2px;
    flex-shrink: 0;
}

.logo-o svg {
    width: 11px;
    height: 11px;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}

.nav-links li{
    padding: 18px 0px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--navy);
}

.has-dd {
    position: relative;
}

.has-dd:hover .dd {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dd {
    position: absolute;
    top: calc(70% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    list-style: none;
    box-shadow: 0 12px 40px rgba(13, 27, 75, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s;
}

.dd li{
    padding: 0px;
}

.dd li a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    color: var(--navy);
    font-weight: 500;
    transition: background 0.15s;
    text-decoration: none;
}

.dd li a:hover {
    background: var(--paper);
    color: var(--purple);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 40px;
    font-weight: 700;
    font-family: var(--ff);
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy2);
    box-shadow: 0 8px 24px rgba(13, 27, 75, 0.25);
}

.btn-mint {
    background: var(--mint);
    color: var(--navy);
}

.btn-mint:hover {
    background: var(--mint2);
    box-shadow: 0 8px 24px rgba(61, 232, 158, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 60px 56px;
    gap: 48px;
    position: relative;
    /* KEY FIX: use clip not hidden so it doesn't affect scroll detection */
    overflow: clip;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -250px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 232, 158, 0.13) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 92, 231, 0.16) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-left {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 40px;
    background: rgba(61, 232, 158, 0.12);
    border: 1px solid rgba(61, 232, 158, 0.3);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--mint);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.2
    }
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 18px;
}

.hero h1 .hl {
    color: var(--mint);
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 36px;
}

.hstat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    transition: border-color 0.3s;
}

.hstat:hover {
    border-color: rgba(61, 232, 158, 0.3);
}

.hstat-num {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
}

.hstat-num em {
    color: var(--mint);
    font-style: normal;
}

.hstat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

/* Hero visual right */
.hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Generous padding so pills float visibly outside the card */
.hero-card-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 52px 20px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(20px);
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.hc-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 14px;
}

.hc-metric {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.hc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(61, 232, 158, 0.18);
    color: var(--mint);
    border: 1px solid rgba(61, 232, 158, 0.25);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Bar chart — height set so bars are clearly visible */
.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 56px;
    width: 100%;
}

.mini-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px 4px 2px 2px;
    position: relative;
}

.mini-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--mint) 0%, rgba(61, 232, 158, 0.45) 100%);
    border-radius: 4px 4px 2px 2px;
}

/* Pills — relative to .hero-card-wrap, float outside card edges */
.fpill {
    position: absolute;
    background: var(--white);
    border-radius: 50px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    z-index: 2;
}

.fpill-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fpill-sub {
    font-size: 0.62rem;
    color: var(--muted);
    font-weight: 500;
    display: block;
    margin-bottom: 1px;
}

.fpill strong {
    font-size: 0.82rem;
    color: var(--navy);
    display: block;
}

/* Top-right corner of wrap */
.fp1 {
    top: 4px;
    right: 0;
    animation: floatY 4s 0.5s ease-in-out infinite;
}

/* Bottom-left corner of wrap */
.fp2 {
    bottom: 4px;
    left: 0;
    animation: floatY 4.5s 1s ease-in-out infinite;
}

/* ── MARQUEE STRIP ── */
.strip {
    background: var(--mint);
    padding: 13px 0;
    overflow: hidden;
    display: flex;
}

.strip-track {
    display: flex;
    gap: 56px;
    align-items: center;
    animation: marquee 28s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.strip-item {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sdot {
    width: 5px;
    height: 5px;
    background: rgba(13, 27, 75, 0.35);
    border-radius: 50%;
}

/* ── SECTION SHARED ── */
section {
    padding: 72px 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 12px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
}

h2.stitle {
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--navy);
}

h2.stitle .a {
    color: var(--purple);
}

.ssub {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.65;
    margin-top: 12px;
    font-weight: 300;
}

.sh {
    margin-bottom: 44px;
}

/* ── ABOUT ── */
.about {
    background: var(--paper);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding: 20px;
}

/* Rich dashboard replacing blank card */
.av-dashboard {
    background: var(--navy);
    border-radius: 24px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.av-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.av-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(61, 232, 158, 0.14), transparent 65%);
    pointer-events: none;
}

.av-glow2 {
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(107, 92, 231, 0.1), transparent 65%);
    pointer-events: none;
}

.av-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.av-dash-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.av-live {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(61, 232, 158, 0.12);
    border: 1px solid rgba(61, 232, 158, 0.2);
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--mint);
}

.av-live-dot {
    width: 5px;
    height: 5px;
    background: var(--mint);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

.av-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.av-kpi {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 11px;
    padding: 11px 12px;
}

.av-kpi-label {
    font-size: 0.56rem;
    color: rgba(255, 255, 255, 0.32);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.av-kpi-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.av-kpi-val em {
    color: var(--mint);
    font-style: normal;
}

.av-kpi-change {
    font-size: 0.58rem;
    font-weight: 600;
    margin-top: 3px;
}

.av-kpi-change.up {
    color: var(--mint);
}

.av-kpi-change.dn {
    color: #f87171;
}

.av-chart-label {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.28);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.av-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 64px;
    position: relative;
    z-index: 1;
}

.av-bar {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    min-width: 0;
}

.av-bar.g {
    background: linear-gradient(180deg, var(--mint), rgba(61, 232, 158, 0.25));
}

.av-bar.p {
    background: rgba(107, 92, 231, 0.35);
}

.av-channels {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.av-ch {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 4px 9px;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.av-ch-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.av-badge {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 28px rgba(13, 27, 75, 0.14);
    z-index: 3;
}

.av-b1 {
    bottom: 4px;
    right: 4px;
}

.av-b2 {
    top: 4px;
    left: 4px;
}

.avb-label {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 3px;
}

.avb-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.avb-value em {
    color: var(--mint);
    font-style: normal;
}

.about-pts {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.apt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.apt-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(107, 92, 231, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.apt h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.apt p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ── SERVICES ── */
.services {
    background: var(--white);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.svc-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 24px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 27, 75, 0.09);
    border-color: transparent;
}

.svc-card:hover::before {
    transform: scaleX(1);
}

.svc-ico {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.svc-ico.c1 {
    background: rgba(61, 232, 158, 0.1);
}

.svc-ico.c2 {
    background: rgba(107, 92, 231, 0.1);
}

.svc-ico.c3 {
    background: rgba(13, 27, 75, 0.07);
}

.svc-ico.c4 {
    background: rgba(245, 166, 35, 0.1);
}

.svc-ico.c5 {
    background: rgba(232, 64, 28, 0.1);
}

.svc-ico.c6 {
    background: rgba(61, 232, 158, 0.08);
}

.svc-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--navy);
}

.svc-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple);
    margin-top: 14px;
    text-decoration: none;
    transition: gap 0.2s;
}

.svc-link:hover {
    gap: 9px;
}

/* ── CASE STUDIES ── */
.cases {
    background: var(--navy);
}

.cases .eyebrow {
    color: var(--mint);
}

.cases .eyebrow::before {
    background: var(--mint);
}

.cases h2.stitle {
    color: var(--white);
}

.cases h2.stitle .a {
    color: var(--mint);
}

.cases .ssub {
    color: rgba(255, 255, 255, 0.48);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    cursor: default;
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(61, 232, 158, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint), var(--purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.case-card:hover::after {
    transform: scaleX(1);
}

/* Subtle bg glow per card */
.case-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.case-card:hover::before {
    opacity: 1;
}

.case-card.cc1::before {
    background: radial-gradient(circle, rgba(61, 232, 158, 0.1), transparent 70%);
}

.case-card.cc2::before {
    background: radial-gradient(circle, rgba(107, 92, 231, 0.12), transparent 70%);
}

.case-card.cc3::before {
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1), transparent 70%);
}

.case-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.case-tag.t1 {
    background: rgba(61, 232, 158, 0.12);
    color: var(--mint);
    border: 1px solid rgba(61, 232, 158, 0.2);
}

.case-tag.t2 {
    background: rgba(107, 92, 231, 0.12);
    color: #a89cf7;
    border: 1px solid rgba(107, 92, 231, 0.2);
}

.case-tag.t3 {
    background: rgba(245, 166, 35, 0.12);
    color: #f5c842;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.case-client {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.case-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 22px;
    font-weight: 300;
}

.case-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.case-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 12px 14px;
}

.case-metric-val {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
}

.case-metric-val em {
    color: var(--mint);
    font-style: normal;
}

.case-metric-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

.case-spend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
}

.case-spend-label {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.case-spend-val {
    color: var(--white);
    font-weight: 700;
}

/* ── PROCESS ── */
.process {
    background: var(--white);
}

.process .eyebrow {
    color: var(--purple);
}

.process .eyebrow::before {
    background: var(--purple);
}

.process h2.stitle {
    color: var(--navy);
}

.process h2.stitle .a {
    color: var(--purple);
}

.process .ssub {
    color: var(--muted);
    margin: 12px auto 0;
    text-align: center;
}

.proc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 44px;
}

/* Connecting dashed line between steps */
.proc-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(16.7% + 32px);
    right: calc(16.7% + 32px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}

.pstep {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.pstep:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 27, 75, 0.08);
    border-color: var(--purple);
}

.pstep-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: background 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
}

.pstep:hover .pstep-num {
    background: var(--mint);
    transform: scale(1.08);
}

/* Step number badge */
.pstep-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
}

.pstep h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.pstep p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── STATS ── */
.stats-sec {
    background: var(--paper);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.stat-box {
    background: var(--white);
    padding: 36px 24px;
    text-align: center;
    transition: background 0.25s;
}

.stat-box:hover {
    background: var(--navy);
}

.stat-box:hover .stat-num,
.stat-box:hover .stat-label {
    color: var(--white);
}

.stat-box:hover .stat-ico {
    background: rgba(255, 255, 255, 0.08);
}

.stat-ico {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(13, 27, 75, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.2rem;
    transition: background 0.25s;
}

.stat-num {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--navy);
    line-height: 1;
    transition: color 0.25s;
}

.stat-num em {
    color: var(--mint);
    font-style: normal;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
    transition: color 0.25s;
}

/* ── TESTIMONIALS ── */
.testi {
    background: var(--white);
}

.tgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.tcard {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.tcard:hover {
    box-shadow: 0 16px 40px rgba(13, 27, 75, 0.08);
    transform: translateY(-3px);
}

.tcard.dark {
    background: var(--navy);
    border-color: transparent;
}

.tq {
    font-size: 1.6rem;
    color: var(--purple);
    line-height: 1;
    margin-bottom: 10px;
}

.tcard.dark .tq {
    color: var(--mint);
}

.tstars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    color: #f5a623;
    font-size: 0.82rem;
}

.ttext {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 20px;
    font-weight: 300;
}

.tcard.dark .ttext {
    color: rgba(255, 255, 255, 0.62);
}

.tauthor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tavatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.tname {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--navy);
}

.tcard.dark .tname {
    color: var(--white);
}

.trole {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 2px;
}

.tcard.dark .trole {
    color: rgba(255, 255, 255, 0.38);
}

/* ── CLIENTS ── */
.clients-strip {
    background: var(--paper);
    padding: 44px 60px;
}

.cl-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}

.cl-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cl-logo {
    padding: 10px 15px;
    background: rgba(13, 27, 75, 0.06);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    cursor: default;
}

.cl-logo img{
    width: 100px;
}

.cl-logo:hover {
    background: var(--navy);
    color: var(--white);
}
.cl-logo:hover img{
    filter: brightness(0) invert(1);
}

.cl-logo:hover .no-filter{
    filter: brightness(1) invert(0);
}
/* ── CTA ── */
.cta-sec {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2f6e 55%, var(--navy2) 100%);
    text-align: center;
    padding: 80px 60px;
    position: relative;
    overflow: clip;
}

.cta-sec::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(61, 232, 158, 0.11) 0%, transparent 65%);
    pointer-events: none;
}

.cta-sec h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    max-width: 620px;
    margin: 0 auto 14px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.cta-sec h2 em {
    color: var(--mint);
    font-style: normal;
}

.cta-sec p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.95rem;
    max-width: 420px;
    margin: 0 auto 30px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
    background: #070e27;
    color: rgba(255, 255, 255, 0.52);
    padding: 60px 60px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 44px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo .logo-o {
    background: var(--mint);
}

.fbrand p {
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 260px;
}

.fsocial {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.fsoc {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fsoc:hover {
    background: var(--mint);
    color: var(--navy);
    border-color: var(--mint);
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 14px;
}

.flinks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flinks a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.44);
    text-decoration: none;
    transition: color 0.2s;
}

.flinks a:hover {
    color: var(--mint);
}

.fci {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.fci-ico {
    color: var(--mint);
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.fbottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
}

/* ── FADE-UP ANIMATION ── */
/* Use animation (not opacity:0 default) so content is ALWAYS visible even if JS fails */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease both;
}

/* Stagger delays handled inline via style="animation-delay:Xs" */
/* On mobile: instant, no animation */
@media(max-width:768px) {
    .fade-up {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
    nav {
        padding: 16px 28px;
    }

    section {
        padding: 60px 28px;
    }

    .hero {
        padding: 90px 28px 52px;
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .svc-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr 1fr;
    }

    .proc-steps {
        grid-template-columns: 1fr;
    }

    .proc-steps::before {
        display: none;
    }

    .pstep {
        padding: 28px 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tgrid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-sec {
        padding: 64px 28px;
    }

    .clients-strip {
        padding: 40px 28px;
    }
}

@media(max-width:680px) {
    nav {
        padding: 14px 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 88px 20px 48px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 52px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        padding: 14px;
    }

    .svc-grid {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tgrid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fbottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cl-logos {
        gap: 14px;
    }

    .clients-strip {
        padding: 36px 20px;
    }

    .cta-sec {
        padding: 56px 20px;
    }

    footer {
        padding: 48px 20px 28px;
    }
}