/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #2d4f22;  */
    background-color: #023838;
    padding: 30px ;
    color: white;
    position: fixed; /* Fix at the top */
    top: 0;
    left: 0;
    bottom: 1313px;
    width: 100%;
    z-index: 1000;
}


/* Burger Menu */
.burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    background-color: white;
    height: 3px;
    width: 23px;
    margin: 2px 45px;
    transition: 0.3s;
}
.navbar .logo img {
    width: 100px;
    padding-right: 35px;
    margin-top: 11px;
    margin-bottom: 5px;
}


/* Navbar Links (Hidden by Default for Mobile) */
#navbar-links {
    position: absolute;
    top: 60px; /* Below the navbar */
    left: 0;
    width: 100%;
    background-color: white;
    display: none; /* Hidden by default */
    flex-direction: column;
    padding: 20px 0;
    text-align: center;
}

#navbar-links.visible {
    display: flex;
    margin-left: -26px;
    height: auto;
    text-align: center;
}

#navbar-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#navbar-links ul li {
    padding: 15px 20px;
    border-bottom: 1px solid rgb(8 8 8 / 20%);
}

#navbar-links ul li a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

/* Dropdown Menu */
#navbar-links ul li .dropdown {
    display: none; /* Hide dropdowns by default */
    flex-direction: column;
    padding-left: 20px;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

#navbar-links ul li .dropdown-toggle {
    cursor: pointer;
}

#navbar-links ul li .dropdown-toggle:hover + .dropdown,
#navbar-links ul li .dropdown:hover {
    display: flex; /* Show dropdown on hover */
}

#navbar-links ul li .dropdown li {
    border: none; /* Remove borders for dropdown items */
}



/* Responsive Behavior */

@media screen and (max-width: 1280px) {
    .navbar{
        /* bottom: 1313px; */
        background-color: white;
    }
    .burger-menu span {
        background-color: #2d4f22;
    }
    #navbar-links ul li a {
        color: black;
        text-decoration: none;
        font-size: 32px;
        font-weight: bold;
    }

}

@media screen and (max-width: 1024px) {
    .navbar{
        bottom: 1313px;
        background-color: white;
    }
    .burger-menu span {
        background-color: #2d4f22;
    }
    #navbar-links ul li a {
        color: black;
        text-decoration: none;
        font-size: 32px;
        font-weight: bold;
    }
    

}
   

    @media screen and (max-width: 992px) {
        .navbar{
            bottom: 1107px;
            background-color: white;
        }
        .burger-menu {
            display: flex;
        }
    
        #navbar-links {
            display: none; /* Hidden on small screens initially */
        }
    
        #navbar-links.visible {
            display: flex; /* Show on toggle */
            position: absolute;
            height: auto;
            overflow-y: auto;
            margin-top: -3px;
            text-align: center;
        }
        .burger-menu span {
            background-color: #2d4f22;
        }
        
        #navbar-links ul li a {
            color: black;
            text-decoration: none;
            font-size: 32px;
            font-weight: bold;
        }

    }

    @media screen and (max-width: 913px) {
        .navbar{
            bottom: 1300px;
            background-color: white;
        }
    }

    @media screen and (max-width: 768px) {
        #navbar-links ul li a {
            color: black;
            text-decoration: none;
            font-size: 24px;
            font-weight: bold;
        }

    }

    @media screen and (max-width: 480px) {
        #navbar-links.visible {
            height: auto;
        }
        .navbar {
            padding: 29px 18px;
            background-color: white;
        }
    
        .burger-menu span {
            background-color: #2d4f22;
        }

        #navbar-links ul li a {
            color: black;
            text-decoration: none;
            font-size: 20px;
            font-weight: bold;
        }
    }

    

   

