/*==================================================
  HEADER
==================================================*/


/*==================================================
  HEADER PRINCIPAL
==================================================*/

#header{

    top:54px;
    left:0;
    width:100%;
    background:rgba(255,255,255,.95);
    transition:.35s;
    z-index:100;
    border-bottom:1px solid rgba(0,0,0,.05);

}



#header.scrolled{

    background:#fff;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}



.mobile-actions,
.home-text{

    display:none;

}



/*==================================================
  CONTAINER
==================================================*/

#header .container{
    max-width:1350px;
    margin:0 auto;
    padding:0 25px;
    height:92px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
}




/*==================================================
  LOGO
==================================================*/

.logo{
    display:flex;
    margin-top:5px;
    align-items:center;
}



.logo img{

    height:75px;

    width:auto;

    transition:.3s;

    margin-top:-20px;

}



#header.scrolled .logo img{

    height:68px;

}





/*==================================================
  NAVBAR
==================================================*/


.navbar{

    display:flex;

    align-items:center;

}



.navbar ul{

    display:flex;

    align-items:center;

    list-style:none;

    padding:0;

    margin:0;

}



.navbar li{

    position:relative;

}



.navbar a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#23436D;
    font-size:14px;
    padding:35px 10px;
    overflow:hidden;
    z-index:1;
    transition:.3s;
    font-weight:  600;
    font-family: Rubik, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
}




/*==================================================
  HOVER BLEU
==================================================*/


.navbar ul li:not(:first-child) a::before{


    content:"";

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:0%;

    background:#23436D;

    z-index:-1;

    transition:.35s ease;


}



.navbar ul li:not(:first-child) a:hover::before{


    height:100%;


}



.navbar ul li:not(:first-child) a:hover{


    color:white;


}





/*==================================================
  MENU ACTIVE DESKTOP
==================================================*/


.navbar li.active a{


    color:#0b3d91;


}



.navbar li.active a::after{


    content:"";

    position:absolute;

    bottom:0;

    left:10px;

    right:10px;

    height:3px;

    background:#0b3d91;

    border-radius:20px;


}





/*==================================================
  HOME ICON
==================================================*/


.home-circle {


    width:28px;

    height:28px;

    border-radius:50%;

    background:white;

    color:#0b3d91;

    display:flex;

    align-items:center;

    justify-content:center;

    border:1px solid #0b3d91;

}



.home-circle:hover {


    background:#0b3d91;

    color:white;


}



.navbar li.active .home-circle{


    background:#0b3d91;

    color:white;


}





/*==================================================
  ACTIONS DROITE
==================================================*/


.header-actions{

    display:flex;
    margin-left:-20px;
    gap:12px;
    margin-top:-5px;

}




/*==================================================
  BOUTON MEMBRE
==================================================*/


.btn-member{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:36px;
    padding:0 20px;
    color:#0b3d91;
    border:1px solid #0b3d91;
    background:#fff;
    font-size:14px;
    text-decoration:none;
    border-radius:40px;
    transition:.3s;
    font-family:"Poppins",sans-serif;
    margin-right:45px;
}

 

.btn-member:hover{
    background:#0b3d91;
    color:#fff;
    text-decoration: none;
    transform:scale(1.15,1.05);
}





/*==================================================
  MEMBRES
==================================================*/


.members{


    display:flex;

    align-items:center;

    gap:7px;

    color:#0b3d91;

    font-size:14px;

    text-decoration:none;

    font-family:"Poppins",sans-serif;


}



.members:hover{

    text-decoration:none;

}



.members i{


    font-size:12px;


}





/*==================================================
  MOBILE BUTTON
==================================================*/


.menu-toggle{


    display:none;

    font-size:32px;

    cursor:pointer;

    color:#23436D;


}






/*==================================================
  RESPONSIVE TABLET
==================================================*/


@media(max-width:1100px){


    .members,
    .btn-member,
    .navbar a{

        text-align: center;
        font-size:13px;


    }


}





/*==================================================
  MOBILE
==================================================*/

@media(max-width:1250px){
        .navbar a{
        justify-content:flex-start;
        width:100%;
        font-size:11px;
        color:#17386a;
    }
}

@media(max-width:1150px){

    .logo img{
        height:60px;
        margin-top:-10px;
        margin-left:5px;
    }

    #header .container{
        height:80px;
        justify-content:space-between;
        padding:0 20px;
    }

    .header-actions{
        display:none;
    }

    .menu-toggle{
        display:flex;
        width:44px;
        height:44px;
        border:2px solid #c7dfff;
        border-radius:8px;
        align-items:center;
        justify-content:center;
        font-size:24px;
        color:#555;
    }

    .navbar{
        display:none;
        position:absolute;
        top:130px;
        left:0;
        width:100%;
        background:white;
        border-top:1px solid #14386b59;
        box-shadow:0 12px 25px rgba(0,0,0,.08);
        z-index:999;
    }



    .navbar.active{
        display:block;
    }


    .navbar ul{
        flex-direction:column;
        width:100%;
        padding:0;
        margin:0;
    }

    .navbar li{
        width:100%;
        border-bottom:1px solid #e8e8e8;
    }


    .navbar a{
        justify-content:flex-start;
        width:100%;
        padding:10px 10px 10px;
        font-size:17px;
        color:#17386a;
    }

    /* ACTIVE MOBILE */

    .navbar li.active a{
        border-left:5px solid #0b3d91;
        background:#fbfcff;
        color:#0b3d91;
        font-weight:600;
        padding-left:15px;
    }

    .navbar li.active a::after{
        display:none;
    }


    .navbar ul li:not(:first-child) a::before{
        display:none;
    }

    .navbar ul li:not(:first-child) a:hover{
        background:transparent;
        color:#17386a;
    }


    .home-circle{
        display:none;
    }

    .home-text{
        display:block;
    }


    .navbar .mobile-actions{
        display:flex;
        align-items:center;

        gap:10px;
        padding:15px 5px;
    }

    .navbar .mobile-actions .btn-member{
        margin:0;
        padding:10px 12px;
        font-size:13px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
}


/*==================================================
  SMALL MOBILE
==================================================*/


@media(max-width:576px){
    #header .container{
        height:80px;
        padding:0 16px;
    }

    .logo img{
        height:55px;
    }
}
