.header {
    display: flex;
    justify-content: space-between;  
    align-items: center; 
    padding: 4px 20px;
    background: linear-gradient(to right,rgb(210, 232, 253), #e3d6f5);
    position: fixed;  
    top: 0;          
    width: 100%;     
    z-index: 1000; 
}
.logo img {
    height: 50px;
}
.nav {
    display: flex;
    justify-content: center; 
    flex-grow: 1;  
}
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.nav ul li {
    margin-left: 20px;
    display: flex;
    align-items: center;  
    text-align: center;   
}
.nav ul li:first-child {
    margin-left: 0;         
}
.nav ul li a {
    color: navy;
    text-decoration: none;
    font-size:16px;
}
.nav ul li a:hover {
    color:  #6A7ECF;
    transform: scale(1.1);
    text-shadow: none;     
    font-weight: bold;

}
.user-menu {
position: relative;
display: inline-flex;
cursor: pointer;
width: 4%;
padding: 10px;
padding-left: 30px;
z-index: 1000;
}

.user-menu i {
font-size: 19px;
color: #555;
transition: color 0.3s;
display: inline-block;
text-align: center;
margin-right:10px;
}

.user-menu i:hover {
color: navy;
}

.dropdown {
display: none;
position: absolute;
top: 50%;
right: 0;
margin-right: 30px;
background-color: #ffffff;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
border-radius: 8px;
width: 170px;
z-index: 9999;
}

.user-menu:hover .dropdown {
display: block;
}

.dropdown ul {
list-style: none;
padding: 0;
margin: 0;
}

.dropdown li {
border-bottom: 1px solid #e0e0e0;
}

.dropdown li:last-child {
border-bottom: none;
}

.dropdown li a {
display: block;
padding: 12px 20px;
color: #333;
text-decoration: none;
font-size: 14px;
transition: background-color 0.3s, color 0.3s;
}

.dropdown li a:hover {
background-color: #f0f2ff; 
color: navy; 
transform: scale(1.02);
}

.user-menu:hover .dropdown {
transform: translateY(10px);
}
.dropdown li a.logout {
color: #d9534f; 
font-weight: bold;
}

.dropdown li a.logout:hover {
background-color: #f8d7da; 
color: #c9302c; 
}
footer{
    background: linear-gradient(to left, #e3d6f5, rgb(210, 232, 253)); 
    padding: 7px 0; 
    text-align: center; 
    margin-top: 20px; 
    width: 100%;
}
footer p{
    color: #333; 
    font-size: 11.5px;
    font-weight: 400; 
}