#serviceNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(120deg, #0f1f47, #173579 48%, #1d4d9c);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 15px 60px -40px rgba(7, 17, 42, 0.75);
}

.page-shell {
    padding-top: var(--service-nav-offset, 10rem);
}

#serviceNav.is-scrolled {
    background: linear-gradient(120deg, rgba(15, 31, 71, 0.96), rgba(23, 53, 121, 0.96));
    border-bottom-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 60px -40px rgba(7, 17, 42, 0.85);
}

.main-nav-link,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
    border: 1px solid transparent;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.main-nav-link:hover,
.nav-dropdown-toggle:hover,
.main-nav-link.is-active,
.nav-dropdown-toggle.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.38);
}

.nav-dropdown-panel {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: #ffffff;
    padding: 0.45rem;
    box-shadow: 0 30px 60px -36px rgba(15, 23, 42, 0.5);
}

.nav-dropdown-link {
    display: block;
    border-radius: 0.8rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    transition: background-color 120ms ease;
}

.nav-dropdown-link:hover {
    background: #f3f4f6;
}

@media (max-width: 767px) {
    .main-nav-link,
    .nav-dropdown-toggle {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        padding: 0.45rem 0.78rem;
    }
}
