:root {
    --bg-deep: #0B1220;
    --primary: #1F4FE0;
    --teal: #17C3B2;
    --accent: #FF8A4C;
    --surface: #F6F8FF;
    --muted: #9FB0D0;
    --text: #E8EEFF;
    --ink: #0d1324;
    --ring: #ffffff22;
    --shadow: 0 10px 30px rgba(0, 0, 0, .25), 0 2px 10px rgba(0, 0, 0, .15);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 600px at 20% 0%, #0e1730 0%, #0B1220 50%, #0a1120 100%) fixed;
    line-height: 1.55
}

a {
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1250px, 92%);
    margin-inline: auto
}

.grid {
    display: grid;
    gap: 1.2rem
}

/* Buttons — premium gradient + glow + optional shine */
.btn {
    --g1: #315CFF;
    --g2: #1F4FE0;
    position: relative;
    appearance: none;
    border: 1px solid #2a3aff44;
    padding: .9rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--g1), var(--g2));
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(31, 80, 224, .35), inset 0 1px 0 #ffffff20;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(31, 80, 224, .45)
}

.btn:active {
    transform: translateY(0)
}

/* glass/outline variant */
.btn.ghost {
    background: linear-gradient(180deg, #ffffff22, #ffffff18);
    border-color: #ffffff33;
    color: #e9f1ff;
    backdrop-filter: saturate(120%) blur(6px);
    box-shadow: none;
}

.btn.ghost:hover {
    background: #ffffff2a
}

/* outline-only (optional) */
.btn.outline {
    background: transparent;
    color: #e9f1ff;
    border: 2px solid #a9bbff66;
    box-shadow: none;
}

.btn.outline:hover {
    background: #ffffff10
}

/* size helpers (optional) */
.btn.lg {
    padding: 1rem 1.35rem;
    border-radius: 16px
}

.btn.sm {
    padding: .6rem .8rem;
    border-radius: 10px
}

.btn.shine::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.3) 45%, transparent 65%);
   
    border-radius: inherit;
}

.btn.shine:hover::after {
    animation: shine .9s ease forwards;
}

@keyframes shine {
    to {
        transform: skewX(-20deg) translateX(120%);
    }
}

/* Disable shine on nav CTA specifically */
nav .cta-btn.shine::after {
    display: none;
}

/* Better contrast in light mode */
.light .btn {
    --g1: #2A5DFF;
    --g2: #1F4FE0;
}

.btn {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.light .btn.ghost {
    color: #0d1734;
    border-color: #0d173422;
    background: #0d173410
}

.light .btn.outline {
    color: #0d1734;
    border-color: #0d173444
}

.mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: .7rem;
    border-radius: 50%;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.mode-toggle svg {
    display: block;
    width: 28px;
    height: 28px;
    color: currentColor;
}

/* Glow when active */
body.dark .mode-toggle svg {
    filter: drop-shadow(0 0 8px rgba(80, 140, 255, 0.7));
}

body.light .mode-toggle svg {
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.8));
}

.mode-toggle:hover {
    transform: scale(1.15);
}


.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid #ffffff2a;
    background: #ffffff0f
}

.section {
    padding: 80px 0
}

/* theme toggle */
#mode {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: inherit;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px) saturate(140%);
    transition: all 0.3s ease;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.4),
        inset 0 0 8px rgba(255, 255, 255, 0.08);
}

/* Hover glow */
#mode:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.45),
        0 0 12px rgba(100, 150, 255, 0.4);
}

/* Active press */
#mode:active {
    transform: scale(0.95);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Dark mode glow */
body.dark #mode {
    box-shadow:
        0 0 10px rgba(80, 140, 255, 0.5),
        0 0 20px rgba(80, 140, 255, 0.35);
}

/* Light mode glow */
body.light #mode {
    box-shadow:
        0 0 10px rgba(255, 200, 0, 0.6),
        0 0 20px rgba(255, 200, 0, 0.4);
}





/* Header */
.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    background: #fff;
    color: #000;
    padding: .6rem .8rem;
    z-index: 9999;
    border-radius: 8px
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, #0c1428aa, #0b1220aa);
    backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--ring)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 12px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 900
}

.logo {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: conic-gradient(from 200deg, var(--teal), var(--primary), var(--accent));
    box-shadow: var(--shadow)
}

.logo svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4))
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: .6rem
}

nav a {
    display: inline-flex;
    padding: .6rem .8rem;
    border-radius: 10px;
    color: #dfe7ff;
    text-decoration: none;
    border: 1px solid transparent
}

nav a:hover {
    background: #ffffff12;
    border-color: var(--ring)
}

.actions {
    display: flex;
    gap: 30px;
    align-items: center
}


.hamb {
    display: none
}

/* ===== Mobile header layout fixes ===== */
@media (max-width:980px) {

    /* keep header controls on one line */
    .actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .actions>* {
        flex: 0 0 auto;
    }

    /* iPad-specific spacing fix */
    @media (min-width:768px) and (max-width:1024px) {
        .actions {
            gap: 16px;
            margin-left: 246px;
            /* extra breathing space only on iPad */
        }
    }


    /* compact language trigger on mobile */
    .lang-btn {
        padding: .45rem .55rem;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        max-width: unset;
    }

    /* hide the text code on small screens (keep flag/globe) */
    #langCode {
        display: none;
    }

    /* ensure dropdown anchors to right and fits viewport */
    .lang-menu {
        position: relative;
    }

    .lang-dropdown {
        right: 0;
        left: auto;
        top: 110%;
        width: min(78vw, 280px);
        max-height: 60vh;
        z-index: 1002;
        /* above header */
    }



    /* prevent header clipping */
    header,
    .nav-container {
        overflow: visible;
    }
}


/* Keep hidden by default */
#mobile {
    display: none;
}

/* Mobile menu */
@media (max-width:980px) {
    nav ul {
        display: none;
    }

    /* Hamburger */
    .hamb {
        display: inline-flex;
        padding: .65rem;
        border-radius: 12px;
        border: 1px solid var(--ring);
        background: #ffffff10;
        /* translucent white on dark */
        cursor: pointer;
        color: #fff;
        transition: background .25s, color .25s, border .25s;
    }

    body.light .hamb {
        background: #0d173410;
        /* translucent dark on light */
        color: #222;
        border-color: #0d173422;
    }

    body.light .hamb:hover {
        background: #0d173420;
    }

    /* Drawer wrapper */
    #mobile {
        position: fixed;
        inset: 64px 12px auto 12px;
        display: none;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity .22s ease, transform .22s ease;
        z-index: 1001;
        background: transparent;
        border: 0;
        /* transparent wrapper */
    }

    #mobile.open {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    /* Inner card */
    .m-drawer {
        border: 1px solid var(--ring);
        border-radius: 16px;
        overflow: hidden;
        background: radial-gradient(120% 160% at 0% 0%, #17305a 0%, #0e1a36 55%, #0b142c 100%);
        backdrop-filter: blur(10px) saturate(140%);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
        margin-top: 20px;
    }

    body.light .m-drawer {
        background: linear-gradient(180deg, #ffffff, #f6f8ff);
        border-color: #0d173414;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    }

    /* Header inside drawer */
    .m-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        background: linear-gradient(180deg, #ffffff12, #ffffff06);
        border-bottom: 1px solid var(--ring);
    }

    body.light .m-header {
        background: #0d17340a;
        border-color: #0d173414;
    }

    .m-header strong {
        font-size: 0.95rem;
        opacity: .9;
    }

    .m-close {
        background: transparent;
        border: 0;
        color: inherit;
        cursor: pointer;
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .m-close:hover {
        background: #ffffff12;
    }

    body.light .m-close:hover {
        background: #0d173412;
    }

    /* List */
    .m-list {
        display: flex;
        flex-direction: column;
        padding: 6px;
    }

    .m-list a {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: 12px 12px;
        border-radius: 12px;
        color: #e8eeff;
        text-decoration: none;
        font-weight: 600;
        border: 1px solid transparent;
    }

    .m-list a i {
        width: 1.1em;
        text-align: center;
        opacity: .9;
    }

    .m-list a:hover {
        background: #ffffff14;
        border-color: #ffffff1f;
    }

    body.light .m-list a {
        color: #0d1734;
    }

    body.light .m-list a:hover {
        background: #0d173410;
        border-color: #0d173418;
    }

    /* CTA */
    .m-cta {
        margin: 8px 10px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .6rem;
        padding: 12px;
        font-weight: 800;
        border-radius: 12px;
        text-decoration: none;
        color: #fff;
        background: linear-gradient(180deg, #315CFF, #1F4FE0);
        box-shadow: 0 10px 26px rgba(31, 80, 224, .35);
    }

    .m-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 34px rgba(31, 80, 224, .45);
    }

    body.light .m-cta {
        color: #fff;
    }

    /* Footer */
    .m-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        border-top: 1px solid var(--ring);
        font-size: .88rem;
        opacity: .85;
    }

    body.light .m-footer {
        border-color: #0d173414;
    }

    .m-social a {
        display: inline-flex;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        color: inherit;
        text-decoration: none;
    }

    .m-social a:hover {
        background: #ffffff14;
    }

    body.light .m-social a:hover {
        background: #0d173410;
    }
}

/* Hide CTA button in header on mobile */
@media (max-width:980px) {
    .actions a.btn[href="#contact"] {
        display: none;
    }
}



/* Hero */

.hero3d {
    position: relative;
    padding: clamp(60px, 6vw, 120px) 0 clamp(40px, 5vw, 30px);
    overflow: hidden;
}

.hero3d__grid {
    display: grid;
    gap: clamp(22px, 3vw, 36px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
}

@media (max-width:1024px) {
    .hero3d__grid {
        grid-template-columns: 1fr;
    }

    .hero3d__visual {
        order: -1
    }
}

.brand-chip {
    display: inline-block;
    padding: .35rem .65rem;
    border: 1px solid var(--ring);
    border-radius: 999px;
    background: #ffffff10;
    backdrop-filter: blur(6px) saturate(140%);
    font-weight: 800;
    letter-spacing: .25px;
}

.hero3d__title {
    margin: .35rem 0 .25rem;
    font-size: 40px;
    line-height: 1.08;
}

.hero3d__title .hi {
    background: linear-gradient(90deg, #fff, #9ec0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.light .hero3d__title .hi {
    background: linear-gradient(90deg, #163bb5, #1F4FE0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero3d__sub {
    color: #cfe1ff
}

.light .hero3d__sub {
    color: #33406b
}

.hero3d__note {
    margin-top: .7rem
}

/* Coverflow core */
.cf {
    position: relative;
    perspective: 1200px;
}

.cf-track {
    position: relative;
    height: 360px;
}

@media (max-width:640px) {
    .cf-track {
        height: 300px
    }
}

.cf-panel {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(520px, 92%);
    height: 100%;
    border-radius: 18px;
    border: 1px solid var(--ring);
    overflow: hidden;
    color: #e8eeff;
    background: #0f1a3b;
    background-image: var(--img);
    background-size: cover;
    background-position: center;
    box-shadow:
        0 18px 48px rgba(0, 0, 0, .45),
        inset 0 1px 0 rgba(255, 255, 255, .06);
    transform-origin: 50% 50%;
    transition: transform .6s cubic-bezier(.2, .65, .2, 1), opacity .6s, filter .6s;
    display: grid;
    align-content: end;
    padding: 22px;
}

.cf-panel h3 {
    margin: 0 0 .2rem;
    font-size: 1.25rem
}

.cf-panel p {
    margin: 0 0 .1rem;
    color: #cfe1ff
}

.light .cf-panel {
    color: #0d1734;
}

.cf-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 16, 35, .05) 0%, rgba(10, 16, 35, .55) 65%, rgba(10, 16, 35, .75) 100%);
}

.light .cf-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(246, 248, 255, .65) 70%, rgba(246, 248, 255, .85) 100%);
}

/* Positions (set by JS with classes) */
.cf-panel {
    opacity: 0;
    pointer-events: none;
}

.cf-panel.pos0 {
    /* center */
    transform: translateX(0) translateZ(140px) rotateY(0) scale(1);
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
}

.cf-panel.pos1 {
    /* right 1 */
    transform: translateX(38%) translateZ(0) rotateY(-24deg) scale(.94);
    opacity: .9;
    z-index: 4;
}

.cf-panel.pos2 {
    /* right 2 */
    transform: translateX(74%) translateZ(-120px) rotateY(-40deg) scale(.86);
    opacity: .6;
    z-index: 3;
}

.cf-panel.neg1 {
    /* left 1 */
    transform: translateX(-38%) translateZ(0) rotateY(24deg) scale(.94);
    opacity: .9;
    z-index: 4;
}

.cf-panel.neg2 {
    /* left 2 */
    transform: translateX(-74%) translateZ(-120px) rotateY(40deg) scale(.86);
    opacity: .6;
    z-index: 3;
}

/* Nav & dots */
.cf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ring);
    background: #ffffff10;
    color: inherit;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px) saturate(140%);
}

.cf-nav:hover {
    background: #ffffff18
}

.cf-nav.prev {
    left: -6px
}

.cf-nav.next {
    right: -6px
}

@media (max-width:1024px) {
    .cf-nav.prev {
        left: 6px
    }

    .cf-nav.next {
        right: 6px
    }
}

.cf-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px
}

.cf-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: #8da7ff55;
    cursor: pointer;
    transition: transform .2s, background .2s;
}

.cf-dots button.active {
    width: 22px;
    background: #8da7ff;
    transform: translateY(-1px);
}

/* Light-mode tweaks */
body.light .brand-chip {
    background: #0d173410;
    border-color: #0d173414
}

body.light .cf-panel {
    border-color: #e2e9ff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .12), inset 0 1px 0 #fff
}

/* ==== Caption always above overlay (same design, just layering) ==== */
.hero3d .cf-panel .cf-overlay {
    z-index: 1;
}

/* overlay layer */
.hero3d .cf-panel>h3,
.hero3d .cf-panel>p {
    position: relative;
    z-index: 2;
    /* text above overlay */
    color: currentColor !important;
    /* follow parent color */
}

/* ==== Theme-aware text color on image cards (no visual change otherwise) ==== */
body:not(.light) .hero3d .cf-panel {
    color: #ffffff !important;
}

/* dark mode -> white */
body.light .hero3d .cf-panel {
    color: #0d1734 !important;
}

/* light mode -> black */

/* (Optional) If a caption somewhere used its own color earlier, force inherit: */
.hero3d .cf-panel h3,
.hero3d .cf-panel p {
    color: currentColor !important;
}


.sub {
    color: #c6d4ff
}


.kpis {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.kpis .pill {
    font-weight: 700;
    color: #dff;
    border-color: #0ff2;
    background: #0ff1
}

.cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap
}

.depth {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1200px;
    height: 1200px;
    transform: translateX(-50%);
    pointer-events: none
}

.float {
    position: absolute;
    will-change: transform;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35))
}

.card3d {
    background: radial-gradient(120% 140% at 20% 10%, #1b2a55, #0f1a3b);
    border: 1px solid #2a3a6a;
    border-radius: 16px;
    padding: 16px;
}



/* Trust carousel */
.trust-sec {
    padding: clamp(18px, 6vw, 20px) 0;
}

.trust-head {
    margin-bottom: .6rem;
}

.trust-head h2 {
    margin: 0;
    font-size: clamp(1.15rem, 1.1vw + .9rem, 1.75rem);
}

.trust-head .muted {
    margin: .2rem 0 0;
}

.trust-marquee{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ring);
  border-radius: 14px;
  background: #ffffff0a;
  padding: 8px 0;
  /* show middle (white), fade edges (transparent) */
  -webkit-mask-image: linear-gradient(to right, transparent, #fff 8%, #fff 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #fff 8%, #fff 92%, transparent);
  -webkit-mask-mode: luminance;
          mask-mode: luminance;
}
body.light .trust-marquee{
  background:#0d173408; border-color:#0d173414;
}


body.light .trust-marquee {
    background: #0d173408;
    border-color: #0d173414;
}

.trust-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 6px 0;
    animation: trust-scroll 28s linear infinite;
}

.trust-marquee:hover .trust-track {
    animation-play-state: paused;
}

@keyframes trust-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

    /* half, because we duplicated once */
}

.trust-track .badge {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: #ffffff12;
    border: 1px solid var(--ring);
}

body.light .trust-track .badge {
    background: #0d173410;
    border-color: #0d173414;
    color: #0d1734;
}

/* small screens: slightly tighter */
@media (max-width:640px) {
    .trust-track {
        gap: 10px;
    }

    .trust-track .badge {
        padding: .5rem .7rem;
    }
}

/* Our Clients: logo marquee */
.trust-track.logos{
  display:flex; align-items:center; gap:18px;
  width:max-content; padding:10px 12px;
  animation: trust-scroll 28s linear infinite;
}
.trust-marquee:hover .trust-track.logos{ animation-play-state: paused; }

/* Logo pill */
.logo1{
  display:grid; place-items:center;
  padding:10px 18px; border-radius:12px;
  background:#ffffff12; border:1px solid var(--ring);
  width: 100%;
  height: 100%;
  background: #fff;
  cursor: pointer;
}
.logo1:hover{
    background: #46516d;
      transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
body.light .logo1{
  background:#0d173410; border-color:#0d173414;
}

/* Logo image size + effects */
.logo1 img{
  height: clamp(22px, 2.6vw, 40px);
  width:auto; display:block;
 
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.logo:hover img{ filter: grayscale(0%) contrast(1) opacity(1); transform: translateY(-1px) }

/* Optional: some dark logos need inversion in dark mode */
body:not(.light) .logo img[data-invert-on-dark="1"]{
  filter: invert(1) brightness(1.15) contrast(1.05) grayscale(0.1);
}
body:not(.light) .logo:hover img[data-invert-on-dark="1"]{
  filter: invert(1) brightness(1.1) contrast(1.1);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .trust-track.logos{ animation: none; }
}

/* Fallback edge fade using overlay (keeps mask too) */
.trust-marquee::before,
.trust-marquee::after{
  content:""; position:absolute; top:0; bottom:0; width:10%;
  pointer-events:none; z-index:2;
}
.trust-marquee::before{
  left:0; background:linear-gradient(to right, rgba(17,24,39,1), rgba(17,24,39,0));
}
.trust-marquee::after{
  right:0; background:linear-gradient(to left, rgba(17,24,39,1), rgba(17,24,39,0));
}
body.light .trust-marquee::before{
  background:linear-gradient(to right, rgba(246,248,255,1), rgba(246,248,255,0));
}
body.light .trust-marquee::after{
  background:linear-gradient(to left, rgba(246,248,255,1), rgba(246,248,255,0));
}


/* ===== ServicesZ (metro tiles, theme-aware, responsive) ================ */
:root{
  --sz-text:#e8eeff;
  --sz-muted:#a9bbdf;
  --sz-card:#0f1a3b;
  --sz-accent:#1F4FE0;
  --sz-accent2:#e11d2e;
}
body.light{
  --sz-text:#0d1734;
  --sz-muted:#46516d;
  --sz-card:#ffffff;
}

.servicesz{ padding:clamp(56px,7vw,56px) 0; }
.servicesz .muted{ color:var(--sz-muted); }
.servicesz .title{ margin:.1rem 0 .35rem; color:var(--sz-text); font-size:clamp(1.6rem,3vw,2.4rem); line-height: 45px; }
.servicesz .eyebrow{
  color:#fff; font-weight:800; letter-spacing:2px; text-transform:uppercase;
  font-size:25px; display:inline-block; margin-bottom:.4rem; text-decoration: underline;
}
.servicesz__head{
  display:flex; justify-content:space-between; align-items:end;
  gap:clamp(12px,3vw,24px); margin-bottom:clamp(18px,3.6vw,28px);
}
@media (max-width:900px){ .servicesz__head{ flex-direction:column; align-items:flex-start; } }

/* chips */
.servicesz__filters{ display:flex; gap:12px; flex-wrap:wrap }
.servicesz__filters .chip{
  border:1px solid var(--ring); background:#ffffff10; color:var(--sz-text);
  border-radius:999px; padding:.45rem .8rem; font-weight:600; cursor:pointer;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
body.light .servicesz__filters .chip{ background:#0d173410; }
.servicesz__filters .chip.active{ outline:2px solid #2a3aff55 }

/* grid */
.servicesz__grid{
  display:grid; gap:clamp(14px,2vw,18px);
  grid-template-columns:repeat(6, minmax(0, 1fr));
  grid-auto-rows: 220px;
}
@media (max-width:1100px){
  .servicesz__grid{ grid-template-columns:repeat(4,1fr); grid-auto-rows: 220px; }
}
@media (max-width:720px){
  .servicesz__grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows: 200px; }
}
@media (max-width:480px){
  .servicesz__grid{ grid-template-columns:1fr; grid-auto-rows: 200px; }
}

/* card */
.sz-card{
  position:relative; overflow:hidden; border-radius:16px;
  border:1px solid var(--ring); background:var(--sz-card);
  color:var(--sz-text);
  display:grid; align-content:end;
  box-shadow:0 14px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
  isolation:isolate;
  transition: transform .35s ease, box-shadow .35s ease, border-color .3s ease, opacity .6s ease;
  will-change: transform;
}
.sz-card[data-span="2"]{ grid-column:span 3; }
@media (max-width:1100px){ .sz-card[data-span="2"]{ grid-column:span 2; } }
@media (max-width:480px){ .sz-card[data-span="2"]{ grid-column:span 1; } }

/* image + overlays */
.sz-media{
  position:absolute; inset:0; background:var(--img) center/cover no-repeat;
  opacity:.38; filter:saturate(1.05) contrast(1.02); transition:transform .8s ease, opacity .35s ease;
  z-index:0;
}
.sz-card::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(32,55,125,.55), transparent 60%),
    linear-gradient(180deg, rgba(2,8,18,.85), transparent 36%, rgba(2,8,18,.85));
  mix-blend:normal;
}
body.light .sz-media{ opacity:.28; filter:saturate(1) brightness(.98); }
body.light .sz-card::before{
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(255,255,255,.65), transparent 60%),
    linear-gradient(180deg, #fff, transparent 36%, #fff);
  opacity:.9;
}

/* fancy border glow on hover */
.sz-card::after{
  content:""; position:absolute; inset:-1px; border-radius:inherit; z-index:2; pointer-events:none;
  background:linear-gradient(135deg, var(--sz-accent), var(--sz-accent2));
  opacity:0; filter:blur(8px); transition:opacity .35s ease;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding:1px;
}
.sz-card:hover::after{ opacity:.55; }

/* content */
.sz-body{ position:relative; z-index:3; padding:16px 16px 18px; }
.sz-title{ margin:0 0 .24rem; font-weight:800; font-size:clamp(1.05rem,1.1vw + .6rem,1.4rem) }
.sz-desc{ margin:0 0 .6rem; }
.badge{
  display:inline-block; font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  background:#ffffff14; border:1px solid var(--ring); color:var(--sz-text);
  padding:.28rem .5rem; border-radius:999px; margin-bottom:.35rem;
}
.sz-pills{ display:flex; flex-wrap:wrap; gap:.4rem; list-style:none; padding:0; margin:.1rem 0 0; }
.sz-pills li{ font-size:.78rem; padding:.26rem .5rem; border-radius:999px; border:1px solid var(--ring); background:#ffffff12; }

.sz-cta{
  position:absolute; right:16px; bottom:14px; font-weight:700; text-decoration:none;
  color:var(--sz-text); border-bottom:2px solid currentColor; padding-bottom:2px;
}

/* interactions */
.sz-card:hover{ transform: translateY(-4px); box-shadow:0 22px 46px rgba(0,0,0,.32); }
.sz-card:hover .sz-media{ transform: scale(1.06); opacity:.42; }

/* entrance */
.sz-card{ opacity:0; transform:translateY(18px) }
.sz-card.in{ opacity:1; transform:none }

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .sz-card, .sz-card.in{ transform:none !important; }
  .sz-media{ transition:none }
}



/* ===== Process (timeline cards) ===== */
.process-head h2 {
    margin: 0 0 .35rem;
    font-size: clamp(1.2rem, 1.1vw + 1rem, 2rem);
}

.process-head p {
    margin: 0 0 1.1rem;
}

.process-grid {
    --rail: 0%;
    position: relative;
    display: grid;
    gap: clamp(14px, 2vw, 18px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    counter-reset: stepi;
}

.process-grid::before {
    /* animated connector rail (desktop) */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 42px;
    height: 2px;
    background: linear-gradient(90deg, #2a3aff55, transparent 14%, #17C3B255 28%, transparent 42%) repeat-x;
    background-size: 120px 2px;
    width: var(--rail);
    transition: width 1.2s ease-out;
    pointer-events: none;
}

@media (max-width:980px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:560px) {
    .process-grid {
        grid-template-columns: 1fr
    }

    .process-grid::before {
        display: none
    }
}

.p-step {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 18px 16px 16px 16px;
    background: radial-gradient(120% 140% at 20% 10%, #12224a, #0e1a38);
    border: 1px solid var(--ring);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .05);
    transform: perspective(900px) translateY(16px) rotateX(6deg);
    opacity: 0;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, opacity .6s;
}

.p-step.in {
    transform: perspective(900px) rotateX(0) translateY(0);
    opacity: 1;
}

.p-step:hover {
    transform: perspective(900px) translateY(-6px) rotateY(4deg);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .36), 0 0 0 1px #2a3aff44 inset;
}

.p-ico {
    --size: 48px;
    width: var(--size);
    height: var(--size);
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: .6rem;
    color: #e8eeff;
    background:
        radial-gradient(120% 160% at 20% 15%, #315CFF22, transparent 60%),
        linear-gradient(180deg, #13244e, #0f1a38);
    border: 1px solid #2a3aff44;
    box-shadow: inset 0 1px 0 #ffffff18, 0 10px 22px rgba(0, 0, 0, .28);
    position: relative;
}

.p-ico::after {
    /* soft animated ring */
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 14px;
    background: conic-gradient(from 0deg, #315CFF55, transparent 40%, #17C3B255 70%, transparent 100%);
    filter: blur(8px);
    opacity: .7;
    z-index: -1;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.p-step h3 {
    margin: 0 0 .35rem;
    font-weight: 800
}

.p-step p {
    margin: 0
}

.p-step::before {
    /* numbered badge */
    counter-increment: stepi;
    content: counter(stepi);
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: .8rem;
    font-weight: 900;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
    box-shadow: 0 8px 18px rgba(31, 79, 224, .35);
}

/* Light mode tweaks */
body.light .p-step {
    background: #fff;
    border-color: #dfe6ff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

body.light .p-ico {
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
    color: #1b2546;
    border-color: #0d173414;
}

body.light .p-ico::after {
    opacity: .5
}


/* Tools */
/* ===== Tools — layout & visuals ===== */
.tools-head h2 {
    margin: 0 0 .35rem;
    font-size: clamp(1.2rem, 1.1vw + 1rem, 2rem);
}

.tools-grid {
    display: grid;
    gap: clamp(14px, 2vw, 18px);
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width:980px) {
    .tools-grid {
        grid-template-columns: 1fr
    }
}

.tcard {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--ring);
    background: radial-gradient(120% 140% at 20% 10%, #12224a, #0e1a38);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .04);
    transform: perspective(1100px) rotateX(5deg) translateY(10px);
    opacity: 0;
    animation: tcard-in .7s .15s both;
}

@keyframes tcard-in {
    to {
        transform: perspective(1100px) rotateX(0) translateY(0);
        opacity: 1
    }
}

body.light .tcard {
    background: #fff;
    border-color: #dfe6ff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12)
}

.tcard:hover {
    transform: translateY(-6px) rotateY(2deg);
    transition: .35s cubic-bezier(.2, .7, .2, 1)
}

.t-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ring);
    background: linear-gradient(180deg, #ffffff0e, #00000000);
}

body.light .t-head {
    background: #0d17340a;
    border-color: #0d173414
}

.t-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #e8eeff;
    background:
        radial-gradient(120% 160% at 20% 15%, #315CFF22, transparent 60%),
        linear-gradient(180deg, #13244e, #0f1a38);
    border: 1px solid #2a3aff44;
    box-shadow: inset 0 1px 0 #ffffff18, 0 10px 22px rgba(0, 0, 0, .28);
    position: relative;
}

.t-ico::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 14px;
    z-index: -1;
    background: conic-gradient(from 0deg, #315CFF55, transparent 40%, #17C3B255 70%, transparent 100%);
    filter: blur(10px);
    opacity: .65;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

body.light .t-ico {
    color: #1b2546;
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
    border-color: #0d173414
}

.t-body {
    padding: 14px 16px 16px
}

.t-switches {
    gap: .5rem .5rem
}

.switch {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #ffffff14;
    border: 1px solid var(--ring);
    color: #e8eeff;
    padding: .45rem .6rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background .25s, transform .2s;
}

.switch input {
    display: none
}

.switch:has(input:checked) {
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(31, 79, 224, .35);
}

.switch:hover {
    transform: translateY(-2px)
}

body.light .switch {
    color: #0d1734;
    background: #0d173410;
    border-color: #0d173414
}

body.light .switch:has(input:checked) {
    color: #fff
}

.t-result {
    margin-top: .6rem
}

.t-result.pop {
    animation: pop .35s ease
}

@keyframes pop {
    0% {
        transform: scale(.98);
        opacity: .6
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

.result.ok {
    border-color: #27ae6022;
    background: #1b3a2a;
    color: #dff
}

.result.warn {
    border-color: #f39c1222;
    background: #3a2d1b;
    color: #ffe7c6
}

.result.bad {
    border-color: #e74c3c22;
    background: #3a1b1b;
    color: #ffd9d6
}

body.light .result.ok {
    background: #ebfff5;
    color: #164e2e
}

body.light .result.warn {
    background: #fff6e6;
    color: #6d4307
}

body.light .result.bad {
    background: #ffefef;
    color: #6c1d18
}



/* ==== Tools inputs & toggle chips — refined spacing/size ==== */

/* rows inside tool cards */
.t-body .row {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
    margin: .6rem 0;
}

/* unified inputs */
.tools .input {
    height: 44px;
    padding: .6rem .85rem;
    border-radius: 12px;
    border: 1px solid #2a3a6a;
    background: #0c1633;
    color: #eaf2ff;
    outline: 0;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.tools .input::placeholder {
    color: #9fb0d0;
}

.tools .input:focus {
    border-color: #3c63ff;
    box-shadow: 0 0 0 3px #3c63ff33;
}

body.light .tools .input {
    background: #fff;
    color: #0d1734;
    border-color: #cfd8ff;
}

body.light .tools .input:focus {
    border-color: #1F4FE0;
    box-shadow: 0 0 0 3px #1f4fe022;
}

/* pretty select arrow */
.tools select.input {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2.2rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23bcd0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right .6rem center;
}

body.light .tools select.input {
    background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230d1734' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>\");
}

/* keep button height aligned with inputs */
.tools .btn {
    height: 44px;
    display: inline-flex;
    align-items: center;
}

/* toggle chips (checkbox pills) */
.t-switches {
    gap: .55rem .55rem;
}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem .5rem 2.3rem;
    border-radius: 999px;
    background: #ffffff14;
    border: 1px solid var(--ring);
    color: #e8eeff;
    cursor: pointer;
    user-select: none;
    transition: transform .2s, background .25s, border-color .25s;
}

.switch input {
    display: none;
}

.switch span {
    line-height: 1;
}

/* indicator dot */
.switch::before {
    content: "";
    position: absolute;
    left: .7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    background: transparent;
    transition: .2s;
}

/* checked state */
.switch:has(input:checked) {
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(31, 79, 224, .35);
}

.switch:has(input:checked)::before {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 3px #ffffff40 inset;
}

/* hover/focus */
.switch:hover {
    transform: translateY(-2px)
}

.switch:focus-within {
    box-shadow: 0 0 0 3px #3c63ff33;
}

body.light .switch {
    background: #0d173410;
    border-color: #0d173414;
    color: #0d1734;
}

body.light .switch:has(input:checked) {
    color: #fff;
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
}

/* small screens: comfortable wrap */
@media (max-width:640px) {
    .t-body .row {
        gap: .5rem;
    }

    .tools .input,
    .tools .btn {
        height: 42px;
    }

    .switch {
        padding: .45rem .9rem .45rem 2.1rem;
    }

    .switch::before {
        width: 14px;
        height: 14px;
        left: .6rem;
    }
}



/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid #2b3b6a;
    border-radius: 18px;
    background: #0f1a3b
}

.slides {
    display: flex;
    transition: transform .5s ease
}

.slide {
    min-width: 100%;
    padding: 24px
}

/* Pricing */
/* ===== Pricing ===== */
.pricing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-switch input {
    display: none
}

.price-switch .track {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    position: relative;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--ring);
    background: #ffffff10;
    backdrop-filter: blur(6px) saturate(140%);
    font-weight: 700;
    user-select: none;
}

.light .price-switch .track {
    background: #0d173410;
    border-color: #0d173414
}

.price-switch .knob {
    position: absolute;
    left: 7px;
    top: 4px;
    width: 88px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
    box-shadow: 0 8px 18px rgba(31, 80, 224, .35);
    transition: transform .28s ease;
}

.price-switch input:checked+.track .knob {
    transform: translateX(108px)
}

.price-switch .opt {
    width: 88px;
    text-align: center;
    font-size: .9rem
}

.pricing-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width:980px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}

.plan {
    position: relative;
    border: 1px solid #2b3b6a;
    border-radius: 18px;
    background: linear-gradient(180deg, #12224a, #0e1a38);
    padding: 18px;
    color: #e8eeff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .25s ease;
}

.plan:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 26px 50px rgba(0, 0, 0, .42);
}

.light .plan {
    background: #fff;
    border-color: #e2e9ff;
    color: #0d1734;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12)
}

.plan--featured {
    border-image: linear-gradient(120deg, #315CFF, #17C3B2) 1;
    box-shadow: 0 16px 40px rgba(31, 80, 224, .35);
    transform: translateY(-4px);
}

.plan--featured:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-2deg)
}

.plan-top {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .25rem
}

.plan-top .ic {
    width: 22px;
    height: 22px;
    opacity: .9
}

.badge {
    margin-left: auto;
    font-size: .75rem;
    padding: .2rem .5rem;
    border-radius: 999px;
    border: 1px solid var(--ring);
    background: #ffffff12;
}

.badge--pop {
    border-color: transparent;
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 80, 224, .35);
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    margin: .35rem 0 .5rem;
}

.price-line .currency {
    font-weight: 900;
    opacity: .9
}

.price-line .price-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: .3px;
    display: inline-block;
    transform-origin: bottom left;
}

.price-line .period {
    opacity: .8;
    font-weight: 700
}

.feat {
    list-style: none;
    padding: 0;
    margin: .6rem 0 1rem;
    display: grid;
    gap: .4rem
}

.feat li {
    display: flex;
    align-items: center;
    gap: .5rem
}

.feat .chk {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background:
        conic-gradient(#27d17d, #1f9d5f) padding-box,
        linear-gradient(#27d17d, #1f9d5f) border-box;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}

.feat .dim {
    opacity: .45
}

.plan-cta {
    width: 100%;
    justify-content: center;
}

/* flip animation when prices change */
@keyframes priceFlip {
    0% {
        transform: rotateX(0)
    }

    45% {
        transform: rotateX(90deg);
        opacity: .3
    }

    55% {
        transform: rotateX(-90deg);
        opacity: .3
    }

    100% {
        transform: rotateX(0);
        opacity: 1
    }
}

.price-value.flip {
    animation: priceFlip .5s ease
}

.period.flip {
    animation: priceFlip .5s ease
}


/* Pricing toggle text always above knob + highlight active */
.price-switch .track {
    position: relative;
}

.price-switch .knob {
    z-index: 1;
}

/* knob behind text */
.price-switch .opt {
    position: relative;
    z-index: 2;
    opacity: .55;
    color: #e8eeff;
    /* dim by default */
    transition: opacity .2s, color .2s;
}

.light .price-switch .opt {
    color: #33406b;
}

.price-switch .opt.active {
    opacity: 1;
    color: #fff;
}

/* active label */
.light .price-switch .opt.active {
    color: #fff;
}

.light .servicesz .eyebrow{
    color: #000;
}


.highlight {
    outline: 2px solid var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 138, 76, .12)
}

/* FAQ */
/* FAQ — glassy accordion */
.faq-section .sec-head {
    margin-bottom: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width:900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-card {
    border: 1px solid var(--ring);
    border-radius: 14px;
    background: linear-gradient(180deg, #0f1a3b, #0c1530);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    position: relative;
    isolation: isolate;
}

.light .faq-card {
    background: #fff;
    border-color: #e2e9ff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10), inset 0 1px 0 #fff;
}

.faq-card::before {
    content: "";
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(90deg, #1F4FE044, transparent 30%, transparent 70%, #17C3B244);
    opacity: .0;
    pointer-events: none;
    transition: opacity .25s;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .4);
}

.faq-card:hover::before {
    opacity: .35;
}

.faq-card summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 14px 14px;
    position: relative;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card .ic {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff10;
    color: #dfe7ff;
    box-shadow: inset 0 0 0 1px #ffffff1f;
}

.light .faq-card .ic {
    background: #0d173410;
    color: #0d1734;
    box-shadow: inset 0 0 0 1px #0d173414;
}

.faq-card .chev {
    margin-left: auto;
    transition: transform .25s ease;
    opacity: .9;
    color: #c8d6ff;
}

.light .faq-card .chev {
    color: #50608a;
}

.faq-card[open] .chev {
    transform: rotate(180deg);
}

.faq-card .content {
    height: 0;
    overflow: hidden;
    transition: height .28s ease;
    padding: 0 14px;
}

.faq-card[open] .content {
    padding: 0 14px 14px;
}

.faq-card.open {
    border-color: #2a3aff66;
    box-shadow: 0 22px 44px rgba(31, 79, 224, .25);
}

/* paragraph style inside */
.faq-card p {
    color: #cfe1ff;
}

.light .faq-card p {
    color: #384771;
}


/* Contact */
/* ===== Contact section (cards, fields, animations) ===== */
.contact-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.1fr .9fr;
}

@media (max-width:980px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card,
.contact-info {
    border: 1px solid var(--ring);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #0f1a3b, #0c1530);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
    transform: translateY(8px);
    opacity: 0;
    animation: cardIn .5s ease forwards;
}

.contact-info {
    animation-delay: .08s;
}

.light .contact-card,
.light .contact-info {
    background: #fff;
    border-color: #dfe6ff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}

@keyframes cardIn {
    to {
        transform: translateY(0);
        opacity: 1
    }
}

.contact-heading {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .6rem;
}

.contact-heading .ic {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff14;
    border: 1px solid var(--ring);
}

.light .contact-heading .ic {
    background: #0d17340e;
    border-color: #0d173414
}

.field {
    position: relative;
    margin: .65rem 0;
}

.field .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    opacity: .85;
    color: #9fb0d0;
}

.field.textarea .icon {
    top: 16px;
    transform: none;
}

.contact-card .input {
    width: 100%;
    padding: .8rem 1rem .8rem 44px;
    border-radius: 12px;
    border: 1px solid #2a3a6a;
    background: #0c1633;
    color: #eaf2ff;
    outline: none;
    transition: box-shadow .2s, border-color .2s, background .2s, transform .08s;
}

.contact-card textarea.input {
    padding-left: 44px;
    resize: vertical;
}

.contact-card .input:focus {
    border-color: #315CFF88;
    box-shadow: 0 0 0 4px #315cff22;
    transform: translateY(-1px);
}

.light .contact-card .input {
    background: #fff;
    border-color: #cfd8ff;
    color: #0d1734;
}

.light .contact-card .input:focus {
    box-shadow: 0 0 0 4px #1f4fe022;
    border-color: #1f4fe066;
}

.check {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
}

.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check .box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--ring);
    background: #ffffff10;
    color: transparent;
    transition: all .18s ease;
}

.check input:checked+.box {
    background: linear-gradient(180deg, #315CFF, #1F4FE0);
    color: #fff;
    border-color: #2a3aff66;
    box-shadow: 0 6px 16px rgba(31, 79, 224, .35);
}

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: .4rem;
}

@media (max-width:560px) {
    .contact-actions {
        flex-direction: column;
        align-items: flex-start
    }
}

.contact-info .info-list {
    list-style: none;
    padding: 0;
    margin: .4rem 0 1rem;
    display: grid;
    gap: .45rem;
}

.contact-info .info-list li {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.contact-info .info-list i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid var(--ring);
    background: #ffffff10;
    display: grid;
    place-items: center;
}

.light .contact-info .info-list i {
    background: #0d173410;
    border-color: #0d173414
}

.map-shell {
    aspect-ratio: 4/3;
    border: 1px solid #20315e;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(120% 140% at 20% 10%, #13224a, #0b152f);
    display: grid;
    place-items: center;
}

.light .map-shell {
    background: #f6f8ff;
    border-color: #dfe6ff
}

.small {
    font-size: .92rem
}

/* Snack: slide up */
.snack {
    background: #061023;
    color: #dff;
    padding: .8rem 1.1rem;
    border-radius: 12px;
    border: 1px solid #1a2a58;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    position: fixed;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    transition: bottom .35s ease;
    z-index: 1002;
}

.snack.show {
    bottom: 20px;
}

.light .snack {
    background: #0d1734;
    color: #fff;
    border-color: #0d173414
}

/* reveal on scroll (Observer adds .in) */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* Footer */
/* ===== Footer styles ===== */
.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--ring);
    background: radial-gradient(120% 140% at 10% 0%, #0b152f 0%, #0b1220 60%, #0a1120 100%);
    padding: 56px 0 28px;
}

.light .site-footer {
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
    border-top: 1px solid #dfe6ff;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(60px);
    background: radial-gradient(closest-side, #1F4FE0 0%, transparent 70%);
    opacity: .25;
    pointer-events: none;
    animation: blob 16s ease-in-out infinite;
}

.site-footer::after {
    left: auto;
    right: -100px;
    bottom: -160px;
    background: radial-gradient(closest-side, #17C3B2 0%, transparent 70%);
    animation-delay: -7s;
}

@keyframes blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(30px, -20px) scale(1.08)
    }
}

.footer-wrap {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 1.4fr 2fr;
    align-items: start;
    animation: fadeUp .6s ease both;
}

@media (max-width:980px) {
    .footer-wrap {
        grid-template-columns: 1fr
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .8rem 1rem;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--ring);
    border-radius: 16px;
    background: #ffffff0c;
    backdrop-filter: blur(6px) saturate(140%);
}

.light .footer-brand {
    background: #0d17340e;
    border-color: #0d173414
}

.brand-name {
    font-size: 1.05rem;
    display: block;
    margin-bottom: .25rem
}

.social {
    display: flex;
    gap: .5rem;
    grid-column: 1 / -1;
}

.social a {
    --bg: #ffffff14;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--ring);
    background: var(--bg);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .35);
    background: #ffffff22;
}

.light .social a {
    --bg: #0d173410;
    border-color: #0d173414
}

.light .social a:hover {
    background: #0d173418
}

.footer-cols {
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width:640px) {
    .footer-cols {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:420px) {
    .footer-cols {
        grid-template-columns: 1fr
    }
}

.footer-cols h4 {
    margin: .1rem 0 .5rem;
    font-size: 1rem;
    opacity: .9;
}

.f-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    padding: .25rem 0;
    position: relative;
    opacity: .92;
    transition: opacity .2s ease, transform .2s ease;
}

.f-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #315CFF, #17C3B2);
    transition: right .28s ease;
}

.f-link:hover {
    opacity: 1;
    transform: translateX(2px)
}

.f-link:hover::after {
    right: 0
}

.foot-bottom {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px dashed var(--ring);
    padding-top: 14px;
}

@media (max-width:560px) {
    .foot-bottom {
        flex-direction: column;
        align-items: flex-start
    }
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid var(--ring);
    background: #ffffff10;
    color: inherit;
    padding: .45rem .65rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .25);
    background: #ffffff18
}

.light .to-top {
    background: #0d173410;
    border-color: #0d173414
}

.light .to-top:hover {
    background: #0d173418
}

/* Stack footer links one-per-line (works for both versions) */

/* If you're using the enhanced footer (.footer-cols + .f-link) */
.footer-cols .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    align-items: center;
}

.footer-cols .col .f-link {
    display: block;
    /* force new line */
    width: 100%;
    padding: .25rem 0;
    text-align: center;
}

/* If you're using the older markup (.footgrid) */
.footgrid>div {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.footgrid>div a {
    display: block;
    /* force new line */
    padding: .25rem 0;
}


/* ===== Section Divider — works in both dark & light mode ===== */

/* Theme-aware tokens */
:root {
    --divider-line: rgba(255, 255, 255, .22);
    --divider-glow: rgba(31, 79, 224, .35);
    --divider-chip-bg: #ffffff10;
    --divider-chip-border: var(--ring);
}

body.light {
    --divider-line: rgba(13, 23, 52, .14);
    --divider-glow: rgba(31, 79, 224, .20);
    --divider-chip-bg: #0d173410;
    --divider-chip-border: #0d173414;
}

/* Divider block (use <div class="divider">) */
.divider {
    position: relative;
    width: min(1200px, 92%);
    height: 28px;
    margin: 56px auto;
    transition: color .25s, background .25s, border-color .25s;
}

.divider::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, var(--divider-line), transparent);
}

.divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 100%;
    background: radial-gradient(60% 200% at 50% 50%, var(--divider-glow), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

/* Optional centered label */
.divider .label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: .4rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--divider-chip-border);
    background: var(--divider-chip-bg);
    backdrop-filter: blur(6px) saturate(140%);
    font-weight: 800;
    letter-spacing: .2px;
    white-space: nowrap;
}

/* Auto-line between consecutive sections (no extra HTML needed) */
.section+.section {
    position: relative;
    scroll-margin-top: 84px;
}

.section+.section::before {
    content: "";
    display: block;
    width: min(1200px, 92%);
    height: 1px;
    margin: 28px auto -84px;
    background: linear-gradient(90deg, transparent, var(--divider-line), transparent);
}

.section1+.section::before {
    content: "";
    display: block;
    width: min(1200px, 92%);
    height: 1px;
    margin: 28px auto -84px;
    background: linear-gradient(90deg, transparent, var(--divider-line), transparent);
}
/* Motion-safe */
@media (prefers-reduced-motion: reduce) {

    .divider,
    .divider::after,
    .divider .label {
        transition: none
    }
}



/* ===== Light Mode — full page fixes (append) ===== */
.light {
    color: #0d1734;
    background: #F6F8FF;
}

/* page background (match the dark gradient but light) */
.light body {
    background: radial-gradient(1200px 600px at 20% 0%, #eaf0ff 0%, #f6f8ff 50%, #f1f5ff 100%) fixed;
}

/* header + nav */
.light header {
    background: #ffffffee;
    border-bottom: 1px solid #0d173414
}

.light nav a {
    color: #1b2546;
    border-color: transparent
}

.light nav a:hover {
    background: #0d173410;
    border-color: #0d173414
}

/* chips/pills + muted text */
.light .pill {
    border-color: #0d173422;
    background: #0d17340a;
    color: #1a2540
}

.light .muted {
    color: #4a5a86
}

/* cards/sections/widgets */
.light .card,
.light .price,
.light .tool,
.light .faq,
.light .step,
.light .carousel {
    background: #ffffff;
    border-color: #dfe6ff
}

/* hero background cards softer in light */
.light .card3d {
    background: linear-gradient(180deg, #ffffff, #f6f8ff);
    border-color: #e2e9ff
}

/* calculators / inputs / results */
.light .input {
    background: #ffffff;
    border-color: #cfd8ff;
    color: #0d1734
}

.light .input::placeholder {
    color: #7281a9
}

.light .input:focus {
    outline: 2px solid #1F4FE0aa
}

.light .result {
    background: #f2f6ff;
    border-color: #dfe6ff;
    color: #0d1734
}

/* ==== Testimonials carousel ==== */
.testi-head {
    margin-bottom: 1rem
}

.testi-head h2 {
    margin: 0 0 .25rem
}

.testi-viewport {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ring);
    border-radius: 18px;
    background: linear-gradient(180deg, #0f1a3b, #0c1530);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .35), inset 0 1px 0 #ffffff0f;
    padding: 14px;
    perspective: 900px;
}

.light .testi-viewport {
    background: #fff;
    border-color: #e2e9ff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
}

.testi-track {
    display: flex;
    gap: 14px;
    will-change: transform;
    animation: testi-marquee var(--testi-speed, 26s) linear infinite;
}

.testi-viewport:hover .testi-track {
    animation-play-state: paused;
}

@keyframes testi-marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(calc(-50% - 7px))
    }

    /* -half width - half gap */
}

/* cards */
.tcard {
    min-width: clamp(260px, 34vw, 340px);
    background: radial-gradient(120% 140% at 18% 10%, #1b2a55, #0f1a3b);
    border: 1px solid #2a3a6a;
    border-radius: 16px;
    color: #e8eeff;
    padding: 14px;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .35);
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, background .25s ease;
}

.light .tcard {
    background: #ffffff;
    border-color: #e2e9ff;
    color: #0d1734;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.tcard:hover {
    transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 24px 46px rgba(0, 0, 0, .42);
}

/* header inside card */
.t-top {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .35rem
}

.t-top .flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25)
}

.t-top .who strong {
    display: block;
    font-weight: 800
}

.t-top .who small {
    display: block;
    opacity: .75
}

/* rating stars (SVG mask) */
.stars {
    margin-left: auto;
    display: inline-flex;
    gap: 2px
}

.stars i,
.stars i.half {
    width: 16px;
    height: 16px;
    display: inline-block;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/></svg>") center/contain no-repeat;
    background: #ffd76a;
}

.stars i.half {
    background: linear-gradient(90deg, #ffd76a 50%, #ffffff33 50%)
}

/* content */
.tcard p {
    margin: .2rem 0 0;
    line-height: 1.45
}

/* responsiveness */
@media (max-width:680px) {
    .tcard {
        min-width: 82vw
    }
}

/* Typewriter caret for the title span */
.hero3d__title .hi.tw{ position:relative; }
.hero3d__title .hi.tw::after{
  content:"";
  display:inline-block;
  width:2px;                 /* caret thickness */
  height:0.85em;             /* caret height */
  margin-left:.18em;
  vertical-align:-.05em;
  background:var(--caret,#fff);  /* dark mode default = white */
  border-radius:1px;
  animation:tw-blink .9s steps(1) infinite; /* blink when idle */
}
.hero3d__title .hi.tw.typing::after{
  animation:none; opacity:1; /* solid while typing */
}
@keyframes tw-blink{ 50%{ opacity:0 } }

/* Light mode caret color */
body.light .hero3d__title .hi.tw{ --caret:#0d1734; }

/* hero SVG glow softer on light */
.light .hero .backgrid {
    filter: drop-shadow(0 30px 80px rgba(0, 0, 0, .08))
}

/* theme toggle pill */
.light #mode {
    background: #0d173410;
    border-color: #0d173414
}

.light #mode:hover {
    background: #0d173416
}

/* Language selector */
.lang-menu {
    position: relative
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: 110%;
    background: rgba(12, 18, 36, .96);
    border: 1px solid var(--ring);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
    padding: .4rem;
    min-width: 220px;
    max-height: 60vh;
    overflow: auto;
    display: none;
    z-index: 1001;
    backdrop-filter: blur(8px) saturate(140%);
}

.lang-dropdown button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: inherit;
    padding: .6rem .8rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.lang-dropdown button:hover {
    background: #ffffff14
}

.lang-dropdown .code {
    opacity: .7;
    margin-left: auto;
    font-variant: all-small-caps;
    letter-spacing: .3px
}

body.light .lang-dropdown {
    background: #ffffffee;
    border-color: #0d173414
}

body.light .lang-dropdown button:hover {
    background: #0d173410
}

/* Optional: keep navbar tidy on small screens */
@media (max-width:980px) {
    .lang-menu {
        display: inline-block
    }
}


body {
    top: 0 !important
}


/* Flags in language dropdown */
.lang-dropdown .fi {
    margin-right: .5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25)
}

.lang-dropdown button {
    display: flex;
    align-items: center;
    gap: .55rem
}

/* (Optional) Visually hide Google Translate UI */
.goog-te-banner-frame {
    display: none !important;
}

#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}


/* CTA button styling */
.cta-btn.small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    /* keep in one line */
    background: linear-gradient(135deg, var(--primary), #163bb5);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31, 79, 224, 0.35);
    transition: all 0.25s ease;
    text-decoration: none;
}

.cta-btn.small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 79, 224, 0.45);
}

.cta-btn.small i {
    font-size: 1rem;
    line-height: 1;
}

/* ✅ Hide CTA on mobile + iPad (<= 1024px) */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
}

/* ===== AboutX (dark/light aware, responsive) ============================ */
:root{
  --aboutx-text: #e8eeff;
  --aboutx-muted:#b8c4df;
  --aboutx-ring:  rgba(255,255,255,.14);
  --aboutx-card: #10192f;
  --aboutx-accent:#e11d2e;     /* red */
  --aboutx-accent2:#1F4FE0;    /* navy/blue */
}
body.light{
  --aboutx-text:#0d1734;
  --aboutx-muted:#46516d;
  --aboutx-ring: rgba(13,23,52,.14);
  --aboutx-card:#f6f8ff;
}



.aboutx{ padding: clamp(56px,7vw,56px) 0; }
.aboutx__grid{
  display:grid; gap:clamp(22px,3.8vw,48px);
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  align-items:center;
}
@media (max-width: 992px){
  .aboutx__grid{ grid-template-columns:1fr; }
  .aboutx__visual{ order:-1; } /* image first on mobile */
}

.aboutx__copy{ color:var(--aboutx-text); }
.aboutx__eyebrow{
  font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  font-size:.82rem; color:#315CFF;
  display:inline-block; margin-bottom:.6rem;
}
.aboutx__title{
  margin:.25rem 0 .6rem;
  font-size:clamp(1.8rem,3.4vw,2.6rem);
  line-height:1.15; color:var(--aboutx-text);
}
.aboutx__lead{
  margin:0 0 1.1rem; color:var(--aboutx-muted);
  max-width:60ch;
  text-align: justify;
}

/* Progress meter */
.aboutx__meter{ margin:16px 0 22px; }
.aboutx__meter-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:6px; color:var(--aboutx-text); font-weight:600;
}
.aboutx__meter-val{ opacity:.9; }
.aboutx__bar{
  --val: 0;               /* 0–100 */
  height:8px; border-radius:999px; position:relative; overflow:hidden;
  background:color-mix(in oklab, var(--aboutx-text) 16%, transparent);
  outline:1px solid var(--aboutx-ring);
}
.aboutx__bar::before{
    --g1: #315CFF;
    --g2: #1F4FE0;
  content:""; position:absolute; inset:0; transform-origin:left;
  transform: scaleX(calc(var(--val) / 100));
  background: linear-gradient(180deg, var(--g1), var(--g2));
  border-radius:inherit;
  transition: transform .9s cubic-bezier(.22,.9,.23,1);
}

/* Button (scoped) – use your own if you like */
.aboutx__btn{
    --g1: #315CFF;
    --g2: #1F4FE0;
  display:inline-block; padding:.78rem 1.2rem; border-radius:12px;
  background: linear-gradient(180deg, var(--g1), var(--g2));
  color:#fff; text-decoration:none; font-weight:700;
  box-shadow: 0 10px 24px rgba(29, 161, 225, 0.28);
  border:1px solid var(--aboutx-ring);
  transition: transform .18s ease, box-shadow .18s ease;
}


.aboutx__btn:hover{ transform: translateY(-1px); }
.aboutx__btn:active{ transform: translateY(0); }

/* Visual / Image card with decorations */
.aboutx__image{
  position:relative; border-radius:18px; overflow:hidden;
  border:1px solid var(--aboutx-ring);
  box-shadow: 0 18px 48px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
  background:var(--aboutx-card);
  isolation:isolate;
}
.aboutx__image img{
  width:100%; height:auto; display:block; object-fit:cover;
}

/* Decorative slashes (top-left) */
.aboutx__image::before, .aboutx__image::after{
  content:""; position:absolute; width:54px; height:10px; border-radius:6px;
  top:18px; left:18px; transform:skewX(-18deg);
}
.aboutx__image::before{ background:var(--aboutx-accent); }
.aboutx__image::after{ --g1: #315CFF;
    --g2: #1F4FE0; background: linear-gradient(180deg, var(--g1), var(--g2)); top:34px; }

/* Bottom-right mosaic */
.aboutx__image > i{
  position:absolute; right:18px; bottom:18px; width:78px; height:78px;
  background:
    linear-gradient(135deg, var(--aboutx-accent), transparent 60%),
    linear-gradient(315deg, var(--aboutx-accent2), transparent 60%);
  border-radius:12px; opacity:.85; pointer-events:none;
}

/* Badge */
.aboutx__badge{
    --g1: #315CFF;
    --g2: #1F4FE0;
position: absolute;
  left: 22px;
  bottom: 22px;
  background: linear-gradient(180deg, var(--g1), var(--g2));
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 14px 36px rgba(29, 142, 225, 0.35);
  display: grid;
  align-items: center;
  gap: 4px;
  min-width: 140px;
}
.aboutx__badge strong{ font-size:2rem; line-height:1; }
.aboutx__badge span{ font-size:.85rem; opacity:.9; }

/* Reduce motion: keep look, skip animation */
@media (prefers-reduced-motion: reduce){
  .aboutx__bar::before{ transition:none }
}


/* === Small-card alignment fix (ServicesZ) ============================== */

/* Card body = full-height grid + bottom space reserved for CTA */
.servicesz .sz-body{
  display: grid;
  grid-template-rows: auto /* badge */ auto /* title */ auto /* desc */ 1fr /* spacer */ auto /* pills */;
  gap: 6px;
  height: 100%;
  padding: 16px 16px 46px; /* CTA overlap na ho */
}

/* CTA fixed at bottom-right (padding already reserved) */
.servicesz .sz-cta{
  position: absolute;
  right: 16px;
  bottom: 12px;
}

/* Sirf chhote tiles (bade data-span="2" ko chhodo): title/desc 2 lines tak */
.servicesz .sz-card:not([data-span="2"]) .sz-title{
  line-height: 1.2;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.2em * 2);
  hyphens: auto;
}
.servicesz .sz-card:not([data-span="2"]) .sz-desc{
  line-height: 1.25;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
  overflow: hidden;
  min-height: calc(1.25em * 1);
}

/* Pills ek row tak hi dikhao */
.servicesz .sz-card:not([data-span="2"]) .sz-pills{
  max-height: 1.95rem;
  overflow: hidden;
}

/* (Optional) chhote tiles thode unche chahiye to ye on karo */
@media (min-width: 721px){
  .servicesz .servicesz__grid{ grid-auto-rows: 240px; } /* default 220px */
}


/* iPad Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  
  .hero3d__title{
    margin: .35rem 0 .25rem;
  font-size: 65px;
  line-height: 1.08;
  text-align: center;
  }

  .hero3d__sub {
  color: #cfe1ff;
  text-align: center;
  font-size: 22px;
}

.hero__cta{

    display: flex;
  justify-content: center;
  gap: 20px;

}

.aboutx__lead{
    max-width: 75ch;
}

.tools{
    margin: 28px auto -24px;;
}
}

/* Mobile screens only */
@media only screen and (max-width: 767px) {
.hero3d__title{
    font-size: 35px;
    margin-top: 10px;
}

.hero3d__sub{
    display: none;
}
.hero__cta{
    margin-top: 35px;
  display: flex;
  gap: 18px;
  font-size: 13px;
}
.servicesz{
    padding: clamp(32px,7vw,56px) 0;
}
.servicesz .title{
    font-size: 19px;
  line-height: 26px;
  text-align: center;
}
.servicesz .muted{
    text-align: center;
}
.servicesz__filters{
    justify-content: center;
}

.contact-card, .contact-info{
    display: grid;
}
}

/* === Light mode: better image + readable text on cards === */

/* Image ko thoda zyada visible + rich banayein */
body.light .sz-media{
  opacity: .55;                  /* was .28 */
  filter: saturate(1.05) brightness(.9) contrast(1.08);
}

/* White overlay hatao; subtle dark tint use karo so text stands out */
body.light .sz-card::before{
  background:
    linear-gradient(180deg, rgba(8,13,24,.62) 0%, rgba(8,13,24,.28) 42%, rgba(8,13,24,.06) 100%),
    radial-gradient(120% 100% at 20% 10%, rgba(8,13,24,.45), transparent 60%);
  opacity: 1;
}

/* Card ke andar text ko consistently readable rakho */
body.light .sz-card .sz-title,
body.light .sz-card .sz-desc,
body.light .sz-card .badge,
body.light .sz-card .sz-cta,
body.light .sz-card .sz-pills li{
  color: #fff;
}

/* Pills/badges borders/background—light mode me halka transparent dark */
body.light .sz-card .badge{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
body.light .sz-card .sz-pills li{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}

/* Subtle legibility boost */
.sz-card .sz-title,
.sz-card .sz-desc{
  text-shadow: 0 1px 1px rgba(0,0,0,.22);
}

/* Hover: image thoda aur pop ho */
body.light .sz-card:hover .sz-media{
  opacity: .6;
  filter: saturate(1.1) brightness(.88) contrast(1.12);
}


/* niceties for pills/results */
.t-hint{ margin:.25rem 0 .5rem }
.pills{ display:flex; gap:.4rem; margin:.5rem 0 }
.pill{ border:1px solid var(--ring,#2b3b6a); background:#ffffff10; padding:.25rem .55rem; border-radius:999px; font-size:.9rem; cursor:pointer; color: #fff; }
.light .pill{ background:#0d173410; border-color:#0d173414 }
.pill--hi{ background:linear-gradient(90deg,#315CFF,#17C3B2); color:#fff; border:0 }
.t-result .line{ margin:.25rem 0 }
.t-result .tip{ font-style:italic; opacity:.85 }
