nav{
    background: white;
    padding: 5px;
    height: 11vh;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    padding: 0 20px;
}

nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
    position: relative;
    letter-spacing: 0.3px;
}

nav a:hover{
    text-decoration: none;
    color: #ff5a5f;
    transition: all ease 0.8s;
}

nav a::before{
    content: '';
    position: absolute;
    background-color: #ff5a5f;
    margin-top: 45px;
    height: 4px;
    transition: 0.6s;
    right: 100%;
    border-radius: 2px;
}

nav a:hover::before{
    right: 20px; 
    width: 80%;
}

nav li:first-child{
    margin-right: auto;
}

nav i{
    padding: 4px;
}

nav img{
    height: 100%;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

/* Styling for sidebar - maintaining original functionality */
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    z-index: 1100;
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    display: none;
    padding: 10px;
}

.sidebar li{
    width: 100%;
    margin: 5px 0;
}

.sidebar a{
    width: 100%;
    padding-left: 25px;
    border-left: 3px solid transparent;
}

.sidebar a:hover{
    border-left: 3px solid #ff5a5f;
    background-color: rgba(255, 90, 95, 0.05);
}

.menu-button{
    display: none;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    border-radius: 50%;
    background-color: #ece3e37a;
}

.menu-button i {
    color: #3e3c3c;
}

/* Preserve responsive behavior */
@media(max-width:800px){
    .hide-on-mobile{
        display: none;
    }

    .menu-button{
        display: flex;
    }

    nav ul{
        padding: 0 2px;
    }

    nav {
        padding: 5px;
        height: 11vh;
        background: transparent;
        z-index: 10;
    }

}