/* --- Custom: "Home" nav dropdown (home variants) --- */

/* Desktop dropdown */
.nm-main-navigation .nm-has-submenu {
    position: relative;
}
.nm-main-navigation .nm-has-submenu > a .fa-angle-down {
    font-size: 11px;
    margin-left: 5px;
    transition: transform .25s ease;
}
.nm-main-navigation .nm-has-submenu:hover > a .fa-angle-down {
    transform: rotate(180deg);
}
.nm-main-navigation .nm-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #0f1220;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(15,18,32,.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 999;
}
.nm-main-navigation .nm-has-submenu:hover .nm-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nm-main-navigation .nm-submenu li {
    display: block;
    margin: 0;
}
.nm-main-navigation .nm-submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 20px;
    white-space: nowrap;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    transition: color .2s ease, background .2s ease;
}
.nm-main-navigation .nm-submenu li a span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #0f1220;
    background: var(--nm-clr-pr-1);
    padding: 2px 8px;
    border-radius: 20px;
}
.nm-main-navigation .nm-submenu li a:hover {
    color: var(--nx-accent-strong);
    background: rgba(255, 255, 255, .05);
}

/* Mobile: show variants as an indented static sub-list */
.mobile-main-navigation .nm-m-submenu {
    list-style: none;
    margin: 6px 0 0;
    padding: 0 0 0 16px;
    border-left: 1px solid rgba(255, 255, 255, .12);
}
.mobile-main-navigation .nm-m-submenu li a {
    font-size: 15px;
    opacity: .85;
}

/* Service/team detail pages load Elementor's own CSS (kit + per-page) for
   pixel-faithful demo layout — see @section('styles') in those Blade views.
   No manual width override here. */

/* --- Force header dropdown menus to open on hover --- */
/* Regular dropdowns only: the Services mega menu is excluded — this rule's
   display:block/translateY(0) were flattening its grid and breaking its
   centering on hover. The mega menu has its own hover rule further down. */
#main-nav li.dropdown:hover > .dropdown-menu:not(.nx-mega-menu),
#main-nav li.dropdown:focus-within > .dropdown-menu:not(.nx-mega-menu) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
#main-nav li.dropdown:hover > a {
    color: var(--nx-accent-strong) !important;
}
.navbar-nav .dropdown-menu {
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

/* --- FontAwesome Right Arrow Unicode Fallback --- */
.fa-long-arrow-right::before,
.fa-arrow-right-long::before {
    content: "\f178" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* ===== PRIMARY / ACCENT COLOR =====
   Overrides the theme's --nm-clr-pr-1 (used ~88×). Dark mode: brand purple.
   Light mode uses a near-black accent to match the Home-04 look (see below). */
:root { --nm-clr-pr-1: #7087f6; --theme-color: #7087f6; }

/* ===== LIGHT MODE (legacy smart invert fallback) =====
   The theme is dark-first with colours hardcoded throughout, so the light theme
   is produced by inverting the whole document and re-inverting media (photos/
   videos/backgrounds) + the toggle so they look normal. Target palette = Home-04
   (https://Nexify IO.com/wp/nimo/home-04-onepage/): off-white #F5F5F5 page,
   near-black #0f1220 text/buttons — a monochrome scheme the invert reproduces
   cleanly (greys/blacks/whites are invariant under hue-rotate, unlike a vivid
   accent which would clamp). The home hero stays dark (see .nm-hero-1-area). */
html.nm-light:not(.nm-polished-theme) {
    background: #ffffff !important;
    filter: invert(1) hue-rotate(180deg);
    -webkit-filter: invert(1) hue-rotate(180deg);
    /* Home-04 look = monochrome: near-black accent/buttons on an off-white page.
       Greys are invariant under hue-rotate, so a near-white variable renders as
       the target near-black (#0f1220) cleanly through the invert filter. */
    --nm-clr-pr-1: #f5f5f5; /* renders ≈ #0f1220 (Home-04 black accent) */
    --theme-color: #f5f5f5;
}
html.nm-light:not(.nm-polished-theme) img,
html.nm-light video,
html.nm-light canvas,
html.nm-light iframe,
html.nm-light .nm-theme-toggle {
    filter: invert(1) hue-rotate(180deg);
    -webkit-filter: invert(1) hue-rotate(180deg);
}
/* Hero (home-01) stays a dark cinematic section in light mode — mirroring
   Home-04's coloured hero above a light body. Re-inverting the whole hero makes
   it render exactly like the (good) dark-mode hero: light text, normal photo,
   accent button. Media/canvas inside are already correct via the html+hero
   double-invert, so cancel the global media re-invert for them, and restore the
   brand accent so the hero button keeps its colour. */
html.nm-light:not(.nm-polished-theme) .nm-hero-1-area {
    filter: invert(1) hue-rotate(180deg);
    -webkit-filter: invert(1) hue-rotate(180deg);
    --nm-clr-pr-1: #7087f6;
    --theme-color: #7087f6;
}
html.nm-light:not(.nm-polished-theme) .nm-hero-1-area img,
html.nm-light .nm-hero-1-area video,
html.nm-light .nm-hero-1-area canvas {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Decorative shape backgrounds (data-background = *-bg-shape / textures, never
   content photos) are NOT re-inverted, so they invert to light and blend into
   the light theme instead of showing as dark blobs. Decorative glow/shadow
   overlays are toned down. */
html.nm-light:not(.nm-polished-theme) .nm-bg-shadow,
html.nm-light [class*="-bg-shape"],
html.nm-light .img-shape-1,
html.nm-light .img-shape-2,
html.nm-light .img-shape-3 {
    opacity: .25;
}

/* Floating dark/light toggle button (injected on every Nimo page) */
.nm-theme-toggle {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #0f1220;
    color: #3c6dc7;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(15,18,32,.35);
    transition: transform .2s ease, background .2s ease;
}
.nm-theme-toggle:hover { transform: translateY(-2px) scale(1.05); }
@media (max-width: 767px) {
    .nm-theme-toggle { left: 16px; bottom: 16px; width: 42px; height: 42px; font-size: 16px; }
}

/* Homepage service tabs use category photos with a quiet hover treatment. */
body.home .nm-services-1-tabs-pane-single .item-img img {
    object-fit: cover !important;
    object-position: center !important;
}
body.home .nm-services-1-tabs-pane-single .item-img .nx-service-photo{
    display:block;
    width:100%;
    height:100%;
    min-height:340px;
    border-radius:16px;
    transition:transform .6s ease;
}
body.home .nm-services-1-tabs-pane-single .item-img:hover .nx-service-photo{
    transform:scale(1.035);
}
@media (prefers-reduced-motion:reduce){
    body.home .nm-services-1-tabs-pane-single .item-img .nx-service-photo{transition:none}
}

/* ============================================================
   Responsive safety net (added 2026-07) — narrow-width overflow
   ============================================================ */
@media (max-width: 991px) {
    /* Flex "section header" blocks put a title + description side-by-side; on small
       screens drop the flex layout so children stack as full-width blocks (can't
       overflow). Reset any transform/margin/float that offsets the description. */
    [class^="nm-"][class*="-sec-title"] { display: block !important; }
    [class^="nm-"][class*="-sec-title"] > * {
        max-width: 100% !important;
        transform: none !important;
        margin-left: 0 !important;
        float: none !important;
    }
}
/* Media never wider than its container on any device. */
img, svg, video, canvas { max-width: 100%; }
/* Decorative absolutely-positioned glow/shape overlays can extend past the viewport
   edge; clip horizontal overflow so they never create a horizontal scrollbar. `clip`
   (not `hidden`) avoids creating a scroll container, so sticky headers keep working. */
html { overflow-x: clip; }

/* ============================================================
   Nexify interface refresh — product-led, calm and precise
   ============================================================ */
:root {
    --nx-ink: #0f1220;
    --nx-muted: #676b75;
    --nx-line: rgba(255, 255, 255, .12);
    --nx-panel: #161a2a;
    --nx-accent: #7087f6;
    --nx-accent-strong: #533fcc;
    --nx-shadow: 0 14px 42px rgba(15,18,32,.18);
}
html { color-scheme: dark; }
html.nm-light {
    color-scheme: light;
    background: #f7f7f5 !important;
    --nm-clr-pr-1: #533fcc;
    --theme-color: #533fcc;
    --nx-ink: #161a2a;
    --nx-muted: #626572;
    --nx-line: rgba(15,18,32,.11);
    --nx-panel: #ffffff;
    --nx-accent: #533fcc;
    --nx-accent-strong: #3d2fb0;
    --nx-shadow: 0 16px 44px rgba(30,36,60,.10);
}

/* A durable header surface that works over both hero media and ordinary pages. */
.nm-header-1-area,
.nm-header-5-area {
    z-index: 50;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nm-header-1-wrap,
.nm-header-5-wrap {
    min-height: 76px;
    padding-inline: clamp(18px, 3vw, 48px);
    border: 1px solid transparent;
    border-radius: 18px;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.wa_sticky_show .nm-header-1-wrap,
.txa_sticky_show .nm-header-5-wrap,
html.nm-light .nm-header-1-wrap,
html.nm-light .nm-header-5-wrap {
    background: color-mix(in srgb, var(--nx-panel) 88%, transparent);
    border-color: var(--nx-line);
    box-shadow: var(--nx-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.nm-main-navigation .navbar-nav { gap: 4px; }
.nm-main-navigation .navbar-nav li a {
    padding: 9px 12px;
    border-radius: 9px;
    letter-spacing: -.01em;
    transition: color .2s ease, background-color .2s ease;
}
.nm-main-navigation .navbar-nav li:hover > a,
.nm-main-navigation .navbar-nav li.current-menu-item > a,
.nm-main-navigation .navbar-nav li.current_page_item > a {
    color: var(--nx-accent-strong) !important;
    background: color-mix(in srgb, var(--nx-accent-strong) 12%, transparent);
}
.nm-main-navigation .navbar-nav li .dropdown-menu,
.nm-main-navigation .nm-submenu {
    padding: 8px;
    background: color-mix(in srgb, var(--nx-panel) 96%, transparent);
    border-color: var(--nx-line);
    border-radius: 14px;
    box-shadow: var(--nx-shadow);
    backdrop-filter: blur(20px);
}
.nm-main-navigation .navbar-nav li .dropdown-menu li a,
.nm-main-navigation .nm-submenu li a { border-radius: 8px; }

/* Buttons share one compact, high-contrast action language. */
.nm-pr-btn-1,
.nm-pr-btn-5 {
    border-radius: 10px !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--nx-accent-strong) 25%, transparent);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}
.nm-pr-btn-1:hover,
.nm-pr-btn-5:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--nx-accent-strong) 36%, transparent); }

/* Nav-integrated theme switcher, with fixed positioning only as a page fallback. */
.nm-theme-toggle {
    position: relative;
    left: auto;
    bottom: auto;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin-right: 12px;
    border: 1px solid var(--nx-line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--nx-panel) 78%, transparent);
    color: var(--nx-accent-strong);
    box-shadow: none;
}
.nm-theme-toggle:hover { background: var(--nx-accent-strong); color: #fff; transform: translateY(-1px); }
body > .nm-theme-toggle { position: fixed; left: 24px; bottom: 24px; box-shadow: var(--nx-shadow); }

/* Purposeful light surfaces—no filter inversion, so photography and brand assets stay true. */
html.nm-light body { background: #f7f7f5; color: var(--nx-ink); }
html.nm-light .nm-footer-1-area,
html.nm-light .nm-footer-1-wrap { background: #161a2a; }
html.nm-light .nm-services-1-area,
html.nm-light .nm-work-1-area,
html.nm-light .nm-testimonial-1-area,
html.nm-light .nm-blog-1-area { background-color: #f7f7f5; }
html.nm-light [class*="-card"],
html.nm-light .nm-services-1-tabs-pane-single,
html.nm-light .nm-blog-1-item { border-color: rgba(22,26,42,.10); }
html.nm-light .nm-p-1 { color: var(--nx-muted); }
html.nm-light .nm-h-1,
html.nm-light .nm-h-2,
html.nm-light h1, html.nm-light h2, html.nm-light h3, html.nm-light h4 { color: var(--nx-ink); }
html.nm-light .nm-hero-1-area,
html.nm-light .nm-hero-1-area .nm-h-1,
html.nm-light .nm-hero-1-area .nm-p-1 { color: inherit; }

@media (max-width: 991px) {
    .nm-header-1-wrap, .nm-header-5-wrap { min-height: 66px; border-radius: 14px; padding-inline: 16px; }
    .nm-theme-toggle { width: 38px; height: 38px; margin-right: 8px; }
}

/* ============================================================
   Balanced purple palette
   The imported template is dark-first. These explicit surfaces replace its
   one-size-fits-all black/white treatment in both modes.
   ============================================================ */
html.nm-polished-theme {
    --nm-clr-pr-1: #7087f6;
    --nm-clr-pr-2: #533fcc;
    --nm-clr-pr-3: #533fcc;
    --nm-clr-p-1: #b5b0bc;
    --nm-clr-black-1: #0f1220;
    --nm-clr-black-2: #0f1220;
    --nm-clr-black-3: #161a2a;
    --nm-clr-black-4: #161a2a;
    --nm-clr-gd-3: linear-gradient(120deg, #3c6dc7 0%, #533fcc 100%);
    --nx-ink: #f5f1f8;
    --nx-muted: #b5b0bc;
    --nx-line: rgba(60,109,199,.12);
    --nx-panel: #161a2a;
    --nx-accent: #7087f6;
    --nx-accent-strong: #533fcc;
    --nx-shadow: 0 18px 52px rgba(15,18,32,.28);
}
html.nm-polished-theme.nm-light {
    --nm-clr-pr-1: #533fcc;
    --nm-clr-pr-2: #533fcc;
    --nm-clr-pr-3: #533fcc;
    --nm-clr-p-1: #5f5967;
    --nm-clr-black-1: #1e243c;
    --nm-clr-black-2: #ffffff;
    --nm-clr-black-3: #e8effe;
    --nm-clr-black-4: #e8effe;
    --nm-clr-gd-3: linear-gradient(120deg, #533fcc 0%, #3c6dc7 100%);
    --nx-ink: #1e243c;
    --nx-muted: #625c67;
    --nx-line: rgba(28,58,122,.13);
    --nx-panel: #fbe9fc;
    --nx-accent: #533fcc;
    --nx-accent-strong: #533fcc;
    --nx-shadow: 0 16px 44px rgba(63, 47, 73, .10);
}

/* Dark mode gets depth from layered plum surfaces, not pure black slabs. */
html.nm-polished-theme body { background: #0f1220; color: var(--nx-muted); }
html.nm-polished-theme .page-wrapper { background: #0f1220; }
html.nm-polished-theme .nm-header-1-wrap,
html.nm-polished-theme .nm-header-5-wrap { background: rgba(15,18,32,.72); }
html.nm-polished-theme .nm-hero-1-area { background-color: #0f1220; }
html.nm-polished-theme .nm-services-1-tabs-pane-single .content-wrap,
html.nm-polished-theme .nm-services-1-tabs-btn .nav-link:is(.active),
html.nm-polished-theme .nm-services-1-tabs-btn .nav-link:hover { background: #161a2a; }
html.nm-polished-theme .nm-blog-1-area { background: #0f1220; }
html.nm-polished-theme .nm-footer-1-area { background: #0f1220; border-top: 1px solid var(--nx-line); }
html.nm-polished-theme .nm-services-1-tabs-pane-single .content-wrap,
html.nm-polished-theme .nm-blog-1-item,
html.nm-polished-theme .nm-services-1-tabs-btn .nav-link { border: 1px solid transparent; }
html.nm-polished-theme .nm-services-1-tabs-pane-single .content-wrap,
html.nm-polished-theme .nm-services-1-tabs-btn .nav-link:is(.active) { border-color: var(--nx-line); }

/* Light mode has warm paper surfaces and ink text. Images remain completely untouched. */
html.nm-polished-theme.nm-light body,
html.nm-polished-theme.nm-light .page-wrapper { background: #ffffff; color: var(--nx-muted); }
html.nm-polished-theme.nm-light .nm-header-1-area,
html.nm-polished-theme.nm-light .nm-header-5-area { background: transparent; }
html.nm-polished-theme.nm-light .nm-header-1-wrap,
html.nm-polished-theme.nm-light .nm-header-5-wrap { background: rgba(251,233,252,.84); }
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav li a { color: #3c3445; }
html.nm-polished-theme.nm-light .nm-services-1-tabs-btn .nav-link { color: #3c3445; }
html.nm-polished-theme.nm-light .nm-services-1-tabs-btn .nav-link:is(.active),
html.nm-polished-theme.nm-light .nm-services-1-tabs-btn .nav-link:hover { color: #fff; background: #1e243c; }
html.nm-polished-theme.nm-light .nm-services-1-tabs-btn-scrollbar .mCSB_scrollTools { background: #a9c3fb; }
html.nm-polished-theme.nm-light .nm-services-1-tabs-pane-single .content-wrap { background: #fbe9fc; color: var(--nx-muted); border-color: var(--nx-line); box-shadow: var(--nx-shadow); }
html.nm-polished-theme.nm-light .nm-services-1-tabs-pane-single .content-wrap .nm-h-1,
html.nm-polished-theme.nm-light .nm-services-1-tabs-pane-single .content-wrap h1,
html.nm-polished-theme.nm-light .nm-services-1-tabs-pane-single .content-wrap h2,
html.nm-polished-theme.nm-light .nm-services-1-tabs-pane-single .content-wrap h3 { color: var(--nx-ink); }
html.nm-polished-theme.nm-light .nm-blog-1-area { background: #e8effe; }
html.nm-polished-theme.nm-light .nm-blog-1-item .item-title,
html.nm-polished-theme.nm-light .nm-blog-1-item .item-date { color: var(--nx-ink); }
html.nm-polished-theme.nm-light .nm-blog-1-item .item-date { opacity: .65; }
html.nm-polished-theme.nm-light .nm-blog-1-item .item-img .card-categories .link-elm { background: rgba(251,233,252,.92); color: var(--nx-ink); border-color: var(--nx-line); }

/* Keep the dramatic hero and footer dark in both schemes—this anchors the page. */
html.nm-polished-theme.nm-light .nm-hero-1-area,
html.nm-polished-theme.nm-light .nm-footer-1-area { background-color: #0f1220; }
html.nm-polished-theme.nm-light .nm-hero-1-area .nm-h-1,
html.nm-polished-theme.nm-light .nm-hero-1-area .nm-p-1 { color: inherit; }
html.nm-polished-theme.nm-light .nm-footer-1-area .nm-h-1,
html.nm-polished-theme.nm-light .nm-footer-1-area h1,
html.nm-polished-theme.nm-light .nm-footer-1-area h2,
html.nm-polished-theme.nm-light .nm-footer-1-area h3,
html.nm-polished-theme.nm-light .nm-footer-1-area h4 { color: #fff; }

/* Purple is the sole accent across both themes. */
html.nm-polished-theme .nm-theme-toggle { color: var(--nm-clr-pr-2); }
html.nm-polished-theme .nm-theme-toggle:hover { background: var(--nm-clr-pr-2); border-color: var(--nm-clr-pr-2); color: #fff; }
html.nm-polished-theme .nm-pr-btn-1,
html.nm-polished-theme .nm-pr-btn-5 { background: var(--nm-clr-pr-2); color: #fff; box-shadow: 0 10px 24px rgba(83,63,204,.26); }
html.nm-polished-theme .nm-pr-btn-1:hover,
html.nm-polished-theme .nm-pr-btn-5:hover { background: #3d2fb0; }
html.nm-polished-theme .nm-services-1-tabs-pane-single .item-icon { color: var(--nm-clr-pr-2); }
html.nm-polished-theme .nm-footer-1-hire .hire-title span { background: var(--nm-clr-pr-1); outline-color: rgba(178,158,250,.20); }

/* Light mode: clean, high-contrast product-site treatment. */
html.nm-polished-theme.nm-light body,
html.nm-polished-theme.nm-light .page-wrapper { background: #ffffff; }
html.nm-polished-theme.nm-light .nm-header-1-container { padding-top: 12px; }
html.nm-polished-theme.nm-light .nm-header-1-wrap {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(22,26,42,.11);
    box-shadow: 0 6px 22px rgba(22,26,42,.06);
}
html.nm-polished-theme.nm-light .nm-header-1-logo img { filter: invert(1); }
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav li a { color: #1e243c; font-weight: 500; }
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav li:hover > a,
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav li.current-menu-item > a { color: #533fcc !important; }

html.nm-polished-theme.nm-light .nm-about-1-area,
html.nm-polished-theme.nm-light .nm-services-1-area,
html.nm-polished-theme.nm-light .nm-portfolio-1-area,
html.nm-polished-theme.nm-light .nm-team-1-area,
html.nm-polished-theme.nm-light .nm-faqs-1-area,
html.nm-polished-theme.nm-light .nm-contact-1-area { background: #ffffff; }
html.nm-polished-theme.nm-light .nm-choose-1-area,
html.nm-polished-theme.nm-light .nm-steps-1-area,
html.nm-polished-theme.nm-light .nm-testimonial-1-area,
html.nm-polished-theme.nm-light .nm-partner-1-area { background: #f7f6f8; }
html.nm-polished-theme.nm-light .nm-h-1,
html.nm-polished-theme.nm-light .nm-h-2,
html.nm-polished-theme.nm-light h1,
html.nm-polished-theme.nm-light h2,
html.nm-polished-theme.nm-light h3,
html.nm-polished-theme.nm-light h4 { color: #161a2a; }
html.nm-polished-theme.nm-light .nm-p-1 { color: #625d6a; }

/* Cards and controls use quiet borders rather than dark fill blocks. */
html.nm-polished-theme.nm-light .nm-about-1-card-wrap,
html.nm-polished-theme.nm-light .nm-choose-1-item,
html.nm-polished-theme.nm-light .nm-contact-1-info-single,
html.nm-polished-theme.nm-light .nm-faqs-1-tabs-pane-single,
html.nm-polished-theme.nm-light .nm-testimonial-1-main-slider-single,
html.nm-polished-theme.nm-light .nm-accordion-item {
    background: #ffffff;
    border-color: rgba(22,26,42,.12);
    box-shadow: 0 8px 24px rgba(22,26,42,.05);
}
html.nm-polished-theme.nm-light .nm-faqs-1-tabs-btn .nav-link,
html.nm-polished-theme.nm-light .nm-accordion-item .accordion-button { color: #1e243c; }
html.nm-polished-theme.nm-light .nm-faqs-1-tabs-btn .nav-link:is(.active),
html.nm-polished-theme.nm-light .nm-accordion-item .accordion-button:not(.collapsed) { color: #533fcc; }

/* Keep media-led sections sharp while retaining a clear light-mode hierarchy. */
html.nm-polished-theme.nm-light .nm-hero-1-area { background: #161a2a; }
html.nm-polished-theme.nm-light .nm-blog-1-area { background: #161a2a; }
html.nm-polished-theme.nm-light .nm-blog-1-area .nm-h-1,
html.nm-polished-theme.nm-light .nm-blog-1-area h1,
html.nm-polished-theme.nm-light .nm-blog-1-area h2,
html.nm-polished-theme.nm-light .nm-blog-1-area h3 { color: #fff; }
html.nm-polished-theme.nm-light .nm-marquee-1-area { background: #533fcc; }
html.nm-polished-theme.nm-light .nm-pr-btn-1,
html.nm-polished-theme.nm-light .nm-pr-btn-5 { background: #533fcc; }
html.nm-polished-theme.nm-light .nm-pr-btn-1:hover,
html.nm-polished-theme.nm-light .nm-pr-btn-5:hover { background: #3d2fb0; }

/* Product-led hero: an original Nexify composition with Premier-style hierarchy. */
.nx-command-hero { position: relative; overflow: hidden; padding: 92px 24px 72px; background: #f8f7fb; color: #161a2a; isolation: isolate; }
.nx-command-hero__container { position: relative; z-index: 1; max-width: 1230px; margin: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr); align-items: center; gap: 54px; }
.nx-command-hero__copy { max-width: 550px; }
.nx-command-hero__eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #533fcc; font: 700 12px/1.2 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.nx-command-hero__eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #5792d9; box-shadow: 0 0 0 5px rgba(112,135,246,.12); }
.nx-command-hero h1 { margin: 0; color: #161a2a; font: 600 clamp(46px, 5.1vw, 76px)/.99 "Space Grotesk", sans-serif; letter-spacing: -.065em; }
.nx-command-hero h1 em { color: #533fcc; font-style: normal; }
.nx-command-hero__lead { max-width: 500px; margin: 27px 0 31px; color: #625d6a; font: 400 18px/1.55 Inter, sans-serif; }
.nx-command-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.nx-command-hero__primary, .nx-command-hero__secondary { display: inline-flex; align-items: center; gap: 11px; min-height: 50px; padding: 0 19px; border-radius: 9px; font: 600 14px/1 Inter, sans-serif; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.nx-command-hero__primary { background: #533fcc; color: #fff; box-shadow: 0 12px 25px rgba(83,63,204,.23); }
.nx-command-hero__primary:hover { color: #fff; background: #3c6dc7; transform: translateY(-2px); }
.nx-command-hero__secondary { color: #1e243c; border: 1px solid #dcd7e5; background: #fff; }
.nx-command-hero__secondary:hover { color: #533fcc; border-color: #a9c3fb; }
.nx-command-hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 43px; color: #746e7c; }
.nx-command-hero__proof p { margin: 0; font: 400 12px/1.5 Inter, sans-serif; }.nx-command-hero__proof strong { color: #1e243c; font-weight: 650; }
.nx-command-hero__avatars { display: flex; padding-left: 8px; }.nx-command-hero__avatars b { display: grid; width: 31px; height: 31px; margin-left: -8px; place-items: center; border: 2px solid #f8f7fb; border-radius: 50%; color: #fff; font: 700 9px/1 Inter, sans-serif; }.nx-command-hero__avatars b:nth-child(1){background:#533fcc}.nx-command-hero__avatars b:nth-child(2){background:#6898f8}.nx-command-hero__avatars b:nth-child(3){background:#4b3b66}
.nx-command-hero__visual { --nx-tilt-x: 0deg; --nx-tilt-y: 0deg; --nx-light-x: 50%; --nx-light-y: 50%; --nx-float-x: 0px; --nx-float-y: 0px; position: relative; min-height: 475px; padding: 25px 0 0 24px; perspective: 1150px; }.nx-command-hero__visual::after { position: absolute; z-index: 3; top: 25px; right: 0; bottom: 38px; left: 24px; pointer-events: none; border-radius: 16px; background: radial-gradient(390px circle at var(--nx-light-x) var(--nx-light-y), rgba(255,255,255,.43), transparent 48%); content: ""; mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s ease; }.nx-command-hero__visual:hover::after { opacity: 1; }.nx-command-hero__window { position: relative; overflow: hidden; min-height: 412px; border: 1px solid #ded9e8; border-radius: 16px; background: #fff; box-shadow: 0 28px 56px rgba(42,31,107,.17); transform: rotateX(var(--nx-tilt-x)) rotateY(var(--nx-tilt-y)) translateZ(0); transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; will-change: transform; }.nx-command-hero__visual:hover .nx-command-hero__window { box-shadow: 0 42px 76px rgba(42,31,107,.26); transition-duration: .08s; }.nx-command-hero__windowbar { height: 43px; display: flex; align-items: center; gap: 6px; padding: 0 15px; border-bottom: 1px solid #eeeaf4; }.nx-command-hero__windowbar span { width: 7px; height: 7px; border-radius: 50%; background: #d8d1e4; }.nx-command-hero__windowbar p { margin: 0 auto; transform: translateX(-12px); color: #91899f; font: 500 10px/1 Inter, sans-serif; }
.nx-command-hero__sidebar { position: absolute; top: 43px; bottom: 0; display: flex; width: 55px; flex-direction: column; align-items: center; gap: 23px; padding-top: 24px; color: #93899f; background: #f4f7ff; border-right: 1px solid #eeeaf4; font-size: 13px; }.nx-command-hero__sidebar i:first-child { color: #5792d9; }.nx-command-hero__sidebar i:last-child { margin-top: auto; margin-bottom: 22px; }
.nx-command-hero__screen { margin-left: 55px; padding: 29px 28px; }.nx-command-hero__screenhead { display: flex; align-items: flex-start; justify-content: space-between; }.nx-command-hero__screenhead small,.nx-command-hero__metric-row small { display: block; color: #958c9f; font: 600 9px/1 Inter,sans-serif; letter-spacing: .08em; text-transform: uppercase; }.nx-command-hero__screenhead strong { display: block; margin-top: 7px; color: #1e243c; font: 600 20px/1.15 "Space Grotesk",sans-serif; }.nx-command-hero__screenhead button { display: flex; align-items: center; gap: 6px; border: 0; border-radius: 20px; padding: 6px 9px; color: #3c6dc7; background: #ece7fe; font: 600 10px/1 Inter,sans-serif; }.nx-command-hero__screenhead button span { width: 5px; height: 5px; border-radius: 50%; background: #533fcc; }
.nx-command-hero__metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 26px; }.nx-command-hero__metric-row > div { padding: 16px; border: 1px solid #eeeaf4; border-radius: 10px; }.nx-command-hero__metric-row strong { display: block; margin-top: 9px; color: #161a2a; font: 600 28px/1 "Space Grotesk",sans-serif; letter-spacing: -.06em; }.nx-command-hero__metric-row strong span { font-size: 16px; }.nx-command-hero__metric-row p { margin: 8px 0 0; color: #5792d9; font: 600 9px/1 Inter,sans-serif; }
.nx-command-hero__chart { margin-top: 14px; padding: 16px; border: 1px solid #eeeaf4; border-radius: 10px; }.nx-command-hero__chart-label { display: flex; justify-content: space-between; color: #746c7d; font: 600 10px/1 Inter,sans-serif; }.nx-command-hero__chart-label span { color: #5792d9; }.nx-command-hero__chart svg { display: block; width: 100%; height: 152px; margin-top: 10px; overflow: visible; }.nx-chart-grid { fill: none; stroke: #eeeaf4; stroke-width: 1; }.nx-chart-fill { fill: url(#nx-fade); fill: rgba(112,135,246,.13); }.nx-chart-line { fill: none; stroke: #533fcc; stroke-width: 3; stroke-linecap: round; }
.nx-command-hero__float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(218,211,232,.9); border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 15px 33px rgba(42,31,107,.13); transition: transform .45s cubic-bezier(.2,.8,.2,1); will-change: transform; }.nx-command-hero__visual:hover .nx-command-hero__float--one { transform: translate3d(calc(var(--nx-float-x) * -.75), calc(var(--nx-float-y) * -.75), 30px); transition-duration: .08s; }.nx-command-hero__visual:hover .nx-command-hero__float--two { transform: translate3d(calc(var(--nx-float-x) * 1.1), calc(var(--nx-float-y) * 1.1), 30px); transition-duration: .08s; }.nx-command-hero__float i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: #5792d9; background: #ece7fe; font-size: 12px; }.nx-command-hero__float small { display: block; color: #91899f; font: 500 9px/1 Inter,sans-serif; }.nx-command-hero__float strong { display:block; margin-top: 4px; color: #322b3b; font: 650 11px/1 Inter,sans-serif; }.nx-command-hero__float--one { top: 0; right: -18px; }.nx-command-hero__float--two { right: -14px; bottom: 20px; display: block; }.nx-command-hero__float--two span { display: block; color: #5792d9; font: 650 23px/1 "Space Grotesk",sans-serif; letter-spacing: -.07em; }.nx-command-hero__float--two small { margin-top: 5px; }
.nx-command-hero__glow { position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(10px); opacity: .5; background: radial-gradient(circle, rgba(178,158,250,.32), transparent 67%); }.nx-command-hero__glow--one { top: -390px; right: 5%; }.nx-command-hero__glow--two { bottom: -470px; left: -90px; }
html:not(.nm-light) .nx-command-hero { background: #0f1220; }.nm-polished-theme:not(.nm-light) .nx-command-hero h1 { color:#fff; }.nm-polished-theme:not(.nm-light) .nx-command-hero__lead,.nm-polished-theme:not(.nm-light) .nx-command-hero__proof p { color:#bab2c3; }.nm-polished-theme:not(.nm-light) .nx-command-hero__proof strong { color:#ece7fe; }.nm-polished-theme:not(.nm-light) .nx-command-hero__secondary { color:#eee9f4; background:#161a2a; border-color:#3b314b; }.nm-polished-theme:not(.nm-light) .nx-command-hero__avatars b { border-color:#0f1220; }
@media (max-width: 991px) { .nx-command-hero { padding-block: 70px 55px; }.nx-command-hero__container { grid-template-columns: 1fr; gap: 38px; }.nx-command-hero__copy { max-width: 640px; }.nx-command-hero__visual { max-width: 680px; width: calc(100% - 26px); min-height: 420px; margin-inline: auto; }.nx-command-hero__float--one { right:-18px; } }
@media (max-width: 575px) { .nx-command-hero { padding: 55px 16px 42px; }.nx-command-hero h1 { font-size: 45px; }.nx-command-hero__lead { font-size: 16px; }.nx-command-hero__visual { min-height: 330px; padding: 12px 0 0 10px; }.nx-command-hero__window { min-height: 314px; }.nx-command-hero__screen { padding: 21px 14px; }.nx-command-hero__metric-row { gap: 7px; }.nx-command-hero__metric-row > div,.nx-command-hero__chart { padding: 11px; }.nx-command-hero__metric-row strong { font-size: 21px; }.nx-command-hero__chart svg { height: 97px; }.nx-command-hero__float--one { display:none; }.nx-command-hero__float--two { right:-8px; bottom:-14px; }.nx-command-hero__sidebar { width: 42px; gap:18px; }.nx-command-hero__screen { margin-left:42px; }.nx-command-hero__windowbar p { font-size:8px; }.nx-command-hero__proof { margin-top:32px; } }

/* Services mega menu — webreinvent-style: category rail (left, white pill on the
   active tab) + per-category panels (right) that swap on hover. One flat surface
   with a hairline divider; circular letter badges colored per letter.
   !important is required: the theme's core CSS forces display:block/padding on
   .dropdown-menu and re-applies transform:scaleY(1) via a higher-specificity
   li:hover rule, which was flattening the grid and undoing the -50% centering.
   Safe because the theme shows/hides dropdowns via opacity/visibility, not display.
   The horizontal position (inline left, set by the layout script) centers the
   panel on the viewport, since centering on the li pushed it off-screen. */
.nm-main-navigation .navbar-nav > li > .nx-mega-menu{display:block!important;top:100%!important;right:auto!important;width:min(1120px,92vw)!important;height:min(620px,calc(100vh - 118px))!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid rgba(178,158,250,.16)!important;border-radius:26px!important;background:#0f1220!important;box-shadow:0 30px 80px rgba(15,18,32,.5)!important;transform:translate(-50%,12px)!important}
/* The two-pane grid lives on an inner wrapper no theme/dropdown rule targets
   (it also carries these styles inline, set by the layout script). */
.nx-mega-menu .nx-mega-wrap{display:grid;grid-template-columns:318px 1fr;height:100%;overflow:hidden}
/* Hover/keyboard reveal at the same specificity as the legacy dropdown-hover
   rule above (li.dropdown:hover — 0-4-1 + !important), so nothing outranks it. */
#main-nav li.dropdown:hover > .nx-mega-menu,#main-nav li.dropdown:focus-within > .nx-mega-menu{display:block!important;opacity:1!important;visibility:visible!important;transform:translate(-50%,0)!important}

/* left rail */
.nx-mega-menu__categories{display:flex;flex-direction:column;align-items:flex-start;gap:9px;overflow:auto;padding:32px 24px;border-right:1px solid rgba(255,255,255,.08)}
.nx-mega-menu__category{display:inline-flex!important;align-items:center!important;gap:14px!important;margin:0!important;padding:10px 20px 10px 14px!important;border-radius:999px!important;color:#a9c4cf!important;font-size:15px!important;font-weight:500!important;line-height:1.25!important;white-space:nowrap;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.nx-mega-menu__category i{width:21px;text-align:center;color:#6898f8;font-size:16px;transition:color .18s ease}
.nx-mega-menu__category:hover,.nx-mega-menu__category:focus{background:rgba(255,255,255,.08)!important;color:#fff!important}
.nx-mega-menu__category.is-active,.nx-mega-menu__category.is-active:hover{background:#fff!important;color:#0f1220!important;box-shadow:0 8px 22px rgba(15,18,32,.3)}
.nx-mega-menu__category.is-active i{color:#1e243c}

/* right panels */
.nx-mega-menu__panels{position:relative;overflow:hidden}
.nx-mega-menu__panel{display:none;height:100%;overflow:auto;padding:28px 34px}
.nx-mega-menu__panel.is-active{display:block;animation:nxMegaFade .22s ease}
@keyframes nxMegaFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.nx-mega-menu__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 36px;align-content:start}
.nx-mega-menu__grid a{display:flex!important;align-items:center!important;gap:15px!important;padding:10px 12px!important;border-radius:11px!important;color:#e8effe!important;font-size:15px!important;line-height:1.35!important;transition:background .15s ease,color .15s ease}
.nx-mega-menu__grid a:hover,.nx-mega-menu__grid a:focus{color:#fff!important;background:rgba(255,255,255,.07)!important}
.nx-mega-menu__grid span{display:grid;flex:0 0 26px;width:26px;height:26px;place-items:center;border-radius:50%;background:#533fcc;color:#fff;font:700 12px Inter,sans-serif}

/* scrollbars */
.nx-mega-menu__panel::-webkit-scrollbar,.nx-mega-menu__categories::-webkit-scrollbar{width:8px}
.nx-mega-menu__panel::-webkit-scrollbar-thumb,.nx-mega-menu__categories::-webkit-scrollbar-thumb{border-radius:8px;background:rgba(255,255,255,.25)}
.nx-mega-menu__panel::-webkit-scrollbar-track{background:rgba(255,255,255,.05)}

/* Solutions now uses the same selector-and-panel mega-menu structure as Services. */
.nx-solutions-mega .nx-mega-menu__categories{gap:9px}
.nx-solutions-mega__head{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0 0 9px;padding:0 14px;color:#fff;font:700 18px/1.2 var(--nm-font-1)}
.nx-solutions-mega__head a{display:inline-flex!important;align-items:center;gap:7px;color:#6898f8!important;font:600 12px/1 Inter,sans-serif}
.nx-solutions-mega__head a:hover{color:#fff!important}
.nx-solutions-mega__head a i{font-size:11px}

/* WebReinvent-aligned purple system: dark plum base, vivid purple actions and aqua/magenta signals. */
html.nm-polished-theme{--nm-clr-pr-1:#7087f6;--nm-clr-pr-2:#533fcc;--nm-clr-pr-3:#7087f6;--nm-clr-gd-3:linear-gradient(90deg,#7087f6,#533fcc 53%,#6b07a1);--nm-clr-black-1:#161a2a;--nm-clr-black-2:#0f1220;--nm-clr-black-3:#161a2a;--nm-clr-black-4:#161a2a;--nm-clr-p-1:#a8b2bf;--nx-accent:#7087f6;--nx-accent-strong:#533fcc}
html.nm-polished-theme body,html.nm-polished-theme .page-wrapper{background:#0f1220}html.nm-polished-theme .nm-header-1-wrap{background:rgba(22,26,42,.91);border-color:rgba(60,109,199,.19)}html.nm-polished-theme .nm-pr-btn-1,html.nm-polished-theme .nm-pr-btn-5{background:#533fcc;box-shadow:0 12px 28px rgba(60,109,199,.34)}html.nm-polished-theme .nm-pr-btn-1:hover,html.nm-polished-theme .nm-pr-btn-5:hover{background:#7087f6}html.nm-polished-theme .nm-marquee-1-area{background:#533fcc}
html.nm-polished-theme.nm-light{--nm-clr-pr-1:#533fcc;--nm-clr-pr-2:#533fcc;--nm-clr-pr-3:#533fcc;--nm-clr-black-1:#ffffff;--nm-clr-black-2:#fff;--nm-clr-black-3:#ece7fe;--nm-clr-black-4:#e8effe;--nm-clr-p-1:#5b6674;--nx-accent:#533fcc;--nx-accent-strong:#533fcc}
html.nm-polished-theme.nm-light body,html.nm-polished-theme.nm-light .page-wrapper{background:#ffffff}html.nm-polished-theme.nm-light .nm-header-1-wrap{background:rgba(251,233,252,.93);border-color:rgba(83,63,204,.15)}html.nm-polished-theme.nm-light .nm-choose-1-area,html.nm-polished-theme.nm-light .nm-testimonial-1-area,html.nm-polished-theme.nm-light .nm-partner-1-area{background:#e8effe}

/* WebReinvent-inspired light canvas: no retained dark sections except the footer. */
html.nm-polished-theme.nm-light .nm-hero-1-area{background:radial-gradient(circle at 78% 24%,#e8effe 0,rgba(236,231,254,0) 35%),linear-gradient(135deg,#fff 0%,#e8effe 100%)}html.nm-polished-theme.nm-light .nm-hero-1-bg-img,html.nm-polished-theme.nm-light .nm-hero-1-area canvas{opacity:.1}html.nm-polished-theme.nm-light .nm-hero-1-title,html.nm-polished-theme.nm-light .nm-hero-1-title span,html.nm-polished-theme.nm-light .nm-hero-1-subtitle,html.nm-polished-theme.nm-light .nm-hero-1-disc{color:#161a2a!important}html.nm-polished-theme.nm-light .nm-hero-1-title.has-title-2 span{color:#533fcc!important}html.nm-polished-theme.nm-light .nm-blog-1-area{background:#ffffff}html.nm-polished-theme.nm-light .nm-blog-1-area .nm-h-1,html.nm-polished-theme.nm-light .nm-blog-1-area h1,html.nm-polished-theme.nm-light .nm-blog-1-area h2,html.nm-polished-theme.nm-light .nm-blog-1-area h3{color:#161a2a!important}html.nm-polished-theme.nm-light .nm-blog-1-item .item-title{color:#161a2a}html.nm-polished-theme.nm-light .nm-services-1-tabs-pane-single .content-wrap{background:#fff!important}html.nm-polished-theme.nm-light .nm-footer-1-area{background:#0f1220}html.nm-polished-theme.nm-light .nm-marquee-1-area{background:linear-gradient(90deg,#533fcc,#3c6dc7)}

/* ===== Nexify page kit — shared building blocks for the parity pages ===== */
.nxk-lottie{position:relative;width:100%;aspect-ratio:720/480;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:radial-gradient(circle at 50% 45%,rgba(60,109,199,.09),transparent 70%);overflow:hidden}
.nxk-lottie img{width:100%;height:auto;display:block}
.nxk-lottie svg{display:block}
.nxk-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center}
@media(max-width:991px){.nxk-intro{grid-template-columns:1fr;gap:32px}}
.nxk-grid{display:grid;gap:22px}
.nxk-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nxk-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:991px){.nxk-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.nxk-grid--2,.nxk-grid--3{grid-template-columns:1fr}}
.nxk-card{display:flex;flex-direction:column;height:100%;padding:30px 28px;border-radius:16px;background:var(--nm-clr-black-1);border:1px solid rgba(255,255,255,.07);transition:transform .3s ease,border-color .3s ease;color:inherit;text-decoration:none}
a.nxk-card:hover{transform:translateY(-6px);border-color:var(--nm-clr-pr-1)}
.nxk-card h3{font-family:var(--nm-font-1);font-size:21px;color:#fff;margin:0 0 9px}
.nxk-card p{font-size:14.5px;color:var(--nm-clr-p-1);margin:0;line-height:1.65}
.nxk-ic{width:52px;height:52px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;color:var(--nm-clr-pr-1);background:rgba(60,109,199,.12);margin-bottom:18px}
.nxk-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:40px;font-size:12.5px;letter-spacing:.4px;text-transform:uppercase;color:var(--nm-clr-pr-1);background:rgba(60,109,199,.1);border:1px solid rgba(60,109,199,.28);margin-bottom:16px}
.nxk-band{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:44px 40px;border-radius:20px;background:var(--nm-clr-black-1);border:1px solid rgba(255,255,255,.07)}
@media(max-width:767px){.nxk-band{grid-template-columns:repeat(2,1fr)}}
.nxk-band b{display:block;font-family:var(--nm-font-1);font-size:40px;color:var(--nm-clr-pr-1)}
.nxk-band span{font-size:14px;color:var(--nm-clr-p-1)}
.nxk-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:nxk}
@media(max-width:991px){.nxk-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:575px){.nxk-steps{grid-template-columns:1fr}}
.nxk-step{padding:28px 24px;border-radius:16px;background:var(--nm-clr-black-1);border:1px solid rgba(255,255,255,.07)}
.nxk-step em{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--nm-clr-pr-1);color:#0f1220;font:700 16px Inter,sans-serif;font-style:normal;margin-bottom:16px}
.nxk-step h3{font-family:var(--nm-font-1);font-size:19px;color:#fff;margin:0 0 8px}
.nxk-step p{font-size:14px;color:var(--nm-clr-p-1);margin:0;line-height:1.6}
.nxk-faq{display:grid;gap:12px;max-width:840px}
.nxk-faq details{border:1px solid rgba(255,255,255,.08);border-radius:13px;background:var(--nm-clr-black-1);padding:0 22px}
.nxk-faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;color:#fff;font:600 16px var(--nm-font-1)}
.nxk-faq summary::after{content:'+';color:var(--nm-clr-pr-1);font-size:22px;line-height:1}
.nxk-faq details[open] summary::after{content:'\2212'}
.nxk-faq details p{color:var(--nm-clr-p-1);font-size:14.5px;line-height:1.7;margin:0;padding:0 0 20px}
.nxk-check{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.nxk-check li{display:flex;gap:12px;align-items:flex-start;color:var(--nm-clr-p-1);font-size:15px;line-height:1.6}
.nxk-check i{color:var(--nm-clr-pr-1);margin-top:4px}
.nxk-chips{display:flex;flex-wrap:wrap;gap:10px}
.nxk-chips span,.nxk-chips a{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:40px;font-size:13.5px;color:var(--nm-clr-p-1);background:var(--nm-clr-black-1);border:1px solid rgba(255,255,255,.09);text-decoration:none}
.nxk-chips a:hover,.nxk-chips a.active{color:#0f1220;background:var(--nm-clr-pr-1);border-color:var(--nm-clr-pr-1)}
.nxk-prose{max-width:820px;color:var(--nm-clr-p-1);font-size:15.5px;line-height:1.8}
.nxk-prose h2{font-family:var(--nm-font-1);color:#fff;font-size:26px;margin:38px 0 14px}
.nxk-prose p{margin:0 0 16px}
.nxk-2col{display:grid;grid-template-columns:1fr 1fr;gap:26px}
@media(max-width:991px){.nxk-2col{grid-template-columns:1fr}}
html.nm-light .nxk-card h3,html.nm-light .nxk-step h3,html.nm-light .nxk-faq summary{color:#161a2a}
html.nm-light .nxk-card,html.nm-light .nxk-step,html.nm-light .nxk-band,html.nm-light .nxk-faq details{background:#fff;border-color:rgba(22,26,42,.1)}

/* Homepage hero Lottie — mirrors the sizing the theme gives the base hero img
   (margin-right:14vw; width:46% at 1200-1799px) so the swap is layout-neutral.
   aspect-ratio keeps the box stable after the fallback img is hidden. */
.nm-hero-1-main-img .nx-hero-lottie{position:relative;margin-right:14vw;width:min(46vw,855px);aspect-ratio:855/981}
.nm-hero-1-main-img .nx-hero-lottie img{margin-right:0;width:100%;height:auto}
.nm-hero-1-main-img .nx-hero-lottie svg{display:block}
@media (max-width:1199px){.nm-hero-1-main-img .nx-hero-lottie{width:min(60vw,520px)}}

/* ===== Additional Lottie slots (services tabs / footer CTA / about) ===== */
/* Homepage "Our Services" tab illustration panel — animation fills the slot,
   static SVG stays inside as the no-JS fallback. */
.nm-services-1-tabs-pane-single .item-img .nx-tab-lottie{position:relative;width:100%;height:100%;min-height:340px;display:flex;align-items:center;justify-content:center}
.nm-services-1-tabs-pane-single .item-img .nx-tab-lottie svg{width:100%;height:100%;max-height:560px}
.nm-services-1-tabs-pane-single .item-img .nx-tab-lottie img{width:100%;height:100%;object-fit:contain}

/* Footer CTA: compact brand animation above "Available for hire!" */
.nx-footer-lottie{position:relative;width:100%;max-width:220px;aspect-ratio:3/2;margin:0 0 20px}
.nx-footer-lottie svg{width:100%;height:100%;display:block}

/* About page: ambient animation in the decorative shape slot (kept subtle). */
.nm-about-1-left-bg-shape .nx-about-lottie{position:relative;width:100%;height:100%;min-height:260px;opacity:.85}
.nm-about-1-left-bg-shape .nx-about-lottie svg{width:100%;height:100%}
.nm-about-1-left-bg-shape .nx-about-lottie img{width:100%;height:auto}

/* ===== Shared webreinvent-style bands (CTA + trust) ===== */
.nx-cta{text-align:center;padding:64px 30px;border-radius:22px;background:var(--nm-clr-black-1);border:1px solid rgba(255,255,255,.07)}
.nx-cta h2{font-family:var(--nm-font-1);color:#fff;font-size:clamp(26px,3vw,36px);margin:0 0 14px}
.nx-cta p{color:var(--nm-clr-p-1);max-width:600px;margin:0 auto 26px;line-height:1.7}
html.nm-light .nx-cta{background:#fff;border-color:rgba(22,26,42,.1)}
html.nm-light .nx-cta h2{color:#161a2a}

/* ===== Solutions top-level dropdown — flat grid variant of the mega menu ===== */
.nx-mega-menu--flat{width:min(720px,92vw)!important;height:auto!important;padding:24px 28px!important}
.nx-sol-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.09)}
.nx-sol-head > span{color:#fff;font:600 15px var(--nm-font-1);letter-spacing:.2px}
.nx-sol-head a{display:inline-flex!important;align-items:center;gap:7px;color:#6898f8!important;font-size:13px;font-weight:600;white-space:nowrap}
.nx-sol-head a:hover{color:#fff!important}
.nx-sol-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 18px;max-height:min(440px,calc(100vh - 240px));overflow:auto;padding-right:6px}
@media(max-width:991px){.nx-sol-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.nx-sol-grid a{display:flex!important;align-items:center!important;gap:12px!important;padding:10px!important;border-radius:10px!important;color:#e8effe!important;font-size:14px!important;line-height:1.3!important;transition:background .15s ease,color .15s ease}
.nx-sol-grid a:hover{color:#fff!important;background:rgba(255,255,255,.07)!important}
.nx-sol-grid a i{flex:0 0 20px;width:20px;text-align:center;color:#6898f8;font-size:15px}
.nx-sol-grid a:hover i{color:#fff}
.nx-sol-grid::-webkit-scrollbar{width:7px}
.nx-sol-grid::-webkit-scrollbar-thumb{border-radius:8px;background:rgba(255,255,255,.28)}

/* ===== Hero cursor parallax (GPU transform, JS sets translate3d per frame) ===== */
.nm-hero-1-main-img{perspective:1200px}
.nm-hero-1-main-img .nx-hero-lottie{will-change:transform;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion: reduce){.nm-hero-1-main-img .nx-hero-lottie{transition:none}}

/* ============================================================
   Clean flat section background (Auregon-inspired).
   A single calm navy surface with one soft ambient glow near the top —
   no per-section alternating blobs, no visible grid mesh by default.
   Replaces the earlier multi-blob "Aixo-style" system, which read as
   busy/noisy against the clean-reference brief.
   ============================================================ */
/* --- Dark mode --- */
html.nm-polished-theme body{
    background:
        radial-gradient(1400px 800px at 50% -12%, rgba(60,109,199,.10), transparent 60%),
        #0f1220 !important;
    background-attachment: fixed !important;
}
html.nm-polished-theme .page-wrapper{ background: transparent !important; position: relative; z-index: 1; }
html.nm-polished-theme body::before{ content: none; }
html.nm-polished-theme .tx-section::before{ content: none; }

/* --- Light mode: flat white surface, one gentle glow --- */
html.nm-polished-theme.nm-light body{
    background:
        radial-gradient(1400px 800px at 50% -12%, rgba(60,109,199,.06), transparent 60%),
        #ffffff !important;
}

/* ============================================================
   Faint grid mesh — opt-in per section via .nx-grid-bg.
   Kept subtle and only where explicitly requested in markup.
   ============================================================ */
html.nm-polished-theme .nx-grid-bg{ position: relative; }
html.nm-polished-theme .nx-grid-bg::after{
    content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background-image:
        linear-gradient(rgba(60,109,199,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60,109,199,.07) 1px, transparent 1px);
    background-size:54px 54px;
    -webkit-mask-image:linear-gradient(120deg, transparent 24%, #0f1220 92%);
    mask-image:linear-gradient(120deg, transparent 24%, #0f1220 92%);
}
html.nm-polished-theme.nm-light .nx-grid-bg::after{
    background-image:
        linear-gradient(rgba(83,63,204,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83,63,204,.08) 1px, transparent 1px);
}

/* ============================================================
   LIGHT THEME — Nexi-inspired palette (clean white + periwinkle/lavender).
   Primary #3c6dc7, secondary #533fcc, surfaces #e8effe, body text #575757,
   ink headings #161a2a, grey grid lines. Variable-driven so it recolors
   the whole site at once; overrides the earlier light-mode block below it.
   ============================================================ */
html.nm-polished-theme.nm-light{
    --nm-clr-pr-1:#7087f6;
    --nm-clr-pr-2:#533fcc;
    --nm-clr-pr-3:#533fcc;
    --theme-color:#7087f6;
    --nm-clr-black-1:#e8effe;
    --nm-clr-black-2:#FFFFFF;
    --nm-clr-black-3:#e8effe;
    --nm-clr-black-4:#e8effe;
    --nm-clr-p-1:#575757;
    --nx-accent:#7087f6;
    --nx-accent-strong:#533fcc;
}
/* clean white canvas, one soft cyan glow */
html.nm-polished-theme.nm-light body{
    background:
        radial-gradient(1400px 800px at 50% -12%, rgba(60,109,199,.06), transparent 60%),
        #ffffff !important;
}
html.nm-polished-theme.nm-light .page-wrapper{ background: transparent !important; }
/* Nexi-style neutral grey grid lines */
html.nm-polished-theme.nm-light body::before{
    background-image:
        linear-gradient(rgba(185,185,185,.30) 1px, transparent 1px),
        linear-gradient(90deg, rgba(185,185,185,.30) 1px, transparent 1px);
}
html.nm-polished-theme.nm-light .nx-grid-bg::after{
    background-image:
        linear-gradient(rgba(60,109,199,.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60,109,199,.14) 1px, transparent 1px);
}
/* accent icon chips → periwinkle tint (instead of the dark-mode pink) */
html.nm-polished-theme.nm-light .nxk-ic{ background: rgba(60,109,199,.12); }
/* pill buttons → Nexi lavender, deepen on hover; label stays light = readable */
html.nm-polished-theme.nm-light .nm-pr-btn-1,
html.nm-polished-theme.nm-light .nm-pr-btn-5{ background:#533fcc !important; box-shadow:0 12px 26px rgba(60,109,199,.30) !important; }
html.nm-polished-theme.nm-light .nm-pr-btn-1:hover,
html.nm-polished-theme.nm-light .nm-pr-btn-5:hover{ background:#3c6dc7 !important; }

/* Light mode: the scroll-reveal headings (.wa_bg_position) fill to white by
   default (built for dark bg). On the light theme, fill them to the primary
   colour instead of white so they read correctly as you scroll them in. */
html.nm-polished-theme.nm-light .wa_bg_position div{
    background-image: linear-gradient(to right, var(--nm-clr-pr-1) 50%, #53627a 50%) !important;
}

/* Keep mobile submenu toggles separate from the parent page links. */
.mobile-main-navigation ul li.dropdown > a{padding-right:52px;box-sizing:border-box}
.mobile-main-navigation ul li .dropdown-btn{
    width:44px;
    height:58px;
    z-index:2;
    border:0;
    padding:0 8px;
    background:transparent;
}
.mobile-main-navigation ul li .dropdown-menu li .dropdown-btn{height:55px}
.mobile-main-navigation ul li .dropdown-btn:focus-visible{outline:2px solid #533fcc;outline-offset:-2px}
.wa-overly{z-index:59}
.wa-offcanvas-area{z-index:60}

/* ============================================================
   LIGHT MODE text-contrast fixes.
   The theme's .nm-h-1 heading class is hardcoded #fff (dark-first design),
   so all card titles / names / blog & testimonial headings stay white in
   light mode. Flip them to ink — but keep them white on the regions that
   remain dark in light mode (footer, breadcrumb banner, marquee, mega menu).
   ============================================================ */
html.nm-polished-theme.nm-light .nm-h-1{ color:#161a2a; }
html.nm-polished-theme.nm-light .nm-footer-1-area .nm-h-1,
html.nm-polished-theme.nm-light .nm-breadcrumb-area .nm-h-1,
html.nm-polished-theme.nm-light .nm-breadcrumb-title,
html.nm-polished-theme.nm-light .nm-marquee-1-area .nm-h-1,
html.nm-polished-theme.nm-light .nx-mega-menu .nm-h-1{ color:#ffffff; }

/* muted/secondary body copy → Nexi neutral grey (a few use hardcoded light greys) */
html.nm-polished-theme.nm-light :is(.nm-p-1, .disc, .sec-disc, .sec-disc-2, .item-date, .author-dg){ color:#575757; }
html.nm-polished-theme.nm-light .nm-footer-1-area :is(.nm-p-1, .disc){ color: rgba(255,255,255,.72); }
html.nm-polished-theme.nm-light .nm-breadcrumb-area :is(.nm-p-1, a, span){ color: rgba(255,255,255,.9); }

/* subtitle eyebrow (dot + label) → primary in light for a crisp accent */
html.nm-polished-theme.nm-light .nm-subtitle-1{ color: var(--nm-clr-pr-1); }

/* Light mode — remaining text fixes: hero, service tabs, and title links. */
/* Hero sits on a light gradient in light mode, so its (white) text must go ink. */
html.nm-polished-theme.nm-light .nm-hero-1-title,
html.nm-polished-theme.nm-light .nm-hero-1-title span,
html.nm-polished-theme.nm-light .nm-hero-1-subtitle{ color:#161a2a !important; }
html.nm-polished-theme.nm-light .nm-hero-1-disc{ color:#575757 !important; }
/* Homepage "Our Services" tab buttons (white on white) → ink, active → primary. */
html.nm-polished-theme.nm-light .nm-services-1-tabs-btn .nav-link{ color:#161a2a !important; }
html.nm-polished-theme.nm-light .nm-services-1-tabs-btn .nav-link.active{ color: var(--nm-clr-pr-1) !important; }
/* Card/heading titles are often wrapped in <a> (theme colours the link white);
   make those links follow their heading colour, which is now correct per region. */
html.nm-polished-theme.nm-light .nm-h-1 a{ color: inherit; }

/* Light mode: the About mission/vision/values cards ship a hardcoded dark
   gradient (#1e243c→#0f1220). Flip them to a light surface so the (ink) title
   and (grey) copy read correctly — consistent with every other light card. */
html.nm-polished-theme.nm-light .nm-about-1-card{
    background: linear-gradient(180deg, #ffffff 0%, #e8effe 100%) !important;
    border: 1px solid rgba(60,109,199,.16);
    box-shadow: 0 18px 44px rgba(22,26,42,.06);
}
html.nm-polished-theme.nm-light .nm-about-1-card .title,
html.nm-polished-theme.nm-light .nm-about-1-card .title a{ color:#161a2a !important; }
html.nm-polished-theme.nm-light .nm-about-1-card .disc{ color:#575757 !important; }

/* ============================================================
   LIGHT MODE — final consolidation pass.
   Several sections were still carrying stale hex colors from earlier
   palette iterations (violet #533fcc, plum #533fcc/#533fcc) instead of
   the current Nexi periwinkle (#3c6dc7/#533fcc). Using !important here
   so this wins outright over the older generations without having to
   hunt down and delete every prior rule on a live site.
   ============================================================ */
html.nm-polished-theme.nm-light .nm-marquee-1-area{ background: linear-gradient(90deg, var(--nm-clr-pr-1), var(--nm-clr-pr-2)) !important; }
html.nm-polished-theme.nm-light .nm-faqs-1-tabs-btn .nav-link:is(.active),
html.nm-polished-theme.nm-light .nm-accordion-item .accordion-button:not(.collapsed){ color: var(--nm-clr-pr-1) !important; }
html.nm-polished-theme.nm-light .nm-choose-1-area,
html.nm-polished-theme.nm-light .nm-testimonial-1-area,
html.nm-polished-theme.nm-light .nm-partner-1-area,
html.nm-polished-theme.nm-light .nm-steps-1-area{ background: #e8effe !important; }

/* Replace the original green partner-strip artwork in dark mode with black and gold. */
html.nm-polished-theme:not(.nm-light) .nm-partner-1-area{
    background-image: radial-gradient(ellipse at 50% 100%, rgba(60,109,199,.5) 0%, rgba(60,109,199,.16) 34%, rgba(15,18,32,0) 72%), linear-gradient(90deg, #0f1220 0%, #161a2a 50%, #0f1220 100%) !important;
    background-color: #0f1220 !important;
}

/* This process-step badge keeps a permanent black pill (theme-original,
   both modes) but has no explicit text color, so it inherited from
   .nm-p-1 — which the light-mode pass above recolored dark grey,
   making it unreadable on its always-black background. Keep it light. */
html.nm-polished-theme.nm-light .nm-steps-1-card .content .date{ color:#ffffff; }

/* ============================================================
   LIGHT MODE — pricing page (.nm-price-2-*).
   This entire component is hardcoded with literal dark hex colors and a
   dark section utility class (.home-2-bg-clr{background:#0f1220}) that
   never went through the CSS-variable system, so none of the earlier
   light-mode work touched it — leaving dark-on-dark text everywhere
   (section heading, package name, price, description, every feature
   bullet). Flip the whole component to a light surface, consistent
   with every other card on the site.
   ============================================================ */
html.nm-polished-theme.nm-light .home-2-bg-clr{ background-color:#ffffff !important; }
html.nm-polished-theme.nm-light .nm-price-2-card{ background:#e8effe !important; border-color:rgba(60,109,199,.18) !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .card-top{ background-color:#ffffff !important; border-color:rgba(60,109,199,.14) !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .package-name{ background:var(--nm-clr-pr-1) !important; color:#ffffff !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .package-disc{ color:#575757 !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .card-btn{ background:var(--nm-clr-pr-1) !important; color:#ffffff !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .card-btn::after{ background:linear-gradient(180deg, #ffffff 0%, #e8effe 100%) !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .card-btn:hover{ color:var(--nm-clr-pr-1) !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .card-body-title{ color:#767676 !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .card-body-title span{ background:linear-gradient(90deg, rgba(60,109,199,.5) 87%, rgba(60,109,199,0) 100%) !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .package-features li{ color:#1e243c !important; }
html.nm-polished-theme.nm-light .nm-price-2-card .package-features li::after{ background:var(--nm-clr-pr-1) !important; }

/* Belt-and-suspenders: the base .nm-price-2-card rule carries transition:all,
   which can make background-color changes interpolate rather than apply
   instantly when the theme toggles. Force an immediate, transition-free
   background swap for this component in light mode. */
html.nm-polished-theme.nm-light .nm-price-2-card{ transition: color .3s ease, border-color .3s ease !important; }

/* Light mode — "Free Trial" banner section (.nm-trial-2-area) carries the
   same pattern as .home-2-bg-clr: a hardcoded pure-black background never
   touched by the variable system, leaving its heading/subtitle dark-on-black
   once text rules were flipped to ink. Flip the section itself to light. */
html.nm-polished-theme.nm-light .nm-trial-2-area{ background-color:#ffffff !important; }
/* .nm-subtitle-2 is a second "eyebrow" label class (distinct from
   .nm-subtitle-1, already fixed) — same white-on-white issue. */
html.nm-polished-theme.nm-light .nm-subtitle-2{ color: var(--nm-clr-pr-1) !important; }

/* The trial CTA card (.nm-trial-2-wrap) is a separate nested element with its
   own hardcoded black background, independent of the section behind it. */
html.nm-polished-theme.nm-light .nm-trial-2-wrap{ background-color:#e8effe !important; border-color:rgba(60,109,199,.16) !important; }

/* ============================================================
   LIGHT MODE — main header bar (background + top-level nav text).
   This is the single most visible element on every page, yet it was
   fighting several generations of conflicting hardcoded overrides for
   its background, and its nav LINK text color (.navbar-nav li a{color:#fff})
   was NEVER touched at all (hardcoded white, no variable) — so the header
   kept showing dark-mode colors in light mode. Final, unambiguous fix
   using !important so it can't lose to any earlier generation.
   Scoped to TOP-LEVEL links only (> li > a) — dropdown/mega-menu panels
   keep their own (correct, already-light-text-on-dark-panel) styling.
   ============================================================ */
html.nm-polished-theme.nm-light .nm-header-1-wrap{
    background: rgba(255,255,255,.85) !important;
    border-color: rgba(60,109,199,.16) !important;
    backdrop-filter: blur(10px);
}
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav > li > a{ color:#161a2a !important; }
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav > li:hover > a,
html.nm-polished-theme.nm-light .nm-main-navigation .navbar-nav > li > a:hover{ color: var(--nm-clr-pr-1) !important; }

/* ============================================================
   LIGHT MODE — blog listing (.tz-blog-item cards + .tz-sidebar-widget).
   Same recurring pattern: hardcoded dark/black card backgrounds that the
   variable system never touched, while general text rules already flipped
   the text to ink/dark-grey — producing dark-on-dark on every post card
   and every sidebar widget (Search, Categories, Popular Tags).
   ============================================================ */
html.nm-polished-theme.nm-light .tz-blog-item{ background-color:#e8effe !important; }
html.nm-polished-theme.nm-light .tz-blog-item .item-text .item-meta a{ color:#767676 !important; }
html.nm-polished-theme.nm-light .tz-blog-item .item-text > p{ color:#575757 !important; }
html.nm-polished-theme.nm-light .tz-sidebar-widget{ background-color:#e8effe !important; }
html.nm-polished-theme.nm-light .tz-blog-item .item-text .blog_title,
html.nm-polished-theme.nm-light .tz-blog-item .item-text .blog_title a{ color:#161a2a !important; }

/* FAQ accordion header buttons (.item-title, a <button>) weren't reliably
   inheriting the .nm-h-1 ink color — scope directly with !important. */
html.nm-polished-theme.nm-light .nm-accordion-item .item-title{ color:#161a2a !important; }
/* Author/comment box and newsletter checkbox label sit on the same
   recurring hardcoded-black-card pattern as the other components above. */
html.nm-polished-theme.nm-light .form-checkbox .checkbox-label{ color:#575757 !important; }

/* FAQ page contact/newsletter form card — same recurring hardcoded-black
   pattern (author box + checkbox live inside it). */
html.nm-polished-theme.nm-light .nm-faqs-1-contact{ background-color:#e8effe !important; }

/* ============================================================
   Homepage hero — full viewport height ("one scroll").
   .nm-hero-1-area has no explicit height by default (grows to fit its
   content via padding only). Setting min-height to the viewport and
   centering its stacked children vertically as a group means the extra
   room is distributed evenly instead of leaving a dead gap below the
   content. .nm-hero-1-main-img (the Lottie visual) is already absolutely
   positioned at height:100% of this section, so it now fills the full
   viewport height too instead of just the content's natural height.
   100dvh (dynamic viewport height) is used as the primary unit — it
   accounts for mobile browser toolbars showing/hiding, avoiding a hero
   that's taller than the visible viewport on phones; 100vh is the fallback
   for browsers that don't support dvh. --}}
   ============================================================ */
.nm-hero-1-area{
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 767px){
    /* Stacked mobile layout needs breathing room above/below rather than
       a strict center, so content isn't flush against the viewport edges. */
    .nm-hero-1-area{ justify-content: flex-start; padding-top: 120px; padding-bottom: 60px; }
}

/* Homepage hero responsive refinement: keep the portrait secondary to the
   message, then switch to a clean stacked composition before it can overlap
   the heading on tablets and phones. */
.nm-hero-1-main-img .nx-hero-lottie{
    width: min(32vw, 520px);
    margin-right: clamp(24px, 8vw, 150px);
}

@media (min-width: 992px){
    .nm-hero-1-content{ position: relative; z-index: 2; }
}

@media (max-width: 1199px) and (min-width: 992px){
    .nm-hero-1-main-img .nx-hero-lottie{
        width: min(42vw, 460px);
        margin-right: 5vw;
    }
}

@media (max-width: 991px){
    .nm-hero-1-area{
        min-height: 0;
        display: block;
        padding: clamp(150px, 20vw, 180px) 0 clamp(42px, 7vw, 72px);
    }
    .nm-hero-1-content{
        padding: 0;
        position: relative;
        z-index: 2;
    }
    .nm-hero-1-title{
        font-size: clamp(52px, 11vw, 100px);
        line-height: .94;
        padding-bottom: 10px;
        overflow-wrap: anywhere;
    }
    .nm-hero-1-title.has-title-1,
    .nm-hero-1-subtitle{
        margin-left: 0;
    }
    .nm-hero-1-subtitle{
        margin-top: 0;
        font-size: clamp(14px, 2.4vw, 18px);
    }
    .nm-hero-1-content-2{
        position: relative;
        inset: auto;
        margin-top: 28px;
        z-index: 3;
    }
    .nm-hero-1-content-2-wrap{
        align-items: flex-start;
        gap: 18px;
    }
    .nm-hero-1-disc{
        max-width: min(100%, 560px);
        font-size: clamp(16px, 2.35vw, 20px);
        line-height: 1.55;
    }
    .nm-hero-1-main-img,
    .nm-hero-1-area:is(.active) .nm-hero-1-main-img{
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        margin-top: 24px;
        justify-content: center;
        align-items: center;
        transform: none;
        z-index: 1;
    }
    .nm-hero-1-main-img .nx-hero-lottie{
        width: min(66vw, 380px);
        margin-right: 0;
    }
    .nm-hero-1-social-position{ display: none; }
}

@media (max-width: 575px){
    .nm-hero-1-area{ padding-top: 150px; }
    .nm-hero-1-container{ padding-left: 20px; padding-right: 20px; }
    .nm-hero-1-title{ font-size: clamp(46px, 15.2vw, 66px); line-height: .96; }
    .nm-hero-1-content-2{ margin-top: 22px; }
    .nm-hero-1-content-2-wrap{ gap: 16px; }
    .nm-hero-1-disc{ font-size: 16px; }
    .nm-hero-1-main-img{ margin-top: 18px; }
    .nm-hero-1-main-img .nx-hero-lottie{ width: min(74vw, 300px); }
}

/* ============================================================
   Brand logo — light/dark mode swap (NexifyIO)
   Scoped to the real brand-logo slots (header, mobile off-canvas,
   footer) — NOT the partner/client marquee, which reuses logo-1.webp.
   The rendered image is swapped via content:url(): white wordmark on
   dark (default); black wordmark in light mode, with the global
   light-mode img-invert cancelled so it stays true-colour.
   ============================================================ */
.nm-header-1-logo img,
.nm-header-5-logo img,
.wa-offcanvas-top-logo img,
.nm-footer-1-logo img,
.nm-footer-5-logo img{
    content: url('/nexify-assets/media/nexify-logo-on-dark.png');
    width: auto !important;
    height: 58px !important;
    max-width: 300px;
    object-fit: contain;
}
html.nm-light .nm-header-1-logo img,
html.nm-light .nm-header-5-logo img,
html.nm-light .wa-offcanvas-top-logo img,
html.nm-light .nm-footer-1-logo img,
html.nm-light .nm-footer-5-logo img{
    content: url('/nexify-assets/media/nexify-logo-on-light.png');
    filter: none !important;
    -webkit-filter: none !important;
}
/* Per-slot sizing */
.nm-footer-1-logo img,
.nm-footer-5-logo img{ height: 70px !important; max-width: 360px; }
.wa-offcanvas-top-logo img{ height: 48px !important; max-width: 250px; }

/* Preloader splash mark — NexifyIO monogram (replaces the old logo-3.webp) */
.nm-preloader-logo img{
    content: url('/nexify-assets/media/icon-512.png') !important;
    filter: none !important;
    -webkit-filter: none !important;
    width: auto !important;
    height: 110px !important;
    object-fit: contain;
}

/* Section background watermark — NexifyIO monogram (replaces the plain gray "N").
   Keyed on the shape file itself, so it covers every section that uses it:
   About (.nm-about-1-left-bg-shape) and FAQ/contact/team (.nm-faqs-1-left-bg-shape). */
img[src$="a1-bg-shape-1.webp"]{
    content: url('/nexify-assets/media/icon-512.png') !important;
    filter: none !important;
    -webkit-filter: none !important;
    opacity: .92;
}
html.nm-light img[src$="a1-bg-shape-1.webp"]{
    filter: none !important;
    -webkit-filter: none !important;
}

/* Hero ambient glow — recolor the animated canvas particles to the logo blue-violet
   family so the multi-coloured orbs match the brand. */
.nm-hero-1-area canvas{
    filter: grayscale(1) sepia(1) saturate(2.6) hue-rotate(214deg) brightness(1.08) !important;
    -webkit-filter: grayscale(1) sepia(1) saturate(2.6) hue-rotate(214deg) brightness(1.08) !important;
}
/* Light mode: the polished theme fades the hero canvas to opacity .1, hiding the glow.
   Restore it and darken the tint so the blue-violet glow reads on the lighter hero. */
html.nm-light .nm-hero-1-area canvas{
    opacity: .9 !important;
    filter: grayscale(1) sepia(1) saturate(3.2) hue-rotate(216deg) brightness(.85) !important;
    -webkit-filter: grayscale(1) sepia(1) saturate(3.2) hue-rotate(216deg) brightness(.85) !important;
}

/* Liquid Ether-inspired, interactive hero backdrop. */
.nm-hero-1-area .nx-liquid-ether{
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .84 !important;
    mix-blend-mode: screen;
    filter: none !important;
    -webkit-filter: none !important;
}
/* Every page-title band carries the homepage hero's backdrop, so headers match
   across the whole site. Same opacity/blend as .nm-hero-1-area .nx-liquid-ether. */
.nm-breadcrumb-area .nx-liquid-ether-header{
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .84;
    mix-blend-mode: screen;
}
html.nm-light .nm-breadcrumb-area .nx-liquid-ether-header{
    opacity: .9;
    filter: grayscale(1) sepia(1) saturate(3.2) hue-rotate(216deg) brightness(.85);
    -webkit-filter: grayscale(1) sepia(1) saturate(3.2) hue-rotate(216deg) brightness(.85);
}
/* Dot Grid-inspired, interactive hero backdrop (About Us + Contact page-title bands). */
.elementor-page-19 .nm-breadcrumb-area .nx-dot-grid-header,
.elementor-page-39 .nm-breadcrumb-area .nx-dot-grid-header,
.nm-breadcrumb-area .nx-dot-field-header,
.nm-breadcrumb-area .nx-dot-field-header-glow{
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.nm-hero-1-area > canvas:not(.nx-liquid-ether),
.nm-hero-1-area .nm-hero-1-bg-img{
    opacity: 0 !important;
}
.nm-hero-1-area .nm-hero-1-bg-img{
    opacity: .23 !important;
}
/* The homepage hero's backdrop image, dimmed to the same .23 it uses there, sits
   under the canvas on every page-title band. Replaces the theme's stock
   breadcrumb photo, which each template still sets inline via data-background. */
.nm-breadcrumb-area{
    background-image:
        linear-gradient(rgba(15,18,32,.77), rgba(15,18,32,.77)),
        url('/nexify-assets/media/h1-bg-img-1.webp') !important;
    background-position: center;
    background-size: cover;
    background-color: #0f1220 !important;
    overflow: hidden;
}

/* Light mode: the bands follow the homepage hero, which swaps its near-black
   backdrop for #f6f3ff. Without this they stay a dark slab on an otherwise light
   page. The band's copy is forced white further up (it assumed a permanently
   dark band), so it has to go back to ink here. */
html.nm-light .nm-breadcrumb-area{
    background-image:
        linear-gradient(rgba(246,243,255,.84), rgba(246,243,255,.84)),
        url('/nexify-assets/media/h1-bg-img-1.webp') !important;
    background-color: #f6f3ff !important;
}
html.nm-light .nm-breadcrumb-area :is(.nm-h-1, .nm-breadcrumb-title){
    color: #161a2a !important;
}
html.nm-light .nm-breadcrumb-area :is(.nm-p-1, a, span){
    color: #575757 !important;
}
.nm-breadcrumb-area > :not(.nx-liquid-ether-header):not(.nx-dot-grid-header):not(.nx-dot-field-header):not(.nx-dot-field-header-glow){
    position: relative;
    z-index: 1;
}
.nm-hero-1-area .nm-hero-1-container{ position: relative; z-index: 2; }
.nm-hero-1-area :is(.nm-hero-1-content-2,.nm-hero-1-main-img,.nm-hero-1-social-position,.nm-hero-1-bg-icon){ z-index: 2; }
@media (prefers-reduced-motion: reduce){
    .nm-hero-1-area .nx-liquid-ether{ display:none; }
    .nm-hero-1-area > canvas:not(.nx-liquid-ether),
    .nm-hero-1-area .nm-hero-1-bg-img{ opacity: .2 !important; }
}
/* =====================================================================
   Light / Dark readability fixes
   ===================================================================== */

/* .link-elm chips on DARK backgrounds (contact social buttons = dark gradient;
   portfolio tags = #242a48) had inherited near-black text and were unreadable in
   both modes. Force light text there ONLY — the blog-card .link-elm sits on a
   white background and must keep its dark text. */
html .nm-contact-1-social .link-elm,
html .nm-portfolio-1-card .link-elm,
html.nm-light .nm-contact-1-social .link-elm,
html.nm-light .nm-portfolio-1-card .link-elm{
    color: #f2f2f7 !important;
    -webkit-text-fill-color: #f2f2f7 !important;
}
.nm-contact-1-social .link-elm .icon i,
.nm-portfolio-1-card .link-elm .icon i{ color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Services tab content sits on a WHITE card in both modes — in dark mode the text
   was inheriting light colour and vanishing. Keep it dark on the white card. */
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap,
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap :is(p,li,span,a,strong,h1,h2,h3,h4,h5,h6){
    color: #161a2a !important;
    -webkit-text-fill-color: #161a2a !important;
}

/* Inactive service-tab labels were near-black on the dark section (invisible in
   dark mode). Give them a readable muted light; keep the active tab on accent. */
html:not(.nm-light) .nm-services-1-tabs-btn .nav-link{
    color: #b9b4d0 !important;
    -webkit-text-fill-color: #b9b4d0 !important;
}
html:not(.nm-light) .nm-services-1-tabs-btn .nav-link.active{
    color: #7087f6 !important;
    -webkit-text-fill-color: #7087f6 !important;
}

/* Blog card titles were dark-on-dark in dark mode. */
html:not(.nm-light) .nm-blog-1-item .item-title,
html:not(.nm-light) .nm-blog-1-item .item-title :is(a,span){
    color: #ece7fe !important;
    -webkit-text-fill-color: #ece7fe !important;
}

/* Dark-mode: components that ship near-black text (designed for light cards) but
   render on the dark page. Higher-specificity overrides beat the global
   `h4{ -webkit-text-fill-color:#161a2a!important }` base rule. */
html:not(.nm-light) .nm-steps-1-card .nm-h-1,
html:not(.nm-light) .nm-steps-1-card .nm-h-1 .text,
html:not(.nm-light) .nm-team-1-member .content-1 .nm-h-1,
html:not(.nm-light) .nm-team-1-member .content-1 .nm-h-1 a,
html:not(.nm-light) .nm-services-1-tabs-btn .nav-link,
html:not(.nm-light) .nm-services-1-tabs-btn .nav-link .text,
html:not(.nm-light) .nm-blog-1-item .item-title,
html:not(.nm-light) .nm-blog-1-item .item-title a{
    color: #e8e6f2 !important;
    -webkit-text-fill-color: #e8e6f2 !important;
}
html:not(.nm-light) .nm-services-1-tabs-btn .nav-link.active,
html:not(.nm-light) .nm-services-1-tabs-btn .nav-link.active .text{
    color: #7087f6 !important;
    -webkit-text-fill-color: #7087f6 !important;
}
/* Step numbers read as a subtle brand accent rather than invisible near-black. */
html:not(.nm-light) .nm-steps-1-card .nm-h-1.title,
html:not(.nm-light) .nm-steps-1-card .nm-h-1.title .text{
    color: #7a94a3 !important;
    -webkit-text-fill-color: #7a94a3 !important;
}
/* Stats marquee counter labels sit on the solid accent bar — keep them white. */
.nm-marquee-1-counter .nm-p-1,
.nm-marquee-1-counter .disc,
.nm-marquee-1-counter .nm-p-1.disc{
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* Hero subtitle was too dim on the dark hero. */
html:not(.nm-light) .nm-hero-1-disc{
    color: #cbc7dd !important;
    -webkit-text-fill-color: #cbc7dd !important;
}

/* Stronger overrides — the theme sets these via `html.nm-polished-theme …` rules
   that out-specify a plain `html:not(.nm-light)`. Match the prefix + target
   descendants so child <span>/<a> text nodes are covered too. */
html.nm-polished-theme:not(.nm-light) .nm-services-1-tabs-btn .nav-link,
html.nm-polished-theme:not(.nm-light) .nm-services-1-tabs-btn .nav-link *,
html.nm-polished-theme:not(.nm-light) .nm-team-1-member .content-1 .nm-h-1,
html.nm-polished-theme:not(.nm-light) .nm-team-1-member .content-1 .nm-h-1 *,
html.nm-polished-theme:not(.nm-light) .nm-blog-1-item .item-title,
html.nm-polished-theme:not(.nm-light) .nm-blog-1-item .item-title *,
html.nm-polished-theme:not(.nm-light) .nm-hero-1-disc,
html.nm-polished-theme:not(.nm-light) .nm-hero-1-disc *{
    color: #dcd9ea !important;
    -webkit-text-fill-color: #dcd9ea !important;
}
html.nm-polished-theme:not(.nm-light) .nm-services-1-tabs-btn .nav-link.active,
html.nm-polished-theme:not(.nm-light) .nm-services-1-tabs-btn .nav-link.active *{
    color: #7087f6 !important;
    -webkit-text-fill-color: #7087f6 !important;
}
/* Contact info + footer fine print: bump the dim greys up on the near-black panels. */
html:not(.nm-light) .nm-contact-1-info-single .nm-p-1,
html:not(.nm-light) .nm-contact-1-info-single a,
html:not(.nm-light) .nm-footer-1-bottom-copyright,
html:not(.nm-light) .nm-footer-1-bottom-make{
    color: #b7b4c4 !important;
    -webkit-text-fill-color: #b7b4c4 !important;
}

/* Contact info cards — in dark mode give them a real dark card (not white boxes)
   with white text, so they sit on the dark section instead of glaring white. */
html:not(.nm-light) .nm-contact-1-info-single{
    background: #161a2a !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 14px !important;
}
html:not(.nm-light) .nm-contact-1-info-single .nm-h-1,
html:not(.nm-light) .nm-contact-1-info-single .title,
html:not(.nm-light) .nm-contact-1-info-single .title *{
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html:not(.nm-light) .nm-contact-1-info-single .nm-p-1,
html:not(.nm-light) .nm-contact-1-info-single .disc,
html:not(.nm-light) .nm-contact-1-info-single a,
html:not(.nm-light) .nm-contact-1-info-single p{
    color: #e8effe !important;
    -webkit-text-fill-color: #e8effe !important;
}

/* Contact info cards in LIGHT mode: white-on-white loses all definition — give the
   card a border + soft shadow so it reads as a card (text stays dark = readable). */
html.nm-light .nm-contact-1-info-single{
    background: #ffffff !important;
    border: 1px solid rgba(22,26,42,.10) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(30,36,60,.07) !important;
}

/* LIGHT mode: make the contact info cards match the dark social buttons —
   dark gradient card, white text, accent-purple icon circle. (Supersedes the
   earlier white-card rule via source order.) */
html.nm-light .nm-contact-1-info-single{
    background: linear-gradient(180deg,#1e243c 0%,#0f1220 100%) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 34px rgba(22,26,42,.22) !important;
}
html.nm-light .nm-contact-1-info-single .title,
html.nm-light .nm-contact-1-info-single .nm-h-1,
html.nm-light .nm-contact-1-info-single .title *{
    color:#ffffff !important; -webkit-text-fill-color:#ffffff !important;
}
html.nm-light .nm-contact-1-info-single .nm-p-1,
html.nm-light .nm-contact-1-info-single .disc,
html.nm-light .nm-contact-1-info-single a{
    color:#d8d5e8 !important; -webkit-text-fill-color:#d8d5e8 !important;
}
html.nm-light .nm-contact-1-info-single .icon{ background:#3c6dc7 !important; }
html.nm-light .nm-contact-1-info-single .icon i,
html.nm-light .nm-contact-1-info-single .icon i::before{ color:#ffffff !important; }

/* Replace the decorative old "N" badge in the contact section with the NexifyIO monogram. */
.nm-contact-1-area img[src$="favicon-icon.webp"]{
    content: url('/nexify-assets/media/icon-512.png') !important;
}

/* =====================================================================
   LIGHT mode: convert the footer (was dark purple w/ gold firefly dots)
   to a flat, clean light surface with dark text.
   ===================================================================== */
html.nm-light .nm-footer-1-area{
    background: #f8fbfc !important;
}
/* white / light headings -> dark ink */
html.nm-light .nm-footer-1-area :is(h1,h2,h3,h4,h5,h6,.nm-h-1,.nm-h-2,.nm-footer-1-widget-title){
    color:#161a2a !important; -webkit-text-fill-color:#161a2a !important;
}
/* body / copyright text -> readable grey */
html.nm-light .nm-footer-1-area :is(p,li,span,.nm-footer-1-bottom-copyright,.nm-footer-1-bottom-make,.copyright-year){
    color:#4a4660 !important; -webkit-text-fill-color:#4a4660 !important;
}
/* menu links (exclude the self-contained dark .link-elm chips) */
html.nm-light .nm-footer-1-area a:not(.link-elm):not(.link-elm *){
    color:#565270 !important; -webkit-text-fill-color:#565270 !important;
}
html.nm-light .nm-footer-1-area a:not(.link-elm):hover{
    color:#533fcc !important; -webkit-text-fill-color:#533fcc !important;
}
/* borders / dividers -> light */
html.nm-light .nm-footer-1-area [class*="border"],
html.nm-light .nm-footer-1-area hr{
    border-color: rgba(22,26,42,.12) !important;
    background-color: rgba(22,26,42,.10) !important;
}
/* firefly gold dots -> subtle cyan-blue, visible on the light footer */
html.nm-light .nm-footer-1-area .nm-Firefly-ani{
    filter: grayscale(1) sepia(1) saturate(3.6) hue-rotate(178deg) brightness(.85) opacity(.6) !important;
    -webkit-filter: grayscale(1) sepia(1) saturate(3.6) hue-rotate(178deg) brightness(.85) opacity(.6) !important;
}

/* The Firefly ornament is a dark raster graphic.  It belongs on the dark
   theme, but would otherwise leave a large black crescent on light pages. */
html.nm-light .nm-Firefly-ani{
    background: transparent !important;
    filter: none !important;
    -webkit-filter: none !important;
}
html.nm-light .nm-Firefly-ani::after{ display: none; }

/* =====================================================================
   NAVBAR — consistent, high-contrast styling for light & dark modes.
   ===================================================================== */
.nm-header-1-wrap{
    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
}
/* --- Dark mode: frosted dark pill, light links --- */
html:not(.nm-light) .nm-header-1-wrap{
    background: rgba(22,26,42,.70) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 10px 34px rgba(15,18,32,.35) !important;
}
html:not(.nm-light) .nm-main-navigation #main-nav > li > a{
    color:#e8effe !important; -webkit-text-fill-color:#e8effe !important;
}
html:not(.nm-light) .nm-theme-toggle{ background: rgba(255,255,255,.12) !important; }
html:not(.nm-light) .nm-theme-toggle i,
html:not(.nm-light) .nm-theme-toggle svg{ color:#e8effe !important; fill:#e8effe !important; }
/* --- Light mode: frosted white pill, dark links --- */
html.nm-light .nm-header-1-wrap{
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(22,26,42,.08) !important;
    box-shadow: 0 10px 30px rgba(30,36,60,.08) !important;
}
html.nm-light .nm-main-navigation #main-nav > li > a{
    color:#1e243c !important; -webkit-text-fill-color:#1e243c !important;
}
html.nm-light .nm-theme-toggle{ background: rgba(22,26,42,.06) !important; }
html.nm-light .nm-theme-toggle i,
html.nm-light .nm-theme-toggle svg{ color:#3a3550 !important; fill:#3a3550 !important; }

/* Header actions: a defined but quiet theme switcher and a compact CTA. */
html.nm-light .nm-theme-toggle{
    border-color: rgba(83,63,204,.26) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.72) !important;
}
.nm-header-1-action-link{
    gap: 14px !important;
}
.nm-header-1-action-link > .nm-pr-btn-1{
    gap: 10px !important;
    padding: 5px 18px 5px 5px !important;
    font-size: 16px !important;
}
.nm-header-1-action-link > .nm-pr-btn-1 .icon{
    width: 40px;
    height: 40px;
    font-size: 14px;
    background: rgba(255,255,255,.92);
    color: var(--nm-clr-pr-2);
}
.nm-header-1-action-link > .nm-pr-btn-1 .text{ color:#fff !important; }
@media (max-width: 991px){
    .nm-header-1-action-link{ gap: 8px !important; }
    .nm-header-1-action-link > .nm-pr-btn-1{ font-size: 14px !important; padding-right: 14px !important; }
    .nm-header-1-action-link > .nm-pr-btn-1 .icon{ width: 36px; height: 36px; }
}

/* --- Active / hover link = brand accent (both modes) --- */
.nm-main-navigation #main-nav > li.current-menu-item > a,
.nm-main-navigation #main-nav > li.current-menu-ancestor > a,
.nm-main-navigation #main-nav > li > a:hover{
    color:#3c6dc7 !important; -webkit-text-fill-color:#3c6dc7 !important;
}
/* --- Dropdown submenus --- */
html:not(.nm-light) #main-nav .dropdown-menu{ background: rgba(22,26,42,.97) !important; border:1px solid rgba(255,255,255,.08) !important; }
html:not(.nm-light) #main-nav .dropdown-menu a{ color:#d9d6ea !important; -webkit-text-fill-color:#d9d6ea !important; }
html.nm-light #main-nav .dropdown-menu{ background:#ffffff !important; border:1px solid rgba(22,26,42,.08) !important; box-shadow:0 14px 34px rgba(30,36,60,.12) !important; }
html.nm-light #main-nav .dropdown-menu a{ color:#3a3550 !important; -webkit-text-fill-color:#3a3550 !important; }
#main-nav .dropdown-menu a:hover{ color:#3c6dc7 !important; -webkit-text-fill-color:#3c6dc7 !important; }

/* Keep one canonical homepage: remove the theme's alternative Home layouts
   from every desktop and mobile navigation without duplicating menu markup. */
#main-nav .menu-item-1486 > .dropdown-menu,
#m-main-nav .menu-item-1486 > .dropdown-menu{
    display: none !important;
}
#main-nav .menu-item-1486 > a .flaticon-down{
    display: none !important;
}

/* Dedicated AI navigation, modeled as a compact solution menu. */
#main-nav > .nx-ai-nav > .nx-ai-nav__menu{
    min-width: 286px !important;
    padding: 10px 0 12px !important;
}
#main-nav .nx-ai-nav__intro{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 4px 14px 9px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(60,109,199,.13);
}
#main-nav .nx-ai-nav__intro span{
    color: #6898f8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
#main-nav .nx-ai-nav__intro strong{
    color: inherit;
    font-size: 15px;
}
html.nm-light #main-nav .nx-ai-nav__intro{
    background: rgba(83,63,204,.10);
}
html.nm-light #main-nav .nx-ai-nav__intro span{ color: #533fcc; }
#m-main-nav .nx-ai-nav > a{ font-weight: 700; }

/* Homepage hero: a centered, editorial two-line lockup. */
body.home .nm-hero-1-area{
    justify-content: center;
    isolation: isolate;
    background: #161a2a url('/nexify-assets/media/nexify-hero-wave-poster.webp') center / cover no-repeat;
}
body.home .nx-home-hero-video{
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
body.home .nm-hero-1-area::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(110deg, rgba(22,26,42,.80), rgba(42,31,107,.76));
}
html.nm-light body.home .nm-hero-1-area::before{
    background: linear-gradient(110deg, rgba(232,239,254,.54), rgba(178,158,250,.62));
}
html.nm-light body.home .nx-home-hero-video{
    filter: brightness(.84) contrast(1.3) !important;
    -webkit-filter: brightness(.84) contrast(1.3) !important;
}
body.home .nm-hero-1-social-link{ transform: rotate(0); }
body.home .nm-hero-1-social-link .link-elm{ color: #161a2a; }
body.home .nm-hero-1-area > canvas,
body.home .nm-hero-1-bg-img,
body.home .nx-liquid-ether{
    display: none !important;
}
body.home .nm-hero-1-main-img,
body.home .nm-hero-1-bg-icon{
    display: none !important;
}
body.home .nm-hero-1-content{
    max-width: 1340px;
    margin: 0 auto;
    padding: clamp(145px, 19vh, 220px) 20px 0 !important;
    text-align: center;
}
body.home .nm-hero-1-title{
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(50px, 7.7vw, 104px) !important;
    line-height: .98 !important;
    letter-spacing: -.045em;
}
body.home .nm-hero-1-title.has-title-1 span{
    display: block;
    background: linear-gradient(90deg, #3c6dc7 0%, #533fcc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 700;
}
body.home .nm-hero-1-title.has-title-2{
    margin-top: 10px !important;
    font-size: clamp(42px, 5.5vw, 78px) !important;
    font-weight: 400 !important;
    letter-spacing: -.05em;
}
body.home .nm-hero-1-title.has-title-2 span{
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 400 !important;
}
body.home .nm-hero-1-content-2{
    position: relative !important;
    inset: auto !important;
    width: 100%;
    margin-top: 22px;
}
body.home .nm-hero-1-content-2-wrap{
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    text-align: center;
}
body.home .nm-hero-1-content-2-wrap .plybtn-wrap{
    display: none !important;
}
body.home .nm-hero-1-disc{
    max-width: 1120px !important;
    margin: 0 auto !important;
    color: rgba(255,255,255,.92) !important;
    font-size: clamp(17px, 1.7vw, 25px) !important;
    line-height: 1.35 !important;
    text-align: center;
}
body.home .nm-hero-1-btn{
    margin: 4px auto 0 !important;
}

/* Clean, solid pill CTA — a calm single-accent button (no neon streaks/glow),
   matching the reference site's plain filled-cyan primary button. */
body.home .nm-hero-1-btn .nx-aixo-hero-cta{
    position: relative;
    min-width: 194px;
    justify-content: center;
    gap: 12px;
    padding: 7px 26px 7px 7px;
    border: none;
    border-radius: 999px !important;
    background: #533fcc !important;
    box-shadow: 0 12px 26px rgba(60,109,199,.32) !important;
    color: #fff;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease !important;
}
body.home .nm-hero-1-btn .nx-aixo-hero-cta .icon{
    width: 40px;
    height: 40px;
    color: #533fcc;
    background: #fff;
}
body.home .nm-hero-1-btn .nx-aixo-hero-cta .text,
body.home .nm-hero-1-btn .nx-aixo-hero-cta:hover .text{ color: #fff; }
body.home .nm-hero-1-btn .nx-aixo-hero-cta:hover{
    transform: translateY(-3px);
    background: #7087f6 !important;
    box-shadow: 0 16px 34px rgba(60,109,199,.4) !important;
}
body.home .nm-hero-1-btn .nx-aixo-hero-cta:hover .icon{ color: #533fcc; background: #fff; }
body.home .nm-hero-1-btn .nx-aixo-hero-cta:focus-visible{
    outline: 3px solid rgba(60,109,199,.6);
    outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce){
    body.home .nm-hero-1-btn .nx-aixo-hero-cta{ transition: none !important; }
}

html.nm-light body.home .nm-hero-1-title.has-title-2 span{
    color: #161a2a !important;
    -webkit-text-fill-color: #161a2a !important;
}
html.nm-light body.home .nm-hero-1-disc{
    color: rgba(30,36,60,.82) !important;
}
@media (max-width: 991px){
    body.home .nm-hero-1-area{
        display: flex !important;
        min-height: 100svh;
    }
    body.home .nm-hero-1-content{
        padding-top: clamp(125px, 18vh, 165px) !important;
    }
    body.home .nm-hero-1-content-2{
        margin-top: 18px;
    }
}

/* Dark service details cards need light text; the imported theme otherwise
   inherits its dark ink colour into this dark surface. */
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap{
    color: #e8effe !important;
    -webkit-text-fill-color: #e8effe !important;
}
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .disc{
    color: #c9c3d9 !important;
    -webkit-text-fill-color: #c9c3d9 !important;
}
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .features-list li,
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .features-list li *{
    color: #e8effe !important;
    -webkit-text-fill-color: #e8effe !important;
}
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .item-icon,
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .item-icon *{
    color: #6898f8 !important;
    -webkit-text-fill-color: #6898f8 !important;
}
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .item-btn .text,
html:not(.nm-light) .nm-services-1-tabs-pane-single .content-wrap .item-btn .text *{
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Unique, high-contrast stock-image headers for service categories. */
.nx-service-category-header{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
/* Dark mode only — in light mode these bands are near-white, so the shared
   light-mode header rules above put the copy back to ink. */
html:not(.nm-light) .nx-service-category-header .nm-breadcrumb-title,
html:not(.nm-light) .nx-service-category-header .nm-breadcrumb-list,
html:not(.nm-light) .nx-service-category-header .nm-breadcrumb-list a,
html:not(.nm-light) .nx-service-category-header .nm-breadcrumb-list span{
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* =====================================================================
   About intro opener, accent mission card, engagement models
   ===================================================================== */

/* Two-column section opener: headline left, summary + link right. */
.nx-about-intro{
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px 72px;
    align-items: start;
    padding-bottom: 64px;
}
.nx-about-intro__title{
    margin: 0;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.18;
    letter-spacing: -.01em;
    font-weight: 700;
    color: var(--nm-clr-white-1, #fff);
}
html.nm-light .nx-about-intro__title{ color: #161a2a; }
.nx-about-intro__text{
    margin: 0 0 28px;
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--nm-clr-p-1);
}
.nx-about-intro__link,
.nx-card-accent__link{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}
.nx-about-intro__link{ color: var(--nm-clr-white-1, #fff); }
html.nm-light .nx-about-intro__link{ color: #161a2a; }
.nx-about-intro__arrow,
.nx-card-accent__arrow{
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, background-color .25s ease;
}
.nx-about-intro__link:hover .nx-about-intro__arrow,
.nx-card-accent__link:hover .nx-card-accent__arrow{
    transform: translateX(4px);
}
@media (max-width: 991px){
    .nx-about-intro{ grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
}

/* Accent-filled variant of the about card (homepage "Our mission"). Has to
   outrank html.nm-polished-theme(.nm-light) .nm-about-1-card, which paints the
   card's own gradient, so both theme-scoped selectors are spelled out. */
html.nm-polished-theme .nm-about-1-card.nx-card-accent,
html.nm-polished-theme.nm-light .nm-about-1-card.nx-card-accent{
    background: var(--nx-accent-strong, #533fcc) !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #fff;
}
.nx-card-accent__eyebrow{
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}
html.nm-polished-theme .nm-about-1-card.nx-card-accent :is(.title, .title a, .disc, .nx-card-accent__link),
html.nm-polished-theme.nm-light .nm-about-1-card.nx-card-accent :is(.title, .title a, .disc, .nx-card-accent__link){
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html.nm-polished-theme .nm-about-1-card.nx-card-accent .disc,
html.nm-polished-theme.nm-light .nm-about-1-card.nx-card-accent .disc{
    color: rgba(255, 255, 255, .82) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .82) !important;
}
.nx-card-accent__link{ margin-top: 22px; color: #fff; }

/* Engagement models: three cards, each with a coloured top rule. */
.nx-models-head{ max-width: 720px; margin: 0 auto 48px; text-align: center; }
.nx-models-title{
    margin: 0 0 22px;
    font-size: clamp(26px, 2.9vw, 40px);
    line-height: 1.22;
    font-weight: 700;
}
.nx-models-lead{
    margin: 0;
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--nm-clr-p-1);
}
.nx-models{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.nx-model{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px 34px 92px;
    border-radius: 4px;
    background: var(--nm-clr-black-1);
    border: 1px solid rgba(255, 255, 255, .07);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease;
}
html.nm-light .nx-model{ border-color: rgba(15,18,32,.08); }
.nx-model::before{
    content: "";
    position: absolute;
    top: -1px; right: -1px;
    width: 55%;
    height: 4px;
    background: var(--nx-model-accent, #533fcc);
}
.nx-model--lime{ --nx-model-accent: #e186e6; }
.nx-model--indigo{ --nx-model-accent: #7087f6; }
.nx-model--coral{ --nx-model-accent: #5792d9; }
.nx-model:hover{ transform: translateY(-6px); border-color: var(--nx-model-accent, #533fcc); }
.nx-model__title{
    margin: 0 0 22px;
    font-size: 26px;
    line-height: 1.22;
    font-weight: 600;
    color: var(--nm-clr-white-1, #fff);
}
html.nm-light .nx-model__title{ color: #161a2a; }
.nx-model__title::after{
    content: "";
    display: block;
    width: 68px;
    height: 1px;
    margin-top: 22px;
    background: currentColor;
    opacity: .45;
}
.nx-model__text{
    margin: 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--nm-clr-p-1);
}
.nx-model__arrow{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-accent-strong, #533fcc);
    color: #fff;
    font-size: 17px;
    transform: rotate(45deg);
}
.nx-model__arrow i{ transform: rotate(-45deg); }
@media (max-width: 991px){
    .nx-models{ grid-template-columns: 1fr; }
}

/* nexify-core sets `.nm-p-1 b { color:#fff }` for the dark theme, which renders
   bold copy invisible on every light-mode surface (e.g. "At <b>Nexify Digital</b>
   Agency" in the about intro). Inherit instead so emphasis follows its paragraph. */
html.nm-polished-theme.nm-light .nm-p-1 b,
html.nm-polished-theme.nm-light .nm-p-1 strong{
    color: inherit;
    -webkit-text-fill-color: currentColor;
}

/* Packages navigation: category labels clarify the dropdown hierarchy. */
.nx-packages-nav .nx-packages-nav__label{pointer-events:none;padding:12px 18px 4px;border-top:1px solid rgba(255,255,255,.12)}
.nx-packages-nav .nx-packages-nav__label:first-child{border-top:0}
.nx-packages-nav .nx-packages-nav__label span{color:var(--nm-clr-pr-1,#e186e6);font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
/* Header fit: keep the brand and navigation from colliding on compact desktops. */
.nm-header-1-wrap{gap:20px!important}
.nm-header-1-logo{flex:0 0 auto}
.nm-header-1-logo img{height:42px!important;max-width:220px!important}
.nm-main-navigation{min-width:0}
@media (min-width:1200px) and (max-width:1450px){
  .nm-main-navigation .navbar-nav{gap:1px!important}
  .nm-main-navigation .navbar-nav li a{padding:8px 8px!important;font-size:14px!important}
  .nm-header-1-action-link > .nm-pr-btn-1{padding-right:12px!important;font-size:14px!important}
}
@media (min-width:1200px) and (max-width:1280px){
  .nm-header-1-wrap{min-height:66px!important;padding-inline:16px!important}
  .nm-main-navigation{display:none!important}
  .nm-header-1-action-link .nm-offcanvas-btn-1{display:inline-flex!important}
}
@media (max-width:575px){
  .nm-header-1-logo img{height:36px!important;max-width:185px!important}
  .nm-header-1-wrap{padding-inline:14px!important}
}
/* =====================================================================
   Brand pass — palette sampled from the logo, typography, gold accents
   Logo ramp (measured off icon-512.png): deep navy #161a2a → royal
   #1c3a7a → azure #3c6dc7 → violet #2a1f6b → orchid #8382f4.
   ===================================================================== */

html.nm-polished-theme{
    --nx-navy:#161a2a;
    --nx-royal:#1c3a7a;
    --nx-azure:#3c6dc7;
    --nx-violet:#3d2fb0;
    --nx-orchid:#8382f4;
    /* Metallic gold: the light band at 45% is what reads as "shine". */
    --nx-gold:#e186e6;
    --nx-gold-soft:rgba(195,95,211,.16);
    --nx-gold-line:rgba(195,95,211,.42);
    --nx-gold-grad:linear-gradient(135deg,#e186e6 0%,#e186e6 24%,#f0b8f2 45%,#9b2fc4 66%,#e186e6 100%);
    --nx-brand-grad:linear-gradient(100deg,var(--nx-azure) 0%,var(--nx-royal) 42%,var(--nx-violet) 72%,var(--nx-orchid) 100%);
}

/* ---- Typography: tighter display tracking, calmer body rhythm ---- */
html.nm-polished-theme :is(h1,h2,h3,.nm-sec-title-1,.nm-breadcrumb-title,.tx-title){
    letter-spacing:-.018em;
    text-wrap:balance;
}
html.nm-polished-theme :is(h1,.nm-breadcrumb-title){line-height:1.1}
html.nm-polished-theme :is(h2,.nm-sec-title-1){line-height:1.16}
html.nm-polished-theme :is(p,.nm-p-1){letter-spacing:.002em}
html.nm-polished-theme .nm-p-1{line-height:1.75}
/* Eyebrow labels read as small caps rather than shouting. */
html.nm-polished-theme .nm-subtitle-1 .text{
    letter-spacing:.14em;
    text-transform:uppercase;
    font-size:12.5px;
    font-weight:500;
}

/* ---- Gold accents, used sparingly so they stay premium ---- */
/* 1. the eyebrow dot */
html.nm-polished-theme .nm-subtitle-1 .dot{
    background:var(--nx-gold-grad)!important;
    box-shadow:0 0 0 3px var(--nx-gold-soft);
}
/* 2. stat numbers in the track-record band */
html.nm-polished-theme .nxk-band b{
    background:var(--nx-gold-grad);
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
}
/* 3. a hairline gold rim on card hover */
html.nm-polished-theme :is(.nxk-card,.nm-choose-1-item,.nm-steps-1-card,.nx-model){
    position:relative;
}
html.nm-polished-theme :is(.nxk-card,.nm-choose-1-item,.nm-steps-1-card):hover{
    border-color:var(--nx-gold-line)!important;
}
/* 4. section-title underline accent */
html.nm-polished-theme .nm-services-1-sec-title .nm-subtitle-1{
    padding-bottom:10px;
    border-bottom:1px solid var(--nx-gold-line);
    display:inline-flex;
}
/* 5. gold sheen sweeping the primary button */
html.nm-polished-theme .nm-pr-btn-1{position:relative;overflow:hidden}
html.nm-polished-theme .nm-pr-btn-1:after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(115deg,transparent 38%,rgba(240,184,242,.38) 50%,transparent 62%);
    transform:translateX(-120%);
    transition:transform .7s ease;
}
html.nm-polished-theme .nm-pr-btn-1:hover:after{transform:translateX(120%)}

/* ---- Brand gradient on the headline accent word ---- */
html.nm-polished-theme .nm-hero-1-title span{
    background:var(--nx-brand-grad);
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;
}

@media (prefers-reduced-motion: reduce){
    html.nm-polished-theme .nm-pr-btn-1:after{transition:none}
}

/* Solution cards with licensed photography: image band on top, icon lifted
   to overlap it. Cards without an image keep the original icon-only layout. */
html.nm-polished-theme .nxk-card--shot{padding-top:0;overflow:hidden}
html.nm-polished-theme .nxk-shot{
    display:block;position:relative;margin:0 -1px 0;aspect-ratio:16/9;overflow:hidden;
    background:var(--nm-clr-black-3);
}
html.nm-polished-theme .nxk-shot img{
    width:100%;height:100%;object-fit:cover;display:block;
    transition:transform .5s var(--nm-cube-1,ease);
}
html.nm-polished-theme .nxk-card--shot:hover .nxk-shot img{transform:scale(1.05)}
/* brand-tinted scrim so the photos read as one family and text stays legible */
html.nm-polished-theme .nxk-shot:after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(170deg,rgba(22,26,42,.12) 0%,rgba(22,26,42,.58) 78%,var(--nm-clr-black-1) 100%);
}
html.nm-light.nm-polished-theme .nxk-shot:after{
    background:linear-gradient(170deg,rgba(22,26,42,.04) 0%,rgba(255,255,255,.55) 72%,var(--nm-clr-black-1) 100%);
}
html.nm-polished-theme .nxk-card--shot .nxk-ic{
    position:relative;z-index:2;margin:-28px 0 16px 26px;
    box-shadow:0 10px 26px -12px rgba(22,26,42,.6);
}
html.nm-polished-theme .nxk-card--shot :is(h3,p,.nxk-chips){padding-left:26px;padding-right:26px}
html.nm-polished-theme .nxk-card--shot .nxk-chips{padding-bottom:26px}

/* Accessibility contrast guard: readable secondary copy in both theme modes. */
html.nm-polished-theme.nm-light{
    --nx-muted:#475569;
    --nm-clr-p-1:#475569;
}
html.nm-polished-theme.nm-light :is(.nm-p-1,.disc,.sec-disc,.sec-disc-2,.item-date,.author-dg){
    color:#475569!important;
}
html.nm-polished-theme:not(.nm-light){
    --nx-muted:#cbd5e1;
    --nm-clr-p-1:#cbd5e1;
}
html.nm-polished-theme:not(.nm-light) :is(.nm-p-1,.disc,.sec-disc,.sec-disc-2,.item-date,.author-dg){
    color:#cbd5e1!important;
}
html.nm-polished-theme:not(.nm-light) .nm-footer-1-area :is(.nm-p-1,.disc,.sec-disc,.sec-disc-2){
    color:rgba(255,255,255,.82)!important;
}
/* Header navigation contrast: keep menu labels readable on every header surface. */
html.nm-polished-theme.nm-light .nm-main-navigation #main-nav > li > a{
    color:#161a2a!important;
    -webkit-text-fill-color:#161a2a!important;
}
html.nm-polished-theme.nm-light .nm-main-navigation #main-nav > li:hover > a,
html.nm-polished-theme.nm-light .nm-main-navigation #main-nav > li.current-menu-item > a,
html.nm-polished-theme.nm-light .nm-main-navigation #main-nav > li.current-menu-ancestor > a{
    color:#533fcc!important;
    -webkit-text-fill-color:#533fcc!important;
}
html.nm-polished-theme:not(.nm-light) .nm-main-navigation #main-nav > li > a{
    color:#f8fafc!important;
    -webkit-text-fill-color:#f8fafc!important;
}
.mobile-main-navigation #m-main-nav > li > a{
    color:#161a2a!important;
    -webkit-text-fill-color:#161a2a!important;
}

/* Package hero and proof panels stay dark even when the site is in light mode. */
html.nm-polished-theme.nm-light .nx-seo-hero h1,
html.nm-polished-theme.nm-light .nx-seo-proof h2{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
}

/* Keep the testimonial action arrow simple, without the shared round icon badge. */
.nm-testimonial-1-sec-title .right > .nm-pr-btn-1{
    gap:10px;
    padding:14px 20px !important;
}
.nm-testimonial-1-sec-title .right > .nm-pr-btn-1 .icon,
.nm-testimonial-1-sec-title .right > .nm-pr-btn-1:hover .icon{
    width:auto;
    height:auto;
    background:transparent !important;
    color:#fff;
    border-radius:0;
    overflow:visible;
}

/* Keep every top-level dropdown below the header without breaking hover. */
#main-nav > li.dropdown::after{
    content:"";
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    height:30px;
}
.nm-main-navigation #main-nav > li.dropdown > .nx-mega-menu,
.nm-main-navigation #main-nav > li.dropdown > ul.dropdown-menu{
    top:calc(100% + 30px) !important;
}
.nm-main-navigation #main-nav > li.dropdown > .nx-mega-menu{
    height:auto !important;
    max-height:calc(100vh - 170px);
}
#main-nav > li.dropdown > .nx-mega-menu .nx-mega-wrap{
    height:auto !important;
}
#main-nav > li.dropdown > .nx-mega-menu .nx-mega-menu__panel,
#main-nav > li.dropdown > .nx-mega-menu .nx-mega-menu__categories{
    height:auto;
    max-height:calc(100vh - 170px);
}

/* Service initials use the same blue and purple palette as the brand. */
.nx-mega-menu__grid span{
    background:linear-gradient(135deg,#3c6dc7,#533fcc);
    color:#fff;
}

/* Matching leading icons across desktop and mobile dropdown links. */
#main-nav .dropdown-menu a:has(> .nx-menu-item-icon),
#m-main-nav .dropdown-menu a:has(> .nx-menu-item-icon){
    display:flex !important;
    align-items:center;
    gap:12px;
}
#main-nav .dropdown-menu a > .nx-menu-item-icon,
#m-main-nav .dropdown-menu a > .nx-menu-item-icon{
    flex:0 0 20px;
    width:20px;
    color:#625778;
    font-size:15px;
    line-height:1;
    text-align:center;
}
html:not(.nm-light) #main-nav .dropdown-menu a > .nx-menu-item-icon,
html:not(.nm-light) #m-main-nav .dropdown-menu a > .nx-menu-item-icon{
    color:#b29efa;
}
#main-nav .dropdown-menu a:hover > .nx-menu-item-icon,
#m-main-nav .dropdown-menu a:hover > .nx-menu-item-icon{
    color:#533fcc;
}
/* Shared Nexify footer: clear navigation in both color schemes. */
.nx-footer{background:#161a2a;color:#c8ccda;padding:0;font-family:var(--nm-font-2,Inter,sans-serif)}
.nx-footer *{box-sizing:border-box}
.nx-footer-inner{width:min(100% - 48px,1280px);margin:0 auto}
.nx-footer-lead{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:70px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.nx-footer-eyebrow{display:block;margin-bottom:14px;color:#b29efa;font-size:12px;font-weight:800;letter-spacing:.14em}
.nx-footer-lead h2{max-width:620px;margin:0 0 12px;color:#fff;font-family:var(--nm-font-1);font-size:clamp(30px,3.5vw,48px);line-height:1.15;letter-spacing:-.035em}
.nx-footer-lead p{max-width:660px;margin:0;color:#c8ccda;font-size:16px;line-height:1.7}
.nx-footer-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;flex:none;min-height:54px;padding:14px 22px;border-radius:12px;background:#533fcc;color:#fff!important;font-weight:750;text-decoration:none;transition:background .2s,transform .2s}
.nx-footer-cta:hover{background:#533fcc;color:#fff!important;transform:translateY(-2px)}
.nx-footer-grid{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(130px,1fr));gap:clamp(25px,3vw,50px);padding:62px 0 70px}
.nx-footer-brand img{display:block;width:220px;height:auto;margin-bottom:25px;object-fit:contain}
html.nm-light .nx-footer-brand img{content:url('/nexify-assets/media/nexify-logo-on-light.png');filter:none!important}
.nx-footer-brand p{max-width:270px;margin:0 0 12px;color:#c8ccda;font-size:14px;line-height:1.65}
.nx-footer-brand p:first-of-type{color:#fff;font-weight:700}
.nx-footer-contact{display:inline-flex;align-items:center;gap:9px;margin-top:12px;color:#b29efa!important;font-size:14px;font-weight:700;text-decoration:none}
.nx-footer-contact:hover{color:#fff!important}
.nx-footer-column h3{margin:2px 0 23px;color:#fff;font-family:var(--nm-font-1);font-size:16px;font-weight:700}
.nx-footer-column .nx-footer-second-heading{margin-top:30px}
.nx-footer-column ul{list-style:none;margin:0;padding:0}
.nx-footer-column li+li{margin-top:12px}
.nx-footer-column a,.nx-footer-bottom a{color:#c8ccda;text-decoration:none;font-size:14px;line-height:1.5;transition:color .2s}
.nx-footer-column a:hover,.nx-footer-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.nx-footer a:focus-visible{outline:2px solid #b29efa;outline-offset:4px;border-radius:3px}
.nx-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:22px 0;border-top:1px solid rgba(255,255,255,.14)}
.nx-footer-bottom p{margin:0;color:#aeb5c7;font-size:13px}
.nx-footer-bottom nav{display:flex;flex-wrap:wrap;gap:22px}
.nx-footer-bottom a{font-size:13px}
html.nm-light .nx-footer{background:#f8fbfc;color:#4a4660;border-top:1px solid rgba(22,26,42,.1)}
html.nm-light .nx-footer-lead,html.nm-light .nx-footer-bottom{border-color:rgba(22,26,42,.13)}
html.nm-light .nx-footer-lead h2,html.nm-light .nx-footer-column h3,html.nm-light .nx-footer-brand p:first-of-type{color:#161a2a}
html.nm-light .nx-footer-lead p,html.nm-light .nx-footer-brand p,html.nm-light .nx-footer-column a,html.nm-light .nx-footer-bottom a,html.nm-light .nx-footer-bottom p{color:#4a4660}
html.nm-light .nx-footer-eyebrow,html.nm-light .nx-footer-contact{color:#533fcc!important}
html.nm-light .nx-footer-column a:hover,html.nm-light .nx-footer-bottom a:hover{color:#533fcc}
html.nm-light .nx-footer-cta{color:#fff!important}
@media(max-width:1100px){.nx-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.nx-footer-brand{grid-column:span 4}.nx-footer-brand p{max-width:500px}}
@media(max-width:760px){.nx-footer-lead{display:block;padding:56px 0}.nx-footer-cta{margin-top:25px}.nx-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 24px;padding:50px 0}.nx-footer-brand{grid-column:span 2}.nx-footer-bottom{align-items:start;flex-direction:column}}
@media(max-width:440px){.nx-footer-inner{width:min(100% - 36px,1280px)}.nx-footer-grid{grid-template-columns:1fr}.nx-footer-brand{grid-column:auto}.nx-footer-lead h2{font-size:32px}}
/* Homepage: You Build It section. */
.nx-build{position:relative;isolation:isolate;padding:110px 0 115px;background:#f4f7ff;color:#161a2a;overflow:hidden}
.nx-build:before{content:"";position:absolute;z-index:-1;top:-220px;right:-180px;width:660px;height:660px;border-radius:50%;background:radial-gradient(circle,rgba(83,63,204,.16),transparent 68%)}
.nx-build-inner{width:min(100% - 48px,1240px);margin-inline:auto}
.nx-build-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:center;gap:clamp(35px,6vw,90px);margin-bottom:52px}
.nx-build-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;color:#533fcc;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.nx-build-eyebrow:before{content:"";width:10px;height:10px;border-radius:50%;background:#533fcc;box-shadow:0 0 0 5px rgba(83,63,204,.12)}
.nx-build h2{max-width:620px;margin:0 0 24px;color:#161a2a!important;font-family:var(--nm-font-1);font-size:clamp(43px,5vw,70px);font-weight:700;line-height:1.06;letter-spacing:-.05em}
.nx-build h2 span{color:#533fcc;-webkit-text-fill-color:#533fcc}
.nx-build-copy p{max-width:580px;margin:0 0 17px;color:#514d63;font-size:17px;line-height:1.7}
.nx-build-actions{display:flex;align-items:center;flex-wrap:wrap;gap:23px;margin-top:32px}
.nx-build-button{display:inline-flex;align-items:center;gap:15px;min-height:54px;padding:13px 20px;border-radius:11px;background:#533fcc;color:#fff!important;font-size:15px;font-weight:750;text-decoration:none;transition:background .2s,transform .2s}
.nx-build-button:hover{background:#3d2fb0;color:#fff!important;transform:translateY(-2px)}
.nx-build-text-link{display:inline-flex;align-items:center;gap:8px;color:#3d2fb0!important;font-size:15px;font-weight:700;text-decoration:none}
.nx-build-text-link:hover{text-decoration:underline;text-underline-offset:5px}
.nx-build a:focus-visible{outline:3px solid #5792d9;outline-offset:4px}
.nx-build-visual{position:relative;display:grid;place-items:center;min-height:430px}
.nx-build-visual-orbit{position:absolute;inset:18px 4%;border-radius:48px;background:linear-gradient(145deg,#e8effe,#e8effe);transform:rotate(-5deg)}
.nx-build-visual-main{position:relative;width:min(86%,520px);padding:12px;border:1px solid rgba(83,63,204,.2);border-radius:26px;background:#fff;box-shadow:0 35px 70px rgba(28,58,122,.2);transform:rotate(3deg)}
.nx-build-visual-main img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:16px}
.nx-build-visual-chip{position:absolute;display:inline-flex;align-items:center;gap:9px;padding:12px 17px;border:1px solid rgba(83,63,204,.14);border-radius:999px;background:#fff;color:#2a1f6b;font-size:14px;font-weight:800;box-shadow:0 12px 28px rgba(28,58,122,.13)}
.nx-build-visual-chip i{color:#533fcc}
.nx-build-visual-chip-a{top:8%;left:1%}.nx-build-visual-chip-b{right:0;bottom:12%}
.nx-build-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.nx-build-card{display:block;overflow:hidden;border:1px solid #e0dfeb;border-radius:18px;background:#fff;text-decoration:none;box-shadow:0 12px 28px rgba(28,58,122,.05);transition:transform .2s,border-color .2s,box-shadow .2s}
.nx-build-card:hover{transform:translateY(-5px);border-color:#b29efa;box-shadow:0 20px 35px rgba(28,58,122,.12)}
.nx-build-card img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover}
.nx-build-card-body{position:relative;display:flex;flex-direction:column;gap:6px;min-height:108px;padding:18px 36px 19px 18px;color:#514d63}
.nx-build-card-body strong{color:#161a2a;font-family:var(--nm-font-1);font-size:17px;line-height:1.25}
.nx-build-card-body span{font-size:13px;line-height:1.4}
.nx-build-card-body i{position:absolute;top:21px;right:17px;color:#533fcc;font-size:13px}
html:not(.nm-light) .nx-build{background:#161a2a;color:#f6f3ff}
html:not(.nm-light) .nx-build:before{background:radial-gradient(circle,rgba(83,63,204,.22),transparent 68%)}
html:not(.nm-light) .nx-build h2{color:#f6f3ff!important}
html:not(.nm-light) .nx-build-copy p{color:#c3c1d0}
html:not(.nm-light) .nx-build-eyebrow,html:not(.nm-light) .nx-build-text-link{color:#b29efa!important}
html:not(.nm-light) .nx-build-visual-orbit{background:linear-gradient(145deg,#2a2548,#1e243c)}
html:not(.nm-light) .nx-build-visual-main,html:not(.nm-light) .nx-build-card{background:#161a2a;border-color:rgba(255,255,255,.13)}
html:not(.nm-light) .nx-build-visual-chip{background:#1e243c;border-color:rgba(255,255,255,.12);color:#f6f3ff}
html:not(.nm-light) .nx-build-card-body,html:not(.nm-light) .nx-build-card-body strong{color:#f6f3ff}
html:not(.nm-light) .nx-build-card-body span{color:#c3c1d0}
@media(max-width:1000px){.nx-build-intro{grid-template-columns:1fr;gap:40px}.nx-build-copy{max-width:750px}.nx-build-visual{min-height:380px}.nx-build-capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.nx-build{padding:75px 0 80px}.nx-build-inner{width:min(100% - 32px,1240px)}.nx-build h2{font-size:clamp(41px,11vw,58px)}.nx-build-copy p{font-size:16px}.nx-build-visual{min-height:290px}.nx-build-visual-orbit{inset:20px 5%}.nx-build-visual-main{width:82%}.nx-build-visual-chip{font-size:11px;padding:8px 11px}.nx-build-capabilities{grid-template-columns:1fr}.nx-build-card{display:grid;grid-template-columns:120px 1fr}.nx-build-card img{height:100%;aspect-ratio:auto}.nx-build-card-body{min-height:105px}}
/* Homepage: company-specific reasons to work with Nexify. */
.nx-why{padding:110px 0 100px;background:#e8effe;color:#1e243c}
.nx-why *{box-sizing:border-box}
.nx-why-inner{width:min(100% - 48px,1240px);margin-inline:auto}
.nx-why-heading{display:flex;align-items:end;justify-content:space-between;gap:55px;margin-bottom:42px}
.nx-why-heading>div{max-width:620px}
.nx-why-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;color:#533fcc;font-size:13px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.nx-why-eyebrow:before{content:"";width:10px;height:10px;border-radius:50%;background:#533fcc}
.nx-why-heading h2{margin:0;color:#1e243c!important;font-family:var(--nm-font-1);font-size:clamp(38px,4.5vw,62px);font-weight:700;line-height:1.1;letter-spacing:-.045em}
.nx-why-heading h2 span{color:#533fcc;-webkit-text-fill-color:#533fcc}
.nx-why-heading>p{max-width:430px;margin:0 0 5px;color:#4d5a6e;font-size:17px;line-height:1.7}
.nx-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.nx-why-card{display:flex;flex-direction:column;height:540px;overflow:hidden;border:1px solid #dbe3ed;border-radius:18px;background:#fff;text-decoration:none;box-shadow:0 12px 28px rgba(30,36,60,.06);transition:transform .25s,border-color .25s,box-shadow .25s}
.nx-why-card:hover{transform:translateY(-6px);border-color:#b29efa;box-shadow:0 22px 38px rgba(30,36,60,.12)}
.nx-why-card-image{flex:0 0 45%;height:45%;background:#161a2a;overflow:hidden}
.nx-why-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.nx-why-card:hover img{transform:scale(1.035)}
.nx-why-card-copy{display:flex;flex:1;min-height:0;flex-direction:column;padding:24px 23px 25px}
.nx-why-number{color:#533fcc;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.nx-why-card h3{margin:13px 0 10px;color:#1e243c!important;font-family:var(--nm-font-1);font-size:21px;line-height:1.25}
.nx-why-card p{margin:0 0 22px;color:#566173;font-size:14px;line-height:1.65}
.nx-why-link{display:inline-flex;align-items:center;gap:9px;margin-top:auto;color:#533fcc;font-size:13px;font-weight:750}
.nx-why-end{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:35px;padding:29px 32px;border:1px solid #dce1ec;border-radius:16px;background:#fff}
.nx-why-end p{margin:0;color:#27314a;font-size:18px;font-weight:650}
.nx-why-end a{display:inline-flex;align-items:center;gap:12px;flex:none;color:#533fcc;font-size:15px;font-weight:800;text-decoration:none}
.nx-why-end a:hover{text-decoration:underline;text-underline-offset:4px}
.nx-why a:focus-visible{outline:3px solid #5792d9;outline-offset:4px}
html:not(.nm-light) .nx-why{background:#161a2a;color:#f4f5fb}
html:not(.nm-light) .nx-why-heading h2,html:not(.nm-light) .nx-why-card h3{color:#f4f5fb!important}
html:not(.nm-light) .nx-why-heading>p,html:not(.nm-light) .nx-why-card p{color:#c2cbd9}
html:not(.nm-light) .nx-why-eyebrow,html:not(.nm-light) .nx-why-number,html:not(.nm-light) .nx-why-link{color:#b29efa}
html:not(.nm-light) .nx-why-card,html:not(.nm-light) .nx-why-end{background:#1e243c;border-color:rgba(255,255,255,.12)}
html:not(.nm-light) .nx-why-end p{color:#f4f5fb}
html:not(.nm-light) .nx-why-end a{color:#b29efa}
@media(max-width:1050px){.nx-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-why-heading{align-items:start;flex-direction:column;gap:20px}.nx-why-heading>p{max-width:750px}}
@media(max-width:650px){.nx-why{padding:75px 0}.nx-why-inner{width:min(100% - 32px,1240px)}.nx-why-grid{grid-template-columns:1fr}.nx-why-card{height:600px}.nx-why-end{align-items:start;flex-direction:column;padding:24px}.nx-why-end p{font-size:17px}}

/* Editorial pages and homepage insight cards. */
.nx-blog-page,.nx-blog-teasers{background:#f3f7fb;color:#1e243c}
.nx-blog-page{padding:155px 24px 110px;min-height:70vh}
.nx-blog-teasers{padding:100px 24px}
.nx-blog-container{width:min(100%,1180px);margin-inline:auto}
.nx-blog-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:54px;color:#6c7890;font-size:14px}
.nx-blog-breadcrumb a{color:#533fcc;text-decoration:none}
.nx-blog-eyebrow,.nx-blog-card-category{color:#533fcc;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.nx-blog-page h1{max-width:850px;margin:12px 0 18px;color:#1e243c;font-size:clamp(38px,5vw,66px);line-height:1.1;letter-spacing:-.04em}
.nx-blog-intro{max-width:760px;margin:0 0 46px;color:#526078;font-size:19px;line-height:1.7}
.nx-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nx-blog-card{display:flex;flex-direction:column;min-height:280px;padding:30px;border:1px solid #e8effe;border-radius:18px;background:#fff;color:#1e243c;text-decoration:none;box-shadow:0 12px 25px #1e243c0a;transition:transform .2s,border-color .2s}
.nx-blog-card:hover{transform:translateY(-4px);border-color:#8382f4}
.nx-blog-card h2,.nx-blog-card h3{margin:18px 0 12px;color:inherit;font-size:clamp(22px,2vw,27px);line-height:1.25}
.nx-blog-card p{margin:0 0 22px;color:#56647a;font-size:15px;line-height:1.65}
.nx-blog-read{margin-top:auto;color:#533fcc;font-size:14px;font-weight:800}
.nx-blog-read i{margin-left:7px}
.nx-blog-teasers-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:35px}
.nx-blog-teasers-heading h2{margin:8px 0 0;color:#1e243c;font-size:clamp(34px,4vw,50px)}
.nx-blog-teasers-heading>a,.nx-blog-back{color:#533fcc;font-weight:800;text-decoration:none}
.nx-blog-article{max-width:850px}
.nx-blog-prose{max-width:760px}.nx-blog-prose section{margin:0 0 42px}.nx-blog-prose h2{margin:0 0 18px;color:#1e243c;font-size:28px}.nx-blog-prose p{margin:0 0 18px;color:#46556b;font-size:18px;line-height:1.8}
.nx-blog-article-end{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:55px 0 28px;padding:24px;border-radius:14px;background:#ece7fe}.nx-blog-article-end p{margin:0;font-weight:700}.nx-blog-article-end a{color:#3d2fb0;font-weight:800;text-decoration:none}
.nx-blog-page a:focus-visible,.nx-blog-teasers a:focus-visible{outline:3px solid #5792d9;outline-offset:3px}
html:not(.nm-light) .nx-blog-page,html:not(.nm-light) .nx-blog-teasers{background:#161a2a;color:#f4f5fb}
html:not(.nm-light) .nx-blog-page h1,html:not(.nm-light) .nx-blog-teasers-heading h2,html:not(.nm-light) .nx-blog-prose h2{color:#f4f5fb}
html:not(.nm-light) .nx-blog-card{background:#1e243c;border-color:#344159;color:#f4f5fb}
html:not(.nm-light) .nx-blog-card p,html:not(.nm-light) .nx-blog-prose p,html:not(.nm-light) .nx-blog-intro{color:#c2cbd9}
html:not(.nm-light) .nx-blog-article-end{background:#242a48}
html:not(.nm-light) .nx-blog-article-end a,html:not(.nm-light) .nx-blog-read,html:not(.nm-light) .nx-blog-teasers-heading>a,html:not(.nm-light) .nx-blog-back{color:#d9cffd}
@media(max-width:850px){.nx-blog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.nx-blog-page{padding:125px 16px 70px}.nx-blog-teasers{padding:70px 16px}.nx-blog-grid{grid-template-columns:1fr}.nx-blog-teasers-heading,.nx-blog-article-end{align-items:start;flex-direction:column}.nx-blog-card{min-height:0}}

/* Direct contact path without template contact details. */
.nx-contact-page{padding:155px 24px 110px;background:#f3f7fb;color:#1e243c;min-height:75vh}
.nx-contact-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:80px;width:min(100%,1180px);margin-inline:auto}
.nx-contact-intro h1{max-width:620px;margin:12px 0 22px;color:#1e243c;font-size:clamp(42px,5vw,66px);line-height:1.1;letter-spacing:-.04em}
.nx-contact-intro>p{max-width:580px;color:#526078;font-size:19px;line-height:1.7}
.nx-contact-points{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:38px;color:#3a4962;font-weight:700}.nx-contact-points i{margin-right:8px;color:#533fcc}
.nx-contact-panel{padding:34px;border:1px solid #e8effe;border-radius:20px;background:#fff;box-shadow:0 20px 60px #1e243c14}
.nx-contact-panel h2{margin:0 0 8px;color:#1e243c;font-size:30px}.nx-contact-panel>p{color:#56647a;line-height:1.6}
.nx-contact-panel label{display:block;margin:19px 0 7px;color:#28354d;font-weight:700}
.nx-contact-panel input,.nx-contact-panel textarea{display:block;width:100%;padding:13px 14px;border:1px solid #aab8ca;border-radius:9px;background:#fff;color:#1e243c;font:inherit}
.nx-contact-panel input:focus-visible,.nx-contact-panel textarea:focus-visible,.nx-contact-panel button:focus-visible{outline:3px solid #5792d9;outline-offset:2px}
.nx-contact-panel button{width:100%;margin-top:23px;padding:14px 20px;border:0;border-radius:9px;background:#533fcc;color:#fff;font:700 16px Inter,system-ui,sans-serif;cursor:pointer}.nx-contact-panel button i{margin-left:8px}
.nx-contact-panel small{display:block;margin-top:5px;color:#a3273f}.nx-contact-notice,.nx-contact-error{padding:12px 14px;border-radius:8px}.nx-contact-notice{background:#dff7ec;color:#145b37}.nx-contact-error{background:#ffe9ed;color:#8a263b}
.nx-contact-panel .nx-contact-privacy{margin:18px 0 0;font-size:13px}.nx-contact-privacy a{color:#533fcc}
html:not(.nm-light) .nx-contact-page{background:#161a2a;color:#f4f5fb}html:not(.nm-light) .nx-contact-intro h1,html:not(.nm-light) .nx-contact-panel h2{color:#f4f5fb}html:not(.nm-light) .nx-contact-intro>p,html:not(.nm-light) .nx-contact-panel>p,html:not(.nm-light) .nx-contact-points{color:#c2cbd9}html:not(.nm-light) .nx-contact-panel{background:#1e243c;border-color:#344159}html:not(.nm-light) .nx-contact-panel label{color:#f4f5fb}html:not(.nm-light) .nx-contact-panel input,html:not(.nm-light) .nx-contact-panel textarea{background:#161a2a;border-color:#73809a;color:#fff}
@media(max-width:900px){.nx-contact-shell{grid-template-columns:1fr;gap:38px}}@media(max-width:650px){.nx-contact-page{padding:125px 16px 70px}.nx-contact-panel{padding:24px}.nx-contact-points{grid-template-columns:1fr}}

/* Team expertise without unverified staff portraits or names. */
.nx-team{padding:100px 24px;background:#e8effe;color:#1e243c}.nx-team-inner{width:min(100%,1180px);margin:auto}.nx-team-heading{max-width:770px}.nx-team-heading h2{margin:12px 0 18px;color:#1e243c;font-size:clamp(36px,4vw,54px);line-height:1.1}.nx-team-heading p{color:#526078;font-size:18px;line-height:1.7}
.nx-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:42px 0 35px}.nx-team-grid article{padding:27px;border:1px solid #e8effe;border-radius:16px;background:#fff}.nx-team-grid i{color:#533fcc;font-size:27px}.nx-team-grid h3{margin:20px 0 10px;color:#1e243c;font-size:21px}.nx-team-grid p{margin:0;color:#56647a;line-height:1.65}.nx-team-cta{display:inline-flex;align-items:center;gap:9px;color:#533fcc;font-weight:800;text-decoration:none}
.nx-team-page{background:#f3f7fb}.nx-team-page-intro{padding:155px 24px 40px}.nx-team-page-intro h1{margin:12px 0 16px;color:#1e243c;font-size:clamp(38px,5vw,64px)}.nx-team-page-intro>p{max-width:730px;color:#526078;font-size:19px;line-height:1.7}.nx-team-page .nx-team{padding-top:35px}
html:not(.nm-light) .nx-team,html:not(.nm-light) .nx-team-page{background:#161a2a;color:#f4f5fb}html:not(.nm-light) .nx-team-heading h2,html:not(.nm-light) .nx-team-grid h3,html:not(.nm-light) .nx-team-page-intro h1{color:#f4f5fb}html:not(.nm-light) .nx-team-heading p,html:not(.nm-light) .nx-team-grid p,html:not(.nm-light) .nx-team-page-intro>p{color:#c2cbd9}html:not(.nm-light) .nx-team-grid article{background:#1e243c;border-color:#344159}html:not(.nm-light) .nx-team-cta{color:#d9cffd}
@media(max-width:900px){.nx-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.nx-team{padding:70px 16px}.nx-team-grid{grid-template-columns:1fr}.nx-team-page-intro{padding:125px 16px 25px}}

/* Portfolio statistics sit on dark cards in both site themes. */
.nm-portfolio-1-top-features-single .title,
.nm-portfolio-1-top-features-single:hover .title,
html.nm-light .nm-portfolio-1-top-features-single .title,
html.nm-light .nm-portfolio-1-top-features-single:hover .title{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.nm-portfolio-1-top-features-single .disc,
.nm-portfolio-1-top-features-single:hover .disc,
html.nm-light .nm-portfolio-1-top-features-single .disc,
html.nm-light .nm-portfolio-1-top-features-single:hover .disc{
    color:#eef0f6 !important;
    -webkit-text-fill-color:#eef0f6 !important;
}
/* Shared FAQ block for Home and FAQs page. */
.nx-faq-section{padding:110px 0;background:#f7f9fc;color:#1e243c}
.nx-faq-section *{box-sizing:border-box}
.nx-faq-inner{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:clamp(35px,5vw,80px);align-items:start;width:min(100% - 48px,1240px);margin-inline:auto}
.nx-faq-contact{overflow:hidden;border:1px solid #e2e7ef;border-radius:26px;padding:42px 42px 0;background:#e8effe}
.nx-faq-eyebrow{display:inline-flex;align-items:center;gap:9px;color:#533fcc;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.nx-faq-eyebrow:before{content:"";width:9px;height:9px;border-radius:50%;background:#3c6dc7}
.nx-faq-contact h2,.nx-faq-content h2{margin:14px 0 15px;color:#161a2a!important;font-family:var(--nm-font-1);font-size:clamp(30px,3.3vw,47px);line-height:1.14;letter-spacing:-.035em}
.nx-faq-contact p,.nx-faq-intro{margin:0;color:#586579;font-size:16px;line-height:1.7}
.nx-faq-contact-button{display:inline-flex;align-items:center;gap:12px;min-height:48px;margin-top:28px;padding:11px 17px;border-radius:10px;background:#533fcc;color:#fff!important;font-size:14px;font-weight:750;text-decoration:none}
.nx-faq-contact-button:hover{background:#3d2fb0;color:#fff!important}
.nx-faq-contact img{display:block;width:calc(100% + 84px);max-width:none;margin:38px -42px 0;aspect-ratio:1.75;object-fit:cover}
.nx-faq-content h2{max-width:650px;margin-bottom:10px}
.nx-faq-intro{max-width:620px}
.nx-faq-tabs{display:flex;gap:8px;overflow-x:auto;margin:33px 0 22px;padding:0 0 9px;border-bottom:1px solid #e8effe}
.nx-faq-tab{flex:none;border:0;border-radius:9px;padding:11px 15px;background:transparent;color:#414a5c;font:700 15px var(--nm-font-1);cursor:pointer}
.nx-faq-tab:hover{background:#e8effe;color:#3d2fb0}
.nx-faq-tab.is-active{background:#ece7fe;color:#3d2fb0}
.nx-faq-panel[hidden]{display:none!important}
.nx-faq-panel details{margin-bottom:10px;border:1px solid #e1e5ee;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(30,36,60,.04)}
.nx-faq-panel summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px;color:#1e243c;font:700 17px/1.4 var(--nm-font-1);cursor:pointer;list-style:none}
.nx-faq-panel summary::-webkit-details-marker{display:none}
.nx-faq-panel summary:after{content:"+";flex:none;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#313d55;color:#fff;font:700 20px/1 Arial,sans-serif}
.nx-faq-panel details[open] summary:after{content:"−";background:#3c6dc7}
.nx-faq-panel details p{margin:0;padding:0 22px 21px;color:#535e71;font-size:15px;line-height:1.7}
.nx-faq-panel details a{color:#533fcc;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.nx-faq-section a:focus-visible,.nx-faq-section button:focus-visible,.nx-faq-section summary:focus-visible{outline:3px solid #3c6dc7;outline-offset:3px}
html:not(.nm-light) .nx-faq-section{background:#161a2a;color:#f5f4fb}
html:not(.nm-light) .nx-faq-contact{background:#1e243c;border-color:rgba(255,255,255,.12)}
html:not(.nm-light) .nx-faq-contact h2,html:not(.nm-light) .nx-faq-content h2{color:#f5f4fb!important}
html:not(.nm-light) .nx-faq-contact p,html:not(.nm-light) .nx-faq-intro{color:#c4cad8}
html:not(.nm-light) .nx-faq-eyebrow{color:#b29efa}
html:not(.nm-light) .nx-faq-tabs{border-color:rgba(255,255,255,.13)}
html:not(.nm-light) .nx-faq-tab{color:#d1d5e1}
html:not(.nm-light) .nx-faq-tab:hover,html:not(.nm-light) .nx-faq-tab.is-active{background:#30294a;color:#ece7fe}
html:not(.nm-light) .nx-faq-panel details{background:#1e243c;border-color:rgba(255,255,255,.12)}
html:not(.nm-light) .nx-faq-panel summary{color:#f5f4fb}
html:not(.nm-light) .nx-faq-panel details p{color:#c4cad8}
html:not(.nm-light) .nx-faq-panel details a{color:#b29efa}
@media(max-width:900px){.nx-faq-inner{grid-template-columns:1fr}.nx-faq-contact{display:grid;grid-template-columns:1fr 210px;column-gap:25px;align-items:start}.nx-faq-contact .nx-faq-eyebrow,.nx-faq-contact h2,.nx-faq-contact p,.nx-faq-contact-button{grid-column:1}.nx-faq-contact img{grid-column:2;grid-row:1/6;width:100%;height:100%;max-width:100%;margin:0;object-fit:cover;border-radius:15px}}
@media(max-width:600px){.nx-faq-section{padding:75px 0}.nx-faq-inner{width:min(100% - 32px,1240px)}.nx-faq-contact{display:block;padding:28px 28px 0}.nx-faq-contact img{width:calc(100% + 56px);max-width:none;height:auto;margin:30px -28px 0;border-radius:0}.nx-faq-panel summary{font-size:16px;padding:18px}.nx-faq-panel details p{padding:0 18px 18px}}

/* Original Nimo fluid mouse trail, above the hero tint and below its content. */
html body.home .nm-hero-1-area > canvas.nx-gold-mouse-trail {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
    html body.home .nm-hero-1-area > canvas.nx-gold-mouse-trail { display: none !important; }
}

@media (max-width: 767px) {
    #testimonials .nm-testimonial-1-preview { height: auto; margin-bottom: 28px; }
    #testimonials .nm-testimonial-1-preview-slider { height: auto; width: 100%; overflow: visible; }
    #testimonials .nm-testimonial-1-preview-slider .swiper-wrapper { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: none !important; }
    #testimonials .nm-testimonial-1-preview-slider .swiper-slide { position: relative; left: auto !important; top: auto !important; width: auto !important; margin: 0 !important; transform: none !important; }
    #testimonials .nm-testimonial-1-preview-slider .swiper-slide:nth-child(n+7) { display: none; }
    #testimonials .nm-testimonial-1-preview-slider-item { margin: auto; transform: none !important; }
}

/* Photography across the homepage company and product sections. */
body.home .nx-company-photo{position:relative;isolation:isolate;width:min(1240px,calc(100% - 40px));margin:30px auto 70px;border-radius:24px;overflow:hidden;background:#161a2a}
body.home .nx-company-photo>img{display:block;width:100%;height:460px;object-fit:cover;object-position:center 45%}
body.home .nx-company-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(22,26,42,.85),transparent 75%);pointer-events:none}
body.home .nx-company-photo figcaption{position:absolute;bottom:38px;left:42px;right:24px;z-index:1;color:#fff}
body.home .nx-company-photo figcaption span{display:block;color:#e186e6;font-size:13px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px}
body.home .nx-company-photo figcaption strong{display:block;font-size:clamp(28px,3.5vw,48px);line-height:1.12;font-weight:600}
body.home .nx-build-visual-main{transform:none;padding:8px;border-radius:24px}
@media(max-width:600px){body.home .nx-company-photo{width:calc(100% - 32px);margin:20px auto 40px;border-radius:18px}body.home .nx-company-photo>img{height:340px}body.home .nx-company-photo figcaption{left:24px;bottom:26px}body.home .nx-company-photo figcaption span{font-size:10px}}

/* Insights: article images on cards and article pages */
.nx-blog-card{overflow:hidden}
.nx-blog-card-media{display:block;margin:-30px -30px 22px;aspect-ratio:16/10;overflow:hidden;background:#e8effe}
.nx-blog-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.nx-blog-card:hover .nx-blog-card-media img,.nx-blog-card:focus-visible .nx-blog-card-media img{transform:scale(1.05)}
.nx-blog-hero-image{margin:0 0 46px;border-radius:18px;overflow:hidden;aspect-ratio:16/10;background:#e8effe;box-shadow:0 18px 40px #1e243c1a}
.nx-blog-hero-image img{display:block;width:100%;height:100%;object-fit:cover}
html:not(.nm-light) .nx-blog-card-media,html:not(.nm-light) .nx-blog-hero-image{background:#1e243c}
@media (prefers-reduced-motion:reduce){.nx-blog-card-media img{transition:none}.nx-blog-card:hover .nx-blog-card-media img{transform:none}}

/* ===== Readable text on every surface (contrast fixes, 5 Nov 2026) =====
   Light mode forces h1-h4 dark site-wide; sections that keep a dark
   background in light mode must let their headings use the section colour.
   Checked with scripts/audit-contrast.mjs (WCAG AA) in both themes. */
html.nm-polished-theme.nm-light :is(.nx-social-process,.nx-social-more__cards article,.nx-social-cta,.nx-seo-proof,.nx-on-dark) :is(h1,h2,h3,h4,.nm-h-1,.nm-h-2){color:inherit}
html.nm-polished-theme.nm-light .nx-cta h2{color:#161a2a!important;-webkit-text-fill-color:#161a2a!important}

/* Light mode: mid-tone accents that were too pale on white */
html.nm-polished-theme.nm-light .nx-blog-breadcrumb span:not([aria-hidden]){color:#566175}

/* Dark mode: brand purple text is too dark on near-black, use the light tint */
html.nm-polished-theme:not(.nm-light) :is(.nx-contact-privacy a,.nx-blog-breadcrumb a,.nx-blog-card-category,.nx-blog-eyebrow,.nx-price-format strong,.nm-subtitle-1 .text,.nx-service-detail__eyebrow,.nx-related__head a,.nx-why-heading h2 span,.nx-build-copy h2 span,.nx-catalog-kicker){color:#b29efa!important;-webkit-text-fill-color:#b29efa!important}
html.nm-polished-theme:not(.nm-light) .nx-plan .nx-price-format em{color:#5fd8b8!important}
html.nm-polished-theme:not(.nm-light) :is(.nx-package-group header small,.nx-package-card__top span,.nx-price-format strong span){color:#a3aec0!important}
html.nm-polished-theme:not(.nm-light) .nx-blog-breadcrumb span:not([aria-hidden]){color:#aab4c5}

/* Both themes: eyebrow on the purple mission card */
.nx-card-accent__eyebrow{color:rgba(255,255,255,.92)!important}
/* SEO plan cards stay white in dark mode: keep their dark-on-light colours */
html.nm-polished-theme:not(.nm-light) .nx-seo-plan .nx-price-format strong{color:#7087f6!important;-webkit-text-fill-color:#7087f6!important}
html.nm-polished-theme:not(.nm-light) .nx-seo-plan .nx-price-format strong span{color:#5b667a!important}
/* Blue accent text needs a deeper shade on white */
.nxk-card .nxk-tagline{color:var(--nm-clr-pr-1)}
html.nm-polished-theme.nm-light :is(.nxk-prose a,.nxk-tagline){color:#1c3a7a!important}
html.nm-polished-theme:not(.nm-light) .nx-social-plan .nx-price-format strong{color:#7087f6!important;-webkit-text-fill-color:#7087f6!important}
html.nm-polished-theme:not(.nm-light) .nx-social-plan .nx-price-format strong span{color:#5b6273!important}
