*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
header{
  
    /* border: 2px solid red; */
    
    background: linear-gradient(to right ,rgba(9, 11, 18, 1),rgba(1, 11, 141, 0.7),rgba(9, 11, 18, 1));
    min-height:70px;
    position: relative;
    z-index: 100;
    padding-bottom: 0px;

}
nav{
    display: flex;
    
    justify-content: space-between;
    align-items: center;
    padding-left: 6%;
    padding-right:6% ;
    
}
ul{
    display: flex;
    list-style: none;
    /* justify-content: center; */
    align-items: center;
    

    /* gap: 20px */
}
.logo{
    width: 120px;
    cursor: pointer;
    flex-shrink: 0;
    /* display: flex; */
    /* border: 2px solid red; */
    height: 80px; 
    /* margin-right: auto; */

}
.logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.5);
    
}
#check{
    display: none;
}
.checkbtn i{
    /* color: aliceblue; */
    display: none;
}
ul .fa-xmark{
    color: #f44336;
    display: none;
}
ul li{
    padding: 0px 15px;
}
ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
ul li:hover::after{
    width: 100%;
}

ul li a{
    /* padding: 15px; */
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    
}
ul li .home{


}

/* --------home------------------ */
.home-section{
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0px;
    background:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/bgimage.jpg);
    background-position: center;
    background-size: cover;
    
}
.home-container{
    /* background-color: #f44336; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    
}

.home-container h1{
    color: #fff;
    font-size: 62px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}
.home-container p{
    color: #fff;
    font-size: 14px;
    /* align-self: center; */
    text-align: center;
    line-height: 20px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.home-container a{
    text-decoration: none;
    color: #fff;
    display: inline-block;
    position: relative;
    background: transparent;
    border: 1px solid #fff;
    padding: 12px 36px;
    font-size: 14px;
    z-index: 1;
    /* border-radius: 5px; */
    transition: 0.5s;
}
.home-container a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f44336;
    z-index: -1;
    transition: 0.5s;
}
.home-container a:hover{
    border: 1px solid #f44336;
}
.home-container a:hover::before{
    width: 100%;
}
/* -------------------course-section--------------------- */
.course-section{
    width: 80%;
    /* border: 2px solid red; */
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.course-section h1, .campus-section h1, .facilities-section h1,.testimonials-section h1{
    color: #222;
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    animation-name: reveal-from-bottom;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

}
.course-section p, .campus-section p, .facilities-section p, .testimonials-section p{
    color: #777;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
    animation-name: reveal-from-bottom;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

}
.row{
    /* border: 2px solid#777; */
    display: flex;
    justify-content: space-between;
    margin-top: 5%;
}
.course_col{
    background: #fff3f3;
    flex-basis: 30%;
    padding: 20px 12px;
    transition: 0.5s;
    margin-bottom: 5%;
    border-radius: 10px;
    animation-name: reveal-from-bottom ;
    animation-timeline: view();
    animation-range:  entry 0% cover 50%;

 
}
.course_col:hover{
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
}
.course_col h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course_col p{
    color: #777;
    font-size: 14px;
    /* text-align: justify; */
    line-height: 22px;
    padding: 10px;
}
/* ---------------campus-section---------------- */
.campus-section{
    width: 80%;
    /* border: 2px solid red; */
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus_row{
    display: flex;
    justify-content: space-between;
    margin-top: 5%;
}
.campus_col1, .campus_col2, .campus_col3{
    /* border: 2px solid red; */
    flex-basis: 30%;
    cursor: pointer;
    height: 400px;
    margin-bottom: 3%;
    position: relative;
    border-radius:10px ;
    overflow: hidden;
    animation-name: reveal-from-bottom ;
    animation-timeline: view();
    animation-range:  entry 0% cover 50%;
    /* margin-top: 4%; */
}

.campus_col1 img, .campus_col2 img, .campus_col3 img{

    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.campus_col1::after{
    content: 'Azerbaijan';
    position: absolute;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;    
    top: 0;
    left: 0;
    width: 100%;
    font-size: 14px;
    height: 100%;
    text-decoration-line: underline;
    text-decoration-color:#f44336 ;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6));
    /* opacity: 0; */
    transform: translateY(100%);
    transition: 0.5s;
}
.campus_col2::after{
    content: 'CHINA';
    position: absolute;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
   
 
    
    top: 0;
    left: 0;
    font-size: 14px;
    width: 100%;
    height: 100%;
    text-decoration-line: underline;
    text-decoration-color:#f44336 ;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6));
    /* opacity: 0; */
    transform: translateY(100%);
    transition: 0.5s;
}
.campus_col3::after{
    content: 'Turkey';
    position: absolute;
    color: #fff;
    font-size: 14px;
    display: flex;
    text-decoration-line: underline;
    text-decoration-color:#f44336 ;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    
    align-items: center;
    justify-content: center;
   
 
    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6));
    /* opacity: 0; */
    transform: translateY(100%);
    transition: 0.5s;
}
.campus_col:hover::after , .campus_col1:hover::after, .campus_col2:hover::after, .campus_col3:hover::after{
    /* opacity: 1; */
    transform: translateY(0);
    letter-spacing: 4px;   
}
/* -------------------Facilities---------------- */
.facilities-section{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;

}
.facilities-row{
    display: flex;
    justify-content: space-between;
    /* border: 2px solid red; */
    margin-top: 5%;

}
.facilities-col{
    flex-basis: 30%;
    /* border: 2px solid #777; */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5%;
    cursor: pointer;
    animation-name: reveal-from-bottom ;
    animation-timeline: view();
    animation-range:  entry 0% cover 40%;
}
.facilities-col img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
}
.facilities-col h3{
    font-size: 20px;
    padding-top: 16px ;
    /* padding-bottom: 15px; */
    text-align: left;
    font-weight: 600;
}
.facilities-col p{
    text-align: left;
    padding: 0 ;
    font-size: 14px;
    animation: none;
    /* animation-name: reveal-from-bottom2 ;
    animation-timeline: view(); */
    line-height: 22px;
    /* animation-range:  entry 0% cover 40%; */
    /* line-height: 1.5; */
}
/* --------------Testimonial-------------------- */
.testimonials-section{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.testimonial-row{
    display: flex;
    justify-content: space-between;
    /* border: 2px solid red; */
    margin-top: 5%;
}
.testimonial-col{
    border-radius: 10px;
    cursor: pointer;
    
    background: #fff3f3;
    flex-basis: 48%;
    padding: 25px;
    text-align: left;
    display: flex;
    margin-bottom: 5%;
    animation-name: reveal-from-bottom ;
    animation-timeline: view();
    animation-range:  entry 0% cover 40%;
    

}
.testimonial-col img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 15px;
    /* margin-top: 20px; */
    margin-left: 0px;
    object-fit: cover;

}
.testimonial-col p{
    padding: 5px;
    text-align: left;
}
.testimonial-col h3{
    margin-top: 15px;
    margin-left: 8px;
    font-size: 20px;

    text-align: left;
}
.testimonial-col i{
    font-size: 16px;
    /* margin-left: 5px; */
    color: #f44336;    
}
.testimonial-col #star1{
    margin-left: 8px;
}
.testimonial-col #star2{
    margin-left: 8px;
}

/* ------------------Call to action---------------- */
.cta-section{
    width: 80%;
    margin: 100px auto;
    /* text-align: center; */
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/cta-image.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    animation-name: reveal-from-bottom ;
    animation-timeline: view();
    animation-range:  entry 0% cover 40%;
    

}
.cta-section h1{
    color: #fff;
    margin-bottom: 40px;
    font-size: 30px;
    padding: 0;
}
.cta-section a{
    padding: 12px 36px;
    text-decoration: none;
    border: 1px solid #fff;
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 14px;
    background: transparent;
    /* border-radius: 25px; */
    z-index: 1;
    transition: 0.5s;
}
.cta-section a::before{

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f44336;
    z-index: -1;
    transition: 0.5s;

}
.cta-section a:hover{
    border: 1px solid #f44336;
}
.cta-section a:hover::before{
    width: 100%;
}
/* -----------footer--------- */
.footer-section{
    width: 80%;
    margin: auto;
    text-align: center;
    /* border:2px solid red; */
    padding: 30px 0;
    margin-bottom: 10px;
    animation-name: reveal-from-bottom ;
    animation-timeline: view();
    animation-range:  entry 0% cover 30%;
}
.footer-section h4{
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-section p{
    color: #777;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;


}

.icons{
    color: #777;
    /* border: 1px solid #f44336; */
    /* margin: 0 13px; */
    cursor: pointer;

}
.icons i{
    border: 1px solid #f44336;
    margin: 0 3px;
    width: 40px;
    height: 40px;
    padding: 10px;
    font-size: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;

}
.icons i:hover{
    background: #f44336;
    color: #fff;
}
.fa-heart{
    color: #f44336;
}
.footer-section h5{
    margin-top: 20px;
    color: #777;
    font-size: 14px;
}
/* ---sub-about0------- */
.sub{
    width: 100%;
    /* margin-top: 100px; */
    min-height: calc(60vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    

    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/sub-about.jpg);
    background-position: center 45%;
    background-size: cover;
    
}
.sub-container{

    text-align: center;
    /* background: #777; */
    width: 80%;

}
.sub-container h1{
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    animation-name:reveal-word-big-sec ;
    animation-duration: 1s;
    transition: 0.5s ease-in-out;




}
.about-content{
    width: 80%;
    margin: auto;
    /* text-align: left; */
    padding-top: 80px;
    padding-bottom: 20px;

}
.content-row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}
.content-col{
    flex-basis: 48%;
    animation-name: reveal;
    animation-duration: 2s;
    /* border: 2px solid red; */
    padding: 30px 2px;
    /* animation-name: reveal-from-bottom2 ;
    animation-timeline: view();
    animation-range:  entry 0% cover 40%; */
}
.content-col img{
    width: 100%;
}
.content-col h1{
    font-weight: 600;
    font-size: 36px;
    padding: 0;
}
.content-col p{
    padding: 15px 0px;
    line-height: 22px;
    color: #777;
    font-size: 14px;
    /* line-height: 22px; */
    /* padding: 10px; */
}
.content-col a{
    padding: 12px 36px;
    text-decoration: none;
    margin-left: 2px;
    /* margin-bottom: 10px; */
    border: 1px solid #f44336;
    display: inline-block;
    position: relative;
    color: #f44336;
    font-size: 14px;
    background: transparent;
    /* border-radius: 25px; */
    z-index: 1;
    transition: 0.5s;
}
.content-col a::before{

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f44336;
    z-index: -1;
    transition: 0.5s;

}
.content-col a:hover{
    border: 1px solid #f44336;
    color: #fff;
}
.content-col a:hover::before{
    width: 100%;
}
/* --------------blog------------------ */
.blog-section{
    width: 80%;
    margin: auto;
    text-align: center;
    /* border:2px solid red; */
    padding: 60px 0;
    margin-bottom: 10px;

}
.blog-row{
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap */
}
.blog-left-col{
    flex-basis: 65%;
    animation-name: reveal;
    animation-duration: 2s;

    
}
.blog-left-col img{
    
    
    
    width: 100%;

}
.blog-left-col h1{
    text-align:left ;
    color: #222;
    margin: 30px 0px;
}
.blog-left-col p{
    font-size: 14px;
    color: #777;
    padding: 0;
    text-align: left;
    line-height: 22px;
    animation-name: reveal-from-bottom2 ;
    animation-timeline: view();
    animation-range:  entry 0% cover 40%;

}
.blog-right-col{
    flex-basis: 32%;
    animation-name: reveal;

    animation-duration: 2s;

    /* border: 2px solid red;     */
 
}
.blog-right-col h1{

    font-size: 16px;
    text-transform: uppercase;
    background-color: #f44336;
    color: #fff;
    padding: 8px 0px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.blog-right-col .post{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 2px solid #ccc; */
    padding: 10px;
    color: #555;

}
.form-container{
    border:2px solid #ccc ;
    margin: 50px 0px;
    text-align: left;
    padding: 10px 20px;
}
.form-container h1{
    text-align: left;
    margin: 0px 0px 15px 0px;
    font-weight: 600;
    color: #333;
}
.comment-form input,.comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 10px 0px;
    font-size: 16px;
    border: none;
    background-color: #f0f0f0;
    resize: none;

}
.comment-form button,.contact-col button,.real-form button{
    padding: 12px 36px;
    text-decoration: none;
    margin-left: 2px;
    cursor: pointer;
    border: 1px solid #f44336;
    align-self: flex-start;
    font-weight: 600;
    /* display: inline-block; */
    position: relative;
    color: #f44336;
    font-size: 14px;
    background: transparent;
    /* border-radius: 25px; */
    z-index: 1;
    transition: 0.5s;
}
.comment-form button::before,.contact-col button::before,.real-form button::before{

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #f44336;
    z-index: -1;
    transition: 0.5s;

}
.comment-form button:hover,.contact-col button:hover,.real-form button:hover{
    border: 1px solid #f44336;
    color: #fff;
}
.comment-form button:hover::before,.contact-col button:hover::before,.real-form button:hover::before{
    width: 100%;
}
/* ----------contact------------------ */
.contact-form{
    width: 80%;
    margin: auto;
    /* text-align: center; */
    /* border:2px solid rgb(114, 95, 95); */
    padding: 100px 0;
    margin-bottom: 10px;
}
.contact-row{
    display: flex;
    justify-content: space-between;
    /* border: 2px solid red; */
    /* flex-wrap: wrap */

}
.contact-col{
    flex-basis:48%;
    animation-name: reveal;
    animation-duration: 2s;
    /* animation-delay: 1s */
    
    ;
    /* border: 2px solid #f44336; */
 
    
}
.contact-col .address{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.contact-col .address i{
    color: #f44336;
    font-size: 20px;
    margin-right:20px ;
    margin-top: 10px;
}
.contact-col .address:nth-child(3){
    margin-right: 30px;
}
@media screen and (max-width: 355px) {
    .contact-col .address:nth-child(3){
        margin-right: 5px;
    }
}
.contact-col .address p{
    padding-top: 5px;
    color: #777;
    font-size: 14px;
}
.contact-col .address h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    outline: none;
    resize: none;
}


/* ----------------map------------ */
.map{
    width: 80%;
    margin: auto;    
}
.map iframe{
    width: 100%;
}
/* ------apply-form-------------- */
.apply-form{
    width: 80%;
    margin: auto;
   
    margin-top: 30px;
    
    padding: 50px 50px;
    margin-bottom: 10px;

}
.apply-row{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.apply-col1{
    animation-name: reveal;
    animation-duration: 2s;
}

.apply-col1 h1{
    text-align: center;
    margin-bottom: 10px;
    /* flex-basis: 100%; */
    color: #333;
  
    

    font-weight: 600;
    font-size: 26px;
}
.apply-col1 p{
    text-align: center;
    margin-bottom: 30px;
    line-height: 22px;
    padding: 10px;
   
    color: #777;
 
    font-weight: 400;
    font-size: 14px;
}
.apply-col2{

    padding: 15px;
    margin-top: 10px;
    animation-name: reveal;
    animation-duration: 2s;
    

    /* display: flex; */
    /* gap: 10px; */
    /* justify-content: space-between; */
}
.real-form{
    /* border: 1px solid #ccc; */
    display: block;
    margin: auto;

}
.real-form button{


}

.apply-form input,.apply-form textarea{
    /* flex-basis: 48%; */
    width: 45%;
    padding: 15px 10px;
    font-size: 16px;
    margin-bottom: 15px;
    margin-right: 10px;
    
    /* margin: 0px 15px 15px 15px; */
    border: 1px solid #ccc;
    outline: none;
    resize: none;
}
.apply-form textarea{
    /* margin-bottom: 20px; */
    /* width: 60%; */
    display: block;
    /* margin: auto; */
}

@keyframes reveal-from-bottom{
    0%{
        transform: translateY(200px) scale(0.5);
        /* transform: scale(0.5); */
        opacity: 0;
    }
    100%{
        transform: translateY(0px) scale(1);
        /* transform: scale(1); */
        opacity: 1;
    }
}
@keyframes reveal-word-big-sec{
    0%{
        /* letter-spacing: 20px; */
        opacity: 0.3;
        transform: scale(0);
    }
    100%{
        /* letter-spacing: 1px; */
        opacity: 1;
        transform: scale(1);

    }
}
@keyframes reveal-word-small-sec{
    0%{
        letter-spacing: 5px;
        opacity: 0.3;
    }
    100%{
        letter-spacing: 1px;
        opacity: 1;
    }
}
@keyframes reveal-from-bottom2{
    0%{
        /* transform: translateY(50px); */
        visibility: hidden;
        opacity: 0;
    }

    100%{
        /* transform: translateY(0px); */
        opacity: 1;
        visibility: visible;
    }
}
@keyframes reveal{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}