/* Compact top navigation with dropdowns */
.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.nav-link,
.nav-dropdown-toggle {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.96rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-dropdown-toggle:hover {
    color: var(--ocean-blue);
}
.nav-item {
    position: relative;
}

.dropdown {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid rgba(0, 119, 190, 0.14);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 61, 92, 0.18);
    padding: 0.65rem;
    display: none;
    z-index: 3000;
    margin-top: 0;
}

.dropdown-menu-wide {
    min-width: 390px;
    max-height: 520px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.72rem 0.85rem;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.25;
}

.dropdown-menu a:hover {
    background: #f0f8fb;
    color: var(--ocean-blue);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}


.nav-dropdown-toggle {
    background: transparent;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0;
}

.dropdown-arrow {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1;
}