header{
    width: 80vw;
    height: 120px;
    padding: 0 10vw;

    background-color: transparent;
    position: fixed;

    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;

    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}



/* Header Style After Scroll */
header.scrolled {
    background-color: white; /* White background when scrolled */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: slight shadow for depth */
}

/* Adjust Navigation Links for Scrolled State */
header.scrolled nav ul li a {
    color: black; /* Nav link color changes to black */
}

header.scrolled nav ul li a:hover {
    color: var(--yellow); /* Keep hover effect */
}

/* Adjust Logo Size on Scroll */
header.scrolled > img {
    width: 250px; /* Optional: Adjust logo size */
    transition: width 0.3s ease;
}




header>img{
    width: 300px;
}

header>nav{
    display: inline-block;
}

header>nav>ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header>nav>ul>li{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    padding-right: 0.8vw;
    padding-left: 0.8vw;
    display: inline-block;
}

header>nav>ul>li>a {
    color: white;
    text-decoration: none;
}

header>nav>ul>li>a:hover {
    color: #FFE500;
    text-decoration: none;
}




/* Hamburger Icon Styles */
.hamburger-icon {
    display: none; /* Hidden on large screens */
    cursor: pointer;
}

.hamburger-icon img {
    width: 30px;  /* Adjust the size of your hamburger icon */
    height: auto;
}

/* Mobile Navigation Menu (hidden by default) */
.mobile-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9); /* White with slight transparency */
    z-index: 4;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu nav {
    text-align: center;
}

.mobile-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 15px 0;
    display: block;
}

.mobile-menu a {
    color: #757570;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: black;
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}


.overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 3;
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-btn img {
    width: 30px; 
    height: auto;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header>img{
        width: 200px;
    }

    header > nav {
        display: none;
    }

    .hamburger-icon {
        display: block;
    }

    .overlay.show {
        display: block;
    }

    .mobile-menu.show {
        display: flex;
    }
}