header{
    width: 100vw;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: 0.4s ease;
    top: 0;
}

nav{
    position:relative;
    padding: 0 6%;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s ease;
}


.toggle-btns{
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}
.open,
.close{
    top: 0px;
    right: 0px;
    font-size: 25px;
    border: transparent !important;
    outline: transparent !important;
    background: transparent !important;
}

.inactive .open,
.inactive .close{
    color: #fff;
}

.close{
    display: none;
}

.inactive nav{
    min-height: 7rem;
    transition: 0.4s ease;
}

.logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 10rem;
}
.inactive .logo{
    min-height: 7rem;
    border-right: 1px solid rgba(255,255,255,.3); 
}
.inactive .logo img{
    height: 3.5rem;
    width: auto;
}
.inactive .logo .white{
    display: block;
    transition: 0.4s ease;
}
.inactive .logo .color{
    display: none;
    transition: 0.4s ease;
}

.links .content{
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.3rem;
    min-height: 3.3rem;
}


.links li{
    display: flex;
    align-items: center;
    list-style: none;
    position: relative;
    min-height: 3.3rem;
    cursor: pointer;
}

.links li a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: bold;
}
.inactive li a{
    color: #fff;
}

li span{
    transform: translateY(-9px);
    position: relative;
    background-color: darkgrey;
}

.inactive li span i{
    color: #fff;
}

.active li span i{
    color: #0b1c59;
}

.nav-extend{
    margin-right: 1.3rem;
}

.lessbtn,
.morebtn{
    left: 0;
    top: 0;
    margin-left: 0.4rem;
    position: absolute;
}

.lessbtn{
    display: none !important;
}

.content .drop-down{    
    left: 8.8rem;
    position: absolute;
    display: none;
    background: #fff;
    color: #2da0e3;
    transition: 0.4s ease;
}
.inactive .content .drop-down{
    top: 5.2rem;
}
.active .content .drop-down{
    top: 3.2rem;
}
.drop-down li a{
    padding: 0 2rem 0 1rem;
    color: #2da0e3;
}

.nav-extend :hover ~ .drop-down{
    display: block;
}

li a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #2da0e3;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}
li:hover a:after {
    width: 100%;
    left: 0;
}

nav .button{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #2da0e3;
    padding: 0 1.3rem; 
}

nav .button a{
    color: #fff !important;
}

/* ================================================= 
                  when navbar is active
==================================================*/
  
.active {
    background: #fff;
    border-bottom:none;
    filter:drop-shadow(.1rem .1rem .4rem #0000007e)
}
.active nav{
    min-height: 3.3rem;
    transition: 0.4s ease;
}

.active .logo{
    min-height: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0); 
}
.active .logo img{
    height: 2rem;
    width: auto;
}
.active .logo .white{
    display: none;
}
.active .logo .color{
    display: block;
}
.active li a{
    color: #0b1c59;
}

.active .open,
.active .close{
    color: #0b1c59;
}

  /* ================================================= 
                      responsive 
  ==================================================*/

  @media screen and (max-width: 777px) {
    nav{
        padding: 0 6%;
        width: 100vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.4s ease;
    }
    .toggle-btns{
        display: flex;
    }

    .toggle-btns{
        display: flex;
    }

    .active nav,
    .inactive nav{
        min-height: 5rem;
        transition: 0.4s ease;
    }
    .logo{
        width: 5rem;
    }
    .active .logo,
    .inactive .logo{
        min-height: 5rem;
        border-right: none; 
    }
    .active .logo img,
    .inactive .logo img{
        height: 2.4rem;
        width: auto;
    }

    .links{
        position: fixed;
        display: none;
        justify-content: flex-end;
        top: 5rem;
        right: 0;
        width: 100%;
        padding:0 1rem;
        z-index: 100;
    }
    .links .content{
        display: block;
        gap: 1.3rem;
        padding: 1rem;
        width: 100%;
        max-width: 25rem;
        min-height: max-content;
        background: #fff;
        border-top: 3px solid #2da0e3;
    }
    
    li a{
        text-decoration: none;
        text-transform: capitalize;
        font-size: 1em;
        font-weight: normal;
    }
    .active li a,
    .inactive li a{
        color: #2da0e3;
        text-align: left;
        width: 100%;
    }
    .inactive li span i,
    .active li span i{
        color: #2da0e3;
    }

    .nav-extend{
        justify-content: space-between;
    }

    li span{
        transform: translateY(-8px);
    }
    .content .drop-down{    
        left: 0rem;
        position: relative;
        display: none;
        background: #fff;
        color: #2da0e3;
        transition: 0.4s ease;
    }
    .inactive .content .drop-down{
        top: 0rem;
    }
    .active .content .drop-down{
        top: 0rem;
    }

}
