*{
    margin: 0;
    padding: 0;
    font-family: 'Eczar', serif;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(30, 9, 4, 0.7),rgba(30, 9, 4, 0.7)),url(images/bg.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}

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

nav img{
    width: 125px;
    border-radius: 100%;
    border: 4px solid white;
}

.navlinks{
    flex: 1;
    text-align: center;   
}

.navlinks ul li{
    list-style: none;
    display: inline-block;
    padding: 4px 50px;
    position: relative;
}

.navlinks ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.navlinks ul li::after{
    content: '';
    width: 0%   ;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.navlinks ul li:hover::after{
    width: 100%;
}

/* .navlinks ul li a::after{
    transition: 0.5s;
}
.navlinks ul li a:hover{
    color: #f44336;
} */

.fa-horizontal-rule{
    transition: 0.5s;
}

.fa-arrow-left , .fa-arrow-right{
    transition: 0.01s;
}

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

.textbox h1{
    font-size: 36px;
    text-shadow:rgba(236, 143, 143, 0.603);
}

.textbox h2{
    font-size: 24px;
    color: yellow;
    padding-bottom: 30px;
}

.textbox p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
}

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

.crs-btn:hover{
    /* border: 1px solid #f44336;
    background: #f44336; */
    border: 1px solid #991805;
    background: #991805;
    transition: 1s;
}

nav .fas{
    display: none;
}

@media(max-width: 700px){
    .textbox h1{
        font-size: 20px;
    }

    .textbox h2{
        font-size: 16px;
    }

    .navlinks ul li{
        display: block;
        padding: 4px 12px;
    }

    .fa-horizontal-rule ,.fa-arrow-left ,.fa-arrow-right{
        display: block;
    }
    .navlinks ul li a{
        font-size: 18px;
    }
    .navlinks{
        position: fixed;
        background: #991805;
        text-align: left;
        height: 100vh;
        width: 150px;
        top: 0;
        right: -150px;
        z-index: 2;
        transition: 1s;
    }

    * p{
        font-size: 14px;
    }
    nav .fas{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .navlinks ul{
        padding: 30px;
    }

    .row{
        flex-direction: column;
    }

    .enquire h1{
        font-size: 20px;
    }

    .res-row{
        flex-direction: column;
    }

    .exam-card{
        flex-direction: column;
    }


}

/* Course */

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

h1{
    font-size: 20px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

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

.course-col{
    flex-basis: 31%;
    /* background: #FFF7B2; */
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    overflow: hidden;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

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

/* Events */

.events{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}


.events-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

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

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer h3{
    color: #fff;
    font-weight: 500;
    width: 100%;
    font-size: 18px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

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

.layer:hover{
    background: rgba(0,0,0,0.7);
}

/* testimonials */

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

.testimonials h1{
    font-size: 36px;
}

.testimonials p{
    font-size: 22px;
}

* p{
    font-size: 22px;
}

.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonials-col img{
    height: 50px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p{
    padding: 0;
}

.testimonials-col h3{
    margin-top: 15px;
    text-align: right;
}

.testimonials-col h4{
    text-align: right;
    color: #777;
}

/* Image Slider  */

 .swiper-container {
    width: 100%;
    height: 100%; 
  } 

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

 /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit:cover;
  }
  
  

/* Enquire */

.enquire{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/bench.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.enquire h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

/* Footer */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: rgba(153,24,5,1);
}

.footer h4{
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.footer p{
    color: #fff;
}

.icons .fab{
    color: yellow;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-heart{
    color: yellow;
}

/* About Us Page */

.about-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/aboutbg.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.about-header h1{
    margin-top: 50px;
}

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

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}

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

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

.red-btn:hover{
    color: #fff;
}

/* Contact Us */

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
    border-width: 100px;
}

.location iframe{
    width: 100%;
    background: #991805;
    border-radius: 10px;
    padding: 6px 6px;
    box-sizing: border-box;  
} 

.contactus{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fas{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div .far{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col h5{
    font-size: 21px;
}

.contact-col input , .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* RESULTS */
.res-test{
    padding:40px 0;
    background: #f1f1f1;
    color: #434343;
    text-align: center;
  }
  
  .res-inner{
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 25px 20px;
  }
  
  .res-border{
    width: 100%;
    height: 10px;
    background: #991805;
    margin: 26px auto;
  }
  
  .res-border-end{
    width: 100%;
    height: 10px;
    background:rgb(254,246,177);
    margin: 26px auto;
  }
  .res-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .res-col{
    flex: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
  }
  
  .res-testi{
    background: #fff;
    padding:30px;
    font-size: 2;
  }
  
  .res-testi img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
  
  .res-name{
    font-size: 18px;
    text-transform: uppercase;
    margin: 30px 0;
    padding-bottom: 10px;
  }

  
@media(max-width: 700px){
    .res-col{
        max-width: 100%;
    }
}

/* Courses Exam Card */

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

.exam-card{
    display: flex;
    justify-content: space-evenly;
    min-height: 500px;
}

.exam-col{
    flex-basis: 31%;
    /* background: #FFF7B2; */
    background: rgba(59,136,166,0.2);
    border-radius: 10px;
    margin-bottom: 5%;
    overflow: hidden;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
