nav {
    position: fixed;
    top: 0;
    width: 100%;
	padding-left: 8%;
    background-color: white;
    height: 110px; /* Adjustable height for navigation */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 10;
    display: flex; /* Horizontal menu by default */
}

nav .nav-links li {
	position: relative; /* Position relative for submenu */
    margin: 0 15px;
}

nav .nav-links li a {
    color: #303030;
    text-decoration: none;
    font-size: 22px;
	font-weight: bold;
	transition: color 0.3s ease; /* Smooth transition for color change */
}

nav .nav-links li a:hover {
    color: yellowgreen; /* Change color on hover (e.g., orange) */
}

.submenu {
    display: none; /* Hidden by default */
    position: absolute; /* Position it relative to the parent li */
    top: 25px; /* Position below the parent link */
    left: 0;
	background-color: white;
    list-style: none;
    padding-top: 30px;
	padding-left: 0px;
	white-space: nowrap;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
    z-index: 1000;
}

.submenu li {
    margin: 5px 0; /* Space between submenu items */
}

nav .nav-links li:hover .submenu {
    display: block; /* Show submenu on hover */
}

.burger {
    display: none; /* Hidden by default */
    flex-direction: column;
	cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: yellowgreen;
    margin: 3px 0;
}


/* Responsive styles */

@media (max-width: 768px) {

    nav .nav-links {  /* Style for the mobile device menu */
        display: none; /* Hide navigation links by default */
        flex-direction: column;
        position: absolute;
        top: 110px; /* Below the navigation bar */
        left: 36px;
        width: 76.5%;
        background-color: white;
		opacity: 0.9;
    }

    nav .nav-links.active {
        display: flex; /* Show links when active */
    }


    .burger {
        display: flex; /* Show burger menu */
    }

}