:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --accent: #06b6d4;
    --ink: #0f172a;
    --slate: #64748b;
    --slate-light: #94a3b8;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-tint: #eef2ff;
    --border: #e2e8f0;
    --success: #16a34a;
    --amber: #f59e0b;
    --danger: #dc2626;
    --grad: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --font: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    transition: font-family 0.3s ease;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.lang-hi,
body.lang-mr {
    font-family: 'Noto Sans Devanagari', 'Inter', 'Segoe UI', sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============ Scroll reveal ============ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal-row:nth-child(1) {
    transition-delay: 0s;
}

.reveal-row:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-row:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-row:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-row:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal-row:nth-child(6) {
    transition-delay: 0.5s;
}

/* ============ Zoom / slide reveal variants ============ */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.82);
    transition: opacity 0.9s cubic-bezier(.16, 1, .3, 1), transform 0.9s cubic-bezier(.16, 1, .3, 1);
}

.reveal-zoom.in-view {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-left.in-view {
    opacity: 1;
    transform: none;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal-right.in-view {
    opacity: 1;
    transform: none;
}

/* ============ Keyframes: page-load + ambient motion ============ */
@keyframes navDropIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.55) rotate(-10deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.08) rotate(2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-16px) rotate(6deg);
    }
}

@keyframes floatYSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(14px);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseSoft {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Nav: slides in from the top on load */

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav {
    animation: navDropIn 1.1s cubic-bezier(.16, 1, .3, 1) both;
}

/* Hero: choreographed fade-up on load (independent of scroll) */
.hero-text.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.hero-text.reveal>* {
    opacity: 0;
    animation: fadeUpIn 1.1s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-text.reveal>*:nth-child(1) {
    animation-delay: 0.25s;
}

.hero-text.reveal>*:nth-child(2) {
    animation-delay: 0.45s;
}

.hero-text.reveal>*:nth-child(3) {
    animation-delay: 0.65s;
}

.hero-text.reveal>*:nth-child(4) {
    animation-delay: 0.85s;
}

.hero-text.reveal>*:nth-child(5) {
    animation-delay: 1.05s;
}

.hero-text.reveal>*:nth-child(6) {
    animation-delay: 1.25s;
}

.hero .mockup.reveal {
    opacity: 0;
    transform: none;
    transition: none;
    animation: fadeInScale 1.3s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: 0.7s;
}

.hero .mockup-floater {
    animation: popIn 1s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: 1.9s;
}

.trust-item svg {
    animation: pulseSoft 3.2s ease-in-out infinite;
}

.trust-item:nth-child(2) svg {
    animation-delay: 0.4s;
}

.trust-item:nth-child(3) svg {
    animation-delay: 0.8s;
}

/* Decorative floating vector shapes */
.float-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.float-shape.bob {
    animation: floatY 9s ease-in-out infinite;
}

.float-shape.bob-slow {
    animation: floatYSlow 11s ease-in-out infinite;
}

.float-shape.spin {
    animation: spinSlow 26s linear infinite;
}

/* Section titles: underline draws in once the heading scrolls into view */
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--grad);
    transition: width 1s cubic-bezier(.16, 1, .3, 1) 0.2s;
}

.section-head.in-view .section-title::after {
    width: 56px;
}

.about .section-title::after {
    background: rgba(255, 255, 255, 0.85);
}

/* Icons pop in with a little life once their row is revealed */
.reveal-row.in-view .feature-icon,
.reveal-row.in-view .domain-icon {
    animation: popIn 0.9s cubic-bezier(.16, 1, .3, 1) both;
}

/* Stat numbers count up */
.stat-number,
.mockup-stat .n {
    font-variant-numeric: tabular-nums;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--bg-tint);
    border: 1px solid #e0e2fb;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.3rem;
}

.badge-pill svg {
    width: 14px;
    height: 14px;
    animation: pulseSoft 3.4s ease-in-out infinite;
}

/* ============ Language Switcher ============ */
.lang-switcher {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.lang-btn {
    padding: 0.32rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: var(--slate);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============ Navigation ============ */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

nav .container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    gap: 1.2rem;
}

.logo img{
    width: 150px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-logo-text strong {
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.nav-logo-text small {
    font-size: 0.68rem;
    color: var(--slate);
    letter-spacing: 0.06em;
    font-weight: 600;
}

.nav-center {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav .nav-center a {
    color: #334155;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

nav .nav-center a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transition: width 0.25s ease;
}

nav .nav-center a.active nav .nav-center a:hover {
    color: var(--primary);
}

nav .nav-center a.active::after, nav .nav-center a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    background: var(--grad);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.mobile-menu {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--ink);
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
    cursor: pointer;
}

.small-menu{
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}

/* ============ Hero ============ */
.hero {
    margin-top: 64px;
    padding: 5.5rem 2rem 5rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.parallax-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translateY(var(--py, 0px));
}

.blob-1 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
    top: -220px;
    right: -160px;
}

.blob-2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    bottom: -200px;
    left: -140px;
}

.hero-content {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.hero-text .tagline {
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.3rem;
}

.hero-text p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--slate);
    line-height: 1.8;
    max-width: 48ch;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}

.btn {
    padding: 0.9rem 1.9rem;
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--grad);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: var(--ink);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate);
    font-size: 0.88rem;
    font-weight: 500;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

/* ---- Dashboard mockup (hero visual) ---- */
.mockup {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    position: relative;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) {
    background: #f87171;
}

.mockup-dot:nth-child(2) {
    background: var(--amber);
}

.mockup-dot:nth-child(3) {
    background: var(--success);
}

.mockup-url {
    margin-left: 0.6rem;
    font-size: 0.72rem;
    color: var(--slate-light);
    background: white;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.2rem 0.6rem;
    flex: 1;
}

.mockup-body {
    padding: 1.4rem;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.mockup-stat {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.8rem 0.7rem;
}

.mockup-stat .n {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
}

.mockup-stat .l {
    font-size: 0.68rem;
    color: var(--slate-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.15rem;
}

.mockup-stat .n.up {
    color: var(--success);
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 90px;
    padding: 0.8rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1.2rem;
}

.mockup-bar-el {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: var(--grad);
    opacity: 0.85;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.mockup.in-view .mockup-bar-el {
    transform: scaleY(1);
}

.mockup-bar-el:nth-child(1) {
    transition-delay: 0.05s;
}

.mockup-bar-el:nth-child(2) {
    transition-delay: 0.1s;
}

.mockup-bar-el:nth-child(3) {
    transition-delay: 0.15s;
}

.mockup-bar-el:nth-child(4) {
    transition-delay: 0.2s;
}

.mockup-bar-el:nth-child(5) {
    transition-delay: 0.25s;
}

.mockup-bar-el:nth-child(6) {
    transition-delay: 0.3s;
}

.mockup-bar-el:nth-child(7) {
    transition-delay: 0.35s;
}

.mockup-tasks {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mockup-task {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
}

.mockup-task .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-task .check svg {
    width: 12px;
    height: 12px;
}

.mockup-floater {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 32px -10px rgba(15, 23, 42, 0.2);
    padding: 0.8rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.mockup-floater .ico {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mockup-floater .ico svg {
    width: 18px;
    height: 18px;
}

.mockup-floater .txt .n {
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.1;
}

.mockup-floater .txt .l {
    font-size: 0.68rem;
    color: var(--slate-light);
    font-weight: 600;
}

/* ============ Section shells ============ */
section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-mark {
    position: absolute;
    top: -2.6rem;
    left: 50%;
    transform: translateX(-50%) translateY(var(--py, 0px));
    will-change: transform;
    font-size: 7.5rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.045);
    letter-spacing: -0.03em;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    position: relative;
}

.section-subtitle {
    color: var(--slate);
    font-size: 1.05rem;
    position: relative;
}

/* Services tree diagram */
.services-tree {
    position: relative;
    max-width: 1100px;
    margin: 55px auto 0;
    padding: 20px 0 30px;
}
.services-tree .tree-root {
    position: relative;
    z-index: 2;
    margin: 0 auto 58px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(79,70,229,.22);
}
.services-tree .tree-root h3 {
    margin: 0;
    font-size: 1.25rem;
}
.services-tree .tree-root p {
    margin: 6px 0 0;
    opacity: .9;
    font-size: .9rem;
}
.services-tree .tree-branches {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 34px;
}
.services-tree .tree-branches::before {
    content: "";
    position: absolute;
    top: -58px;
    left: 16.66%;
    right: 16.66%;
    height: 58px;
    border-top: 2px solid rgba(79,70,229,.28);
}
.services-tree .tree-branches::after {
    content: "";
    position: absolute;
    top: -58px;
    left: 50%;
    width: 2px;
    height: 58px;
    background: rgba(79,70,229,.28);
}
.services-tree .tree-node {
    position: relative;
    min-height: 145px;
    padding: 22px 20px 20px 72px;
    border: 1px solid rgba(79,70,229,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 28px rgba(15,23,42,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.services-tree .tree-node::before {
    content: "";
    position: absolute;
    top: -29px;
    left: 50%;
    width: 2px;
    height: 29px;
    background: rgba(79,70,229,.28);
}
.services-tree .tree-node::after {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(79,70,229,.08);
}
.services-tree .tree-node:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15,23,42,.12);
}
.services-tree .tree-icon {
    position: absolute;
    left: 18px;
    top: 22px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(79,70,229,.09);
    color: var(--primary);
}
.services-tree .tree-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.services-tree .tree-num {
    position: absolute;
    right: 16px;
    top: 13px;
    font-size: .72rem;
    font-weight: 800;
    opacity: .35;
}
.services-tree .tree-node h3 {
    margin: 0 28px 8px 0;
    font-size: 1.02rem;
}
.services-tree .tree-node p {
    margin: 0;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.55;
}

/* ============ Vision ============ */
.vision {
    background: white;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.vision-text h2 {
    color: var(--ink);
    font-size: 1.9rem;
    margin-bottom: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.vision-text p {
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.vision-box {
    background: var(--bg-tint);
    padding: 1.7rem;
    border-radius: 14px;
    margin-top: 1.5rem;
    border-left: 3px solid var(--primary);
}

.vision-box h3 {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.vision-box p {
    color: #4c4f8a;
    font-size: 0.93rem;
    margin-bottom: 0;
}

.vision-card {
    background: var(--bg-soft);
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.15);
}

.vision-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.vision-card-head span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vision-card-head .up {
    color: var(--success);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vision-line-chart {
    width: 100%;
    height: auto;
    display: block;
}

.vision-line-chart polyline.animated-line {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .3, 1);
}

.vision-card.in-view .animated-line {
    stroke-dashoffset: 0;
}

.vision-legend {
    display: flex;
    gap: 1.4rem;
    margin-top: 1rem;
}

.vision-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--slate);
}

.vision-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ============ Expertise — zig-zag domain rows ============ */
/* ===== Expertise concept previews ===== */
.expertise-hub, .expertise-hex {
    max-width: 1120px;
    margin: 55px auto 10px;
}

/* Radial hub */
.expertise-hub {
    position: relative;
    min-height: 650px;
    display: grid;
    place-items: center;
}
.hub-center {
    position: relative;
    z-index: 4;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 22px 55px rgba(79,70,229,.25);
}
.hub-center strong { display:block; font-size:1.35rem; }
.hub-center span { display:block; margin-top:8px; font-size:.82rem; opacity:.9; }
.hub-ring {
    position:absolute;
    width:360px;
    height:360px;
    border:1px dashed rgba(79,70,229,.22);
    border-radius:50%;
}
.hub-card {
    position:absolute;
    width:245px;
    min-height:132px;
    padding:20px 20px 18px 66px;
    border:1px solid rgba(79,70,229,.12);
    border-radius:18px;
    background:rgba(255,255,255,.94);
    box-shadow:0 12px 32px rgba(15,23,42,.08);
    transition:.25s ease;
}
.hub-card:hover { transform:scale(1.04); box-shadow:0 20px 42px rgba(15,23,42,.14); }
.hub-card::before {
    content:"";
    position:absolute;
    width:110px;
    height:1px;
    background:rgba(79,70,229,.22);
    top:50%;
}
.hub-card .hub-icon {
    position:absolute;
    left:17px;
    top:18px;
    width:38px;
    height:38px;
    border-radius:11px;
    display:grid;
    place-items:center;
    color:var(--primary);
    background:rgba(79,70,229,.09);
}
.hub-card svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hub-card h3 { margin:0 0 6px; font-size:1rem; }
.hub-card p { margin:0; color:#64748b; font-size:.8rem; line-height:1.45; }
.hub-card:nth-of-type(2) { top:0; left:50%; transform:translateX(-50%); }
.hub-card:nth-of-type(2)::before { left:50%; top:100%; width:1px; height:110px; }
.hub-card:nth-of-type(3) { top:112px; right:0; }
.hub-card:nth-of-type(3)::before { right:100%; }
.hub-card:nth-of-type(4) { bottom:105px; right:0; }
.hub-card:nth-of-type(4)::before { right:100%; }
.hub-card:nth-of-type(5) { bottom:0; left:50%; transform:translateX(-50%); }
.hub-card:nth-of-type(5)::before { left:50%; bottom:100%; width:1px; height:100px; }
.hub-card:nth-of-type(6) { bottom:105px; left:0; }
.hub-card:nth-of-type(6)::before { left:100%; }
.hub-card:nth-of-type(7) { top:112px; left:0; }
.hub-card:nth-of-type(7)::before { left:100%; }

/* Hexagon network */
.expertise-hex {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:35px 48px;
    position:relative;
    padding:30px 15px;
}
.hex-card {
    position:relative;
    min-height:190px;
    padding:28px 24px;
    clip-path:polygon(12% 0,88% 0,100% 50%,88% 100%,12% 100%,0 50%);
    background:linear-gradient(145deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    box-shadow:0 14px 30px rgba(15,23,42,.08);
    transition:.25s ease;
}
.hex-card:hover { transform:translateY(-7px); }
.hex-card-inner {
    height:100%;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.hex-icon {
    width:48px;
    height:48px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:rgba(79,70,229,.09);
    color:var(--primary);
    margin-bottom:12px;
}
.hex-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hex-card h3 { margin:0 0 7px; font-size:1.03rem; }
.hex-card p { max-width:235px; margin:0; color:#64748b; font-size:.79rem; line-height:1.45; }
.hex-card:nth-child(1), .hex-card:nth-child(4) { transform:translateY(35px); }
.hex-card:nth-child(1):hover, .hex-card:nth-child(4):hover { transform:translateY(28px); }
.hex-card:nth-child(3), .hex-card:nth-child(6) { transform:translateY(35px); }
.hex-card:nth-child(3):hover, .hex-card:nth-child(6):hover { transform:translateY(28px); }


/* ============ About — unified stat bar (single container) ============ */
.about {
    background: var(--grad);
    color: white;
}

.about .section-title {
    color: white;
}

.about .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.about .section-mark {
    color: rgba(255, 255, 255, 0.08);
}

.about-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.stat-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.stat-bar-item {
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.3s ease, transform 0.3s ease;
}

.stat-bar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.stat-bar-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.4rem;
    color: white;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============ Contact — single unified split panel ============ */
.contact {
    background: var(--bg-soft);
}

.contact .section-title {
    color: var(--ink);
}

.contact .section-subtitle {
    color: var(--slate);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.2);
}

.contact-info-card {
    background: var(--ink);
    color: white;
    padding: 2.4rem;
}

.contact-info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    padding-bottom: 1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease;
}

.info-row:hover {
    transform: translateX(4px);
}

.contact-wrapper.in-view .info-row {
    animation: fadeUpIn 0.9s cubic-bezier(.16, 1, .3, 1) both;
}

.contact-wrapper.in-view .info-row:nth-child(3) {
    animation-delay: 0.1s;
}

.contact-wrapper.in-view .info-row:nth-child(4) {
    animation-delay: 0.2s;
}

.contact-wrapper.in-view .info-row:nth-child(5) {
    animation-delay: 0.3s;
}

.contact-wrapper.in-view .info-row:nth-child(6) {
    animation-delay: 0.4s;
}

.contact-wrapper.in-view .info-row:nth-child(7) {
    animation-delay: 0.5s;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-value {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    word-break: break-word;
}

.info-value a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-value a:hover {
    color: white;
    text-decoration: underline;
}

/* ---- Form ---- */
.contact-form {
    background: white;
    padding: 2.4rem;
}

.contact-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    color: var(--ink);
}

.form-group {
    margin-bottom: 1.05rem;
    position: relative;
}

.contact-wrapper.in-view .contact-form .form-group {
    animation: fadeUpIn 0.85s cubic-bezier(.16, 1, .3, 1) both;
}

.contact-wrapper.in-view .contact-form .form-group:nth-of-type(1) {
    animation-delay: 0.15s;
}

.contact-wrapper.in-view .contact-form .form-group:nth-of-type(2) {
    animation-delay: 0.28s;
}

.contact-wrapper.in-view .contact-form .form-group:nth-of-type(3) {
    animation-delay: 0.41s;
}

.contact-wrapper.in-view .contact-form .form-group:nth-of-type(4) {
    animation-delay: 0.54s;
}

.contact-wrapper.in-view .contact-form h3 {
    animation: fadeUpIn 0.8s cubic-bezier(.16, 1, .3, 1) both;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.88rem;
}

.form-group .required {
    color: var(--danger);
    margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.94rem;
    background: var(--bg-soft);
    color: var(--ink);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.valid input,
.form-group.valid textarea {
    border-color: var(--success);
    background: #f0fdf4;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--danger);
    background: #fef2f2;
}

.validation-icon {
    position: absolute;
    right: 12px;
    top: 30px;
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--success);
}

.form-group.valid .validation-icon {
    opacity: 1;
}

.form-group.invalid .validation-icon {
    opacity: 0;
}

.error-message {
    display: none;
    margin-top: 0.35rem;
    padding: 0.4rem 0.6rem;
    background: #fee2e2;
    color: #7f1d1d;
    border-left: 3px solid var(--danger);
    border-radius: 5px;
    font-size: 0.82rem;
}

.success-message {
    display: none !important;
}

.form-group.invalid .error-message {
    display: block;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 9px;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.92rem;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 3px solid var(--success);
}

.alert-error {
    background: #fef2f2;
    color: #7f1d1d;
    border-left: 3px solid var(--danger);
}

.form-loading {
    display: none;
    text-align: center;
    padding: 1rem;
    font-size: 0.88rem;
    color: var(--slate);
}

.spinner {
    border: 3px solid var(--border);
    border-radius: 50%;
    border-top: 3px solid var(--primary);
    width: 26px;
    height: 26px;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 0.7rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============ Footer ============ */
footer {
    background: var(--ink);
    color: #94a3b8;
    text-align: center;
    padding: 1.8rem 2rem;
    font-size: 0.88rem;
}

footer p:first-child {
    color: #cbd5e1;
    margin-bottom: 0.3rem;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .vision-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .mockup-floater {
        display: none;
    }

    .feature-row {
        grid-template-columns: 52px 1fr;
        padding: 1.7rem 0.5rem;
    }

    .feature-num {
        display: none;
    }

    .domain-row,
    .domain-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .domain-row:nth-child(even) .domain-copy,
    .domain-row .domain-copy {
        align-items: center;
    }

    .domain-row:nth-child(even) .domain-tag {
        align-self: center;
    }
}

@media (max-width: 800px) {
    .services-tree .tree-branches {
        grid-template-columns: 1fr 1fr;
    }
    .services-tree .tree-branches::before {
        left: 25%;
        right: 25%;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }

    section {
        padding: 4rem 1.3rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-mark {
        font-size: 4rem;
        top: -1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .trust-row {
        gap: 1rem;
    }

    .stat-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-bar-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 560px) {
    .services-tree {
        margin-top: 40px;
    }
    .services-tree .tree-root {
        margin-bottom: 48px;
    }
    .services-tree .tree-branches {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .services-tree .tree-branches::before,
    .services-tree .tree-branches::after {
        display: none;
    }
    .services-tree .tree-node::before {
        top: -24px;
        height: 24px;
    }
    .services-tree .tree-node::after {
        display: none;
    }
}


@media(max-width:850px) {
    .expertise-hub { min-height:820px; }
    .hub-card { width:220px; }
    .hub-ring { width:300px; height:300px; }
    .expertise-hex { grid-template-columns:repeat(2,1fr); gap:25px; }
    .hex-card:nth-child(n) { transform:none; }
    .hex-card:nth-child(n):hover { transform:translateY(-7px); }
}
@media(max-width:560px) {
    .expertise-hub {
        display:block;
        min-height:0;
        padding:0 10px;
    }
    .hub-ring { display:none; }
    .hub-center {
        width:180px;
        height:180px;
        margin:0 auto 25px;
    }
    .hub-card {
        position:relative !important;
        inset:auto !important;
        transform:none !important;
        width:auto;
        margin:14px 0;
    }
    .hub-card::before { display:none; }
    .expertise-hex { grid-template-columns:1fr; padding:10px 0; }
}