﻿/* =========================================================
   NEXVARA TECHNOLOGIES — CORE DESIGN SYSTEM
   ========================================================= */

:root {
    /* ===== NEXVARA — WHITE & NAVY BLUE PALETTE (LIGHT THEME) =====
     0A2647  deep navy       (headings, links, primary text-accent)
     144272  royal navy      (primary accent — buttons, glow, icons)
     205295  steel blue      (secondary accent / muted text)
     6C99C6  soft sky-blue   (borders, tertiary tint)
     EAF2FB  pale ice-blue   (section tints, card fills)             */
    --c-deep: #0A2647;
    --c-primary: #205295;
    --c-white: #FFFFFF;
    --c-secondary: #2C74B3;
    --c-soft: #6C99C6;
    --c-pale: #EAF2FB;
    /* surfaces — clean whites with a whisper of ice-blue, no dark/black panels anywhere */
    --bg-void: #ffffff;
    --bg-base: #ffffff;
    --bg-section: #F2F6FC;
    --bg-elevated: #F7FAFD;
    --bg-card: #ffffff;
    --border-soft: rgba(10,38,71,0.12);
    --border-strong: rgba(10,38,71,0.26);
    --border-active: rgba(10,38,71,0.45);
    /* accent scale — reused across links, eyebrows, icons, hovers */
    --gold-100: #0A2647;
    --gold-300: #0A2647;
    --gold-500: #205295;
    --gold-600: #2C74B3;
    --gold-700: #06172E;
    --gold-grad: linear-gradient(135deg,#2C74B3 0%,#205295 55%,#0A2647 100%);
    --gold-grad-solid: linear-gradient(135deg,#205295 0%,#0A2647 100%);
    /* secondary accent — used sparingly for a modern tech undertone alongside the primary */
    --azure-400: #6C99C6;
    --azure-500: #2C74B3;
    /* text scale — dark navy tones mixed down from the brand palette for AA-safe reading on white */
    --ink-0: #0C2340;
    --ink-100: #0A2647;
    --ink-300: #2E4A6B;
    --ink-500: #5A7492;
    --ink-700: #9BB4CC;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-gold: 0 10px 30px -10px rgba(10,38,71,0.28);
    --shadow-gold-lg: 0 20px 50px -14px rgba(10,38,71,0.35);
    --shadow-deep: 0 20px 50px -22px rgba(10,38,71,0.18);
    --ff-display: 'Playfair Display', 'Georgia', serif;
    --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-w: 1240px;
    --ease-smooth: cubic-bezier(.22,.75,.22,1);
    --dur-fast: .25s;
    --dur-med: .45s;
    --dur-slow: .8s;
    /* ===== NAVY ACCENT LAYER (matches logo navy, still bright — not black) =====
       Used for card hover fills and the ~40% "navy band" sections that
       break up the mostly-white (60%) layout — a true white + navy combine,
       NOT a black dark-mode. */
    --dark-1: #0A2647;
    --dark-2: #0F3460;
    --dark-3: #205295;
    --dark-fill: linear-gradient(150deg, var(--dark-1) 0%, var(--dark-2) 45%, var(--c-deep) 78%, var(--c-primary) 130%);
    --dark-fill-soft: linear-gradient(150deg, var(--dark-2) 0%, var(--c-deep) 60%, var(--c-primary) 140%);
    --dark-border: rgba(108,153,198,0.28);
    --dark-ink: #DCEBFA;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* subtle top scroll-progress indicator */
.nx-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 1200;
    background: var(--gold-grad);
    box-shadow: 0 0 12px rgba(32,82,149,.6);
    transition: width .1s linear;
}

/* custom scrollbar for a more polished feel */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold-700),var(--gold-500));
    border-radius: 10px;
    border: 2px solid var(--bg-section);
}

body {
    background: var(--bg-base);
    color: var(--ink-300);
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-w);
}

h1, h2, h3, h4, .font-display {
    font-family: var(--ff-display);
    color: var(--ink-0);
    font-weight: 600;
    letter-spacing: 0.2px;
}

a {
    color: var(--gold-300);
    text-decoration: none;
    transition: all .25s ease;
}

    a:hover {
        color: var(--gold-100);
    }

::selection {
    background: var(--gold-500);
    color: #ffffff;
}

/* =============== UTILITIES =============== */
.nx-section {
    padding: 100px 0;
    position: relative;
}

.nx-section-sm {
    padding: 64px 0;
}

.nx-section-alt {
    background: var(--bg-section);
}

.nx-section-void {
    background: var(--bg-void);
}

.nx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--gold-300);
    font-weight: 600;
    margin-bottom: 16px;
}

    .nx-eyebrow::before {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--gold-500);
        display: inline-block;
    }

.nx-title {
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    margin-bottom: 18px;
}

.nx-subtitle {
    color: var(--ink-500);
    font-size: 1.08rem;
    max-width: 640px;
}

.nx-title-wrap {
    margin-bottom: 56px;
}

    .nx-title-wrap.text-center {
        margin-left: auto;
        margin-right: auto;
    }

        .nx-title-wrap.text-center .nx-subtitle {
            margin-left: auto;
            margin-right: auto;
        }

.text-gold {
    color: var(--gold-300) !important;
}

.bg-void {
    background: var(--bg-void);
}

/* Gold gradient text */
.nx-grad-text {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =============== BUTTONS =============== */
.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .3px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

    .nx-btn::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
        transform: skewX(-20deg);
        transition: left .55s var(--ease-smooth);
    }

    .nx-btn:hover::after {
        left: 130%;
    }

.nx-btn-primary {
    background: var(--nx-indigo-600);
    color: #ffffff;
    box-shadow: var(--nx-indigo-600);
}

    .nx-btn-primary:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
        color: #ffffff;
        box-shadow: var(--shadow-gold-lg);
    }

.nx-btn-outline {
    background: var(--nx-indigo-600);
    color: var(--ink-0);
    border-color: var(--border-strong);
}
.nx-btn-outline1 {
    background: white;
    color: black;
    border-color: var(--border-strong);
}
.nx-btn-outline1:hover {
    background: var(--nx-indigo-600);
    color: white;
    border-color: var(--border-strong);
}

    .nx-btn-outline:hover {
        background: var(--gold-500);
        color: #ffffff;
        border-color: var(--gold-500);
        transform: translateY(-2px);
    }

.nx-btn-ghost {
    background: transparent;
    color: var(--gold-300);
    padding: 14px 8px;
}

.nx-btn-sm {
    padding: 10px 22px;
    font-size: 13px;
}

.nx-btn-block {
    width: 100%;
}

/* =============== NAVBAR =============== */
.nx-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    transition: background .3s ease, padding .3s ease;
    padding: 14px 0;
}

    .nx-navbar.is-scrolled {
        background: rgba(255,255,255,0.96);
        padding: 8px 0;
        box-shadow: 0 12px 30px -18px rgba(10,38,71,0.22);
    }

.nx-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .nx-brand img {
        height: 40px;
        width: auto;
    }

.nx-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .nx-brand-text .nx-brand-name {
        font-family: var(--ff-display);
        font-size: 1.35rem;
        color: var(--ink-0);
        font-weight: 700;
        letter-spacing: .5px;
    }

    .nx-brand-text .nx-brand-tag {
        font-size: 9.5px;
        letter-spacing: 3px;
        color: var(--gold-500);
        text-transform: uppercase;
        margin-top: 2px;
    }

.nx-nav .nav-link {
    color: var(--ink-300);
    font-weight: 500;
    font-size: 14.5px;
    padding: 10px 16px !important;
    position: relative;
    transition: color var(--dur-fast) var(--ease-smooth);
}

    .nx-nav .nav-link::before {
        content: "";
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 4px;
        height: 2px;
        background: var(--gold-grad);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform var(--dur-fast) var(--ease-smooth);
        box-shadow: 0 0 10px rgba(32,82,149,.55);
    }

    .nx-nav .nav-link:hover, .nx-nav .nav-link.active {
        color: var(--ink-0);
    }

        .nx-nav .nav-link:hover::before, .nx-nav .nav-link.active::before {
            transform: scaleX(1);
        }

.nx-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: nx-dropdown-in .22s var(--ease-smooth);
}

@keyframes nx-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nx-dropdown-menu {
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 10px;
    min-width: 240px;
    box-shadow: var(--shadow-deep);
}

    .nx-dropdown-menu .dropdown-item {
        color: var(--ink-300);
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 14px;
    }

        .nx-dropdown-menu .dropdown-item:hover {
            background: rgba(32,82,149,0.1);
            color: var(--gold-100);
        }

.navbar-toggler {
    border-color: var(--border-strong);
}

.navbar-toggler-icon {
    filter: none;
}

/* =============== HERO =============== */
/* ============================================
   NEXVARA HERO SECTION — Premium White & Navy Blue
   (matches reference screenshot, elevated finish)
   ============================================ */

:root {
    --nx-ink: #0C2340;
    --nx-indigo-900: #06172E;
    --nx-indigo-700: #0A2647;
    --nx-indigo-600: #144272;
    --nx-indigo-400: #6C99C6;
    --nx-gold: #144272;
    --nx-gold-soft: #6C99C6;
    --nx-ease: cubic-bezier(.22, 1, .36, 1);
}

.nx-hero {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(180deg, #EEF3FB 0%, #EEF3FB 55%, #F7FAFD 100%);
    overflow: hidden;
}

/* fine film-grain texture for a premium, non-flat surface */
.nx-hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .5;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------- Dot grid pattern (top-right + bottom-left) ---------- */
.nx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 66, 114, 0.22) 1.4px, transparent 1.4px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(circle 420px at 100% 8%, black 0%, transparent 70%), radial-gradient(circle 380px at 0% 100%, black 0%, transparent 70%);
    -webkit-mask-composite: source-over;
    mask-image: radial-gradient(circle 420px at 100% 8%, black 0%, transparent 70%), radial-gradient(circle 380px at 0% 100%, black 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Soft big blob shapes (bg color/shape from image) ---------- */
.nx-hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

    .nx-hero-blob.blob-tl {
        width: 640px;
        height: 640px;
        left: -260px;
        top: 60px;
        background: radial-gradient(circle at 35% 35%, rgba(108, 153, 198, 0.35), rgba(108, 153, 198, 0.08) 60%, transparent 75%);
        animation: nx-blob-float-1 14s ease-in-out infinite;
    }

    .nx-hero-blob.blob-bl {
        width: 460px;
        height: 460px;
        left: -180px;
        bottom: -220px;
        background: radial-gradient(circle at 40% 40%, rgba(32, 82, 149, 0.30), rgba(32, 82, 149, 0.06) 60%, transparent 75%);
        animation: nx-blob-float-2 16s ease-in-out infinite;
    }

    .nx-hero-blob.blob-br {
        width: 300px;
        height: 300px;
        right: -80px;
        bottom: 40px;
        background: radial-gradient(circle at 40% 40%, rgba(32, 82, 149, 0.20), transparent 70%);
        animation: nx-blob-float-1 10s ease-in-out infinite;
    }

@keyframes nx-blob-float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -22px) scale(1.05);
    }
}

@keyframes nx-blob-float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-16px, 20px) scale(1.06);
    }
}

.nx-hero .container {
    position: relative;
    z-index: 2;
}

/* ---------- Eyebrow badge (glass + gold dot) ---------- */
.nx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    border: 1px solid rgba(20, 66, 114, 0.35);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #0A2647;
    margin-bottom: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(10, 38, 71, 0.08), inset 0 1px 0 rgba(255,255,255,.9);
}

    .nx-hero-badge .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: radial-gradient(circle at 35% 30%, var(--nx-gold-soft), var(--nx-gold));
        box-shadow: 0 0 0 4px rgba(20, 66, 114, 0.22);
        animation: nx-dot-pulse 2.2s var(--nx-ease) infinite;
    }

@keyframes nx-dot-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(20, 66, 114, 0.22);
    }

    50% {
        opacity: .55;
        box-shadow: 0 0 0 7px rgba(20, 66, 114, 0.12);
    }
}

/* ---------- Headline ---------- */
.nx-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.14;
    letter-spacing: -.5px;
    margin-bottom: 20px;
    color: #0C2340;
    font-weight: 700;
}

    .nx-hero h1 .nx-grad-text {
        background: linear-gradient(90deg, var(--nx-indigo-700), var(--nx-indigo-600) 45%, var(--nx-gold) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-size: 200% 100%;
        animation: nx-grad-shift 8s var(--nx-ease) infinite;
    }

@keyframes nx-grad-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nx-hero p.lead {
    font-size: 1.06rem;
    line-height: 1.6;
    color: #425A78;
    max-width: 560px;
    margin-bottom: 30px;
}

/* ---------- Buttons (premium foil-shine hover) ---------- */
.nx-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    overflow: hidden;
    transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease);
}

.nx-btn-primary {
    background: linear-gradient(135deg, var(--nx-indigo-900), var(--nx-indigo-700) 55%, var(--nx-indigo-600));
    color: #fff;
    box-shadow: 0 14px 28px -10px rgba(6, 23, 46, 0.55), inset 0 1px 0 rgba(255,255,255,.18);
}

    .nx-btn-primary::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(115deg, transparent 30%, rgba(108, 153, 198, .55) 48%, transparent 66%);
        background-size: 220% 220%;
        background-position: -140% -140%;
        transition: background-position .7s var(--nx-ease);
    }

    .nx-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 36px -12px rgba(6, 23, 46, 0.6), inset 0 1px 0 rgba(255,255,255,.24);
        color: #fff;
    }

        .nx-btn-primary:hover::before {
            background-position: 140% 140%;
        }

.nx-btn-outline {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    color: #0C2340;
    border: 1px solid rgba(31, 35, 56, 0.12);
}

    .nx-btn-outline:hover {
        transform: translateY(-3px);
        background: var(--nx-indigo-600);
        border-color: rgba(20, 66, 114, 0.4);
        box-shadow: 0 14px 26px -12px rgba(31, 35, 56, 0.25);
        color: #ffffff;
    }

    .nx-btn-outline i {
        color: var(--nx-indigo-600);
        font-size: 11px;
    }

/* ============================================
   GOOEY BLOB BUTTONS — theme colors (indigo/gold)
   converted from SCSS to plain CSS, no hardcoded colors
   ============================================ */
.blob-btn {
    --blob-color: var(--nx-indigo-700);
    --blob-text: var(--nx-indigo-700);
    --blob-fill-text: #fff;
    z-index: 1;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    text-align: center;
    text-transform: none;
    color: var(--blob-text);
    font-size: 14.5px;
    font-weight: 600;
    font-family: inherit;
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    transition: color .5s var(--nx-ease);
    text-decoration: none;
}

    .blob-btn::before {
        content: "";
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border: 2px solid var(--blob-color);
        border-radius: 999px;
    }

    .blob-btn::after {
        content: "";
        z-index: -2;
        position: absolute;
        left: 3px;
        top: 3px;
        width: 100%;
        height: 100%;
        transition: all .3s .2s;
        border-radius: 999px;
    }

    .blob-btn:hover {
        color: var(--blob-fill-text);
    }

        .blob-btn:hover::after {
            transition: all .3s;
            left: 0;
            top: 0;
        }

.blob-btn__inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #fff;
}

.blob-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url('#goo');
}

.blob-btn__blob {
    position: absolute;
    top: 2px;
    width: 25%;
    height: 100%;
    background: var(--blob-color);
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.4);
    transition: transform .45s var(--nx-ease);
}

    .blob-btn__blob:nth-child(1) {
        left: 0%;
        transition-delay: 0s;
    }

    .blob-btn__blob:nth-child(2) {
        left: 30%;
        transition-delay: .08s;
    }

    .blob-btn__blob:nth-child(3) {
        left: 60%;
        transition-delay: .16s;
    }

    .blob-btn__blob:nth-child(4) {
        left: 90%;
        transition-delay: .24s;
    }

.blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.4);
}

/* gold variant — for the secondary "View Our Work" button */
.blob-btn--gold {
    --blob-color: var(--nx-gold);
    --blob-text: #144272;
    --blob-fill-text: #0A2647;
}

.blob-btn i {
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.blob-btn span.blob-btn__label {
    position: relative;
    z-index: 2;
    font-family: Georgia-serif;
}

.nx-hero-stats {
    display: flex;
    gap: 0;
    margin-top: 42px;
    flex-wrap: wrap;
}

    .nx-hero-stats > div {
        position: relative;
        padding: 0 30px;
        border-left: 1px solid rgba(31, 35, 56, 0.1);
    }

        .nx-hero-stats > div:first-child {
            padding-left: 0;
            border-left: 0;
        }

    .nx-hero-stats .stat-num {
        font-size: 2rem;
        font-weight: 800;
        color: var(--nx-ink);
        line-height: 1.1;
        letter-spacing: -.5px;
    }

    .nx-hero-stats .stat-label {
        font-size: 12px;
        color: #5A7492;
        margin-top: 6px;
        position: relative;
        padding-top: 8px;
    }

        .nx-hero-stats .stat-label::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 22px;
            height: 2px;
            background: linear-gradient(90deg, var(--nx-gold), transparent);
            border-radius: 2px;
        }

/* ---------- Right visual panel (deep layered shadow, glass edge) ---------- */
.nx-hero-visual {
    position: relative;
    border-radius: 32px;
    padding: 40px;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #EAF2FB, #F7FAFD 55%, #E1EBF7);
    box-shadow: 0 50px 90px -30px rgba(6, 23, 46, 0.28), 0 18px 34px -16px rgba(6, 23, 46, 0.18), inset 0 0 0 1px rgba(255,255,255,0.7), inset 0 1px 0 rgba(255,255,255,0.9);
    animation: nx-visual-float 6.5s var(--nx-ease) infinite;
    overflow: visible;
}

    .nx-hero-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(155deg, rgba(255,255,255,.9), rgba(20,66,114,.25) 45%, rgba(255,255,255,0) 70%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

@keyframes nx-visual-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* decorative wavy lines + dot texture inside visual */
.nx-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(rgba(20, 66, 114, 0.14) 1.2px, transparent 1.2px);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(circle 260px at 15% 90%, black, transparent 70%);
    mask-image: radial-gradient(circle 260px at 15% 90%, black, transparent 70%);
    pointer-events: none;
}

/* ============================================
   PREMIUM ORBIT STAGE — logo centerpiece
   ============================================ */
.nx-orbit-stage {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* rotating conic-gradient halo ring (indigo → gold, refined) */
.nx-orbit-conic {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(10,38,71,0) 0deg, rgba(32,82,149,.8) 85deg, rgba(20,66,114,.85) 180deg, rgba(108,153,198,0) 245deg, rgba(10,38,71,0) 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
    animation: nx-orbit-spin 11s linear infinite;
    filter: drop-shadow(0 0 12px rgba(32,82,149,.4));
}

/* slim inner gold ring for layered depth */
.nx-orbit-gold-ring {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px solid rgba(20, 66, 114, 0.45);
    box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset;
}

/* soft pulsing outer glow behind everything */
.nx-orbit-stage::before {
    content: "";
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(32,82,149,.16), transparent 70%);
    animation: nx-pulse-glow 4s ease-in-out infinite;
    z-index: 0;
}

/* rotating circular text band */
.nx-orbit-text {
    position: absolute;
    inset: 18px;
    animation: nx-orbit-spin 34s linear infinite;
}

    .nx-orbit-text text {
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 3px;
        fill: rgba(10, 38, 71, 0.55);
        text-transform: uppercase;
    }

/* orbiting service icons — track spins, icon-inner counter-spins to stay upright */
.nx-orbit-track {
    position: absolute;
    inset: 0;
    animation: nx-orbit-spin 26s linear infinite;
    z-index: 2;
}

.nx-orbit-pos {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: rotate(var(--angle));
}

.nx-orbit-icon {
    position: absolute;
    top: -20px;
    left: 122px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(160deg, #ffffff, #EAF2FB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-indigo-700);
    font-size: 16px;
    box-shadow: 0 12px 24px -8px rgba(10, 38, 71, 0.4), 0 0 0 1px rgba(20, 66, 114, 0.3), inset 0 1px 0 rgba(255,255,255,.9);
    animation: nx-orbit-spin-rev 26s linear infinite;
    transition: box-shadow .3s var(--nx-ease);
}

@keyframes nx-orbit-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes nx-orbit-spin-rev {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes nx-pulse-glow {
    0%, 100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* central glass core with logo — richer, gold-rimmed */
.nx-hero-visual .hexring {
    position: relative;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 32% 22%, #ffffff, #EAF2FB 55%, #DCEBFA 100%);
    box-shadow: 0 26px 50px -14px rgba(6, 23, 46, 0.45), 0 0 0 1px rgba(20, 66, 114, 0.35), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -6px 14px rgba(10, 38, 71, 0.06);
    z-index: 3;
    animation: nx-core-breathe 5.5s var(--nx-ease) infinite;
    overflow: hidden;
}

    /* diagonal shimmer sweep across the core */
    .nx-hero-visual .hexring::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%);
        background-size: 250% 250%;
        background-position: -120% -120%;
        animation: nx-shimmer-sweep 4.5s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes nx-shimmer-sweep {
    0% {
        background-position: -120% -120%;
    }

    45% {
        background-position: 120% 120%;
    }

    100% {
        background-position: 120% 120%;
    }
}

@keyframes nx-core-breathe {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

.nx-hero-visual .hexring img {
    position: relative;
    z-index: 1;
    width: 56%;
    height: auto;
}

/* cycling caption below the core: Web / Mobile / Cloud / AI */
.nx-orbit-caption {
    position: absolute;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 18px;
    text-align: center;
    z-index: 3;
}

    .nx-orbit-caption span {
        position: absolute;
        inset: 0;
        opacity: 0;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .6px;
        text-transform: uppercase;
        color: #144272;
        animation: nx-caption-cycle 16s infinite;
    }

        .nx-orbit-caption span:nth-child(1) {
            animation-delay: 0s;
        }

        .nx-orbit-caption span:nth-child(2) {
            animation-delay: 4s;
        }

        .nx-orbit-caption span:nth-child(3) {
            animation-delay: 8s;
        }

        .nx-orbit-caption span:nth-child(4) {
            animation-delay: 12s;
        }

@keyframes nx-caption-cycle {
    0%, 2% {
        opacity: 0;
        transform: translateY(6px);
    }

    6%, 19% {
        opacity: 1;
        transform: translateY(0);
    }

    23%, 100% {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* floating spheres inside the visual panel */
.nx-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #A9C6E8 70%);
    box-shadow: 0 10px 20px -6px rgba(10, 38, 71, 0.35);
}

    .nx-sphere.s1 {
        width: 22px;
        height: 22px;
        top: 14%;
        left: 12%;
        animation: nx-sphere-float 5s ease-in-out infinite;
    }

    .nx-sphere.s2 {
        width: 18px;
        height: 18px;
        bottom: 14%;
        left: 18%;
        animation: nx-sphere-float 6s ease-in-out infinite 1s;
    }

    .nx-sphere.s3 {
        width: 26px;
        height: 26px;
        bottom: 8%;
        right: 12%;
        animation: nx-sphere-float 7s ease-in-out infinite .5s;
    }

@keyframes nx-sphere-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* sparkle glyphs (gold) */
.nx-sparkle {
    position: absolute;
    color: rgba(20, 66, 114, 0.75);
    font-size: 14px;
    animation: nx-sparkle-twinkle 3s var(--nx-ease) infinite;
}

    .nx-sparkle.sp1 {
        top: 18%;
        right: 22%;
    }

    .nx-sparkle.sp2 {
        top: 42%;
        right: 8%;
        animation-delay: .8s;
    }

@keyframes nx-sparkle-twinkle {
    0%, 100% {
        opacity: .3;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ---------- Floating info cards (glass, gold-accent icon) ---------- */
.nx-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 12px 17px;
    box-shadow: 0 20px 40px -14px rgba(31, 35, 56, 0.25), 0 0 0 1px rgba(255,255,255,.6) inset;
    z-index: 3;
    animation: nx-card-float 5.5s var(--nx-ease) infinite;
}

    .nx-float-card .icn {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(155deg, #E1EBF7, #EAF2FB);
        color: var(--nx-indigo-700);
        font-size: 17px;
        flex-shrink: 0;
        box-shadow: 0 0 0 1px rgba(20, 66, 114, 0.25) inset;
    }

    .nx-float-card .txt {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.25;
        color: var(--nx-ink);
    }

    .nx-float-card.card-left {
        top: 14%;
        left: -8%;
        animation-delay: .3s;
    }

    .nx-float-card.card-right {
        top: 34%;
        right: -10%;
        animation-delay: 1s;
    }

@keyframes nx-card-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .nx-hero {
        padding: 120px 0 70px;
    }
        .nx-hero .d-flex.flex-wrap.gap-3 {
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

            .nx-hero .d-flex.flex-wrap.gap-3 .blob-btn {
                width: 100%;
                max-width: 320px;
                justify-content: center;
            }

    .nx-hero-visual {
        min-height: 380px;
        margin-top: 40px;
    }

    .nx-float-card.card-left {
        left: 0;
        top: 6%;
    }

    .nx-float-card.card-right {
        right: 0;
        top: 30%;
    }

    .nx-hero-blob.blob-tl {
        width: 420px;
        height: 420px;
        left: -200px;
        top: 20px;
    }

    .nx-hero-blob.blob-bl {
        width: 320px;
        height: 320px;
    }
    .nx-hero-stats {
        justify-content: center;
        gap: 12px 28px;
        margin-top: 36px;
    }

        .nx-hero-stats > div {
            padding: 0;
            border-left: 0;
            text-align: center;
            min-width: 110px;
        }

        .nx-hero-stats .stat-label::before {
            left: 50%;
            transform: translateX(-50%);
        }
}

@media (max-width: 767.98px) {
    .nx-hero {
        padding: 110px 0 60px;
    }

        .nx-hero h1 {
            font-size: 2rem;
        }

        .nx-hero p.lead {
            font-size: .98rem;
        }

    .nx-hero-stats {
        gap: 0;
        margin-top: 30px;
    }

        .nx-hero-stats > div {
            padding: 0 16px;
        }

    .nx-hero-visual {
        padding: 24px;
        min-height: 320px;
        border-radius: 24px;
    }

    .nx-orbit-stage {
        width: 240px;
        height: 240px;
    }

    .nx-hero-visual .hexring {
        width: 130px;
        height: 130px;
    }

    .nx-orbit-icon {
        left: 92px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .nx-orbit-caption {
        bottom: -30px;
        font-size: 11px;
    }

    .nx-float-card {
        padding: 9px 12px;
        gap: 8px;
    }

        .nx-float-card .icn {
            width: 32px;
            height: 32px;
            font-size: 14px;
        }

        .nx-float-card .txt {
            font-size: 11.5px;
        }

        .nx-float-card.card-left {
            top: 2%;
            left: 2%;
        }

        .nx-float-card.card-right {
            top: 26%;
            right: 2%;
        }

    .nx-btn {
        padding: 12px 20px;
        font-size: 13.5px;
    }

    .blob-btn {
        padding: 12px 22px;
        font-size: 13.5px;
    }
    .nx-hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-top: 28px;
        padding: 18px 12px;
        background: rgba(255, 255, 255, 0.65);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(10, 38, 71, 0.08);
        border-radius: 18px;
        box-shadow: 0 12px 32px -16px rgba(10, 38, 71, 0.12);
    }

        .nx-hero-stats > div {
            padding: 8px 4px;
            text-align: center;
            border-left: 0;
            position: relative;
        }

            /* soft vertical divider between stats */
            .nx-hero-stats > div:not(:last-child)::after {
                content: "";
                position: absolute;
                right: 0;
                top: 20%;
                bottom: 20%;
                width: 1px;
                background: linear-gradient( to bottom, transparent, rgba(10, 38, 71, 0.12), transparent );
            }

        .nx-hero-stats .stat-num {
            font-size: 1.55rem;
            font-weight: 800;
            letter-spacing: -0.4px;
        }

        .nx-hero-stats .stat-label {
            font-size: 11px;
            margin-top: 4px;
            padding-top: 6px;
            line-height: 1.3;
            color: #5A7492;
        }

            .nx-hero-stats .stat-label::before {
                width: 18px;
                left: 50%;
                transform: translateX(-50%);
            }
    .nx-hero .row > .col-lg-6:last-child {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .nx-hero-stats {
        flex-direction: column;
        gap: 14px;
    }

        .nx-hero-stats > div {
            border-left: 0;
            padding: 0;
        }

    .nx-float-card {
        position: static;
        margin-bottom: 10px;
        animation: none;
    }

    .nx-hero-visual {
        flex-direction: column;
    }
}
@media (max-width: 420px) {
    .nx-hero-stats {
        gap: 8px;
        padding: 14px 8px;
        border-radius: 16px;
    }

        .nx-hero-stats .stat-num {
            font-size: 120% ;
        }

        .nx-hero-stats .stat-label {
            font-size: 45%;
        }
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .nx-hero-blob,
    .nx-hero-badge .dot,
    .nx-hero-visual,
    .nx-orbit-conic,
    .nx-orbit-stage::before,
    .nx-orbit-text,
    .nx-orbit-track,
    .nx-orbit-icon,
    .nx-hero-grain,
    .blob-btn__blob,
    .nx-hero-visual .hexring,
    .nx-hero-visual .hexring::before,
    .nx-orbit-caption span,
    .nx-sphere,
    .nx-sparkle,
    .nx-float-card {
        animation: none !important;
    }

        .nx-orbit-caption span:first-child {
            opacity: 1;
        }
    .nx-hero-stats {
        transition: none;
    }
}

/* =============== LOGO STRIP =============== */
.nx-logostrip {
    position: relative;
    padding: 42px 0;
    background: var(--bg-void);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

    .nx-logostrip .strip-label {
        font-size: 11px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: var(--ink-500);
        text-align: center;
        margin: 0 0 25px;
        font-weight: 600;
    }


/*    .nx-logostrip .logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 34px;
        opacity: .65;
    }

        .nx-logostrip .logos span {
            font-family: var(--ff-display);
            font-size: 1.3rem;
            color: var(--ink-500);
            letter-spacing: 1px;
        }*/

/* =========================================================
   NEXVARA — PROCESS TIMELINE (Desktop + Mobile Premium)
   ========================================================= */

.nx-process-section {
    position: relative;
}

.nx-process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 20px;
}

    /* horizontal connecting line (desktop) */
    .nx-process-timeline::before {
        content: "";
        position: absolute;
        top: 38px;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient( 90deg, transparent 0%, rgba(32, 82, 149, 0.25) 15%, rgba(32, 82, 149, 0.35) 50%, rgba(32, 82, 149, 0.25) 85%, transparent 100% );
        z-index: 0;
    }

.nx-process-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nx-process-marker {
    position: relative;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nx-process-num {
    font-family: var(--ff-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.nx-process-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #205295, #0A2647);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(32, 82, 149, 0.18), 0 6px 16px rgba(10, 38, 71, 0.2);
}

.nx-process-card {
    background: #ffffff;
    border: 1px solid rgba(10, 38, 71, 0.1);
    border-radius: 20px;
    padding: 28px 20px 26px;
    width: 100%;
    height: 100%;
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.35s ease;
    box-shadow: 0 8px 28px -14px rgba(10, 38, 71, 0.1);
}

    .nx-process-card:hover {
        transform: translateY(-8px);
        border-color: rgba(32, 82, 149, 0.35);
        box-shadow: 0 22px 48px -18px rgba(10, 38, 71, 0.22);
    }

.nx-process-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(32, 82, 149, 0.12), rgba(32, 82, 149, 0.04));
    border: 1px solid rgba(32, 82, 149, 0.15);
    color: var(--c-primary);
    font-size: 22px;
    transition: transform 0.4s var(--ease-smooth), background 0.35s ease, color 0.35s ease;
}

.nx-process-card:hover .nx-process-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(145deg, #205295, #0A2647);
    color: #ffffff;
}

.nx-process-card h3 {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--ink-0);
}

.nx-process-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-500);
    margin: 0;
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 991.98px) {
    .nx-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

        .nx-process-timeline::before {
            display: none;
        }
}

/* =========================
   MOBILE — Vertical Premium Timeline
   ========================= */
@media (max-width: 767.98px) {
    .nx-process-timeline {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 0;
        margin-top: 12px;
    }

        .nx-process-timeline::before {
            display: none;
        }

    .nx-process-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 18px;
        position: relative;
        padding-bottom: 28px;
    }

        /* vertical line */
        .nx-process-item:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 27px;
            top: 58px;
            bottom: 0;
            width: 2px;
            background: linear-gradient( to bottom, rgba(32, 82, 149, 0.35), rgba(32, 82, 149, 0.08) );
        }

    .nx-process-marker {
        flex-shrink: 0;
        margin-bottom: 0;
        width: 56px;
        align-items: center;
    }

    .nx-process-num {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .nx-process-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    .nx-process-card {
        flex: 1;
        padding: 18px 16px;
        border-radius: 16px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nx-process-icon {
        margin: 0 0 12px 0;
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .nx-process-card h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .nx-process-card p {
        font-size: 13.5px;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {
    .nx-process-item {
        gap: 14px;
        padding-bottom: 22px;
    }

        .nx-process-item:not(:last-child)::after {
            left: 24px;
        }

    .nx-process-marker {
        width: 48px;
    }

    .nx-process-card {
        padding: 16px 14px;
    }
}
/* ========================================= MARQUEE WRAPPER ========================================= */
.nx-marquee {
    position: relative;
    width: 103%;
    overflow: hidden; /* Soft fade on left & right gives premium marquee look */
    mask-image: linear-gradient( to right, transparent 0%, black 2.5%, black 97.5%, transparent 100% );
    -webkit-mask-image: linear-gradient( to right, transparent 0%, black 2.5%, black 97.5%, transparent 100% );
}

/* ========================================= MOVING TRACK ========================================= */

.nx-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
    animation: nx-tech-marquee 32s linear infinite;
}
/* ========================================= TECHNOLOGY ITEM ========================================= */

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
    padding: 12px 20px;
    background: rgba(234, 242, 251, 0.55);
    border: 1px solid rgba(10, 38, 71, 0.10);
    border-radius: 999px;
    color: var(--ink-300);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    white-space: nowrap;
    transition: all .35s var(--ease-smooth);
}
    /* ========================================= PROFESSIONAL ICON ========================================= */

    .tech-item i {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 50%;
        color: #ffffff;
        background: linear-gradient( 135deg, var(--c-secondary), var(--c-deep) );
        font-size: 14px;
        box-shadow: 0 6px 14px rgba(10, 38, 71, .18);
        transition: transform .35s var(--ease-smooth), box-shadow .35s ease;
    }
    /* ========================================= HOVER ========================================= */
    .tech-item .OTE {
        font-weight: bold;
        color: black;
    }

    .tech-item:hover {
        color: var(--c-deep);
        background: #ffffff;
        border-color: rgba(32, 82, 149, .25);
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(10, 38, 71, .10);
    }

        .tech-item:hover i {
            transform: scale(1.12) rotate(-5deg);
            box-shadow: 0 8px 18px rgba(32, 82, 149, .30);
        }
/* ========================================= MARQUEE ANIMATION ========================================= */

@keyframes nx-tech-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* ========================================= PAUSE WHEN USER HOVERS ========================================= */

.nx-marquee:hover .nx-marquee-track {
    animation-play-state: paused;
}
/* ========================================= RESPONSIVE ========================================= */

@media (max-width: 767.98px) {
    .nx-logostrip {
        padding: 32px 0;
    }

        .nx-logostrip .strip-label {
            font-size: 10px;
            letter-spacing: 2px;
            margin-bottom: 20px;
        }

    .nx-marquee-track {
        gap: 12px;
        animation-duration: 22s;
    }

    .tech-item {
        padding: 9px 15px;
        font-size: 12px;
        gap: 8px;
    }

        .tech-item i {
            width: 28px;
            height: 28px;
            font-size: 12px;
        }
}
/* ========================================= REDUCED MOTION ========================================= */

@media (prefers-reduced-motion: reduce) {
    .nx-marquee-track {
        animation: none;
    }
}

/* =============== CARDS =============== */
.nx-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: all .35s var(--ease-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.nx-card2 {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: all .35s var(--ease-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.nx-card3 {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    transition: all .35s var(--ease-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}
/* =========================================================
   NEXVARA — PREMIUM PRODUCT CARDS
   ========================================================= */

.nx-products-section {
    position: relative;
    overflow: hidden;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.nx-products-grid {
    align-items: stretch;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */
.nx-product-card {
    position: relative;
    height: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(247,250,253,0.94) 100%);
    border: 1px solid rgba(10,38,71,0.10);
    border-radius: 26px;
    overflow: hidden;
    isolation: isolate;
    transition: transform .6s cubic-bezier(.22,.75,.22,1), box-shadow .6s cubic-bezier(.22,.75,.22,1), border-color .5s ease;
    box-shadow: 0 8px 32px -12px rgba(10,38,71,0.08), 0 2px 8px -4px rgba(10,38,71,0.04);
}

    /* Premium top shine */
    .nx-product-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, #6C99C6 25%, #205295 50%, #6C99C6 75%, transparent 100%);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .7s cubic-bezier(.22,.75,.22,1);
        z-index: 5;
    }

    /* Cursor-origin blue reveal */
    .nx-product-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at var(--card-x, 50%) var(--card-y, 50%), rgba(44,116,179,0.97) 0%, rgba(32,82,149,0.98) 32%, rgba(10,38,71,1) 72% );
        clip-path: circle(0% at var(--card-x, 50%) var(--card-y, 50%));
        transition: clip-path .75s cubic-bezier(.22,.75,.22,1);
        pointer-events: none;
        z-index: -1;
    }


    /* =========================================================
   HOVER
   ========================================================= */
    .nx-product-card:hover {
        transform: translateY(-14px);
        border-color: rgba(32,82,149,0.55);
        box-shadow: 0 36px 80px -22px rgba(10,38,71,0.32), 0 16px 36px -14px rgba(32,82,149,0.18), 0 0 0 1px rgba(108,153,198,0.15);
    }

        .nx-product-card:hover::before {
            transform: scaleX(1);
        }

        .nx-product-card:hover::after {
            clip-path: circle(150% at var(--card-x, 50%) var(--card-y, 50%));
        }


/* =========================================================
   PRODUCT VISUAL
   ========================================================= */

.nx-product-visual {
    position: relative;
    height: 210px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(155deg, #f8fbff 0%, #edf4fb 55%, #e8f1fa 100%);
    border: 1px solid rgba(10,38,71,0.07);
    overflow: hidden;
    transition: background .6s ease, border-color .6s ease, transform .6s cubic-bezier(.22,.75,.22,1);
}

    /* Soft ambient glow */
    .nx-product-visual::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(44,116,179,0.16) 0%, transparent 68%);
        transition: transform .8s cubic-bezier(.22,.75,.22,1), opacity .5s ease;
    }

    /* Fine grid texture */
    .nx-product-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(32,82,149,0.11) 1px, transparent 1px);
        background-size: 18px 18px;
        mask-image: radial-gradient(circle at center, black 30%, transparent 78%);
        opacity: .5;
        transition: opacity .5s ease;
    }

/* =========================================================
   ICON
   ========================================================= */

.nx-product-icon {
    position: relative;
    z-index: 3;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: linear-gradient(150deg, #ffffff 0%, #eaf2fb 100%);
    border: 1px solid rgba(32,82,149,0.14);
    color: var(--c-primary);
    font-size: 38px;
    box-shadow: 0 22px 48px -16px rgba(10,38,71,0.22), 0 0 0 1px rgba(255,255,255,0.8) inset, inset 0 1px 0 rgba(255,255,255,0.95);
    transition: transform .65s cubic-bezier(.22,.75,.22,1), background .5s ease, color .5s ease, box-shadow .5s ease;
}

    /* Outer ring */
    .nx-product-icon::before {
        content: "";
        position: absolute;
        inset: -14px;
        border-radius: 34px;
        border: 1px solid rgba(32,82,149,0.10);
        transition: transform .65s cubic-bezier(.22,.75,.22,1), opacity .5s ease;
    }

/* =========================================================
   ICON HOVER
   ========================================================= */

.nx-product-card:hover .nx-product-visual {
    background: linear-gradient(155deg, rgba(255,255,255,0.10) 0%, rgba(108,153,198,0.07) 100%);
    border-color: rgba(255,255,255,0.18);
    transform: scale(0.985);
}

    .nx-product-card:hover .nx-product-visual::before {
        transform: scale(1.4);
        opacity: 0.85;
    }

    .nx-product-card:hover .nx-product-visual::after {
        opacity: 0.25;
    }
.nx-product-card:hover .nx-product-icon {
    transform: translateY(-6px) scale(1.09) rotate(-5deg);
    background: linear-gradient(150deg, rgba(255,255,255,0.97) 0%, rgba(220,235,250,0.96) 100%);
    color: #0A2647;
    box-shadow: 0 28px 55px -14px rgba(0,0,0,0.32), 0 0 0 9px rgba(255,255,255,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
}


    .nx-product-card:hover .nx-product-icon::before {
        transform: scale(1.14);
        opacity: 0.65;
    }

/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.nx-product-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 8px 10px;
}

/* =========================================================
   TAG
   ========================================================= */
.nx-product-card .nx-tag {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 6px 15px;
    background: rgba(32,82,149,0.06);
    border: 1px solid rgba(32,82,149,0.15);
    color: var(--c-primary);
    font-size: 11.5px;
    letter-spacing: .45px;
    border-radius: 999px;
    transition: color .4s ease, background .4s ease, border-color .4s ease;
}

.nx-product-card:hover .nx-tag {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.28);
}

/* Title */
.nx-product-card h3 {
    margin: 0 0 14px;
    font-family: var(--ff-display);
    font-size: 1.38rem;
    line-height: 1.32;
    color: var(--ink-0);
    transition: color .45s ease, transform .5s cubic-bezier(.22,.75,.22,1);
}

.nx-product-card:hover h3 {
    color: #ffffff;
    transform: translateX(4px);
}

/* Description */
.nx-product-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-500);
    max-width: 96%;
    transition: color .45s ease;
}

.nx-product-card:hover p {
    color: rgba(255,255,255,0.80);
}

/* Case Study Link */
.nx-product-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 32px;
    width: fit-content;
    color: var(--c-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15px;
    transition: color .4s ease, transform .45s cubic-bezier(.22,.75,.22,1);
}

.nx-product-card:hover .nx-product-link {
    color: #ffffff;
    transform: translateX(5px);
}

/* Arrow Circle */
.nx-product-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(32,82,149,0.08);
    border: 1px solid rgba(32,82,149,0.14);
    transition: transform .45s cubic-bezier(.22,.75,.22,1), background .4s ease, border-color .4s ease;
}

.nx-product-card:hover .nx-product-arrow {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.30);
    transform: translateX(6px) rotate(-10deg);
}

/* =========================================================
   ORBIT RING
   ========================================================= */

.nx-product-orbit {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px dashed rgba(32,82,149,0.16);
    animation: nx-product-orbit 16s linear infinite;
    z-index: 1;
    transition: border-color .5s ease, transform .7s ease;
}

.nx-product-card:hover .nx-product-orbit {
    border-color: rgba(255,255,255,0.25);
    transform: scale(1.18);
}

@keyframes nx-product-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   MARQUEE (unchanged logic, refined card width)
   ========================================================= */

.nx-products-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 4px 32px;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.nx-products-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: nx-products-scroll 38s linear infinite;
}

.nx-products-set {
    display: flex;
    gap: 26px;
    padding-right: 26px;
}

    .nx-products-set .nx-product-card {
        width: 380px;
        min-width: 380px;
        min-height: 560px;
    }

.nx-products-marquee:hover .nx-products-track {
    animation-play-state: paused;
}

@keyframes nx-products-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 991.98px) {
    .nx-product-card {
        min-height: 520px;
    }

    .nx-product-visual {
        height: 190px;
    }

    .nx-products-set .nx-product-card {
        width: 340px;
        min-width: 340px;
    }
}

@media (max-width: 767.98px) {
    .nx-product-card {
        min-height: 500px;
        border-radius: 22px;
        padding: 18px;
    }

    .nx-product-visual {
        height: 175px;
    }

    .nx-product-icon {
        width: 80px;
        height: 80px;
        border-radius: 24px;
        font-size: 32px;
    }

    .nx-product-card h3 {
        font-size: 1.22rem;
    }

    .nx-product-card p {
        font-size: 14px;
    }

    .nx-products-set .nx-product-card {
        width: 310px;
        min-width: 310px;
    }

    .nx-products-set {
        gap: 18px;
        padding-right: 18px;
    }

    .nx-products-track {
        animation-duration: 30s;
    }
}

@media (max-width: 575.98px) {
    .nx-product-card {
        min-height: 480px;
    }

    .nx-product-visual {
        height: 160px;
    }

    .nx-product-content {
        padding: 24px 6px 8px;
    }

    .nx-products-set .nx-product-card {
        width: 285px;
        min-width: 285px;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .nx-product-orbit,
    .nx-products-track {
        animation: none !important;
    }

    .nx-product-card,
    .nx-product-icon,
    .nx-product-link {
        transition: none !important;
    }
}



    /* curved dark-fill reveal, expands from the cursor position (--mx/--my set in JS) */
    .nx-card::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: var(--dark-fill);
        clip-path: circle(0% at var(--mx,50%) var(--my,50%));
        transition: clip-path .65s var(--ease-smooth);
        z-index: 1;
    }
    .nx-card2::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: white;
        clip-path: circle(0% at var(--mx,50%) var(--my,50%));
        transition: clip-path .65s var(--ease-smooth);
        z-index: 1;
    }
    .nx-card3::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: white;
        clip-path: circle(0% at var(--mx,50%) var(--my,50%));
        transition: clip-path .65s var(--ease-smooth);
        z-index: 1;
    }

    .nx-card:hover::after {
        clip-path: circle(135% at var(--mx,50%) var(--my,50%));
    }
    .nx-card2:hover::after {
        clip-path: circle(135% at var(--mx,50%) var(--my,50%));
    }
    .nx-card3:hover::after {
        clip-path: circle(135% at var(--mx,50%) var(--my,50%));
    }

    .nx-card > * {
        position: relative;
        z-index: 2;
    }
    .nx-card2 > * {
        position: relative;
        z-index: 2;
    }
    .nx-card3 > * {
        position: relative;
        z-index: 2;
    }

.nx-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(32,82,149,0.18), rgba(32,82,149,0.04));
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--gold-300);
    font-size: 24px;
    transition: transform .4s var(--ease-smooth), background .4s ease, border-color .4s ease, color .4s ease;
}


.nx-card:hover .nx-icon-box {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.4);
    color: #ffffff;
}
.nx-card2:hover .nx-icon-box {
    transform: scale(1.08) rotate(-4deg);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.4);
    color: #ffffff;
}

.nx-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
    transition: color .4s ease;
}
.nx-card2 h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
    transition: color .4s ease;
}

.nx-card:hover h3 {
    color: #ffffff;
}
.nx-card2:hover h3 {
    color: #ffffff;
}

.nx-card p {
    font-size: 14.5px;
    color: var(--ink-500);
    margin-bottom: 0;
    transition: color .4s ease;
}
.nx-card2 p {
    font-size: 14.5px;
    color: var(--ink-500);
    margin-bottom: 0;
    transition: color .4s ease;
}

.nx-card:hover p {
    color: #ffffff !important;
}

.nx-card .nx-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 600;
    transition: color .4s ease;
}

.nx-card:hover .nx-card-link {
    color: #ffffff;
}

/* Numbered process card */
.nx-step {
    position: relative;
    padding-left: 0;
}

.nx-step-num {
    font-family: var(--ff-display);
    font-size: 3rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--border-strong);
    margin-bottom: 14px;
    display: block;
}

/* =============== SECTION HEADER DIVIDER =============== */
.nx-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    border: 0;
    margin: 0;
}

/* =============== STATS BAND =============== */
.nx-statband {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 64px 0;
}

    .nx-statband .stat-num {
        font-family: var(--ff-display);
        font-size: 2.6rem;
        color: var(--ink-0);
    }

        .nx-statband .stat-num .unit {
            color: var(--gold-300);
        }

    .nx-statband .stat-label {
        color: var(--ink-500);
        font-size: 13.5px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-top: 6px;
    }

/* =============== TIMELINE / PROCESS =============== */
.nx-process-line {
    position: relative;
}

    .nx-process-line::before {
        content: "";
        position: absolute;
        top: 34px;
        left: 6%;
        right: 6%;
        height: 1px;
        background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
        display: none;
    }

@media(min-width:992px) {
    .nx-process-line::before {
        display: block;
    }
}

/* =============== PRICING =============== */
.nx-price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    height: 100%;
    position: relative;
    overflow: visible;
    transition: all .35s var(--ease-smooth);
}

    .nx-price-card::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: var(--dark-fill);
        clip-path: circle(0% at var(--mx,50%) var(--my,50%));
        transition: clip-path .65s var(--ease-smooth);
        border-radius: var(--radius-md);

        z-index: 1;
    }

    .nx-price-card:hover::after {
        clip-path: circle(135% at var(--mx,50%) var(--my,50%));
        overflow: visible;
    }

    .nx-price-card > * {
        position: relative;
        z-index: 2;
    }

    .nx-price-card:hover {
        border-color: var(--c-primary);
        transform: translateY(-6px);
    
        box-shadow: var(--shadow-deep);
    }

        .nx-price-card:hover .nx-price-amount,
        .nx-price-card:hover .nx-price-amount span,
        .nx-price-card:hover .nx-price-list li,
        .nx-price-card:hover h3, .nx-price-card:hover h4 {
            color: #ffffff;
        }

    .nx-price-card:hover p { color: var(--dark-ink); }

    .nx-price-card.is-featured {
        border-color: var(--gold-500);
        background: linear-gradient(180deg, rgba(32,82,149,0.08), var(--bg-card) 40%);
        box-shadow: var(--shadow-gold);
        transform: scale(1.03);
    }

        .nx-price-card.is-featured:hover {
            transform: scale(1.03) translateY(-6px);
            box-shadow: var(--shadow-gold-lg);
        }

.nx-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-grad-solid);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
    text-transform: uppercase;

}

.nx-price-amount {
    font-family: var(--ff-display);
    font-size: 2.6rem;
    color: var(--ink-0);
    margin: 14px 0 4px;
}

    .nx-price-amount span {
        font-size: 1rem;
        color: var(--ink-500);
        font-family: var(--ff-body);
    }

.nx-price-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

    .nx-price-list li {
        padding: 9px 0;
        border-bottom: 1px dashed var(--border-soft);
        font-size: 14.5px;
        color: var(--ink-300);
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

        .nx-price-list li:last-child {
            border-bottom: 0;
        }

        .nx-price-list li .ic {
            color: #ffffff;
            flex-shrink: 0;
            margin-top: 2px;
        }

/* =============== TESTIMONIALS =============== */
.nx-quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 34px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all .35s var(--ease-smooth);
}

    .nx-quote-card::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: var(--dark-fill);
        clip-path: circle(0% at var(--mx,50%) var(--my,50%));
        transition: clip-path .65s var(--ease-smooth);
        z-index: 1;
    }

    .nx-quote-card:hover::after {
        clip-path: circle(135% at var(--mx,50%) var(--my,50%));
    }

    .nx-quote-card > * {
        position: relative;
        z-index: 2;
    }

    .nx-quote-card:hover {
        border-color: var(--c-primary);
        transform: translateY(-6px);
        box-shadow: var(--shadow-deep);
    }

    .nx-quote-card .stars {
        color: var(--gold-500);
        letter-spacing: 3px;
        margin-bottom: 18px;
        font-size: 14px;
    }

    .nx-quote-card p.quote {
        font-size: 15px;
        color: var(--ink-300);
        font-style: italic;
        margin-bottom: 24px;
        transition: color .4s ease;
    }

    .nx-quote-card:hover p.quote { color: var(--dark-ink); }
    .nx-quote-card:hover .nx-quote-author strong { color: #ffffff; }
    .nx-quote-card:hover .nx-quote-author span { color: var(--dark-ink); }

.nx-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold-grad-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    color: #ffffff;
    font-weight: 700;
}

.nx-quote-author strong {
    color: var(--ink-0);
    font-size: 14.5px;
    display: block;
}

.nx-quote-author span {
    color: var(--ink-700);
    font-size: 12.5px;
}

/* =============== FAQ ACCORDION =============== */
.nx-accordion .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.nx-accordion .accordion-button {
    background: transparent;
    color: var(--ink-0);
    font-weight: 600;
    font-size: 15.5px;
    padding: 20px 26px;
    box-shadow: none !important;
}

    .nx-accordion .accordion-button:not(.collapsed) {
        color: var(--gold-300);
        background: rgba(32,82,149,0.06);
    }

.nx-accordion .accordion-body {
    color: var(--ink-500);
    font-size: 14.5px;
    padding: 4px 26px 24px;
}

/* =============== FORMS =============== */
.nx-form .form-control, .nx-form .form-select {
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    color: var(--ink-0);
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
}

    .nx-form .form-control:focus, .nx-form .form-select:focus {
        background: var(--bg-elevated);
        color: var(--ink-0);
        border-color: var(--gold-500);
        box-shadow: 0 0 0 3px rgba(32,82,149,0.15);
    }

.nx-form label {
    font-size: 13px;
    color: var(--ink-500);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.nx-form ::placeholder {
    color: var(--ink-700);
}

/* =============== CTA BANNER (dark band â€” brings the ~40% dark balance) =============== */
.nx-cta {
    background: var(--dark-fill);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 64px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .nx-cta::before {
        content: "";
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(32,82,149,0.28), transparent 70%);
        top: -180px;
        right: -140px;
        animation: nx-orb-float 10s ease-in-out infinite;
    }

    .nx-cta .nx-eyebrow { color: var(--c-primary); }
    .nx-cta .nx-eyebrow::before { background: var(--gold-grad); }
    .nx-cta .nx-title, .nx-cta h2, .nx-cta h3 { color: #ffffff; }
    .nx-cta p:not(.nx-eyebrow) { color: var(--dark-ink); }

    .nx-cta .nx-btn-outline {
        color: #ffffff;
        border-color: rgba(255,255,255,0.4);
    }

        .nx-cta .nx-btn-outline:hover {
            background: rgba(255,255,255,0.12);
            border-color: #ffffff;
            color: #ffffff;
        }

.nx-cta {
    animation: nx-border-pulse 4.5s ease-in-out infinite;
}

@keyframes nx-border-pulse {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(32,82,149,0);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(32,82,149,0.05);
    }
}

/* =============== BADGES/TAGS =============== */
.nx-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-strong);
    color: var(--gold-300);
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(32,82,149,0.06);
}

/* =============== TABLE (compare / pricing detail) =============== */
.nx-table {
    color: var(--ink-300);
}

    .nx-table thead th {
        color: var(--ink-0);
        border-bottom: 1px solid var(--border-strong);
        font-family: var(--ff-display);
        font-weight: 600;
    }

    .nx-table td, .nx-table th {
        border-color: var(--border-soft);
        padding: 16px 14px;
        vertical-align: middle;
    }

/* =============== BLOG =============== */
.nx-blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: all .35s var(--ease-smooth);
}

    .nx-blog-card:hover {
        border-color: var(--border-strong);
        transform: translateY(-8px);
        box-shadow: var(--shadow-deep);
    }

.nx-blog-thumb {
    height: 190px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-void));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

    .nx-blog-thumb i {
        transition: transform .45s var(--ease-smooth);
    }

.nx-blog-card:hover .nx-blog-thumb i {
    transform: scale(1.15) rotate(-3deg);
}

.nx-blog-body {
    padding: 26px;
    position: relative;
    overflow: hidden;
}

    .nx-blog-body::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: var(--dark-fill);
        clip-path: circle(0% at var(--mx,50%) var(--my,110%));
        transition: clip-path .65s var(--ease-smooth);
        z-index: 1;
    }

    .nx-blog-card:hover .nx-blog-body::after {
        clip-path: circle(150% at var(--mx,50%) var(--my,110%));
    }

    .nx-blog-body > * {
        position: relative;
        z-index: 2;
    }

.nx-blog-meta {
    font-size: 12px;
    color: var(--ink-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    transition: color .4s ease;
}

.nx-blog-card:hover .nx-blog-meta { color: var(--dark-ink); }

.nx-blog-body h3 {
    font-size: 1.08rem;
    margin-bottom: 12px;
    transition: color .4s ease;
}

.nx-blog-card:hover .nx-blog-body h3 { color: #ffffff; }

.nx-blog-body h3 a { color: inherit; }

.nx-blog-body p {
    font-size: 14px;
    color: var(--ink-500);
    transition: color .4s ease;
}

.nx-blog-card:hover .nx-blog-body p { color: var(--dark-ink); }

/* =============== JOB LISTING =============== */
.nx-job-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 26px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all .3s ease;
}

    .nx-job-row:hover {
        border-color: var(--border-strong);
    }

    .nx-job-row h4 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

.nx-job-meta span {
    font-size: 12.5px;
    color: var(--ink-500);
    margin-right: 16px;
}

/* =============== TIMELINE (about/company history) =============== */
.nx-vtimeline {
    position: relative;
    padding-left: 40px;
    border-left: 1px solid var(--border-soft);
}

    .nx-vtimeline .vt-item {
        position: relative;
        padding-bottom: 42px;
    }

        .nx-vtimeline .vt-item::before {
            content: "";
            position: absolute;
            left: -45px;
            top: 2px;
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background: var(--gold-500);
            box-shadow: 0 0 0 4px rgba(32,82,149,0.18);
        }

    .nx-vtimeline .vt-year {
        color: var(--gold-300);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

/* =============== PAGE HERO (inner pages) =============== */
.nx-pagehero {
    padding: 160px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(32,82,149,0.12), transparent 65%), var(--bg-void);
    border-bottom: 1px solid var(--border-soft);
}

    .nx-pagehero::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(32,82,149,0.14), transparent 70%);
        top: -200px;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
        animation: nx-pulse-glow 4s ease-in-out infinite;
    }

    .nx-pagehero .container {
        position: relative;
        z-index: 1;
        animation: nx-hero-in .8s var(--ease-smooth);
    }

@keyframes nx-hero-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.nx-breadcrumb {
    font-size: 13px;
    color: var(--ink-700);
    margin-bottom: 18px;
}

    .nx-breadcrumb a {
        color: var(--ink-500);
    }

    .nx-breadcrumb .sep {
        margin: 0 8px;
    }

/* =============== FOOTER =============== */
.nx-footer {
    /*  background: var(--c-pale);*/
    /* background: #0A1628;*/
    background-color: #f5f9ff;
    background-image:  url('/images/footer-bg.png');
    background-size: cover;
    background-position: center;
    color: #A8C0D8;
    padding-top: 72px;
    border-top: none;
}
.nx-footer-logo {
    height: 48px !important;
    width: auto !important;
    max-width: 220px;
    object-fit: contain;
}
.nx-footer-desc {
    color: #8BA3BC;
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 320px;
    margin-top: 18px;
    margin-bottom: 22px;
}
.nx-footer h5 {
    color: black;
    font-family: var(--ff-display);
    font-size: 1.05rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

    .nx-footer h5::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 28px;
        height: 2px;
        background: #2C74B3;
        border-radius: 2px;
    }
.nx-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nx-footer-links li {
        margin-bottom: 11px;
    }

        .nx-footer-links li a {
            color: #8BA3BC;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color .25s ease, padding-left .25s ease;
        }
            .nx-footer-links li a:hover {
                color: #FFFFFF;
                padding-left: 4px;
            }

            .nx-footer-links li a::before {
                content: "›";
                color: #2C74B3;
                font-weight: 700;
                font-size: 15px;
            }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

    /* LinkedIn */
    .social-link.linkedin i {
        color: #0A66C2;
    }
    .social-link.linkedin  {
        border: 1px solid #0A66C2 !important;
    }

    /* YouTube */
    .social-link.youtube i {
        color: #FF0000;
    }
    .social-link.youtube {
        border: 1px solid #FF0000 !important;
    }
    /* WhatsApp */
    .social-link.whatsapp i {
        color: #25D366;
    }
    .social-link.whatsapp {
        border: 1px solid #25D366 !important;
    }
    /* Facebook */
    .social-link.facebook i {
        color: #1877F2;
    }
    .social-link.facebook {
        border: 1px solid #1877F2 !important;
    }
    /* Instagram */
    .social-link.instagram i {
        background: linear-gradient( 45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5 );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .social-link.instagram {
        border: 1px solid pink !important;
    }
.nx-footer .nx-social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
    .nx-footer .nx-social a {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        background: white;
        transition: all .3s ease;
    }
        .nx-footer .nx-social a:hover {
            border-color: #2C74B3;
            color: #FFFFFF;
            background: rgba(44,116,179,0.2);
            transform: translateY(-2px);
        }


/* Newsletter */
.nx-footer .nx-newsletter-input {
    display: flex;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    max-width: 100%;
}
    .nx-footer .nx-newsletter-input input {
        background: transparent;
        border: 0;
        color: black;
        padding: 12px 18px;
        flex: 1;
        font-size: 13.5px;
        outline: none;
    }
        .nx-footer .nx-newsletter-input input::placeholder {
            color: #6B849E;
        }
    .nx-footer .nx-newsletter-input button {
        border: 0;
        background: #2C74B3;
        color: #ffffff;
        padding: 0 18px;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .25s ease;
    }

        .nx-footer .nx-newsletter-input button:hover {
            background: #205295;
        }

.nx-footer-stay-text {
    color: #8BA3BC;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
}
/* ================================
   PREMIUM CONTACT CARDS
================================ */

.nx-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Contact Card */
.nx-contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(44, 116, 179, 0.14);
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(44, 116, 179, 0.06);
    backdrop-filter: blur(8px);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}


/* Icon */
.nx-contact-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient( 135deg, #eaf4ff, #ffffff );
    color: #1677d2;
    border: 1px solid rgba(22, 119, 210, 0.12);
    font-size: 16px;
    transition: all .3s ease;
}


/* Text wrapper */
.nx-contact-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


    /* Small title */
    .nx-contact-content small {
        color: #7891aa;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .7px;
        margin-bottom: 2px;
    }


    /* Main value */
    .nx-contact-content strong {
        color: #365b7f;
        font-size: 12.5px;
        font-weight: 500;
        line-height: 1.35;
        white-space: normal;
        word-break: break-word;
    }


/* Arrow */
.nx-contact-arrow {
    margin-left: auto;
    color: #9bb4cb;
    font-size: 13px;
    transition: all .3s ease;
}


/* Hover */
.nx-contact-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(22, 119, 210, 0.30);
    box-shadow: 0 12px 30px rgba(44, 116, 179, 0.13);
}


    .nx-contact-card:hover .nx-contact-icon {
        background:transparent;
        color: #ffffff;
        transform: scale(1.08) rotate(-3deg);
        box-shadow: 0 6px 16px rgba(22, 119, 210, 0.25);
    }


    .nx-contact-card:hover .nx-contact-arrow {
        color: #1677d2;
        transform: translate(2px, -2px);
    }

.nx-footer-contact p {
    color: #8BA3BC;
    font-size: 13.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.nx-footer-contact i {
    color: #2C74B3;
    font-size: 14px;
}
.nx-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 56px;
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

    .nx-footer-bottom p {
        font-size: 13px;
        color: #6B849E;
        margin: 0;
    }

.nx-footer-legal {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .nx-footer-legal a {
        color: #6B849E;
        font-size: 13px;
        transition: color .25s ease;
    }

        .nx-footer-legal a:hover {
            color: #FFFFFF;
        }

    .nx-footer-legal span {
        color: #3A5168;
        font-size: 12px;
    }

/* Mobile accordion toggle */
.nx-footer-toggle {
    display: none;
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: black;
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 0;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    .nx-footer-toggle i {
        font-size: 14px;
        transition: transform .3s ease;
        color: #2C74B3;
    }

    .nx-footer-toggle.is-open i {
        transform: rotate(180deg);
    }
/* =========================
   MOBILE
   ========================= */
@media (max-width: 991.98px) {
    .nx-footer {
        padding-top: 48px;
        text-align: center;
    }

        .nx-footer .col-lg-4 {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .nx-footer-desc {
        max-width: 100%;
        text-align: center;
    }

    .nx-footer .nx-social {
        justify-content: center;
    }

    .nx-footer-toggle {
        display: flex;
    }

    .nx-footer h5 {
        display: none !important;
    }

    .nx-footer-links {
        display: none;
        padding: 8px 0 16px;
        text-align: left;
    }

        .nx-footer-links.is-open {
            display: block;
        }

        .nx-footer-links li a::before {
            content: none;
        }

    .nx-footer .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .nx-footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 36px;
        padding: 20px 0 28px;
    }

    .nx-footer-legal {
        justify-content: center;
    }

    .nx-footer .nx-newsletter-input {
        max-width: 100%;
    }

    .nx-footer-contact {
        text-align: left;
    }

        .nx-footer-contact p {
            justify-content: flex-start;
        }
}

@media (max-width: 575.98px) {
    .nx-footer-logo {
        height: 42px !important;
    }
}


    .nx-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .nx-footer ul li {
            margin-bottom: 12px;
        }

            .nx-footer ul li a {
                color: var(--ink-500);
                font-size: 14px;
            }

                .nx-footer ul li a:hover {
                    color: var(--gold-300);
                    padding-left: 3px;
                }

    .nx-footer p {
        color: var(--ink-500);
        font-size: 14px;
    }

.nx-footer-bottom {
    border-top: 1px solid var(--border-soft);
    margin-top: 60px;
    padding: 26px 0;
}

    .nx-footer-bottom p {
        font-size: 13px;
        color: var(--ink-700);
        margin: 0;
    }

.nx-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .nx-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid var(--border-soft);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink-300);
        font-size: 14px;
    }

        .nx-social a:hover {
            border-color: var(--gold-500);
            color: black !important;
           /* color: var(--gold-300);*/
            background: rgba(32,82,149,0.08);
        }

.nx-newsletter-input {
    display: flex;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--bg-elevated);
}

    .nx-newsletter-input input {
        background: transparent;
        border: 0;
        color: var(--ink-0);
        padding: 12px 18px;
        flex: 1;
        font-size: 14px;
        outline: none;
    }

    .nx-newsletter-input button {
        border: 0;
        background: var(--gold-grad-solid);
        color: #ffffff;
        padding: 0 22px;
        font-weight: 700;
        font-size: 13px;
    }

/* =============== BACK TO TOP =============== */
.nx-totop {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold-grad-solid);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease-smooth);
    border: 0;
    transform: translateY(12px);
}

    .nx-totop.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nx-totop:hover {
        transform: translateY(-4px) scale(1.06);
        box-shadow: var(--shadow-gold-lg);
    }

/* =============== MISC =============== */
.nx-marquee {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-elevated);
    padding: 16px 0;
}

    .nx-marquee .track {
        display: inline-block;
        animation: nx-scroll 26s linear infinite;
    }

    .nx-marquee span {
        font-family: var(--ff-display);
        font-size: 1.2rem;
        color: var(--ink-700);
        margin: 0 34px;
    }

        .nx-marquee span.gold {
            color: var(--gold-500);
        }

@keyframes nx-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}

    [data-aos].aos-in {
        opacity: 1;
        transform: none;
    }

[data-aos="left"] {
    transform: translateX(-32px);
}

    [data-aos="left"].aos-in {
        transform: none;
    }

[data-aos="right"] {
    transform: translateX(32px);
}

    [data-aos="right"].aos-in {
        transform: none;
    }

[data-aos="zoom"] {
    transform: scale(.92);
}

    [data-aos="zoom"].aos-in {
        transform: none;
    }

/* =============== ACTIVE SECTION HIGHLIGHT (on scroll) =============== */
.nx-observe {
    position: relative;
    transition: background-color .6s ease;
}

    .nx-observe::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        border-radius: 2px;
        background: var(--gold-grad);
        box-shadow: 0 0 22px rgba(32,82,149,.65);
        transition: width .7s var(--ease-smooth);
        pointer-events: none;
        z-index: 2;
    }

    .nx-observe.nx-active::before {
        width: 140px;
    }

    .nx-observe.nx-active {
        background-color: rgba(32,82,149,0.015);
    }

    .nx-observe .nx-eyebrow {
        transition: letter-spacing .6s ease, color .6s ease;
    }

    .nx-observe.nx-active .nx-eyebrow {
        letter-spacing: 3.4px;
        color: var(--gold-100);
    }

/* =============== CUSTOM CURSOR (desktop / mouse only) =============== */
.nx-cursor-dot, .nx-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2500;
    border-radius: 50%;
    will-change: transform;
    transform: translate(-50%,-50%);
}

.nx-cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--c-deep);
    box-shadow: 0 0 10px rgba(10,38,71,.5);
    transition: opacity .2s ease, background-color .25s ease;
}

.nx-hero-visual .hexring::before
.nx-cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-active);
    transition: width .25s var(--ease-smooth), height .25s var(--ease-smooth), border-color .25s ease, background-color .25s ease, opacity .2s ease;
}

.nx-cursor-ring.is-hover {
    width: 34px;
    height: 34px;
    background: rgba(32,82,149,0.12);
    border-color: var(--gold-500);
}

.nx-cursor-ring.is-down {
    width: 30px;
    height: 30px;
}

body.nx-has-cursor, body.nx-has-cursor a, body.nx-has-cursor button,
body.nx-has-cursor .nx-btn, body.nx-has-cursor input, body.nx-has-cursor textarea,
body.nx-has-cursor select, body.nx-has-cursor .form-control {
    cursor: none;
}

@media(hover:none), (pointer:coarse) {
    .nx-cursor-dot, .nx-cursor-ring {
        display: none !important;
    }
}

/* =============== CHATBOT WIDGET =============== */
.nx-chat-launcher {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-grad-solid);
    color: #ffffff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow-gold-lg);
    z-index: 1300;
    cursor: pointer;
    transition: transform .3s var(--ease-smooth), box-shadow .3s ease;
}

    .nx-chat-launcher:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 20px 45px -12px rgba(10,38,71,0.55);
    }

    .nx-chat-launcher.nx-chat-pulse {
        animation: nx-chat-pulse 1.8s ease-in-out 2;
    }

@keyframes nx-chat-pulse {
    0%, 100% { box-shadow: var(--shadow-gold-lg); }
    50% { box-shadow: 0 0 0 12px rgba(32,82,149,0.18), var(--shadow-gold-lg); }
}

    .nx-chat-launcher .bi-x-lg {
        display: none;
    }

    .nx-chat-launcher.is-open .bi-chat-dots-fill {
        display: none;
    }

    .nx-chat-launcher.is-open .bi-x-lg {
        display: inline-block;
    }

.nx-chat-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #34D399;
    border: 2px solid #ffffff;
}

.nx-chat-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 500px;
    max-height: calc(100vh - 140px);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 70px -20px rgba(11,16,36,0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1299;
    opacity: 0;
    transform: translateY(24px) scale(.97);
    pointer-events: none;
    transform-origin: bottom right;
    transition: opacity .35s var(--ease-smooth), transform .35s var(--ease-smooth);
}

    .nx-chat-window.is-open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

.nx-chat-head {
    background: var(--dark-fill);
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nx-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.nx-chat-head h6 {
    margin: 0;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: 14.5px;
    color: #ffffff;
}

.nx-chat-head span {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nx-chat-head span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    display: inline-block;
}

.nx-chat-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

    .nx-chat-close:hover {
        color: #ffffff;
    }

.nx-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-elevated);
}

.nx-chat-msg {
    max-width: 82%;
    padding: 11px 15px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.55;
}

.nx-chat-msg.bot {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    color: var(--ink-300);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.nx-chat-msg.user {
    background: var(--gold-grad-solid);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.nx-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 14px;
    flex-shrink: 0;
    background: var(--bg-elevated);
}

.nx-chat-chip {
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--gold-300);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

    .nx-chat-chip:hover {
        background: var(--gold-grad-solid);
        color: #ffffff;
        border-color: transparent;
    }

.nx-chat-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 4px 2px;
}

    .nx-chat-typing span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--ink-700);
        animation: nx-typing 1s infinite ease-in-out;
    }

        .nx-chat-typing span:nth-child(2) { animation-delay: .15s; }
        .nx-chat-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes nx-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.nx-chat-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid var(--border-soft);
    background: var(--bg-card);
    flex-shrink: 0;
}

    .nx-chat-foot input {
        flex: 1;
        border: 1px solid var(--border-soft);
        background: var(--bg-elevated);
        border-radius: var(--radius-pill);
        padding: 10px 16px;
        font-size: 13.5px;
        color: var(--ink-0);
        outline: none;
        transition: border-color .25s ease;
    }

        .nx-chat-foot input:focus {
            border-color: var(--gold-500);
        }

    .nx-chat-foot button {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 0;
        background: var(--gold-grad-solid);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
        transition: transform .25s ease;
    }

        .nx-chat-foot button:hover {
            transform: scale(1.08);
        }

@media(max-width: 480px) {
    .nx-chat-launcher {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
    }

    .nx-totop {
        bottom: 86px;
        right: 18px;
    }

    .nx-chat-window {
        right: 16px;
        bottom: 84px;
        width: calc(100vw - 32px);
        height: calc(100vh - 170px);
    }
}

/* =============== RESPONSIVE =============== */
@media(max-width: 991px) {
    .nx-hero {
        padding: 128px 0 64px;
        text-align: center;
    }

        .nx-hero p.lead {
            margin-left: auto;
            margin-right: auto;
        }

    .nx-hero-stats {
        justify-content: center;
        gap: 8px 34px;
    }

        .nx-hero-stats > div {
            padding: 0;
            border-left: 0;
        }

    .nx-section {
        padding: 70px 0;
    }

    .nx-price-card.is-featured {
        transform: none;
    }

    .nx-cta {
        padding: 48px 28px;
    }

    .nx-hero-visual {
        margin-top: 36px;
    }
}

@media(max-width: 767px) {
    html {
        font-size: 15px;
    }

    .nx-pagehero {
        padding: 130px 0 50px;
    }

    .nx-section {
        padding: 56px 0;
    }

    .nx-section-sm {
        padding: 44px 0;
    }

    .nx-title-wrap {
        margin-bottom: 36px;
    }

    .nx-hero {
        padding: 112px 0 52px;
    }

        .nx-hero h1 {
            font-size: clamp(1.9rem, 8vw, 2.6rem);
        }

    .nx-hero-stats {
        justify-content: center;
        gap: 22px 30px;
        margin-top: 28px;
        padding-top: 20px;
    }

        .nx-hero-stats > div {
            padding: 0;
            border-left: 0;
        }

        .nx-hero-stats .stat-num {
            font-size: 1.6rem;
        }

    .nx-btn {
        padding: 12px 24px;
        font-size: 13.5px;
    }

    .nx-cta {
        padding: 40px 20px;
    }

    .nx-card {
        padding: 26px 22px;
    }
    .nx-card1 {
        padding: 26px 22px;
    }

    .nx-price-card {
        padding: 30px 22px;
    }

        .nx-price-card.is-featured {
            transform: none;
        }

    .nx-quote-card {
        padding: 26px;
    }

    .nx-footer {
        padding-top: 56px;
        text-align: center;
    }

        .nx-footer .col-lg-4, .nx-footer .col-lg-2, .nx-footer .col-lg-3 {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .nx-footer .nx-brand {
            justify-content: center;
        }

    .nx-social {
        justify-content: center;
    }

    .nx-newsletter-input {
        max-width: 340px;
        margin: 0 auto;
    }

    .nx-footer-bottom {
        text-align: center;
    }

    .nx-totop {
        width: 42px;
        height: 42px;
        bottom: 18px;
        right: 18px;
    }

    .nx-job-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nx-marquee span {
        margin: 0 20px;
        font-size: 1rem;
    }
}

@media(max-width: 420px) {
    .nx-hero-badge {
        font-size: 11.5px;
        padding: 7px 14px;
    }

    .nx-eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .nx-btn-block-xs {
        width: 100%;
    }

    .d-flex.align-items-center.gap-2.mt-3 {
        flex-direction: column;
        width: 100%;
    }

        .d-flex.align-items-center.gap-2.mt-3 .nx-btn {
            width: 100%;
        }
}
