﻿/* ==========================================================================
   Neurovexa Panel Header — exact landing CSS (custom + backgrounds + nav)
   Source: Neurovexa Web assets/css — not a redesign
   ========================================================================== */

:root {
    --primary--color: #69ba2d;
    --black--color: #000000;
    --secondary--color: #ffffff;
    --text--color: #777777;
    --accent--color: #2377d8;
    --navy--color: #161844;
    --navy--family--color: #060722;
    --navy--family--color1: #202a60;
    --navy--family--color2: #63647d;
    --navy--family--color3: #20202c;
    --sky--color: #4297f9;

}

/* HEADER SECTION */
.header-con .navbar-light .navbar-nav .nav-link {
    font-size: 16px;
    color: var(--secondary--color);
    font-weight: 500;
    padding: 8px 0 !important;
    position: relative;
    line-height: 1.25;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.header-con .navbar-expand-lg .navbar-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.875rem; /* 14px — tight SaaS cluster */
    justify-content: center;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-con .navbar-expand-lg .navbar-nav > .nav-item {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.header-con {
    z-index: 5;
    padding: 15px 0;
    background-color: rgb(6 7 34 / 80%);
}

.header-con .navbar {
    padding: 0;
}

.header-con .header-contact {
    margin-left: 44px;
}

.header-con .header-contact a {
    min-width: 109px;
    height: 45px;
    line-height: 43px;
    font-weight: 400;
    background-color: var(--primary--color);
    color: var(--secondary--color);
    border-radius: 15px;
    padding: 0 5px;
    transition: ease-in-out 0.6s;
    text-decoration: none;
    border: 1px solid transparent;
    text-align: center;
}

.header-con .header-contact a i {
    color: var(--primary--color);
    background-color: var(--secondary--color);
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    right: 8px;
}

.header-con .header-contact a:hover {
    background-color: var(--accent--color);
    color: var(--secondary--color);
    text-decoration: none;
}

.header-con .header-contact a:hover i {
    color: var(--accent--color);
}


.header-con .navbar-light .navbar-nav .nav-link:hover::before {
    width: 100%;
}

.header-con .navbar-light .navbar-nav .nav-link::before {
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    content: '';
    position: absolute;
    background: var(--primary--color);
    transition: ease-in-out 0.3s;
}

.header-con .navbar-light .navbar-nav .dropdown .nav-link:hover::after {
    /* keep caret visible on hover */
    opacity: 1;
}

.header-con .navbar-light .navbar-nav .dropdown .nav-link::after,
.header-con .navbar-light .navbar-nav .dropdown-toggle::after {
    content: "" !important;
    display: inline-block !important;
    flex-shrink: 0;
    width: 6px !important;
    height: 6px !important;
    margin: 0 0 0 0.4rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    border-top: 0 !important;
    border-left: 0 !important;
    vertical-align: middle;
    background: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    font-size: 0 !important;
    transform: translateY(-1px) rotate(45deg);
    transition: transform 0.2s ease;
}

.header-con .navbar-light .navbar-nav .dropdown-menu {
    padding: 10px 5px;
    margin: 0;
    background-color: var(--secondary--color);
    border: 0;
    z-index: 15;
    border-radius: 10px;
    /* border-top: 2px solid var(--primary--color); */
    width: 216px;
    margin-top: 10px;
    box-shadow: 0px 0px 100px rgb(0 0 0 / 15%);
}

.header-con .navbar-light .navbar-nav .dropdown-menu a:last-child {
    border-bottom: none;
}

.header-con .navbar-light .navbar-nav .dropdown-menu .dropdown-item {
    padding: 7px 20px;
    border-bottom: 1px solid var(--secondary--color);
    font-size: 14px;
    line-height: 20px;
    color: var(--navy--family--color);
}

.header-con .navbar-light .navbar-nav .dropdown-menu .dropdown-item:active,
.header-con .navbar-light .navbar-nav .dropdown-menu .dropdown-item:active {
    background-color: var(--primary--color);
    color: var(--secondary--color);
}

.header-con .navbar-light .navbar-nav .dropdown-menu .dropdown-item:hover,
.header-con .navbar-light .navbar-nav .dropdown-menu .dropdown-item.active {
    background-color: var(--primary--color);
    color: var(--secondary--color);
    border-radius: 4px;
}

.header-con .navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary--color);
}

.header-con .navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary--color);
}

.header-con .navbar-light .navbar-brand {
    margin: 0;
    margin-right: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-con .navbar-brand figure {
    margin: 0;
    line-height: 0;
}

.header-con .navbar-brand img {
    display: block;
    width: auto;
    height: 88px;
    max-width: 347px;
    object-fit: contain;
}

/* HEADER SECTION */

/* HOME 02 — transparent header over hero (exact landing) */
.home2-outer-banner-wrapper .header-con,
.home3-outer-banner-wrapper .header-con {
    background-color: transparent;
}

.banner-outer-wrapper.home2-outer-banner-wrapper {
    background-image: url(../../images/nvx-header/nvx-bg-hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

/* Site-wide enterprise Login button */
.header-con .header-contact a {
    background-color: rgba(6, 7, 34, 0.9);
    color: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.1);
    transition: ease-in-out 0.4s;
}

.header-con .header-contact a i {
    color: #ffffff;
    background-color: transparent;
    width: auto;
    height: auto;
    line-height: inherit;
    border-radius: 0;
    position: static;
    right: auto;
    margin-right: 6px;
    font-size: 14px;
}

.header-con .header-contact a:hover {
    background-color: rgba(32, 42, 96, 0.95);
    color: #ffffff;
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow:
        0 0 18px rgba(168, 85, 247, 0.22),
        0 0 28px rgba(66, 151, 249, 0.14);
    text-decoration: none;
}

.header-con .header-contact a:hover i {
    color: #ffffff;
}

/* Logo â€” subtle premium float (layout box unchanged) */
.header-con .navbar-brand img {
    animation: nvx-logo-float 8s ease-in-out infinite;
}

@keyframes nvx-logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2.5px); }
}

@media (prefers-reduced-motion: reduce) {
    .header-con .navbar-brand img {
        animation: none;
    }
}

/* Header layout â€” viewport-centered navigation (desktop only) */
@media (min-width: 992px) {
    .header-con .container {
        max-width: none;
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .header-con .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        width: 100%;
    }

    .header-con .navbar-light .navbar-brand {
        margin-left: 22px;
        margin-right: 0;
        padding-right: 8px;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
    }

    .header-con .navbar-collapse {
        position: absolute;
        left: 50%;
        right: auto;
        margin: 0;
        transform: translateX(-50%);
        width: max-content;
        max-width: calc(100% - 420px);
        flex: 0 0 auto;
        display: flex !important;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .header-con .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 0.875rem !important;
        width: max-content;
        column-gap: 0.875rem;
        row-gap: 0;
    }

    .header-con .header-contact {
        margin-left: auto;
        margin-right: 18px;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
    }
}

/* Homepage Hero */
.banner-outer-wrapper.home2-outer-banner-wrapper {
    background-image: url(../../images/nvx-header/nvx-bg-hero.jpg);
}

/* Hero background atmosphere â€” dims world map, adds depth */
.banner-outer-wrapper.home2-outer-banner-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 75% 70% at 50% 42%, rgba(6, 7, 34, 0.52) 0%, transparent 72%);
}

.banner-outer-wrapper.home2-outer-banner-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 99px,
            rgba(66, 151, 249, 0.018) 99px,
            rgba(66, 151, 249, 0.018) 100px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 99px,
            rgba(66, 151, 249, 0.018) 99px,
            rgba(66, 151, 249, 0.018) 100px
        ),
        radial-gradient(ellipse 55% 45% at 50% 45%, rgba(6, 7, 34, 0.04) 0%, transparent 72%),
        radial-gradient(ellipse 90% 45% at 50% 108%, rgba(35, 119, 216, 0.045) 0%, transparent 58%),
        radial-gradient(ellipse 40% 60% at 0% 50%, rgba(6, 7, 34, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 35% 60% at 100% 50%, rgba(6, 7, 34, 0.3) 0%, transparent 70%);
}

.banner-outer-wrapper.home2-outer-banner-wrapper .header-con,

/* ==========================================================================
   Neurovexa â€” Main navigation (mega Hosting + Company)
   Scoped under .header-con nav.nvx-nav
   Loaded after custom.css â€” overrides template dropdown conflicts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Stacking â€” header above hero / banner siblings
   -------------------------------------------------------------------------- */

.header-con,
.banner-outer-wrapper.home2-outer-banner-wrapper .header-con,
.banner-outer-wrapper.home3-outer-banner-wrapper .header-con {
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.header-con .navbar,
.header-con nav.nvx-nav,
.header-con .navbar-collapse,
.header-con nav.nvx-nav .navbar-nav,
.header-con nav.nvx-nav .nav-item.dropdown {
    overflow: visible;
}

.header-con nav.nvx-nav .nav-item.dropdown {
    position: static;
}

@media (min-width: 992px) {
    .header-con nav.nvx-nav .nav-item.dropdown {
        position: relative;
    }
}

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */

.header-con nav.nvx-nav {
    --nvx-nav-sky: #4297f9;
    --nvx-nav-cyan: #3de0f5;
    --nvx-nav-navy: #060722;
    --nvx-nav-glass: rgba(8, 12, 32, 0.97);
    --nvx-nav-glass-company: rgba(6, 8, 26, 0.98);
    --nvx-nav-border: rgba(66, 151, 249, 0.32);
}

/* --------------------------------------------------------------------------
   4. Template overrides â€” all nvx-nav dropdown menus / items
   -------------------------------------------------------------------------- */

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.show {
    width: auto !important;
    max-width: none;
    padding: 0 !important;
    margin-top: 10px !important;
    border: 0;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1001;
    overflow: visible;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu .dropdown-item,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu a.dropdown-item {
    width: auto !important;
    max-width: none;
    border-bottom: none !important;
    border-radius: 0;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu .dropdown-item::after,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu a.dropdown-item::after,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu .dropdown-item::before,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu a.dropdown-item::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu .dropdown-item:active,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu .dropdown-item:focus {
    outline: none;
}

.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu,
.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu,
.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.show,
.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.show,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show {
    z-index: 1001;
}

/* --------------------------------------------------------------------------
   2. Mega menu — fixed columns (beats template override specificity)
   -------------------------------------------------------------------------- */

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.show {
    width: min(640px, calc(100vw - 48px)) !important;
    min-width: min(640px, calc(100vw - 48px)) !important;
    max-width: min(640px, calc(100vw - 48px)) !important;
    padding: 20px 22px !important;
    margin-top: 10px !important;
    border: 1px solid var(--nvx-nav-border) !important;
    border-radius: 16px !important;
    background: var(--nvx-nav-glass) !important;
    box-shadow:
        0 0 0 1px rgba(61, 224, 245, 0.06),
        0 18px 40px rgba(0, 0, 0, 0.42) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    overflow: visible !important;
    line-height: normal !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-compact-mega,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-compact-mega.show {
    width: min(280px, calc(100vw - 48px)) !important;
    min-width: min(260px, calc(100vw - 48px)) !important;
    max-width: min(300px, calc(100vw - 48px)) !important;
    padding: 12px !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: start;
    box-sizing: border-box;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-section,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu section.nvx-mega-section {
    display: block !important;
    float: none !important;
    position: static !important;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    line-height: normal !important;
    overflow: visible !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-heading,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu h3.nvx-mega-heading {
    display: block !important;
    float: none !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35 !important;
    color: rgba(61, 224, 245, 0.9) !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-row {
    display: flex !important;
    align-items: center;
    gap: 12px;
    float: none !important;
    position: static !important;
    width: 100%;
    margin: 0 0 12px !important;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-row:last-child {
    margin-bottom: 0 !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-row:hover {
    background: rgba(66, 151, 249, 0.08);
    border-color: rgba(61, 224, 245, 0.2);
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-row-icon {
    flex: 0 0 28px;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px;
    background: rgba(66, 151, 249, 0.12);
    border: 1px solid rgba(66, 151, 249, 0.22);
    color: var(--nvx-nav-cyan) !important;
    font-size: 12px;
    line-height: 1 !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-row-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-row-title {
    display: block !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #fff !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-links {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0 !important;
    padding: 0 !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-links a {
    display: inline !important;
    float: none !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Inter, "Segoe UI", system-ui, sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.68) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-links a:hover,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-links a:focus-visible {
    color: var(--nvx-nav-cyan) !important;
    background: transparent !important;
    outline: none;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-links a::after,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-links a::before {
    display: none !important;
    content: none !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    float: none !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list-item:hover,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list-item:focus-visible {
    background: rgba(66, 151, 249, 0.1) !important;
    border-color: rgba(61, 224, 245, 0.28) !important;
    outline: none;
    color: inherit !important;
    transform: none !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list-item::after,
.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list-item::before {
    display: none !important;
    content: none !important;
}

.header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-list-item .nvx-mega-row-title {
    margin: 0 !important;
}

.header-con nav.nvx-nav .nvx-mega-menu .nvx-mega-item::after,
.header-con nav.nvx-nav .nvx-mega-menu .nvx-mega-item::before,
.header-con nav.nvx-nav .nvx-mega-menu .dropdown-item::after,
.header-con nav.nvx-nav .nvx-mega-menu .dropdown-item::before {
    display: none !important;
    content: none !important;
}

.header-con nav.nvx-nav .nvx-mega-menu .nvx-mega-item,
.header-con nav.nvx-nav .nvx-mega-menu a.nvx-mega-item {
    border-bottom: none !important;
}

/* --------------------------------------------------------------------------
   3. Company dropdown â€” compact vertical list
   -------------------------------------------------------------------------- */

.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu {
    min-width: 260px !important;
    width: auto !important;
    padding: 12px !important;
    border: 1px solid var(--nvx-nav-border) !important;
    background: var(--nvx-nav-glass-company) !important;
    box-shadow:
        0 0 0 1px rgba(61, 224, 245, 0.08),
        0 18px 44px rgba(0, 0, 0, 0.52) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    gap: 4px;
    transform: none;
}

/* Closed by default â€” Bootstrap .show / JS toggles visibility */
.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu:not(.show):not(.nvx-nav-closing),
.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu:not(.show):not(.nvx-nav-closing),
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu:not(.show):not(.nvx-nav-closing) {
    display: none !important;
}

.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.show,
.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.nvx-nav-closing {
    display: block !important;
}

.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.show,
.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.nvx-nav-closing,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.nvx-nav-closing {
    display: flex !important;
}

.header-con nav.nvx-nav .nvx-company-menu .dropdown-item {
    display: block;
    width: 100% !important;
    border-radius: 8px !important;
    border-bottom: none !important;
    padding: 12px 14px !important;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.94) !important;
    background: transparent !important;
    text-decoration: none !important;
    white-space: normal;
    word-break: normal;
}

.header-con nav.nvx-nav .nvx-company-menu .dropdown-item:hover,
.header-con nav.nvx-nav .nvx-company-menu .dropdown-item:focus,
.header-con nav.nvx-nav .nvx-company-menu .dropdown-item.active {
    background: rgba(66, 151, 249, 0.2) !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(61, 224, 245, 0.35);
}

.header-con nav.nvx-nav .nvx-company-menu .dropdown-item:active {
    background: rgba(66, 151, 249, 0.32) !important;
    color: #fff !important;
}

.header-con nav.nvx-nav .nvx-company-menu .dropdown-item::after,
.header-con nav.nvx-nav .nvx-company-menu .dropdown-item::before {
    display: none !important;
}

.header-con nav.nvx-nav .nvx-company-menu a:last-child {
    border-bottom: none !important;
}

/* --------------------------------------------------------------------------
   Open / close animation â€” only when visible (.show / .nvx-nav-closing)
   -------------------------------------------------------------------------- */

.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.show {
    animation: nvx-nav-dropdown-in 0.28s ease;
}

.header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.nvx-nav-closing {
    animation: nvx-nav-dropdown-out 0.22s ease forwards;
}

.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.show,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show,
.header-con .header-contact .dropdown-menu.nvx-account-menu.show {
    animation: nvx-nav-company-in 0.26s ease;
}

.header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.nvx-nav-closing,
.header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.nvx-nav-closing,
.header-con .header-contact .dropdown-menu.nvx-account-menu.nvx-nav-closing {
    animation: nvx-nav-company-out 0.2s ease forwards;
}

@keyframes nvx-nav-dropdown-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes nvx-nav-dropdown-out {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }
}

@keyframes nvx-nav-company-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nvx-nav-company-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(6px);
    }
}

/* --------------------------------------------------------------------------
   Desktop — 3 columns at 1100px+
   -------------------------------------------------------------------------- */

@media (min-width: 1100px) {
    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 28px;
    }

    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu,
    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.show {
        width: min(720px, calc(100vw - 48px)) !important;
        min-width: min(720px, calc(100vw - 48px)) !important;
        max-width: min(720px, calc(100vw - 48px)) !important;
        padding: 22px 24px !important;
    }

    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-compact-mega,
    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-compact-mega.show {
        width: min(280px, calc(100vw - 48px)) !important;
        min-width: min(260px, calc(100vw - 48px)) !important;
        max-width: min(300px, calc(100vw - 48px)) !important;
        padding: 12px !important;
    }
}

/* --------------------------------------------------------------------------
   Mobile / tablet collapse — preserve stacked static menus
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .header-con nav.nvx-nav .nav-item.dropdown {
        position: static;
    }

    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu,
    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.show {
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        left: 0 !important;
        transform: none !important;
        margin-top: 8px !important;
        padding: 16px !important;
        position: static !important;
        float: none !important;
        max-height: min(55vh, 380px);
        overflow-y: auto;
    }

    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu .nvx-mega-section + .nvx-mega-section {
        border-top: 1px solid rgba(66, 151, 249, 0.14) !important;
        padding-top: 16px !important;
    }

    .header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.show {
        animation: nvx-nav-company-in 0.26s ease;
    }

    .header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.nvx-nav-closing {
        animation: nvx-nav-company-out 0.2s ease forwards;
    }

    .header-con nav.nvx-nav .dropdown-menu.nvx-company-menu {
        position: static !important;
        float: none !important;
        min-width: 0 !important;
        width: 100% !important;
        transform: none !important;
        padding: 10px !important;
    }

    .header-con nav.nvx-nav .nvx-company-menu .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        color: rgba(255, 255, 255, 0.94) !important;
    }

    /* Override responsive.css navy text on collapsed nav */
    .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.94) !important;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .header-con nav.nvx-nav .nvx-mega-list-item,
    .header-con nav.nvx-nav .nvx-mega-links a {
        transition: none;
    }

    .header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.show,
    .header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.show,
    .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show,
    .header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu.nvx-nav-closing,
    .header-con nav.nvx-nav .dropdown-menu.nvx-company-menu.nvx-nav-closing,
    .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.nvx-nav-closing {
        animation: none;
    }


/* Responsive header (from landing responsive.css @max-width 991.98px) */
@media (max-width: 991.98px) {
    .header-con .navbar-brand img {
        height: 74px;
        width: auto;
        max-width: 292px;
    }

    .navbar-toggler {
        top: 60%;
        right: 0;
        padding: 0;
        width: 32px;
        border: none;
        position: absolute;
        transform: translateY(-65%);
    }

    .navbar-light .navbar-brand {
        margin-left: 20px;
    }

    .header-con .navbar-expand-lg .navbar-nav {
        gap: 4px;
        margin-right: 0;
        padding: 10px 20px;
        align-items: start;
    }

    .header-con .navbar-light .navbar-nav .dropdown .nav-link::after {
        position: static !important;
        top: auto !important;
        margin-left: 0.4rem !important;
    }

    .header-con .navbar-nav li {
        margin-left: 0;
        padding-bottom: 0;
        margin-right: 0;
        width: 100%;
        cursor: pointer;
    }

    .header-con .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
        line-height: 22px;
        color: var(--secondary--color);
        padding: 8px 0 !important;
    }

    .header-con .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-toggler-icon {
        width: 100%;
        height: 2px;
        display: block;
        margin: 5px 0;
        background: var(--primary--color);
        transition: all ease-in-out 0.3s;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler .navbar-toggler-icon:nth-child(1),
    .navbar-toggler .navbar-toggler-icon:nth-child(3) {
        width: 75%;
        margin-left: auto;
    }

    .navbar-toggler:not(.collapsed) .navbar-toggler-icon:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        width: 100%;
    }

    .navbar-toggler:not(.collapsed) .navbar-toggler-icon:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler:not(.collapsed) .navbar-toggler-icon:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        width: 100%;
    }

    .navbar-collapse.collapse,
    .navbar-collapse.collapsing {
        width: 100%;
        right: 0;
        top: 60px;
        z-index: 999;
        position: absolute;
        background-color: rgba(6, 7, 34, 0.97);
        border-radius: 5px;
    }

    .header-con {
        padding: 12px 0;
    }

    .header-con .header-contact {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .header-con .navbar-brand img {
        height: 58px;
        max-width: 220px;
    }

    .header-con .header-contact a.live-chat {
        min-width: 90px;
        height: 40px;
        line-height: 38px;
        font-size: 14px;
    }
}


/* ==========================================================================
   Panel bridge only — Velzon neutralization + dashboard tools in header-contact
   Does not alter landing header design tokens or layout.
   ========================================================================== */

.nvx-customer-app .menu-wrapper {
    position: relative;
    z-index: 1100;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.nvx-customer-app #layout-wrapper::before,
.nvx-customer-app .wrapper-images {
    display: none !important;
    content: none;
}

/* Kill Velzon #page-topbar chrome (border / fixed / shadow) */
.nvx-customer-app #page-topbar {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.nvx-customer-app .main-content {
    margin-top: 0 !important;
    padding-top: 1.25rem !important;
    position: relative;
    z-index: 1;
}

.nvx-customer-app .page-content {
    padding-top: 0 !important;
}

/* Header strip — transparent over page bg (like landing), no separator line */
.nvx-customer-app .banner-outer-wrapper.home2-outer-banner-wrapper.nvx-panel-topbar,
.nvx-customer-app .nvx-panel-topbar {
    float: none !important;
    width: 100%;
    position: relative;
    z-index: 1100;
    overflow: visible !important;
    line-height: normal;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.nvx-customer-app .banner-outer-wrapper.home2-outer-banner-wrapper.nvx-panel-topbar::before,
.nvx-customer-app .banner-outer-wrapper.home2-outer-banner-wrapper.nvx-panel-topbar::after,
.nvx-customer-app .nvx-panel-topbar::before,
.nvx-customer-app .nvx-panel-topbar::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.nvx-customer-app .banner-outer-wrapper.home2-outer-banner-wrapper.nvx-panel-topbar #page-topbar,
.nvx-customer-app .nvx-panel-topbar .header-con,
.nvx-customer-app .nvx-panel-topbar #page-topbar.header-con {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    height: auto !important;
    float: none !important;
    width: 100% !important;
    line-height: normal;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    overflow: visible !important;
    z-index: 1100;
}

/* Kill Velzon topbar border/shadow on every data-topbar variant */
.nvx-customer-app #page-topbar,
.nvx-customer-app #layout-wrapper #page-topbar,
html[data-topbar] .nvx-customer-app #page-topbar,
html[data-layout="horizontal"] .nvx-customer-app #page-topbar {
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-mega-menu,
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-company-menu,
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu {
    z-index: 1200 !important;
}

/* Dashboard tools + account — scoped to panel topbar (not body.nvx-customer-app alone) */
.nvx-panel-topbar .header-con .header-contact > ul,
.nvx-panel-topbar .header-con .header-contact > ul.nvx-header-tools,
.nvx-customer-app .header-con .header-contact > ul,
.nvx-customer-app .header-con .header-contact > ul.nvx-header-tools {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nvx-panel-topbar .header-con .header-contact > ul > li,
.nvx-customer-app .header-con .header-contact > ul > li {
    flex: 0 0 auto !important;
    position: relative !important;
    list-style: none !important;
    align-self: center !important;
}

.nvx-panel-topbar .header-con .header-contact a.nvx-tool-icon,
.nvx-customer-app .header-con .header-contact a.nvx-tool-icon {
    min-width: 45px !important;
    width: 45px !important;
    max-width: 45px !important;
    height: 45px !important;
    line-height: 45px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(6, 7, 34, 0.9) !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.1);
    text-align: center !important;
}

.nvx-panel-topbar .header-con .header-contact a.nvx-tool-icon i,
.nvx-customer-app .header-con .header-contact a.nvx-tool-icon i {
    margin: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    background: transparent !important;
    color: #fff !important;
    position: static !important;
    right: auto !important;
    border-radius: 0 !important;
    font-size: 15px !important;
}

.nvx-panel-topbar .header-con .header-contact a.nvx-tool-icon:hover,
.nvx-customer-app .header-con .header-contact a.nvx-tool-icon:hover {
    background-color: rgba(32, 42, 96, 0.95) !important;
    border-color: rgba(34, 211, 238, 0.5) !important;
    box-shadow:
        0 0 18px rgba(168, 85, 247, 0.22),
        0 0 28px rgba(66, 151, 249, 0.14);
}

/* Avatar-only trigger — reference: round chip, no name pill */
.nvx-panel-topbar .header-con .header-contact > ul > li.nvx-profile-dropdown,
.nvx-customer-app .header-con .header-contact > ul > li.nvx-profile-dropdown {
    position: relative !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    overflow: visible !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger,
.nvx-panel-topbar .header-con .header-contact button.nvx-account-trigger,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger,
.nvx-customer-app .header-con .header-contact button.nvx-account-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 42px !important;
    max-height: 42px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer !important;
    overflow: visible !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font: inherit !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger:hover,
.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger:focus-visible,
.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger[aria-expanded="true"],
.nvx-customer-app .header-con .header-contact .nvx-account-trigger:hover,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger:focus-visible,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger[aria-expanded="true"] {
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger:hover .nvx-account-trigger-img,
.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger:focus-visible .nvx-account-trigger-img,
.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger[aria-expanded="true"] .nvx-account-trigger-img,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger:hover .nvx-account-trigger-img,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger:focus-visible .nvx-account-trigger-img,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger[aria-expanded="true"] .nvx-account-trigger-img {
    box-shadow: 0 0 0 2px rgba(61, 224, 245, 0.45) !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger::after,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger::after {
    display: none !important;
    content: none !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger-img,
.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger img.nvx-account-trigger-img,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger-img,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger img.nvx-account-trigger-img {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 1px solid rgba(61, 224, 245, 0.4) !important;
    vertical-align: middle !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transition: box-shadow 0.2s ease;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger-name,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger-name {
    display: none !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-trigger-caret,
.nvx-customer-app .header-con .header-contact .nvx-account-trigger-caret {
    display: inline-block !important;
    position: static !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 9px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    border-radius: 0 !important;
    flex: 0 0 auto !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-header-badge,
.nvx-customer-app .header-con .header-contact .nvx-header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
}

/* Floating account panel — out of flex flow; closed never layout */
.nvx-panel-topbar .header-con .header-contact .dropdown-menu.nvx-account-menu,
.nvx-panel-topbar .header-con .header-contact .dropdown-menu.nvx-account-menu.show,
.nvx-panel-topbar .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu,
.nvx-panel-topbar .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show,
.nvx-customer-app .header-con .header-contact .dropdown-menu.nvx-account-menu,
.nvx-customer-app .header-con .header-contact .dropdown-menu.nvx-account-menu.show,
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu,
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    float: none !important;
    width: min(320px, calc(100vw - 24px)) !important;
    min-width: 280px !important;
    max-width: 340px !important;
    height: auto !important;
    max-height: min(70vh, 560px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 14px !important;
    z-index: 1300 !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid var(--nvx-nav-border, rgba(66, 151, 249, 0.28)) !important;
    border-radius: 16px !important;
    background: var(--nvx-nav-glass-company, rgba(8, 14, 36, 0.94)) !important;
    box-shadow:
        0 0 0 1px rgba(61, 224, 245, 0.08),
        0 18px 44px rgba(0, 0, 0, 0.52) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nvx-panel-topbar .header-con .header-contact .dropdown-menu.nvx-account-menu:not(.show):not(.nvx-nav-closing),
.nvx-panel-topbar .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu:not(.show):not(.nvx-nav-closing),
.nvx-customer-app .header-con .header-contact .dropdown-menu.nvx-account-menu:not(.show):not(.nvx-nav-closing),
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu:not(.show):not(.nvx-nav-closing) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nvx-panel-topbar .header-con .header-contact .dropdown-menu.nvx-account-menu.show,
.nvx-panel-topbar .header-con .header-contact .dropdown-menu.nvx-account-menu.nvx-nav-closing,
.nvx-panel-topbar .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show,
.nvx-panel-topbar .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.nvx-nav-closing,
.nvx-customer-app .header-con .header-contact .dropdown-menu.nvx-account-menu.show,
.nvx-customer-app .header-con .header-contact .dropdown-menu.nvx-account-menu.nvx-nav-closing,
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.show,
.nvx-customer-app .header-con nav.nvx-nav .dropdown-menu.nvx-account-menu.nvx-nav-closing {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Neutralize landing .header-contact a rules inside the floating panel */
.nvx-panel-topbar .header-con .header-contact .nvx-account-menu a,
.nvx-customer-app .header-con .header-contact .nvx-account-menu a {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.35 !important;
    text-align: left !important;
    border-radius: 8px !important;
    padding: 9px 10px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-menu a i,
.nvx-customer-app .header-con .header-contact .nvx-account-menu a i {
    position: static !important;
    right: auto !important;
    width: 16px !important;
    height: auto !important;
    line-height: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: rgba(61, 224, 245, 0.85) !important;
}

.nvx-panel-topbar .header-con .header-contact .nvx-account-menu .nvx-account-cta,
.nvx-customer-app .header-con .header-contact .nvx-account-menu .nvx-account-cta {
    text-align: center !important;
    justify-content: center !important;
}

.nvx-customer-app .header-con .nvx-nav-group-label {
    padding: 10px 14px 4px;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3de0f5;
    opacity: 0.9;
}

/* Top-nav polish — SaaS hierarchy without layout shifts */
.nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link {
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.88) !important;
    transition: color 0.2s ease;
}

/* Compact centered nav cluster — panel header */
@media (min-width: 992px) {
    .nvx-customer-app .header-con .navbar-expand-lg .navbar-nav,
    .nvx-panel-topbar .header-con .navbar-expand-lg .navbar-nav,
    .header-con nav.nvx-nav .navbar-nav {
        gap: 0.875rem !important;
        column-gap: 0.875rem !important;
        width: max-content !important;
    }

    .nvx-customer-app .header-con .navbar-collapse,
    .nvx-panel-topbar .header-con .navbar-collapse {
        width: max-content;
        max-width: calc(100% - 420px);
    }

    .nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link,
    .nvx-panel-topbar .header-con .navbar-light .navbar-nav .nav-link,
    .header-con nav.nvx-nav .navbar-nav .nav-link {
        height: 40px;
        padding: 0 0.15rem !important;
        gap: 0;
    }

    .nvx-customer-app .header-con .navbar-expand-lg .navbar-nav > .nav-item,
    .nvx-panel-topbar .header-con .navbar-expand-lg .navbar-nav > .nav-item,
    .header-con nav.nvx-nav .navbar-nav > .nav-item {
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto;
    }
}

.nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link::before {
    background: #3de0f5 !important;
    height: 2px;
    border-radius: 1px;
}

.nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link:hover,
.nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link.active,
.nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link:focus-visible {
    color: #3de0f5 !important;
}

.nvx-customer-app .header-con .navbar-light .navbar-nav .nav-link:focus-visible {
    outline: 2px solid rgba(61, 224, 245, 0.55);
    outline-offset: 6px;
    border-radius: 4px;
}

.nvx-customer-app .header-con .navbar-light .navbar-nav .dropdown .nav-link::after,
.nvx-customer-app .header-con .navbar-light .navbar-nav .dropdown-toggle::after,
.nvx-panel-topbar .header-con .navbar-light .navbar-nav .dropdown .nav-link::after,
.nvx-panel-topbar .header-con .navbar-light .navbar-nav .dropdown-toggle::after,
.header-con nav.nvx-nav .navbar-nav .dropdown .nav-link::after,
.header-con nav.nvx-nav .navbar-nav .dropdown-toggle::after {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    margin-left: 0.4rem !important;
    margin-right: 0 !important;
    border: 0 !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: translateY(-1px) rotate(45deg);
    transition: transform 0.2s ease;
    vertical-align: middle;
    background: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    font-size: 0 !important;
}

.nvx-customer-app .header-con .navbar-light .navbar-nav .dropdown.show > .nav-link::after,
.nvx-customer-app .header-con .navbar-light .navbar-nav .dropdown .nav-link[aria-expanded="true"]::after,
.nvx-panel-topbar .header-con .navbar-light .navbar-nav .dropdown.show > .nav-link::after,
.nvx-panel-topbar .header-con .navbar-light .navbar-nav .dropdown .nav-link[aria-expanded="true"]::after,
.header-con nav.nvx-nav .navbar-nav .dropdown.show > .nav-link::after,
.header-con nav.nvx-nav .navbar-nav .dropdown .nav-link[aria-expanded="true"]::after {
    transform: translateY(1px) rotate(225deg);
}

.nvx-customer-app .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-products-menu {
    max-height: min(60vh, 420px);
    overflow-y: auto;
}

.nvx-customer-app .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-compact-mega {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
}

@media (max-width: 991.98px) {
    .nvx-customer-app .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-products-menu,
    .nvx-customer-app .header-con nav.nvx-nav.navbar-light .navbar-nav .dropdown-menu.nvx-mega-menu.nvx-compact-mega {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        left: 0 !important;
        transform: none !important;
    }
}

.nvx-customer-app .header-con .nvx-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px 12px;
    border-bottom: 1px solid rgba(66, 151, 249, 0.2);
    margin-bottom: 6px;
}

.nvx-customer-app .header-con .nvx-profile-meta strong {
    color: #fff;
    font-size: 14px;
}

.nvx-customer-app .header-con .nvx-profile-meta span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    word-break: break-all;
}

/* Account Center — reference structure: head / CTA / flat list / logout */
.nvx-panel-topbar .header-con .nvx-account-head,
.nvx-customer-app .header-con .nvx-account-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 36px 14px 2px;
}

.nvx-panel-topbar .header-con .nvx-account-close,
.nvx-customer-app .header-con .nvx-account-close {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.nvx-panel-topbar .header-con .nvx-account-close:hover,
.nvx-panel-topbar .header-con .nvx-account-close:focus-visible,
.nvx-customer-app .header-con .nvx-account-close:hover,
.nvx-customer-app .header-con .nvx-account-close:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.nvx-panel-topbar .header-con .nvx-account-close i,
.nvx-customer-app .header-con .nvx-account-close i {
    position: static !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: inherit !important;
    font-size: 14px;
}

.nvx-panel-topbar .header-con .nvx-account-head-img,
.nvx-panel-topbar .header-con .nvx-account-menu img.nvx-account-head-img,
.nvx-customer-app .header-con .nvx-account-head-img,
.nvx-customer-app .header-con .nvx-account-menu img.nvx-account-head-img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid rgba(61, 224, 245, 0.35);
    flex: 0 0 48px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nvx-panel-topbar .header-con .nvx-account-head-copy,
.nvx-customer-app .header-con .nvx-account-head-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.nvx-panel-topbar .header-con .nvx-account-head-copy strong,
.nvx-customer-app .header-con .nvx-account-head-copy strong {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.nvx-panel-topbar .header-con .nvx-account-head-copy span,
.nvx-customer-app .header-con .nvx-account-head-copy span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    word-break: break-word;
    line-height: 1.35;
}

.nvx-panel-topbar .header-con .nvx-account-kd,
.nvx-customer-app .header-con .nvx-account-kd {
    color: rgba(61, 224, 245, 0.85) !important;
    font-size: 12px !important;
}

.nvx-panel-topbar .header-con .nvx-account-cta,
.nvx-customer-app .header-con .nvx-account-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 11px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(61, 224, 245, 0.5) !important;
    background: rgba(66, 151, 249, 0.12) !important;
    color: #3de0f5 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nvx-panel-topbar .header-con .nvx-account-cta:hover,
.nvx-panel-topbar .header-con .nvx-account-cta:focus-visible,
.nvx-customer-app .header-con .nvx-account-cta:hover,
.nvx-customer-app .header-con .nvx-account-cta:focus-visible {
    background: rgba(66, 151, 249, 0.22) !important;
    border-color: rgba(61, 224, 245, 0.75) !important;
    color: #fff !important;
}

.nvx-panel-topbar .header-con .nvx-account-list,
.nvx-customer-app .header-con .nvx-account-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 4px 0;
}

.nvx-panel-topbar .header-con .nvx-account-cta::before,
.nvx-panel-topbar .header-con .nvx-account-cta::after,
.nvx-panel-topbar .header-con .nvx-account-link::before,
.nvx-panel-topbar .header-con .nvx-account-link::after,
.nvx-panel-topbar .header-con .nvx-account-logout::before,
.nvx-panel-topbar .header-con .nvx-account-logout::after,
.nvx-customer-app .header-con .nvx-account-cta::before,
.nvx-customer-app .header-con .nvx-account-cta::after,
.nvx-customer-app .header-con .nvx-account-link::before,
.nvx-customer-app .header-con .nvx-account-link::after,
.nvx-customer-app .header-con .nvx-account-logout::before,
.nvx-customer-app .header-con .nvx-account-logout::after {
    display: none !important;
    content: none !important;
}

.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-link,
.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-logout,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-link,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-logout {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-link i,
.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-logout i,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-link i,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-logout i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    right: auto !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: rgba(61, 224, 245, 0.9) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    flex: 0 0 18px !important;
    text-align: center;
}

.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-link:hover,
.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-link:focus-visible,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-link:hover,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-link:focus-visible {
    background: rgba(66, 151, 249, 0.14) !important;
    color: #fff !important;
    box-shadow: 0 0 0 1px rgba(61, 224, 245, 0.12) !important;
}

.nvx-panel-topbar .header-con .nvx-account-footer,
.nvx-customer-app .header-con .nvx-account-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(66, 151, 249, 0.2);
}

.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-logout,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-logout {
    color: rgba(248, 113, 113, 0.95) !important;
}

.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-logout i,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-logout i {
    color: rgba(248, 113, 113, 0.95) !important;
}

.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-logout:hover,
.nvx-panel-topbar .header-con .nvx-account-menu a.nvx-account-logout:focus-visible,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-logout:hover,
.nvx-customer-app .header-con .nvx-account-menu a.nvx-account-logout:focus-visible {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #fecaca !important;
    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .nvx-panel-topbar .header-con .header-contact,
    .nvx-customer-app .header-con .header-contact {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        margin-left: auto !important;
    }

    .nvx-panel-topbar .header-con .header-contact > ul.nvx-header-tools,
    .nvx-customer-app .header-con .header-contact > ul.nvx-header-tools {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .nvx-panel-topbar .header-con .header-contact > ul.nvx-header-tools > li,
    .nvx-customer-app .header-con .header-contact > ul.nvx-header-tools > li {
        width: auto !important;
        max-width: none !important;
    }

    .nvx-panel-topbar .header-con .header-contact .dropdown-menu.nvx-account-menu,
    .nvx-customer-app .header-con .header-contact .dropdown-menu.nvx-account-menu {
        right: 0 !important;
        left: auto !important;
        width: min(320px, calc(100vw - 24px)) !important;
        position: absolute !important;
    }
}

