/* ===================================
   NAVBAR
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 72px;

    z-index: 1000;

    display: flex;
    align-items: center;

    background: rgba(25, 25, 25, 0.35);
    backdrop-filter: blur(12px);

    transition:
        background .3s ease,
        box-shadow .3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 1px 0 rgba(0, 0, 0, .08);
}

.nav-inner {
    width: min(1400px, 92%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 42px;
    width: auto;

    display: block;

    transition: .3s ease;
}

.navbar.scrolled .nav-logo {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;

    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: var(--fs-nav);
    font-weight: var(--fw-medium);
    letter-spacing: 0.5px;
    color: #ffffff;
    transition: .25s ease;
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: #222;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
/* ===================================
   RESOURCES DROPDOWN
   =================================== */

.dropdown {

    position: relative;
}

.dropdown > a::before {

    display: none;
}

.dropdown > a::after {

    content: "";

    margin-left: 6px;

    font-size: 0.7em;

    vertical-align: middle;
}

.dropdown-menu {

    position: absolute;

    top: calc(100% + 12px);

    left: 0;

    min-width: 320px;

    width: max-content;

    margin: 0;

    padding: 10px;

    list-style: none;

    background: rgba(12,12,12,0.96);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 16px;

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 9999;
}

.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.dropdown-menu li {

    width: 100%;
}

.dropdown-menu a {

    display: block;

    padding: 14px 18px;

    border-radius: 10px;

    color: #fff;

    text-decoration: none;

    white-space: nowrap;
}

.dropdown-menu a::after {

    display: none !important;
}

.dropdown-menu a:hover {

    background: rgba(255,255,255,0.06);

    color: var(--accent);
}

/* ===================================
   SCROLLED DROPDOWN
   =================================== */

.navbar.scrolled .dropdown-menu {

    background: rgba(255,255,255,0.98);

    border: 1px solid rgba(0,0,0,0.08);
}

.navbar.scrolled .dropdown-menu a {

    color: #222;
}

.navbar.scrolled .dropdown-menu a:hover {

    background: rgba(0,0,0,0.04);

    color: var(--accent);
}

