@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Inter&family=Vina+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

html{
    scroll-behavior: smooth;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color: inherit;
}

button{
    background-color: transparent;
    border: none;
    cursor: pointer;
}

body{
    background-color: #f4fffd;
    font-size: 1.5rem;
    overflow-x: hidden;

    /* height: 400vh; */
}


/* HEADER */

.header-top{
    display: none;
}

/* .logo img{
    position: relative;
    height: 35%;
    width: 35%;
    border-radius: 50%;
} */

.logo{
    font-family: 'Staatliches', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 60pt;
    color: #0780ae;
    -webkit-animation: fadeInLeft 1s both;
    -o-animation: fadeInLeft 1s both;
    -moz-animation: fadeInLeft 1s both;
    animation: fadeInLeft 1s both;
}


.header-bottom{
    position: absolute;
    z-index: 5;
    width: 100%;
    padding: 15px;
    top: 0;
    left: 0;
}

.container{
    padding-inline: 2%;
}

.header-bottom.active{
    top: -205px;
    position: fixed;
    background-color: #f4fffd;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    -webkit-animation: 1s fadeInTop both;
    -o-animation: 1s fadeInTop both;
    -moz-animation: 1s fadeInTop both;
    animation: 1s fadeInTop both;
}


@keyframes slideIn{
  0% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}


.header-bottom > .container{
    -webkit-animation: fadeInTop 1s both;
    -o-animation: fadeInTop 1s both;
    -moz-animation: fadeInTop 1s both;
    animation: fadeInTop 1s both;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
}

.nav-toggle{
    color: black;
    font-size: 35px;
    border: solid 2px black;
    border-radius: 10%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.menu-hidden{
    display: block;
}

.fa-user{
    padding: 10px 12px;
    border-radius: 50%;
    border: solid black 1px;
}

.submenu{
    border: solid black 1px;
    border-radius: 5px;
    left: 0;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    display: none;
    margin-left: 88%;
    top: 35px;
    z-index: 1;
}

.submenu-li:hover ul.submenu{
    visibility: visible;
    display: block;
    opacity: 1;
    top: 85px;
    animation: fadeInTop 0.7s;
}

.submenu li{
    float: none;
    width: 100%;
}
.submenu li:hover{
    padding-bottom: 15px;
}
/* 
.nav-toggle.active .fa-bars, .nav-toggle .fa-xmark{
    display: none;
} 

.nav-toggle .fa-bars, .nav-toggle.active .fa-xmark{
    display: block;
} */

.navbar{
    position: absolute;
    top: 102%;
    left: 25px;
    right: 25px;
    background-color: #f4fffd;
    max-height: max-content;
    padding-inline: 0;
    visibility: hidden;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    border-block-start: solid black 1px;
}

.navbar.active{
    visibility: visible;
    max-height: max-content;
    -webkit-animation: fadeInTop 1s both;
    -o-animation: fadeInTop 1s both;
    -moz-animation: fadeInTop 1s both;
    animation: fadeInTop 1s both;
    
    /* transition: ease-in-out 0.2s; */
}

.nav-list li{
    /* border-block-start: solid 1px black; */
    border-block-start: solid black 1px;
    font-weight: 600;
}

.nav-list li:hover{
    color: #0780ae;
    border-bottom: solid #48adce 1px;
    transition: 0.3s ease-in-out;
}


.nav-list li .fa-user:hover{
    color: #0780ae;
    border: solid #0780ae 1px;
    transition: ease-in-out 0.3s;
}

.nav-link{
    color: black;
    text-transform: uppercase;
    font-weight: bolder;
    padding: 15px;
}

.disabled{
    display: none;
    visibility: hidden;
    -webkit-animation: fadeInLeft 1s both;
    -o-animation: fadeInLeft 1s both;
    -moz-animation: fadeInLeft 1s both;
    animation: fadeInLeft 1s both;
}

.active{
    visibility: visible;
    -webkit-animation: 0.5s fadeInTop both;
    -o-animation: 0.5s fadeInTop both;
    -moz-animation: 0.5s fadeInTop both;
    animation: 0.5s fadeInTop both;
}

.section{
    padding-inline: 1.4%;
    padding-top: 200px;
    -webkit-animation: fadeInLeft 1s both;
    -o-animation: fadeInLeft 1s both;
    -moz-animation: fadeInLeft 1s both;
    animation: fadeInLeft 1s both;
}

.subtitle{
    color: #48adce;
    font-size: 1.5rem;
    font-weight: 800;
}

.title{
    font-family: 'Bebas Neue', sans-serif;
    margin-block-end: 15px;
    color: rgb(47, 47, 47);
    font-size: 3.6rem;
}

.title, .subtitle{
    line-height: 1.2;
    -webkit-animation: fadeInTop 1s both;
    -o-animation: fadeInTop 1s both;
    -moz-animation: fadeInTop 1s both;
    animation: fadeInTop 1s both;
}

.ipoe-text{
    font-size: 1.2rem;
    text-align: justify;
}

.redirect-btns{
    /* border: solid red 1px; */
    /* max-width: 40vw; */
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    /* flex-wrap: wrap; */
    gap: 20px;
}

.cad-btn{
    display: flex;
    justify-content: center;
    position: relative;
    padding: 20px;
    width: 50%;
    height: 12%;
    margin-top: 25px;
    background: linear-gradient(to right, rgb(14, 129, 223), rgba(25, 60, 214, 0.903));
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 13pt;
}   

.voluntary{
    min-width: fit-content;
}

.cad-btn:hover{
    background: linear-gradient(to left, rgb(14, 129, 223), rgba(25, 60, 214, 0.903));
    font-weight: 600;
    transition: ease;
}

/* .cad-btn{
    font-size: 14pt;
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
} */

.ipoe-logo{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 40px;
    /* flex-wrap: wrap; */
}

.width-100{
    max-width: 100%;
}

.head img{
    padding-right: 24%;
}
.content{
    display: flex;
    flex-direction: column;
    text-wrap: wrap;
    float: left;
    text-align: left;

}

.i{
    color: #0780ae;
    font-style: normal;
    font-weight: bold;
}

.more{
    font-size: 1.2rem;
}

.center{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card-text{
    line-height: 1.7;
    font-size: 1.26rem;
    text-align: justify;
}

.service{
    padding-block-end: 0;
}

.service .cards-title{
    margin-block-end: 50px;
}

.service-list{
    display: grid;
    gap: 15px;
}

.service-card{
    display: flex;
    align-items: flex-start;
    gap: 30px;
    min-height: 10%;
    max-width: fit-content;
    border: solid #d8d8d8 1px;
    border-radius: 10px;
    padding: 30px;
}

.service-card .card-icon{
    width: 12%;
    flex-shrink: 0;
}

.service-card .card-title{
    margin-block-end: 8px;
    font-family: 'Anton', sans-serif;
    font-weight: 200;
}

.location{
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.location iframe{
    width: 90vw;
    height: 60vh;
}

footer{
    margin-top: 20%;
}

.footer-top{
    background-color: #012169;
    color: hsl(217, 39%, 83%);
    font-size: 15pt;
}

address{
    display: flex;
    flex-wrap: wrap;
}

.footer-top .container{
    display: grid;
    gap: 30px;
}

.footer-brand .logo{
    color: rgb(192, 226, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* .times{
    margin-top: 20;
} */

.footer-text{
    line-height: 1.6;
    margin-block: 10px;
}

.times{
    display: flex;
    align-items: center;
    gap: 15px;
}

.times-icon, .footer-item .item-icon{
    background: #4584FF;
    color: #ffff;
    padding: 1%;
    /* border: solid red 1px; */
    border-radius: 50%;
    font-size: 16pt;
}

.times .span, .footer-item .item-text{
    line-height: 1.6;
}

.footer-li-title{
    color: #fff;
    font-family: 'Anton', sans-serif;
    font-weight: lighter;
    font-size: 25pt;
    margin-block-end: 1%;
}

.footer-link{
    display: flex;
    align-items: center;
    gap: 5px;
    padding-block: 1%;
}

.footer-link i{
    color:#4584FF;
    font-size: 15pt
}

.footer-link:hover{
    color: #ffff;
    transition: ease-in-out 0.2s;
}

.footer-item{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block: 20px;
}

.item-text{
    font-size: 15pt;
}

.footer-bottom{
    background-color: #001547;
    padding-block: 50px;
    text-align: center;
}

.footer .social-list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer .social-link{
    padding: 12px 14px;
    color: #d8d8d8;
    background-color: #69696981;
    font-size: 18pt;
    border-radius: 50%;
}

.footer .social-link:hover{
    background: linear-gradient(to left, rgb(14, 129, 223), rgba(25, 60, 214, 0.903));
    transition: ease-in-out 0.2s;
}

.fa-user-plus{
    margin-left: 5px;
}

@media (min-width: 920px) {
    .submenu{
        margin-left: 80vw;
    }
}

@media (min-width: 1260px) {
    .submenu{
        margin-left: 82vw;
    }
}

@media (min-width: 1450px) {
    .submenu{
        margin-left: 84vw;
    }
}


@media (min-width: 920px) {

    .header-top{
        -webkit-animation: fadeInLeft 1s both;
        -o-animation: fadeInLeft 1s both;
        -moz-animation: fadeInLeft 1s both;
        animation: fadeInLeft 1s both;
        display: block;
        background-color: #001547;
        color: #d8d8d8;
        padding-block: 20px;
    }

    .menu-hidden{
        display: none;
    }

    .header-top :is(.container, .social-media), .contact-topic, .contact{
        display: flex;
        align-items: center;
        font-size: 1.2rem;
    }

    .header-top .container{
        justify-content: space-between;
    }

    .contact-topic{
        gap: 5px;
    }

    .contact{
        gap: 20px;
    }

    .contact a:hover{
        color: #fff;
        transition: ease-in-out 0.2s;
    }

    .contact-topic span{
        color:#4584FF;
        font-size: 1.5rem;
    }

    .social-media{
        justify-content: space-around;
        width: 6%;
    }

    .social-media i{
        font-size: 1.5rem;
    }

    .social-media a:hover{
        color:#4584FF;
        transition: ease-in-out 0.2s;
    }

    .header-bottom{
        top: 60px;
        padding-block: 20px;
    }

    .nav-toggle{
        display: none;
    }

    .navbar, .navbar.active{
        all: unset;
        margin-inline-start: auto;
    }

    .nav-list{
        display: flex;
        align-items: center;
    }

    .nav-list > li{
        border-block-start: none;
    }

    .navbar, .nav-link, .nav-list{
        font-family: 'Anton', sans-serif;
    }
    

}

@media (max-width: 920px) {
    .submenu{
       display: none;
       visibility: hidden;
    }

    .submenu-hidden{
        display: none;
    }

    .fa-user{
        display: none;
        visibility: hidden;
    }
}

@media (max-width: 850px) {
    .ipoe-logo{
        flex-wrap: wrap;
    }

    .head img{
        padding-right: 0;
        max-width: 90%;
    }

    .cad-btn{
        width: 50%;
        height: 15%;
    } 

    .cad-btn a{
        font-size: 12pt;
    }

    .card-text{
        text-align: left;
    }

}

@media (max-width: 420px) {

    .redirect-btns{
        flex-direction: column;
        gap: 5px;
        /* justify-content: left; */
        /* border: solid red 1px; */
        width: 200px;
    }

    .redirect-btns a{
        width: 100%;
    }
}

@media (max-width: 410px) {
    .card-text{
        font-size: 1.02rem;
        text-align: left;
    }

    .service-card .card-icon{
        width: 20%;
    }

}

@-webkit-keyframes fadeInLeft{
    0%{
        opacity: 0;
        -webkit-transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-o-keyframes fadeInLeft{
    0%{
        opacity: 0;
        -o-transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        -o-transform: translateX(0);
    }
}

@-moz-keyframes fadeInLeft{
    0%{
        opacity: 0;
        -moz-transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@keyframes fadeInLeft{
    0%{
        opacity: 0;
        transform: translateX(-50px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInTop{
    0%{
        opacity: 0;
        transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@-moz-keyframes fadeInTop{
    0%{
        opacity: 0;
        -moz-transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@-webkit-keyframes fadeInTop{
    0%{
        opacity: 0;
        -webkit-transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-o-keyframes fadeInTop{
    0%{
        opacity: 0;
        -o-transform: translateY(-50px);
    }
    100%{
        opacity: 1;
        -o-transform: translateY(0);
    }
}