/* ============================================
   NOVENIX - Parent Brand Custom Styles
   Technology Group - Aerospace, Defense & Innovation
   Color Palette: Dark Teal #005663, Green #379e72, Bright Green #30d996
   ============================================ */

/* --- Color Palette (aligned with skin-one-page-agency.css) --- */
:root {
    --nvx-primary: #ffffff;
    --nvx-secondary: #f7faf9;
    --nvx-accent: #005663;
    --nvx-accent-light: #379e72;
    --nvx-gold: #30d996;
    --nvx-text: #0b1a1c;
    --nvx-text-muted: #4a5d60;
    --nvx-surface: #ffffff;
    --nvx-card-bg: #ffffff;
    --nvx-gradient: linear-gradient(135deg, #005663 0%, #30d996 100%);
    --nvx-glow: rgba(0, 86, 99, 0.08);
}

/* --- Hero Section --- */
.nvx-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, #f7faf9 0%, #eaf6f0 40%, #dff0ec 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.nvx-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 15% 45%, rgba(0, 86, 99, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(48, 217, 150, 0.04) 0%, transparent 45%);
    pointer-events: none;
}

.nvx-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.nvx-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--nvx-accent);
    border-radius: 50%;
    opacity: 0;
    animation: nvx-float 8s infinite ease-in-out;
}

.nvx-particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.nvx-particle:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.nvx-particle:nth-child(3) {
    left: 45%;
    top: 30%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.nvx-particle:nth-child(4) {
    left: 60%;
    top: 70%;
    animation-delay: 3s;
    animation-duration: 8s;
}

.nvx-particle:nth-child(5) {
    left: 75%;
    top: 15%;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.nvx-particle:nth-child(6) {
    left: 85%;
    top: 50%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.nvx-particle:nth-child(7) {
    left: 35%;
    top: 80%;
    animation-delay: 2.5s;
    animation-duration: 9s;
}

.nvx-particle:nth-child(8) {
    left: 55%;
    top: 10%;
    animation-delay: 0.5s;
    animation-duration: 11s;
}

.nvx-particle:nth-child(9) {
    left: 90%;
    top: 85%;
    animation-delay: 3.5s;
    animation-duration: 6s;
}

.nvx-particle:nth-child(10) {
    left: 15%;
    top: 45%;
    animation-delay: 5s;
    animation-duration: 8s;
}

@keyframes nvx-float {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    25% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.2;
        transform: translateY(-40px) scale(1.5);
    }

    75% {
        opacity: 0.4;
    }
}

.nvx-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.nvx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 86, 99, 0.06);
    border: 1px solid rgba(0, 86, 99, 0.15);
    border-radius: 30px;
    color: var(--nvx-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.nvx-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--nvx-accent-light);
    border-radius: 50%;
    animation: nvx-pulse 2s infinite;
}

@keyframes nvx-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 86, 99, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(0, 86, 99, 0);
    }
}

.nvx-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--nvx-text);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.nvx-hero h1 .nvx-text-gradient {
    background: var(--nvx-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nvx-hero-desc {
    font-size: 1.25rem;
    color: var(--nvx-text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.nvx-hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    opacity: 0.08;
    pointer-events: none;
}

/* --- Buttons --- */
.nvx-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--nvx-gradient);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 86, 99, 0.2);
    position: relative;
    overflow: hidden;
}

.nvx-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nvx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 86, 99, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.nvx-btn-primary:hover::after {
    left: 100%;
}

.nvx-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: transparent;
    color: var(--nvx-accent);
    border: 2px solid rgba(0, 86, 99, 0.25);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nvx-btn-outline:hover {
    background: rgba(0, 86, 99, 0.05);
    border-color: var(--nvx-accent);
    color: var(--nvx-accent);
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- Section Titles --- */
.nvx-section {
    padding: 100px 0;
}

.nvx-section-dark {
    background: var(--nvx-secondary);
}

.nvx-section-darker {
    background: linear-gradient(180deg, #eef5f3 0%, var(--nvx-primary) 100%);
}

.nvx-section-gradient {
    background: linear-gradient(135deg, var(--nvx-primary) 0%, var(--nvx-secondary) 100%);
}

.nvx-section-dark-green {
    background: linear-gradient(135deg, #005663 0%, #003a43 100%);
    position: relative;
}

.nvx-section-dark-green .nvx-section-title {
    color: #ffffff !important;
}

.nvx-section-dark-green .nvx-section-subtitle,
.nvx-section-dark-green p {
    color: rgba(255, 255, 255, 0.75) !important;
}

.nvx-section-dark-green ul li {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nvx-section-dark-green .nvx-label {
    color: var(--nvx-gold) !important;
}

.nvx-section-dark-green .nvx-label::before {
    background: var(--nvx-gold) !important;
}



.nvx-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--nvx-accent-light);
    margin-bottom: 1rem;
}

.nvx-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--nvx-gradient);
}

.nvx-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--nvx-text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.nvx-section-subtitle {
    font-size: 1.1rem;
    color: var(--nvx-text-muted);
    line-height: 1.7;
    max-width: 600px;
}

/* --- Generic Glass Cards (Dark Mode) --- */
.nvx-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
}

.nvx-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--nvx-accent);
    transition: all 0.2s ease;
    z-index: 1;
}

.nvx-glass-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.nvx-glass-card:hover::before {
    background: var(--nvx-gradient);
}

.nvx-glass-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.nvx-glass-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.nvx-glass-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--nvx-gold);
    transition: all 0.3s;
}

.nvx-glass-card:hover .nvx-glass-icon {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}

.nvx-glass-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nvx-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.nvx-glass-link:hover {
    color: #ffffff;
    gap: 10px;
    text-decoration: none;
}

/* --- Sector Cards (White Layout) --- */
.nvx-sector-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 86, 99, 0.06);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.nvx-sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nvx-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.nvx-sector-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 86, 99, 0.15);
    box-shadow: 0 16px 40px rgba(0, 86, 99, 0.06);
}

.nvx-sector-card:hover::before {
    opacity: 1;
}

.nvx-sector-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 86, 99, 0.06);
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--nvx-accent);
    transition: all 0.3s;
}

.nvx-sector-card:hover .nvx-sector-icon {
    background: rgba(0, 86, 99, 0.1);
    transform: scale(1.08);
}

.nvx-sector-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--nvx-text);
    margin-bottom: 12px;
}

.nvx-sector-card p {
    font-size: 0.95rem;
    color: var(--nvx-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.nvx-sector-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nvx-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.nvx-sector-link:hover {
    color: var(--nvx-accent-light);
    gap: 10px;
    text-decoration: none;
}

/* --- Stats --- */
.nvx-stats {
    background: linear-gradient(135deg, #005663 0%, #003a43 100%);
    padding: 80px 0;
    position: relative;
}

.nvx-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(48, 217, 150, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(55, 158, 114, 0.06) 0%, transparent 50%);
}

.nvx-stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.nvx-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #30d996, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.nvx-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- About/Vision --- */
.nvx-vision-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.nvx-vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.nvx-vision-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 86, 99, 0.12) 0%, transparent 60%);
    border-radius: 16px;
}

/* --- Capabilities --- */
.nvx-capability-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 86, 99, 0.06);
    background: #ffffff;
    transition: all 0.3s;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.nvx-capability-item:hover {
    background: #ffffff;
    border-color: rgba(0, 86, 99, 0.15);
    box-shadow: 0 8px 25px rgba(0, 86, 99, 0.05);
    transform: translateY(-2px);
}

.nvx-capability-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 86, 99, 0.06);
    border-radius: 10px;
    color: var(--nvx-accent);
    font-size: 1.2rem;
}

.nvx-capability-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nvx-text);
    margin-bottom: 6px;
}

.nvx-capability-item p {
    font-size: 0.9rem;
    color: var(--nvx-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- CTA Section --- */
.nvx-cta {
    position: relative;
    background: linear-gradient(135deg, #005663 0%, #003a43 100%);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.nvx-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(48, 217, 150, 0.08), transparent 70%);
    pointer-events: none;
}

.nvx-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.nvx-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.nvx-cta .nvx-btn-primary {
    background: linear-gradient(135deg, #30d996, #379e72);
    box-shadow: 0 4px 20px rgba(48, 217, 150, 0.3);
}

.nvx-cta .nvx-btn-primary:hover {
    box-shadow: 0 8px 30px rgba(48, 217, 150, 0.4);
}

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

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

.nvx-cta .nvx-label {
    color: #30d996;
}

.nvx-cta .nvx-label::before {
    background: #30d996;
}

/* --- Novenix Navbar Override --- */
#header.nvx-header {
    transition: transform 0.3s ease !important;
}

#header.nvx-header.nvx-header-hidden {
    transform: translateY(-100%) !important;
}

#header.nvx-header .header-body {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

html.sticky-header-active #header.nvx-header .header-body {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 86, 99, 0.06) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02) !important;
}

/* Nav Link Default styles (applies to inner pages and homepage sticky state) */
#header.nvx-header .nav-link,
#header.nvx-header .header-nav-main nav>ul>li>a {
    color: var(--nvx-text) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

#header.nvx-header .nav-link:hover,
#header.nvx-header .nav-link.active,
#header.nvx-header .header-nav-main nav>ul>li>a:hover,
#header.nvx-header .header-nav-main nav>ul>li:hover>a,
#header.nvx-header .header-nav-main nav>ul>li.open>a,
#header.nvx-header .header-nav-main nav>ul>li.active>a {
    background: rgba(0, 86, 99, 0.04) !important;
    color: var(--nvx-text) !important;
}

/* Homepage non-sticky transparent state: white links */
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .nav-link,
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .header-nav-main nav>ul>li>a {
    color: #ffffff !important;
}

html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .nav-link:hover,
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .nav-link.active,
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .header-nav-main nav>ul>li>a:hover,
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .header-nav-main nav>ul>li:hover>a,
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .header-nav-main nav>ul>li.open>a,
html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .header-nav-main nav>ul>li.active>a {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

/* Remove the dark border-bottom pseudo-element on dropdown parent */
#header.nvx-header .header-nav-main nav>ul>li.dropdown:hover>a:before,
#header.nvx-header .header-nav-main nav>ul>li.dropdown.open>a:before,
#header.nvx-header .header-nav-main nav>ul>li.dropdown.accessibility-open>a:before {
    display: none !important;
}

/* Dropdown menu container */
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(0, 86, 99, 0.08) !important;
    border-top: 3px solid var(--nvx-accent) !important;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 12px 35px rgba(0, 86, 99, 0.1) !important;
    padding: 8px 0 !important;
    min-width: 220px !important;
}

/* Dropdown links */
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a {
    color: var(--nvx-text-muted) !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-bottom: none !important;
    transition: all 0.25s ease !important;
    background: transparent !important;
}

/* Dropdown links hover */
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a:hover,
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a:focus,
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li:hover>a,
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li:focus>a,
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li.active>a {
    background: rgba(0, 86, 99, 0.04) !important;
    color: var(--nvx-accent) !important;
    padding-left: 24px !important;
}

/* Remove last-child border rules */
#header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li:last-child a {
    border-bottom: none !important;
}

/* --- Footer Override --- */
.nvx-footer {
    background: #0b1a1c !important;
    border-top: none !important;
    margin-top: 0 !important;
}

.main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.nvx-footer .footer-copyright {
    background: #0b1a1c !important;
}

.nvx-footer p,
.nvx-footer span,
.nvx-footer a {
    color: rgba(255, 255, 255, 0.5) !important;
}

.nvx-footer a:hover {
    color: #30d996 !important;
}

.nvx-footer .social-icons a {
    color: rgba(255, 255, 255, 0.4) !important;
}

.nvx-footer .social-icons a:hover {
    color: #30d996 !important;
}

/* --- Grid Lines (decorative) --- */
.nvx-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 86, 99, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 86, 99, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* --- Page Header (inner pages) --- */
.nvx-page-header {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, #f7faf9 0%, #eaf6f0 40%, #dff0ec 100%);
    position: relative;
    overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 991px) {

    /* Mobile Navigation Container background & padding */
    #header.nvx-header .header-nav-main nav {
        background: linear-gradient(135deg, #005663 0%, #063c45 100%) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(48, 217, 150, 0.25) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
        padding: 20px !important;
        margin-top: 15px !important;
    }

    /* Force mobile nav links to be white on dark background */
    #header.nvx-header .header-nav-main nav>ul>li>a,
    #header.nvx-header .header-nav-main nav ul li a,
    #header.nvx-header .nav-link,
    html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .header-nav-main nav>ul>li>a,
    html:not(.sticky-header-active) body.nvx-home-page #header.nvx-header .nav-link {
        color: #ffffff !important;
        background: transparent !important;
        padding: 12px 18px !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        transition: all 0.25s ease !important;
    }

    /* Mobile active/hover state for links */
    #header.nvx-header .header-nav-main nav>ul>li>a:hover,
    #header.nvx-header .header-nav-main nav>ul>li>a.active,
    #header.nvx-header .header-nav-main nav>ul>li:hover>a,
    #header.nvx-header .header-nav-main nav ul li a:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #30d996 !important;
    }

    /* Mobile dropdown submenus styling */
    #header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        margin-top: 5px !important;
    }

    /* Dropdown links in mobile with a premium line indicator */
    #header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.85) !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        padding: 8px 10px !important;
        font-size: 0.95rem !important;
    }

    #header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a::before {
        content: "—" !important;
        color: var(--nvx-gold, #30d996) !important;
        margin-right: 10px !important;
        font-weight: bold !important;
        transition: transform 0.25s ease !important;
    }

    #header.nvx-header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a:hover::before {
        transform: translateX(4px) !important;
        color: #ffffff !important;
    }

    /* Prevent mobile menu button from overlapping logo */
    #header.nvx-header .header-btn-collapse-nav {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    /* Hero section padding-top and layout adjustment to prevent menu/logo overlap */
    .nvx-hero {
        display: block !important;
        min-height: auto !important;
        height: auto !important;
        padding-top: 180px !important;
        padding-bottom: 80px !important;
    }

    .nvx-hero-badge {
        margin-top: 0px !important;
        margin-bottom: 1.5rem !important;
    }

    .nvx-hero h1 {
        font-size: 2.5rem;
    }

    .nvx-hero-desc {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .nvx-btn-primary,
    .nvx-btn-outline {
        padding: 12px 28px;
        font-size: 0.88rem;
    }

    .nvx-section-title {
        font-size: 2.2rem;
    }

    .nvx-hero-visual {
        display: none;
    }

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

@media (max-width: 767px) {
    .nvx-hero {
        padding-top: 160px !important;
        padding-bottom: 60px !important;
    }

    .nvx-hero h1 {
        font-size: 1.95rem;
    }

    .nvx-hero-desc {
        font-size: 0.98rem;
    }

    .nvx-section-title {
        font-size: 1.8rem;
    }

    .nvx-stat-number {
        font-size: 2.5rem;
    }

    .nvx-cta h2 {
        font-size: 2rem;
    }
}

/* --- Footer Links Hover Animation --- */
.nvx-footer-links a {
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: inline-block !important;
}

.nvx-footer-links a:hover {
    color: var(--nvx-gold, #30d996) !important;
    transform: translateX(5px) !important;
    text-shadow: 0 0 10px rgba(48, 217, 150, 0.3);
}

.nvx-footer h4,
#footer.nvx-footer h4 {
    color: #ffffff !important;
}