@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Prompt', sans-serif;/*font*/
}
a{
    color: transparent;
}

i {
  color: white;
}
.header
{
    /* min-height: 100vh; */
    /* width: 100%; */
    height: 100vh;
    background-image: linear-gradient(rgba(4,9,30,0.8),rgba(4,9,30,0)), url("../images/news_banner.png");
    background-position: center;
    background-size: cover;

}
header
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 45px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    
}
header img
{
  width: 150px;
}
header ul
{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: right;
}
header ul li
{
  list-style: none;
  margin-left: 20px;
}
header ul li a
{
  text-decoration: none;
  padding: 6px 15px;
  color: #fff;
  font-size: 1.2rem;
}
header ul li::after
{
  content: '';
  width: 0%;
  height: 2px;
  background: #7597de;
  display: block;
  margin: auto;
  transition: 0.5s;
}
header ul li:hover::after
{
    width: 100%;
}
body{
    background: linear-gradient(to top,#293677,#091222);
}
.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 #7597de;
    background: #7597de;
    transition: 1s;
}
/*----- course -----*/
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
    color: #fff;
}
p{
    color: #fff;
    font-weight: 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: #7597de;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #fff;
}
.course-col:hover{
    box-shadow: 0 0 20px 0 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{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(95, 11, 151, 0.701);
}
.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 .more-btn{
    width: 50%;
    font-weight: 200;
    color: #000000;
    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 .more-btn{
    bottom: 30%;
    opacity: 1;
}
.more-btn
{
    width: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 8px 0;
    border-radius: 40px;
    background: #fff;
    color: #2b1055;
    font-size: 1.5em;
    z-index: 9;
}
.more-btn:hover
{
    color: #ffffff;
    background: #7597de;
    transition: 0.5s;
}
/*------ facilities ------*/
.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: center;
}
.facilities-col img{
    width: 100%;
    border-radius: 10px;
}
.facilities-col p{
    padding: 0;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}
.facilities-col h6{
    color: #fff;
    font-weight: 500;
    font-size: 26px;
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: center;
}
.visit-btn{
    display: inline-block;
    top: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.visit-btn:hover
{
    border: 1px solid #7597de;
    background: #7597de;
    transition: 1s;
}
/*------ footer -----*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    font-size: 20px;
    margin-top: 20px;
    font-weight: 600;
    color: #fff;
}
.icons .icon{
    margin: 0 1rem;
    cursor: pointer;
    padding: 18px 0;
}

.icons .icon:hover {
    color: #80A7EF;
}
/*-------- about us page -------*/
.sub-header{
    height: 50vh;
    background-image: linear-gradient(rgba(4,9,30,0.8),rgba(4,9,30,0)), url("../images/Forest_behind.png");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    text-align: center;
    padding: 200px 0;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}

/* --------- Events page ------------- */
canvas {
    margin-top: 4rem;
}
.sub-header2{
    height: 50vh;
    background-image: linear-gradient(rgba(4,9,30,0.8),rgba(4,9,30,0)), url("../images/fantasy.jpeg");
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header2 h1{
    text-align: center;
    padding: 200px 0;
}