.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.85); /* Light frosted glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.02);
}

.navbar.scrolled {
    top: 15px;
    padding: 10px 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


.logo-text-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-text .green-text {
    color: #39B54A;
}

.nsrsit-logo {
    height: 20px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text-link:hover .nsrsit-logo {
    transform: scale(1.05);
}

.right-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nsbm-logo {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img-link:hover .nsbm-logo {
    transform: scale(1.05);
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #39B54A;
}

/* Dropdown Menu Desktop */
.dropdown {
    position: relative;
    padding: 10px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: left;
    color: #333333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    color: #39B54A;
    background: rgba(0, 0, 0, 0.03);
}


.nav-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}


.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 10px;
    transition: all 0.35s ease;
    display: block;
}


.navbar.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .navbar {
        top: 15px;
        padding: 10px 24px;
        width: 94%;
        border-radius: 50px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }


    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 24px 0px;
        gap: 12px;
        border-radius: 20px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        text-align: center;
        animation: slideIn 0.35s ease forwards;
    }

    .navbar.active .nav-links a {
        font-size: 0.95rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .navbar.active .nav-links a:last-child {
        border-bottom: none;
    }

    /* Mobile Dropdown styles */
    .dropdown {
        padding: 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 100%;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        box-shadow: none;
        padding: 10px 0;
        margin-top: 5px;
        border-radius: 10px;
        display: none;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:active .dropdown-menu {
        display: block;
        transform: none;
    }

    .dropdown-menu a {
        padding: 8px 0 !important;
        font-size: 0.85rem !important;
        text-align: center;
        border-bottom: none !important;
        color: rgba(0, 0, 0, 0.7);
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    .navbar {
        top: 10px;
        padding: 8px 16px;
        width: 89%;
        border-radius: 181px;
    }

    .nsbm-logo {
        height: 28px;
    }

    .logo-text {
        font-size: 1.05rem;
    }

    .nsrsit-logo {
        height: 28px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .right-menu {
        gap: 12px;
    }
}