@tailwind base;
@tailwind components;
@tailwind utilities;


header{

   
}
body{
    /* background: rgb(8, 8, 143); */
   
    font-family: 'Poppins', sans-serif;

}
/* navigation bar */
.nav-bar{
    background:white;
    padding: 5px 20px;

    /* display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%; */
    /* background: rgb(35, 35, 155); */
    /* margin: 0 auto;
    padding: 10px; */

}
.nav-lists{
    list-style: none;
}
.nav-items{
    /* display: inline-block; */
    padding: 15px 5px;
    font-size: 16px;
}
.nav-items a{
    display: block;
    text-decoration: none;
    color: #014dd5;

}

.nav-items a:hover{
    text-decoration: underline;
    color: #122853;
    transition: all 0.5s;
}


.logo img{

    width: 120px;
    height: 80px; 
    margin-left: 5%;
    padding: 10px;
    /* border-radius: 5px; */
   
}
.button.btn-secondary{
    border-bottom: 1px solid #122853;
}

/* Mobile Menu */
.nav-lists{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between ;
    align-items: center;
}

.toggle{
    order: 1;
}
.nav-items.button{
    order:2;
}
.nav-items{
    width: 100%;
    text-align: center;
    order: 3;
    display: none;
}
.nav-items.active{
    display: block;
}





.toggle{
   cursor: pointer;
}
.bars{
   display: inline-block;
   height: 2px;
   background: #999;
   width: 18px;
   position: relative;
}
.bars::before,.bars::after{
    content: "";
    display: inline-block;
    height: 2px;
    background: #999;
    width: 18px;
    position:absolute;
}
.bars::after{
    top: -5px;
}
.bars::before{
    top: 5px;
}



/* header */
.header-content{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    flex-direction: column;
    grid-template-columns:1fr 1fr;
    
}
.header-btn a{
    margin-right: 10px;
    border: 2px solid white;
}
.header-btn a:hover{
   border: 1px solid #1453d3;
   color: #ffffff;
   background: #122853;
   transition: 0.5s;
}
.header-image{
    object-position: center;
    object-fit: contain;
}
/* courses */
.courses-container{
    display: grid;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    flex-direction: column;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    gap: 10px;
    /* align-items: center; */
}
.course-box{
    margin: 10px 0;
}
.course-btn a{
    border: 2px solid white;
}
.course-btn a:hover{
    border: 2px solid #1453d3;
    background:#122853;
    color: #ffffff;
    font-weight: 200;
    transition: 0.5s;

}
.course-text h3{
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    letter-spacing: 3px;

}
.course-text span{
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    padding: 10px;
}
/* testimonials */
.testimonials-containter{
    display: grid;
     
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    
    
}

.testimonial-image{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.testimonial-box{
  /* display: flex; */
  gap:10px;
  
}
.testimonial-image img{
    height: 200px;
    width: 100%;
    object-position: center;
    object-fit: contain;
    cursor: pointer;
  
    /* border-radius: 40px; */
}
.test-icons{
    display: flex;
    justify-content: center;
    padding: 16px;
    cursor: pointer;
}
.testimonials{
    display: grid;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
    justify-content: flex-start;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonial-text{
    margin-top:10px;
}
.testimonial-text p{
    font-size: 12px;
}
.testimonial-text p{
    margin-top: 10px;
}
.testimonial-celebration img{
    object-position: center;
    object-fit: contain;
}

/* fad */

.faq{
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    height: 100vh;
    
}
.faq-container{
    margin:  60px auto;
    width: 90%;
    max-width: 750px;
    max-height: 1200px;
    margin: 10px auto;
}
.faq-items{
    list-style: none;
    width: 100%;
    padding: 5px;

}
.faq-items label{
    display: flex;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    /* background: #303030; */
    margin-bottom: 2px;
    position: relative;
}
label::after{
    content: '+';
    font-size: 34px;
    position: absolute;
    right: 20px;
    transition: transform 0.5s;
}
input[type="radio"]{
    display: none;
}
.content{
    background: black;
    text-align: left;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
}
.faq-container input[type="radio"]:checked + label + .content{
      max-height: 600px;
      padding: 30px 20px;
}

.faq-container input[type="radio"]:checked+label::after{
    transform: rotate(135deg);
}

.au-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    max-width: 1200px;
    margin: 3px auto;
     
}


.read a{
    margin-right: 10px;
   
}
.read a:hover{
   border: 2px solid #1453d3;
   color: #ffffff;
   background: #122853;
   transition: 0.5s;
}

/* partnership */
.partnership-container{
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content:flex-start;
    gap:10px;
    margin: 20px auto;
    
}
.partners-box{
    border: 1px solid rgb(9, 9, 58);
}

/* subscribe */
.subscribe-container{
    max-width: 1000px;
    width: 90%;
    background-color:#174dac;
    padding: 50px;  
    border-radius: 10px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.subscribe-container h3{
    font-size: 2.6rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 3.4rem;
    max-width:600px;
    text-align: center;
}
.subscribe-box{
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 4px;
    height: 50px;
    display: flex;
    padding: 5px;
    margin-top: 20px;
}
.subscribe-box input{
    width: 100%;
    height: 100%;
    padding: 0px 10px;
    border: none;
    outline: none;

}
.subscribe-box button{
    background-color: #122853;
    color: #ffffff;
    border-radius: 4px;
    max-width: 120px;
    width: 100%;
    border: none;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.4px;

}
/* footer */
footer{
    width: 100%;
    background-color:  #f5f7fb;
}
.footer-container{
    max-width: 1200px;
    width: 90%;
    margin: 0px auto;
    padding: 50px 0px;
    display:flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-company-box{
    max-width: 330px;
}
.footer-company-box p{
    /* color: white; */
    margin: 5px 0px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    line-height: 1.4rem;
}

.footer-social{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.footer-social a{
    margin-top: 10px;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e9e9e9;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all ease 0.3s;
}
.footer-social a:hover{
    background-color:#014dd5;
    color: #ffffff;
    transition: 0.5s;
}
.footer-link-box strong{
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
}
.footer-link-box ul{
    margin-top: 5px;
}
.footer-container ul li a{
    /* color: white; */
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    transition: all ease 0.3s;
}
.footer-container ul li a:hover{
    color: #014dd5;
    transition: 0.5s;
}
.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 10px;
    border-top: 1px solid #e9e9e9;
    padding: 20px 0px;
    max-width: 1200px;
    width: 90%;
    margin: auto;
}
.footer-bottom span{
    /* color: #252525; */
    font-size: 0.9rem;
}

/* .swiper-button-next,
.swiper-button-prev{
    position: static !important;
    transform: translate(0,0);
    margin: 10px !important;
} */
.service-slide-btns{
    display: flex;
    justify-content: center;
    align-items: center;}
.swiper-button-next::after,
.swiper-button-prev::after{
    font-size: 25px !important;
    font-weight: 800;
    color: #122853;
}
.services-box-container{
    max-width: 1200px;
    width: 90%;
    margin: 40px auto;
    overflow: hidden;
}
.service-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;/*350px*/
    border: 5px solid #ffffff;
    padding: 30px;
}
.service-box:hover{
    border: 5px solid #c7d0eb;
}
.service-box i{
    font-size: 2rem;
    color: #122853;
    width: 60px;
    height: 60px;
    border-radius:5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-box strong{
    color: #122853;
    font-size: 1.4rem;
    margin-top: 20px;
}
.service-box p{
    font-size: 0.9rem;
    line-height: 1.4rem;
    color:#122853;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;  
}
.service-box a{
    height: 45px;
    background-color: #122853;
    color: #ffffff;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 5px;
    margin-top: 30px;
}
.s-box1 i{
    background-color: #d4e2ff;
}
.s-box2 i{
    background-color: #d4ffe1;
}
.s-box3 i{
    background-color: #ffdad4;
}
.s-box4 i{
    background-color: #faf4b8;
}

.s-box1{
    background-color: #ecf6fd;
}
.s-box2{
    background-color: #edfff3;
}
.s-box3{
    background-color: #fff0ee;
}
.s-box4{
    background-color: #fcffcf;
}
.service-btn{
    color: #535353;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    padding: 0px 10px;
}
.service-btn a{
    color: #014dd5;
    text-decoration: underline;
    font-weight: 600;
}

/* hub images */
.hub-images{
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
}
.slider{
    overflow: hidden;
}
.slider figure{
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    animation: 20s slider infinite;

}
.slider figure img{
    width: 20%;
    float: left;
}

@keyframes slider{
    0%{
        left: 0;
    }
    20%{
        left: 0;
    }
    25%{
        left: -100%;
    }
    45%{
        left: -100%;
    }
    50%{
        left: -200%;
    }
    70%{
        left: -200%;
    }
    75%{
        left: -300%;
    }
    95%{
        left: -300%;
    }
    100%{
        left: -400%;
    }
}

/* Form style */
.form-container{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4070f4;
    column-gap: 30px;
}
.form{
    position: absolute;
    max-width: 430px;
    width: 100%;
    padding: 30px;
    border-radius: 6px;
    background: #FFF;
}
.form.signup{
    opacity: 0;
    pointer-events: none;
}
.forms.show-signup .form.signup{
    opacity: 1;
    pointer-events: auto;
}
.forms.show-signup .form.login{
    opacity: 0;
    pointer-events: none;
}
.form-header{
    font-size: 28px;
    font-weight: 600;
    color: #232836;
    text-align: center;
}
form{
    margin-top: 30px;
}
.form .field{
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
}
.field input,
.field button{
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 6px;
}
.field input{
    outline: none;
    padding: 0 15px;
    border: 1px solid#CACACA;
}
.field input:focus{
    border-bottom-width: 2px;
}
.eye-icon{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8b8b8b;
    cursor: pointer;
    padding: 5px;
}
.field button{
    color: #fff;
    background-color: #0171d3;
    transition: all 0.3s ease;
    cursor: pointer;
}
.field button:hover{
    background-color: #016dcb;
}
.form-link{
    text-align: center;
    margin-top: 10px;
}
.form-link span,
.form-link a{
    font-size: 14px;
    font-weight: 400;
    color: #232836;
}
.form a{
    color: #0171d3;
    text-decoration: none;
}
.form-content a:hover{
    text-decoration: underline;
}
.line{
    position: relative;
    height: 1px;
    width: 100%;
    margin: 36px 0;
    background-color: #d4d4d4;
}
.line::before{
    content: 'Or';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    color: #8b8b8b;
    padding: 0 15px;
}
.media-options a{
    display: flex;
    align-items: center;
    justify-content: center;
}
a.facebook{
    color: #fff;
    background-color: #4267b2;
}
a.facebook .facebook-icon{
    height: 28px;
    width: 28px;
    color: #0171d3;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.facebook-icon,
img.google-img{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}
img.google-img{
    height: 20px;
    width: 20px;
    object-fit: cover;
}
a.google{
    border: 1px solid #CACACA;
}
a.google span{
    font-weight: 500;
    opacity: 0.6;
    color: #232836;
}

@media screen and (max-width: 400px) {
    .form{
        padding: 20px 10px;
    }
    
}


@media all and (min-width:468px){
    .nav-lists{
        justify-content: center;
    }
    .logo{
        flex: 1;
    }
    .nav-items.button{
        width: auto;
        order: 1;
        display: block;
    }
    .button.btn-secondary{
        border: 0;
    }
    .button a{
        padding: 10px 30px;
        border-radius: 8px;
        background: none;
        border: 1px solid wheat;
    }
    .button a:hover{
        background: #122853;
        text-decoration: none;
        color: white;
        border: 1px solid wheat;
        transition: all 0.5s;
    }
  
}
/* Tablet screen */
@media all and (min-width:768px){
               .nav-items{
                display: block;
                width: auto;
                order: 1;
               }
                    .toggle{
                        display: none; 
                }
                .logo{
                    order: 0;
                }
                .button{
                    order: 2;
                    padding-right: 0;
                }

            
}


/* Responsiveness */

@media (max-width:480px) {
        .main-container{
            height: 120vh;
        }
        .hub-images h3{
            font-size: 18px;
        }
        .hub-image{
            height: 300px;
        }
        .courses-container{
            display:grid;
            grid-template-columns: 1fr;
            gap:10px;

        }
        .course-text{
            padding: 10px;
        }
        .courses-we-offer h3{
            font-size: 18px;
        }
    
        .header-content{
            display:grid;
            grid-template-columns: 1fr;

        }
        .header-image{
            margin: auto;    
        }
        .header-image img{
            width: auto;
            height: 200px;
            border-radius: none;
        }
        .header-text strong{
            font-size: 20px;
        }
        .header-text p{
            font-size:12px;
        }
        .testimonials{
            display:grid;
            grid-template-columns: 1fr;
            gap:10px;
        }
        .testimonial-text p{
            padding: 10px;
        }
        .test-header{
            font-size: 18px;
            margin-bottom: 10px;
        }
        .header-btn a{
    padding:8px 16px;
    margin-bottom: 10px;
        }
        .testimonial-celebration h3{
            padding: 10px;
        }
        .testimonial-celebration p{
            padding: 10px;
        }
        .faq{
        height:120vh;
        margin-bottom: 20px; 
        }
        .faq-container h2{
            font-size: 18px;
        }
        .faq-items label{
            font-size: 12px;
        }
        .faq-items p{
            font-size: 12px;
        }
        .about-us h3{
            font-size: 18px;
        }
        .au-container{
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .au-box p{
            font-size: 12px;
        }
        .read {
            margin-bottom: 10px;
        }
        .read a{
            padding:8px 10px;
            font-size: 12px;
        
        }
        .partnership h3{
            font-size: 18px;
        }
        .partnership-container{
            display: grid;
            grid-template-columns: 1fr;
        }
        .partners-box{
            padding: 10px;
        }
        .subscribe-container{
            height: 200px;
        }
        .subscribe h3{
            font-size: 18px;
        }
        .subscribe-box input{
            font-size: 12px;
            width: 100%;
        }
        .subscribe-box button{
            border-radius: 4px;
            max-width: 100px;
            width: 100%;
            font-size: 10px;
            padding: 10px 20px;
        }
        .footer-container{
            display:  grid;
            grid-template-columns: 1fr;
        }
        .footer-company-box p{
        font-size: 12px;
        }
        .footer-social a{
            width: 30px;
            height: 30px;
        }
        .footer-link-box{
            margin-top: 10px;
        }
        .header-content{
            display: grid;
            grid-template-columns: 1fr;

        }
    
        .header-container{
            height: 140vh;
        }
        .header-content span{
            font-size: 12px;
        }
        .partner-img{
            height: 400px;
            width: 300px;
          
        }
    
    

   }
@media (max-width:380px){
    .subscribe-container{
        height: 300px;
        padding: 40px auto;
        line-height: 0.3vh;
    }
    .subscribe-container h3{
        font-size: 12px;
        
    }
    .subscribe-box input{
         font-size: 12px;
         width: 100%;
    }
    .subscribe-box button{
        border-radius: 4px;
        max-width: 100px;
        width: 100%;
        font-size: 10px;
        padding: 10px 20px;
    }
}
@media (max-width:323px) {
    .header-image img{
        width: auto;
        height: 200px;
        border-radius: none;
}   
.header-btn a{
   padding:8px 16px;
   margin-bottom: 10px;
}

}
@media all and (max-width:768px){
        /* header */
        .header-container{
            height: 100vh;
        }
        .header-text span{
            font-size: 12px;
        }
        .header-text strong{
            font-size: 20px;
        }
        .header-text p{
            font-size: 10px;
        }
        .header-btn a{
            padding:8px 8px;
            margin-bottom: 10px;
        }
        .hub-images h3,
        .courses-we-offer h3,
        .test-header,
        .faq-container h2,
        .about-us h3,
        .partnership h3,
        .subscribe-container h3{
            font-size: 18px;
            margin: 20px auto;
        }

    .courses-container,
    .partnership-container{
        display: grid;
        grid-template-columns: 1fr;
    }
    .course-box img{
        width: 100%;
        max-height:100%;
    }
    .faq{
        height:120vh;
        margin-bottom: 20px; 
        }
        
    
}