@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    background-color: #EBEAEA;
    font-family: 'Poppins';
    margin: 0;
    box-sizing: border-box;
}

header {
    margin-top: 1em;
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 999; /* Ensure the navbar stays above other content */
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}



.navbar {
    color: white;
    padding: 10px 0;
    
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 70px;
}

/* Normal Menu Styles */
.nav {
    display: flex;
    align-items: center;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    position: relative;
    margin-left: 20px;
    max-width: 100%;
}

.menu li a {
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    max-width: 100%;
}

.menu li a:hover {
    color: #0060C9;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    color: #0060C9;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.menu li:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 10px;
    white-space: nowrap;
    
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
}

.close {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 50px;
}

.close .bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transform: rotate(45deg);
}

.close .bar:last-child {
    transform: rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 100%;
        height: 100vh;
        width: 250px;
        
        flex-direction: column;
        transition: right 0.3s ease;
        padding-top: 60px; /* Space for the close button */
    }

    .glass-effect {
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        width: 300px;
        text-align: center;
    }

    .nav.active {
        right: 0;
    }

    .menu {
        flex-direction: column;
        margin-top: 20px;
    }

    .menu li {
        margin: 10px 0;
    }

    .dropdown {
        position: static;
        
    }

    .close {
        display: flex;
    }

    
}

