:root {
    /* --font-family: 'Poppins', sans-serif, 'Averia Serif Libre', serif; */
    --font-family: inherit;
    --earls-green: #afb937;
    --tamarind: #361f16;
    --atoll: #0d4b7a;
    --hippie-green: #5e8a4c;
    --citron: #93a524;
    --denim: #1387ba;
    --downriver: #07243f;
    --kabul: #1387ba;
    --navbar-color: #3c65a2be;
    --gulf-blue: #041c54;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,  body{
    overflow-x: hidden;
}
.navbar{
    padding:20px ;
    position: relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background: transparent;
    width: 100%;
    z-index: 999;
    --menu-margin: 40px;
    /* --menu-bar-thickness = ((barThickness)*(number of bars))+((gap between bars)*(number of bars - 1)) */
    --menu-bar-thickness: 23px;
    --menu-list-margin-top: calc(var(--menu-margin)*1.5 + var(--menu-bar-thickness));
    border-bottom: #003366 solid 1px;
    margin-bottom: 2rem;
}
.navbar__logo{
    position: relative;
    /* /* height:100px; */
    width: 100px;
    
    
}

.navbar__logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
}
.navbar__menu{
    display:flex;
    position: relative;
    justify-content:space-between;
    align-items:center;
    list-style:none;
}
.navbar__menu-item{
    margin-right: 20px;
}
.navbar__menu-item a{
    text-decoration:none;
    color: #3a3a3a;
    font-size: 1.2rem;
    
    
}



#menu-bar {
    display: none;
    width: 35px;
    height: var(--menu-bar-thickness);
    margin: 0 0 15px 0;
    cursor: pointer;
    position: relative;
  
}

.bar {
    height: 5px;
    width: inherit;
    background-color: #345d9d;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}

#bar2 {
    transform: translateY(4px);
    -webkit-transform: translateY(4px);
    -moz-transform: translateY(4px);
    -ms-transform: translateY(4px);
    -o-transform: translateY(4px);
}

#bar3 {
    transform: translateY(8px);
    -webkit-transform: translateY(8px);
    -moz-transform: translateY(8px);
    -ms-transform: translateY(8px);
    -o-transform: translateY(8px);
}
@media screen and (min-width: 769px) {
     .navbar__menu-item a {
        text-decoration: none;
        color: #003366; /* Dark Blue color for good contrast */
        transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
        padding: 5px 10px;
        border-radius: 1000px;

    }
    
    .navbar__menu-item a:hover,
    .navbar__menu-item a.active {
        background-color: var(--navbar-color); /* Darker shade of blue */
        /* background-color: #b2bd2a; check this one out which is better */
        color: #ffffff; /* White text color for better readability on hover */
        text-decoration: none;
    }
}
@media screen and (max-width: 768px){
    #menu-bar{
        display: block;
        position: relative;
        right:-1.5rem;

    }
    .navbar{
        margin-bottom:10px;
        border : none;
    
    }
    .change.bar{
        background-color: #e3eef4;
    }
    .navbar__menu{
        
        position: absolute;
        opacity: 0;
        visibility: hidden;
        inset: 0;
        top:6rem;
        transition: all 0.3s ease;  
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
  
    .navbar__menu-item{
        width:100px;

    }
   
   .menu-bg{
    right:-4rem;
    top:-3rem;
    transition: all 0.3s ease-out;
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, #1e437f, #0c45a1e8);
    height: 0;
    width:0;


   }
   .menu-container{
    display: flex;
    flex-direction: column;
    gap:2rem;
    position: relative;
    padding:1rem 2rem 0 ;
    align-items: flex-end;
}
.change {
     display:flex;
     opacity: 1;
     visibility: visible;
 }
.change .bar {
     background-color: white;
 }
.change #bar1 {
     transform: translateY(4px) rotateZ(-45deg);
 }
.change #bar2 {
     opacity: 0;
 }
.change #bar3 {
     transform: translateY(-6px) rotateZ(45deg);
 }
.change-bg {
    width: 520px;
    height: 460px;
   
    transform: translate(45%);

}
.navbar__menu-item a {
    color: #ffffff; /* White color for good contrast */
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.navbar__menu-item a:hover,.navbar__menu-item a.active {
    color: #7ab348; /* Example color for the active page */
    font-weight: bold;
    background-color: rgba(115, 118, 104, 0.2); /* Slight white background on hover */
    padding: 5px; 
    /* Adjust padding as needed */
    border-radius: 50px; 
    /* Optional: add rounded corners */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); Add a subtle shadow */
    text-decoration: none;
}



}