*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}
.header{
    background-color: #fff;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 2%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 100px;
    height: 80px;
}
nav .image{
    width: 350px;
    padding-left: 10px;
}
.nav-links{
    flex: 1;
    text-align: right;
    overflow: hidden;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: black;
    text-decoration: none;
    font-size: 13px; 
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}
.text-box{
    height: 40vh;
    width: 100%;
    text-align: center;
    background-image: url(images/background.jpg);
    position: relative;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
}
.text-box h1{
    padding-top: 50px;
    font-size: 62px;
    color: #fff;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

/*--features--*/
.features{
    padding: 10px 10px;
    font-size: 22px;
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}
/* .features .row{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
} */
.text-col{
    flex-basis: 45%;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 15px;
}
#video-container{
    flex-basis: 40%;
    margin-bottom: 10px;
}
#video-container{
    display: block;
    margin: auto;
}
.features h2{
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 20px;
    padding-left: 10px;
}
.features p{
    color: #777;
    font-size: 15px;
    line-height: 25px;
}

   /*----course------*/
   .course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
.course-col p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: justify;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 45%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
.course-col img{
    width: 250px;
    height: 250px;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
h4{
    color: #777;
    padding-bottom: 10px; 
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

/*-----Call to action-----*/
.cta{
    margin: 100px auto;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px; 
    text-align: center;
    padding: 100px 0;
 }
 .cta h1{
     color: #fff;
     font-size: 25px;
     margin-bottom: 40px;
     padding: 0;
 }
 .here-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.here-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

/*--history--*/
.history{
    padding: 30px 20px;
    font-size: 22px;
}
.history .row{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}
.history .text-col{
    margin-bottom: 20px;
}
.history .img-col{
    flex-basis: 50%;
    margin-bottom: 20px;
}
.history .img-col img{
    display: block;
    width: 60%;
    height: 40%;
    margin: auto;
}
.history h2{
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 20px;
    padding-left: 10px;
}
.history p{
    color: #777;
    font-size: 15px;
    line-height: 25px;
}

/*--column--*/
.column{
    padding: 30px 20px;
    font-size: 22px;
}
.column .row{
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2px;
}
.column .text-col{
    flex-basis: 30%;
    margin-bottom: 20px;
}
.column i{
    font-size: 30px;
    padding-left: 10px;
    padding-bottom: 10px;
}
.column h2{
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 20px;
    padding-left: 10px;
}
.column p{
    color: #777;
    font-size: 15px;
    line-height: 25px;
}

/*-----Footer-----*/
.footer{
    width: 100%;
    position: absolute;
    padding: 30px 20px;
    background-color: #000;
    font-size: 13px;
    line-height: 20px;
}
.footer .col{
    flex-basis: 25%;
    padding: 10px;
    flex-grow: 1;
    margin-bottom: 20px;
}
.footer .col:nth-child(3){
    flex-basis: 15%;
}
.footer .row{
    align-items: flex-start;
    padding: 10px 0;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.footer h5{
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600; 
    color: #fff;  
}
.footer h4{
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600; 
    color: #f44336;  
}
.footer p{
    color: #fff;
}
.footer img{
    align-content: center;
    width: 100px;
    height: 80px;
}
.social-icons .fab{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #fff;
    margin-right: 15px;
    cursor: pointer;
}
hr{
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 5px auto;
}
.copyright{
    text-align: center;
}

/*----mobile view----*/
@media only screen and (max-width: 600px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links.responsive{
        display: block;
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #000;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    
    .nav-links{
        display: none;
    }
    nav .image{
        width: 200px;
    }
    .row{
        flex-direction: column;
    }
    .cta h1{
        font-size: 15px;
    }
    img{
        width: 200px;
    }
    .footer{
        bottom: unset;
    }
    .footer .col{
        flex-basis: 100%;
    }
    .footer .col:nth-child(3){
        flex-basis: 100%;
    }
}
