:root {
    --bg: #0a2a66;
    --primary-btn: #ffffff;
    --text-blue: #0a2a66;
    --accent-blue: #00329d;
    --light: #5eaeff;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
}

/* ════ NAV ════ */
.nav-wrap {
    position: fixed;
    top: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 5rem);
    max-width: 1300px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-radius: 100px;
    background: rgba(10, 42, 102, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-wrap.scrolled nav {
    background: rgba(7, 20, 58, 0.9);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo {
    width: 15rem;
    height: 3rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    color: #fff;
    text-decoration: none;
}

.logo > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    font-weight: 600;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: #fff;
    color: var(--text-blue);
    padding: 0.6rem 1.6rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ════ HERO ════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/imgs/bgs/bgArrow.svg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: brightness(0.2) saturate(1.5);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}

.orb1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.45) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: orbFloat1 9s ease-in-out infinite;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 50, 157, 0.6) 0%, transparent 70%);
    bottom: 50px;
    left: 10%;
    animation: orbFloat2 12s ease-in-out infinite;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(94, 174, 255, 0.3) 0%, transparent 70%);
    top: 30%;
    left: 40%;
    animation: orbFloat1 7s ease-in-out infinite reverse;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.97); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 950px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 11vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.05em;
    padding-top: 1rem;
}

.hero-title .italic-line {
    font-style: italic;
    font-size: clamp(3.5rem, 7vw, 7.5rem);
    color: var(--light);
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line-inner {
    display: block;
    transform: translateY(110%);
    animation: lineUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.1s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.25s; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.4s; }

@keyframes lineUp {
    to { transform: translateY(0); }
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.58);
    max-width: 460px;
    line-height: 1.75;
    margin: 2.2rem 0 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.82s forwards;
    padding-top: 2rem;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.liquid-blob {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.liquid-blob svg {
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 -10px 40px rgba(0, 50, 157, 0.5));
}

/* ════ BUTTONS ════ */
.btn-primary {
    background: #fff;
    color: var(--text-blue);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.btn-ghost:hover {
    color: #fff;
    border-color: #fff;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

/* ════ WAVE ════ */
.wave-div {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-div svg {
    display: block;
}

/* ════ REVEAL ════ */
.reveal {
    opacity: 0;
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.fb { transform: translateY(50px); }
.reveal.fl { transform: translateX(-55px); }
.reveal.fr { transform: translateX(55px); }
.reveal.si { transform: scale(0.88); }

.reveal.visible {
    opacity: 1;
    transform: none;
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; text-align: justify; }
.d3 { transition-delay: 0.3s; text-align: justify; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ════ STATS STRIP ════ */
.cstats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 4rem;
}

.cstat {
    background: rgba(10, 42, 102, 0.7);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: background 0.3s;
}

.cstat:hover {
    background: var(--accent-blue);
}

.cstat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    color: #fff;
}

.cstat-label {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.47);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.4rem;
}

/* ════ CTA ════ */
.cta-band {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 5rem;
}

.cta-band-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/imgs/healthcare.png');
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: brightness(0.13) saturate(1.5);
}

.cta-orb1 {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.35) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    filter: blur(60px);
    animation: orbFloat1 10s ease-in-out infinite;
}

.cta-orb2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 50, 157, 0.5) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    filter: blur(60px);
    animation: orbFloat2 13s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.cta-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.cta-content h2 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--light);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.53);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ════ FOOTER ════ */
footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 5rem 5rem 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand a {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 1rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.7;
    max-width: 270px;
    font-weight: 300;
}

.footer-col h4 {
    font-size: 0.67rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.26);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    font-size: 0.72rem;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.social-link:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* ════ RESPONSIVE ════ */
@media (max-width: 1100px) {
    .about {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .split-parallax {
        grid-template-columns: 1fr;
    }

    .split-left {
        min-height: 400px;
    }

    .cstats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-wrap {
        width: calc(100% - 2rem);
    }

    .nav-links {
        display: none;
    }

    .hero,
    .about,
    .services,
    .clients-section,
    .cta-band,
    footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .video-inner {
        padding: 4rem 1.5rem;
    }

    .services-header {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .clients-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .cstats {
        grid-template-columns: 1fr 1fr;
    }

    .split-right {
        padding: 4rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1.25rem;
        min-height: 600px;
    }

    .cta-band {
        padding: 4rem 1.25rem;
    }

    footer {
        padding: 3.5rem 1.25rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cstats {
        grid-template-columns: 1fr 1fr;
        border-radius: 16px;
    }

    .cstat {
        padding: 1.75rem 1rem;
    }

    .cstat-num {
        font-size: 2.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
}