*{
    margin: 0;
    padding: 0;
    font-family: "Inria Sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    
}
html, body {
    overflow-x: hidden;
}

h1{
    font-size:82px;
    font-weight: bold;
}
p{
    font-size: 30px;
}

.header{
    min-height: 100vh;
    /* height: 100%; */
    width: 100%;
    background-image: linear-gradient(rgb(4,9,30,0.6),rgba(4,9,30,0.6)),url('images/banner.jpg');
    /* background-image: url('images/banner.jpg'); */
    background-position: center;
    background-size: cover;
    /* padding: 120px 120px; */
    position: relative;

}

nav{
    display :flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 150px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    /* font-size: 100px; */
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 30px;

}

.nav-links ul li a::after{
    content: '';
    width: 0;
    height: 2px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li a:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 82px;
    font-weight: bold;
    /* margin-bottom: 90px; */
}
.text-box p{
    margin: 20px 0px;
    font-size: 30px;
}

.callus-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 30px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.callus-btn:hover{
    border: 1px solid #f44336;
    background-color: #f44336;
    transition: 1s;
}


nav .fa{
    display: none;
}

h3{
    font-size: 30px;
}






/* second-page */
/* second-page */
/* second-page */

.course{
   width: 80%;
   /* height: 10; */
   margin: auto; 
   text-align: center;
   /* padding: ; */
   /* background-color: red; */
   padding-top: 100px;
}

.course h1{
    font-size: 82px;
    font-weight: 600;
}

.course p {
    font-size: 30px;
    color: #777;
    /* background-color: red; */
    font-weight: 300;
    line-height: 22px;
    padding: 10px;

}



.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col h3{
    font-size: 30px;
    font-weight: bold;
    margin: 10px 0px;
}
.course-col p{
   line-height: 40px; 
}
.course-col{
    flex-basis: 31%;
    background-color: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 10px;
    box-sizing: border-box;
    transition: 0.5s;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0, 0.2);
}


/* third-page */
/* third-page */
/* third-page */

.third-page{
    width: 80%;
    /* background-color: red; */
    margin: auto;
    text-align: center;
    padding: 50px;
}
.third-page h1{
    font-size: 82px;
    font-weight: bold;
}
.third-page p{
    font-size: 30px;
    font-weight: 300;
}

.third-page-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin: 30px;
    position: relative;
    overflow: hidden;
    height: 330px;
}

.third-page-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%; 
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(144, 238, 144, 0.7);

}

.layer h3{
    width: 100%;
    /* background-color: red; */
    font-weight: bold;
    color: #fff;
    font-size: 50px;
    bottom: 0;
    left: 50%;
    position: absolute;
    transform: translate(-50%);
    opacity: 0;
    transition: 0.5s;
}


.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}



/* fourth-part */
/* fourth-part */
/* fourth-part */
/* fourth-part */

.fourth-part{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.fourth-part p{
    color: #777;
    font-weight: 300;
}

.fac-col{
    flex-basis:31% ;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: right;
}
.fac-col img{
    width: 100%;
    border-radius: 10px;
}


.fac-col h3{
    margin: 16px 0px;
    text-align: center;
}



/* test */
/* test */
/* test */
/* test */

.test{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 5%;
}


.test-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.test-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
    margin-top: 10px;
}

.test-col h3{
    font-weight: bold;
    margin: 20px 0px;
}

.test-col{
    padding: 0;
}

.test-col .fa{
    color: #f44336;
}





/* callus */
/* callus */
/* callus */
/* callus */

.callus{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0, 0.5),rgba(0,0,0, 0.5)),url('images/banner2.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0px;
}

.callus h1{
    font-weight: normal;
    color: white;
    margin-bottom: 40px;
    padding: 0;

}






/* footer */
/* footer */
/* footer */
/* footer */

.footer{
    /* background-color: red; */
    width: 100%;
    text-align: center;
    padding: 30px 10px;
}

.footer h3{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: bold;

}

.icons .fab{
    color: #f44336;
    margin: 0px 13px;
    cursor: pointer;
    padding: 18px 0px;
    font-size: 30px;
}


/* about_us_page */
/* about_us_page */
/* about_us_page */
/* about_us_page */
.sub-header{
    height: 80vh;
    /* background-color: red; */
    background-image: linear-gradient(rgba(4,9,30, 0.6),rgba(4,9,30, 0.6)),url('images/banner.jpg');
    /* background-image: url('/images/banner.jpg'); */
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}
.sub-header h1{
    margin-top: 100px;
    font-weight: normal;
    /* padding-bottom: ; */
    /* margin-bottom: 100px; */
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
   flex-basis: 48%; 
   /* background-color: red; */
    padding: 30px 2px;
    text-align: center;
}
.about-col img{
    width: 100%;
}
.about-col h1{
    font-size: 60px;
    padding-top: 0;
    text-align: center;

}
.about-col p{
    padding: 20px 0 25px;
}

.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.red-btn:hover{
    color: white;

}




/* blog-page */
/* blog-page */
/* blog-page */

.blog-content{
    /* background-color: red; */
    /* flex-basis: 30%; */
    width: 80%;
    margin: auto;
    padding: 60px 0px;
        
}

.blog-left{
    flex-basis: 65%;
    /* background-color: red; */
}
.blog-left h2{
    color: #222;
    font-size: 50px;
    font-weight: 300;
    margin: 30px 0;
}
.blog-left img, .blog-right img{
    width: 100%;
}

.blog-left p{
    color: #999;
    padding: 0;

}


.blog-right{
    /* background-color: red; */
    flex-basis: 32%;
}

.blog-right h3{
    background-color: #f44336;
    color: white;
    padding: 7px 0;
    margin-bottom: 20px;
    text-align: center;

}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}


.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
 /* l   text-align: left; */
    /* text-align: center; */
}
.comment-box h2{
    text-align: left;
}
.comment-form input , .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-box button{
    margin: 10px 0;
    /* position: absolute; */
    /* left: 0i; */
}



/* contact us page */
/* contact us page */


.location{
    /* background-color: red; */
    width: 80%;
   margin: auto;
   padding: 80px 0;

}

.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    /* background-color: green; */
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
}
.contact-col h5{
    font-size: 30px;
    font-weight: bold;
}
.contact-col p{
    color: #555;
}
.contact-col div .fa{
    font-size: 29px;
    margin: 20px;
    margin-right: 30px;
    color: red;
}
.contact-col div .fab{
    font-size: 50px;
    margin: 20px;
    margin-right: 30px;
    color: red;
    text-align: center;
}


.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    margin-bottom: 5px;
    color: #555;
    font-weight: normal;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    outline: none;
    border: 1px solid #ccc;
}
@media(max-width: 700px){
    h3{
        font-size: 16px;
        font-size: 16px;
    }
    h1{
        font-size: 35px;
    } 
    p{
        font-size: 15px;
    }
    .text-box h1{
        font-size: 35px;
    }

    .text-box p{
        font-size: 15px;
        margin: 0px 0px;
    }

    
    nav img{
        width: 80px;
    }
    
    .callus-btn{
        display: inline-block;
        text-decoration: none;
        color: #fff;
        border: 1px solid #fff;
        padding: 12px 34px;
        font-size: 15px;
        background: transparent;
        position: relative;
        cursor: pointer;
        margin: 5px 0px;
    }
    .nav-links ul li a{
        color: #fff;
        text-decoration: none;
        font-size: 20px;
    }


    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    
    .nav-links ul{
        padding: 30px;
    }
    


    /* course part */
    /* course part */
    /* course part */

    .course h1{
        font-size: 35px;
    }
    .course p {
        font-size: 15px;
        padding: 0px 0px;
        line-height: normal;
    }

    .course-col h3{
        font-size: 15px;
    }  
    
    .row{
        flex-direction: column;
    }

    /* third-page */
    /* third-page */
    /* third-page */
    /* third-page */
    .third-page h1{
        font-size: 35px;
    }
    .third-page p{
        font-size: 15px;
    }
    .layer h3{
        font-size: 25px;
 
}


    

    /* fourth-part */
    /* fourth-part */
    /* fourth-part */
    /* fourth-part */

    .fourth-part{
        padding-top: 80px;
    }




    /* test */
    /* test */
    /* test */
    /* test */
    .test-col img{
        margin-left: 0;
        margin-right: 15px;

    }
    .about-col h1{
        font-size: 30px;
        padding-top: 0;
        text-align: center;
    
    }
    .red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
    }

    .red-btn:hover{
        color: white;

    }
    .sub-header h1{
        font-size: 50px;
    }

    .blog-left h2{
      
        font-size: 30px;
      
    }
    
    .contact-col input, .contact-col textarea{
        /* width: 100%;
        padding: 15px;
        margin-bottom: 15px;
        outline: none;
        border: 1px solid #ccc; */
        box-sizing: border-box;
    }
    .contact-col div h5{
        font-size: 20px;
  
    }
    .header img{
        width: 20%;
        margin-left: 20px;
        margin-top: 10px;
    }
    .sub-header{
        height: 50vh;
    }
}