/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.7px);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    margin: 0 auto;
    padding: 0;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #E9EBF8;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    min-width: 180px;
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    padding: 8px 20px;
    color: #E9EBF8 !important;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0.9;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1 !important;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn img {
    width: 100%;
    height: 100%;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(6.7px);
    }
    
    .nav-container {
        width: 100%;
        max-width: 327px;
        margin: 0 auto;
        height: 24px;
        justify-content: space-between;
        position: relative;
    }
    
    .logo img {
        width: 134px;
        height: 24px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 24px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
        display: block;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dropdown-menu {
        display: none !important;
    }
    
    .dropdown .dropdown-arrow {
        display: none !important;
    }
    
    .dropdown-toggle::after {
        display: none !important;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        padding: 0;
        width: 100%;
        justify-content: space-between;
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .overlay.active {
        display: block;
    }
    
    .nav-links a.active {
        color: #ffff !important;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Mobile menu button */
    .mobile-menu-btn {
        display: block;
    }

    .navbar {
        /* height: 56px; */
        padding: 16px 24px;
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(6.7px);
    }
    .nav-links a.active {
        color: #ffff !important;
    }
    /* Reset desktop nav styles */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 24px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
        display: block;
    }

    .nav-container {
        width: 100%;
        max-width: 327px;
        margin: 0 auto;
        height: 24px;
        justify-content: space-between;
        position: relative;
    }

    .logo img {
        width: 134px;
        height: 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 24px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
        display: block;
    }

    /* Show mobile menu button on mobile */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Overlay when menu is open */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .overlay.active {
        display: block;
    }
}
/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}