/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*/
*,
::before,
::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.menu{
    list-style: none;
}

.menu li{
    position: relative;
    float:left;
}

.menu li a{
    font-family: "Poppins", sans-serif;
    font-size:.9rem;
    color:#004eb3;;
    display:block;
    text-decoration: none;
    padding: .5rem 1.5rem .5rem .5rem;
}

.menu li a:hover{
    color: #000b53;
}

.submenu{
    position: absolute;
    left:0;
    background: #ffffff;
    display:none;
    transition: all .3s ease-in-out;
    width: 200px;
}

.submenu-wrapper:hover .submenu,
.submenu-wrapper:focus-within .submenu{
    display: initial;
}

.submenu li{
    width:100%;
    border-top:.05rem solid #004eb3;
    list-style: none;
    background-color: #eff5fb;
}

.toggle-btn {
    display: none; /* Initially hide the toggle button */
    z-index:1000;
}

.icon {
    position: relative;
    width: 1.5rem;
    height: .8rem;
    cursor: pointer;
    z-index:100;
}

.icon::before {
    top: 0;
    right:0;
    content: '';
    position: absolute;
    width: 2rem;
    height: .2rem;
    background-color: #004eb3;
    transition: all 0.3s ease-in-out;
}

.icon::after {
    bottom: 0;
    right:0;
    content: '';
    position: absolute;
    width: 1.5rem;
    height: .2rem;
    background-color: #004eb3;
    transition: transform 0.3s ease-in-out;
}

/* Rotate the before and after lines to create the close icon effect */
.icon.active::before {
    width:1.5rem;
    transform: rotate(-45deg) translate(-0.21rem, 0.21rem);
}

.icon.active::after {
    transform: rotate(45deg) translate(-0.21rem, -0.21rem);
}

.flag{
    width: 1rem;
}

@media (max-width: 991px){
    .toggle-btn{
        display: block;
    }

    .menu{
        width:100%;
        position:absolute;
        top:100%;
        left:0;
        background: #ffffff;
        border-top: .1rem solid #004eb3;
        display:none;
    }

    .menu.active{
        display:initial
    }

    .menu li{
        width:100%;
        border-top: .1rem solid #004eb3;
    }

    .submenu{
        position: relative;
        width:100%;
    }

    .submenu li{
        background: #ffffff;
        border-top: .1rem solid #004eb3;
    }

    .submenu li a{
        padding-left:2rem;
    }
}
