/*
:root {
------------- to be continued ---------
  }
*/

/* Thin font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Thin.ttf') format('woff2');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-ThinItalic.ttf') format('woff2');
    font-weight: 100;
    font-style: italic;
}

/* ExtraLight font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-ExtraLight.ttf') format('woff2');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-ExtraLightItalic.ttf') format('woff2');
    font-weight: 200;
    font-style: italic;
}

/* Light font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Light.ttf') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-LightItalic.ttf') format('woff2');
    font-weight: 300;
    font-style: italic;
}

/* Regular font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Italic.ttf') format('woff2');
    font-weight: 400;
    font-style: italic;
}

/* Medium font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Medium.ttf') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-MediumItalic.ttf') format('woff2');
    font-weight: 500;
    font-style: italic;
}

/* SemiBold font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-SemiBold.ttf') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-SemiBoldItalic.ttf') format('woff2');
    font-weight: 600;
    font-style: italic;
}

/* Bold font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Bold.ttf') format('woff2');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-BoldItalic.ttf') format('woff2');
    font-weight: bold;
    font-style: italic;
}

/* ExtraBold font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-ExtraBold.ttf') format('woff2');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-ExtraBoldItalic.ttf') format('woff2');
    font-weight: 800;
    font-style: italic;
}

/* Black font */
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-Black.ttf') format('woff2');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Kanit';
    src: url('fonts/Kanit-BlackItalic.ttf') format('woff2');
    font-weight: 900;
    font-style: italic;
}


*{
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/zyzz-banner-colored.png);
    background-position: center;
    background-size: cover;
    position: relative;
}
.header img:hover{
    box-shadow: none;
}
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;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #ffff00;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li: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: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
.hero-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;
}
.hero-btn:hover{
    border: 1px solid #224596;
    background: #224596;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: rgba(1, 1, 16, 0.76);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
        overflow-x: hidden;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}

/* -------- course -------- */
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    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;
}
.course-col{
    flex-basis: 31%;
    background-color: #eff7c6;
    border-radius: 10px;
    margin-bottom: 5%;
    padding:  20px 12px;
    box-sizing: border-box;
    transition: 00.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}


/* --------campus------- */

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    height: 350px;
    width: 100%;
    display: block;
}
.layer{
    margin: 0 auto;
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(19, 22, 107, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/* ----------------facilites---------- */

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img{
    height: 200px;
    width: 100%;
    border-radius: 10px;
}
.facilities-col p{
    padding: 0;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/* --------testimonials--------- */

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.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: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonials-col p{
    padding: 0;
}
.testimonials-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonials-col .fa{
    color: #e6e31f;
}
@media(max-width: 700px){
    .testimonials-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}

/* --------call to Action --------- */

.cta{
    margin: 100px auto;
    width: 80%;
    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;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}


/* ---------Footer--------- */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: rgb(66, 206, 206);
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    display: inline-block;
    position: relative;
    
}

.icons .fa::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00bcca;
    transform-origin: center;
    transition: transform 0.25s ease-in-out;
}
.icons .fa:hover::after{
    transform: scaleX(1);
    transform-origin: center;
}
.fa-heart-o{
    color: #f44336;
}



/* --------- SUB HEADER --------- */

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/heracles2.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

@media (max-width:400px) {
    .sub-header {
        background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/heracles-mobile.jpg);
        background-size:cover;
        background-repeat: no-repeat;
    }
}

.sub-header h1{
    margin-top: -50px;
}

/* -------- About Us Page --------- */

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

#profile-pic{
    height: 400px !important;
    width: 351.308px !important;
}

@media (max-width: 600px){
    #profile-pic {
        height: 300px !important;
        width: 263.481px !important;
    }
}

.about-col h1{
    padding-top: 0;
}

.about-col p{
    padding: 15px 0 25px;
}

.red-btn{
    border: 1px solid #224596;
    background-color: #224596;
    background: transparent;
    color: #224596;
}

.red-btn:hover{
    color: #fff;
}

/* ------About Profile Picture ------- */


.about-col img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 50%;
    width: 225px;
    height: auto;
}


/* --------Blog Content -------- */



@media (max-width:400px){
    #blog-pic {
        float: none;
        width: 100% !important;
        margin: auto;
    }
}

.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;

}
.blog-left h2{
    color: #224596;
    font-weight: 600;
    margin: 30px 0;
    margin-left: 5px;
}
.blog-left p{
    color: #999;
    padding: 0;
}


.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #224596;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px ridge #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    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-form button{
    margin: 10px 0;
}

@media(max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
}

body > section.blog-content > div > div.blog-left > img{
    height: 450px;
    width: auto;
    margin: auto;
    display: block;
    border-radius: 10%;
    border: 2px black solid;
}

/* -----------CONTACT US PAGE----------- */
.location{
    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{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28;
    color: #13166b;
    margin: 10px;
    margin-right: 30px;
}
.about-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/*--------- Progress Bar ----------- */

#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ccc;
    z-index: 9999;
}

#progress-bar {
    height: 100%;
    background-color: #4caf50;
    width: 0;
}


/* -------------SOCIAL PAGE ------------- */





