html{
    scroll-behavior: smooth;
}
*{
    /* the properites specified using * are universal and are applied to all the properies unless specified */
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    /* added font and default margin and padding is specied zero */
}
.header{
    /* styling the header part of our website adding background image and positioning */
    /* viewport units vh,vw are used to make it responsive */
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgb(4,9,30,0.7)),url(header.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 5%;
    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: 6px 16px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 15px;
}
.nav-links ul li a:hover{
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition-duration: 0.7s;
    font-weight: bold;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: rgb(238, 96, 30);
    display: block;
    margin: auto;
    transition-duration: 0.7s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    position: absolute;
    color: white;
    width: 90%;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
}
.text-box h1{
    font-size: 62px;

}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}

.hero-btn
{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    padding: 14px 34px;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    background:transparent;
}
.hero-btn:hover{
    border: 2px solid rgb(238, 96, 30);
    background-color: rgb(238, 96, 30) ;
    transition: 0.5s; 
} 

nav .fa{
    display: none;

}
/* making the above things responsive */
@media(max-width:700px){
    .text-box h1{
        font-size: 23px;
    }
    .text-box p{
        font-size: 14px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background:  rgb(238, 96, 30);
        height: 100vh;
        width: 200px;
        top: 0px;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition:0.7s;
    }
    nav .fa{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .nav-links{
        display: none;
    }
    
}

/* Designing the section Courses Offered */
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top:100px ;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: 470;
    line-height: 22px;
    padding: 10px;     
}

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

}
.row2{
    display: flex;
    margin-top: 1%;
    justify-content: center;
    
}
.course-column{
    flex-basis: 31%;
    background:#fff3f3 ;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;

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

.course-column:hover{
box-shadow: 0px 0px 20px 0px rgba(252, 5, 5, 0.6);
}
/* making the entire courses section responsive
 */
 @media(max-width:700px) {
.row{
flex-direction: column;
}     
.row2{
    flex-direction: column;
}
 }

 /* campus section styling */
.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top:50px ;
}
.campus-column{
    flex-basis:32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition:0.5s ;
    
    
}
.campus-column 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(230, 19, 19, 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;
}

/* facilties offered section 
 */
 .facilities{
     width: 80%;
     margin:auto; 
     text-align: center;
     padding-top: 100px;
 }
 .facilties-coloumn{
     flex-basis: 31%;
     border-radius: 10px;
     margin-bottom: 5%;
     text-align: left;

 }
 .facilties-coloumn img{
     width:100%;
     height:190px;
     border-radius: 10px;
 }
 .facilties-coloumn p{
     padding: 0;
 }
 .facilties-coloumn h3{
     margin-top: 16px;
     margin-bottom: 15px;
     text-align: left;
 }

 .facilties-coloumn img:hover{
    box-shadow: 0px 0px 20px 0px rgba(252, 5, 5, 0.9);
}
 /* review section */
 .reviews{
     width: 80%;
     margin: auto;
     padding-top: 100px;
     text-align: center;
 }
 .reviews-column{
     flex-basis: 44%;
     border-radius: 10px;
     margin-bottom: 5%;
     text-align: left;
     padding: 25px;
     margin-left:10px ;
     cursor: pointer;
     display: flex;
     background: #fff3f3 ;
 }
 .reviews-column img{
    height: 100px;
    margin-right: 30px;
    margin-left: 5px;
    border-radius: 100%;
 }
 .reviews-column p{
     padding: 5px;
 }
 .reviews-column h3{
     margin-top: 15px;
     text-align: left;
 }
 .fa{
     padding-left:2px;
     color: orangered;
 }
 @media(max-width:700px){
    .reviews-column img{
        margin-right: 0px;
        margin-left: 15px;
     }
 }
/* asking the user to contact by pressinf the contact button */
.cta{
margin: 100px auto;
width: 80%;
background-image: linear-gradient(rgba(0,0,0,0.7),rgb(0,0,0,0.7)),url(cta.jpg);
background-position: center;
background-size: cover;
border-radius: 10px;
text-align: center;
padding: 100px 0;
}

.cta h1{
    color: white;
    margin-bottom: 50px;
    padding: 0px;
}

@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}
/* designiung the footer */
.footer{
width: 100%;
text-align: center;
padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.socialicons .fa{
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-empire
{
    padding-left: 5px;
    padding-right: 5px;
}


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

/* styling the heading */
.about-header h1{
    margin-top: 100px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
/* flexbasis44% padding 80px227px 0px 2px width617px */
.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: white;
}


/* blog content */
.blog-content{
width: 80%;
margin: auto;
padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;   
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color:#999;
    padding: 0;
}

.blog-right{
    flex-basis: 32%;

}
.blog-right h3{
    background-color:#f44336 ;
    color: #fff;
    padding: 7px 0px;
    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;
}

/* designing comment form  */


.comment-box{
    border: 1px solid #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;
    background: #f0f0f0;
    border: none;
    outline: none;


}

.comment-form button{
    margin: 10px 0;
}

@media(max-width:700px){
    .about-header h1{
        font-size: 33px;
    }
}


/* contact page styling */
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0px;
}

.location iframe{
    width: 100%;
}


/* styling contact details  */
.contact-us{
    width: 80%;
    margin: auto;

}
.contact-column{
    flex-basis: 48%;
    margin-bottom: 3px;
}
.contact-column div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-column div .fa{
    font-size: 28px;
    color: #f44336;
    margin:10px;
    margin-right: 30px;
}
.contact-column div p{
    padding: 0;
}
.contact-column div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;

}

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