

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root{
    --primary-color: #e74129;
    --primary-red: #d71f27;    
    --grey-bg: #f5f5f5;
    --dark-text: #222021;
    --light-text: #FFF;
}

header{
    padding: 15px 0;
}

.top-logo{
    height: 100px;
}

.hero-section{
    /* height: 500px; */
    background-image: url(../images/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 55px 0;
}

.form-box{
    background: #FFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    max-width: 400px;
    margin-right: auto;
}

.red-wrapper{
    background: var(--primary-red);
    padding: 40px 0;
    color: #FFF;
}


.grid-box h4{
    color: var(--primary-red);
}

.grid-box{
    background: var(--grey-bg);
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
    padding: 25px;
    height: 100%;
}

.white-wrapper{
    padding: 40px 0;
}

.ins-block{
    background: #FFF;
    color: #333;
    height: 100%;
}

.ins-block img{
    width: 100%;
    display: block;
}

.ins-block .inner-ins-block{
    padding: 15px;
}

.custom-stats{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.stat{
    text-align: center;
    font-size: 18px;
    color: var(--primary-color);
}

.stat span{
    display: block;
    width: 100%;
    font-size: 28px;
    font-weight: 400;
}

.custom-link{
    text-decoration: none;
    color: var(--primary-red);
}

.blue-box{
    background: #002060;
    color: #FFF;
    text-align: center;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yellow-box{
    background: #ffc802;
    color: #000;
    text-align: center;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yellow-box big, .blue-box big{
    font-size: 40px;
}

.stats-2{
    color: var(--primary-color);
    text-align: center;
}

.stats-2 span{
    font-size: 30px;
    color: #000;
    display: block;
}

.tab-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--primary-color);
    color: #FFF;
    border-radius: 4px;
    cursor: pointer;
}

.tab-header.active{
    background: var(--primary-red);
}

.tab-header.active .fa-chevron-down{
    transform: rotate(180deg);
}

.tab-body{
    padding: 15px;
    border: 1px solid #CDCDCD;
    display: none;
}

.tab-header span{
    font-size: 20px;
}

.course-highlights{
    background: #002060;
    color: #FFF;
    padding: 20px 10px;
}

.grey-wrapper{
    background: var(--grey-bg);
    padding: 40px 0;
}

.red-title{
    color: var(--primary-red);
}

.grey-wrapper h5{
    color: #333;
    margin-bottom: 50px;
}

.iframe-3d{
    width: 100vw;
    height: 80vh;
}


.testimonial-wrapper{
    background: url(../images/bg.jpg) no-repeat center center;
    padding: 50px 0;
    color: #FFF;
}

.testimonial-item{
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 0 50px;
}

.testimonial-item img{
    width: 300px;
    border: 10px solid #FFF;
}

.testimonial-item h5, .testimonial-item span{
    color: var(--primary-color);
}

.swiper-button-next, .swiper-button-prev{
    color: var(--primary-color);
}

.swiper-pagination-bullet-active{
    background: var(--primary-color);
}

.form-box .btn{
    width: 100%;
    background: var(--primary-red);
    border: 0;
}

.form-box .btn:active, .form-box .btn:hover, .form-box .btn:focus{
    background: var(--primary-color);
}

.half-block{
    position: relative;    
    color: #FFF;
}

.half-block::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 50%;
    background: var(--primary-red);
    transform: translateX(-50%);
    z-index: -1;
}

.back-to-top{
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #FFF;
    border: 3px solid #FFF;
    background: var(--primary-red);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form-box h3{
    margin-bottom: 10px;
    color: var(--primary-red);
    font-weight: bold;
}

.tab-body h4{
    font-size: 18px;
    font-weight: bold;
}

.tab-body p{
    font-size: 14px;
}

.tab-body ul{
    margin-bottom: 0;
}

.tab-body ul li{
    font-size: 14px;
}

.btn-danger{
    background: var(--primary-red);
    border: 0;
}

.title{
    text-transform: uppercase;
}

/* mobile screen media query */

@media only screen and (max-width: 1280px) {
    .hero-section{
        background-position: -250px center;
    }

    .tab-header span{
        font-size: 16px;
    }
}


@media only screen and (max-width: 600px) {
    .testimonial-item{
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .testimonial-slider .swiper-button-next, .testimonial-slider .swiper-button-prev{
        display: none;
    }

    .top-logo{
        max-width: 100%;
        height: auto;
    }

    .hero-section{
        padding-top: 250px;
        padding-bottom: 35px;
        background-size: 165%;
        background-position: 0 top;
        height: auto;
    }

    
    .tab-header span{
        font-size: 18px;
    }
}

