*{
    margin:0;
    padding: 0;
}
nav{
    display: flex;
    padding: 5px 6%;
    justify-content: space-between;
    align-items: center;
    
}
.header
{
    min-height:100vh;
    width:100%;
    background:url('Capture4.png') no-repeat ;
    background-position: center;
    background-size: cover;
    position: relative;
}
#logo{
    width:150px;
    height:100px;
}

.nav-links{
    flex:1;
    text-align:right;
    
}
.nav-links ul li{

    list-style-type: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    text-decoration: none;
    color:white
}

.nav-links li::after{
content: "";
width: 0;
height:2px;
background:tan;
display: block;
margin:auto;
}
.nav-links li:hover::after{
    width: 100%;
    transition: 0.3s linear;
}

.text-box{
    width:90%;
    color:white;
    position: absolute;
    text-align: center;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin:10px 0 40px;
    font-size: 18px;
}
.text-box a{
    display: inline-block;
    text-decoration: none;
    color:white;
    border:1px solid white;
    padding:12px 34px;
    font-size: 13px;
    position: relative;
    cursor: pointer;
    background:transparent;
}
.text-box a:hover{
    border:1px solid tomato;
    background-color: tomato;
    transition: 0.5s linear;    
}

nav .fa{
    display: none;
}

/* courses css */

.course{
    width:80%;
    margin:auto;
    padding-top:100px;
    text-align: center;
}
.course h1{
    font-size: 36px;
    font-weight: 600;
}
.course p{
    color:black;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding:16px
}
.row{
    margin-top:5%;
    display: flex;
    justify-content: space-between;    
}
.course-col{
    flex-basis:31%;
    background:bisque;
    border-radius: 10px;
    margin-bottom: 5%;
    padding:20px 17px;
    box-sizing: border-box;
}
.course-col h3{
    font-size: 30px;
    font-weight: 500;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px grey;
}

.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;
}

.campus-column img{
    width:auto;
    height:300px;
    display: block;
}

.layer{
    background-color: transparent;
    width: 100%;
    height:100%;
    opacity: 0.7;
    position: absolute;
    top:0;
    left:0;
    transition: 0.7s;
}

.layer h3{
    width:100%;
    font-weight: 500;
    color:black;
    position: absolute;
    bottom: 0;
    left:50%;
    transform: translateX(-50%);
}
.layer:hover h3{
    bottom:50%;
    opacity: 1;
}

.layer:hover{
    background-color: rgb(236, 91, 91);
}


/* courses css ends */




/* testimonials css */
.testimonials{
    width:80%;
    margin:auto;
    text-align: center;
    padding-top:50px
}
.test-col{
width:80%;
margin:auto;
display: flex;
justify-content: space-between;
flex-basis: 44%;
margin-bottom: 5%;
background-color:rgb(238, 238, 201);
padding:25px;
text-align: left;
}
.test-col img{
    height:44px;    
    border-radius: 25px;
    margin-left:5px;
    margin-right: 30px;       
}
.test-col p{
    text-align: justify;
    margin-bottom: 10px;
    font-weight: 200;
    font-size: 15px;
}
.test-col h3{
    text-transform: uppercase;
    font-weight: 800;
 
}


/* testimonials css ends */
@media screen and (max-width:700px)  {
    .text-box h1{
        font-size: 25px;
    }
    .nav-links ul li{

        list-style-type: none;
        display: block;
        padding: 8px 12px;   
        text-align: left;             
    }
    .nav-links ul{
        padding:30px

    }
    .nav-links{
        position: absolute;
        background: rosybrown;
        height: 100vh;
        width: 200px;
        top:0;
        right:-200px;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display:block;
        color:white;
        margin:10px;
        font-size: 22px;
        cursor: pointer;
        text-align: left;
    }

    .row{
        flex-direction: column;
    }
    
    
}

.footer{
    width:80%;
    margin:auto;
    text-align: center;    
    position: relative;
    bottom: 5px;
    background-color: rgb(235, 167, 119);
    border-radius: 20px;
    box-sizing: border-box;
}
