
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body{
    overflow-x: hidden; }
    */
.header {
    font-family: 'Macondo', cursive;
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(#04091eb3, #04091eb3), url(eduford_img/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
    opacity: 1;
}

nav {
    display: flex;
    padding: 1% 5%;
    justify-content: space-between;
    align-items: center;
    position:sticky;
    top: 0;
}

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;
    /* text-decoration: none; */
}

.nav-links ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-size: 15px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #ff6055;
    display: block;
    margin: auto;
    transition: 0.5s;

}

.nav-links ul li:hover::after {
    width: 100%;
}

.textbox {
    width: 90%;
    color: #f0f0f0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.textbox h1 {
    font-size: 52px;
}

.textbox p {
    margin: 15px 0 40px;
    font-size: 14px;
    color: #ffff;

}

.btn {
    display: inline-block;
    text-decoration: none;
    color: #ffff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 12px 34px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.btn:hover {
    border: 1px solid #ff6055;
    background-color: #f83b2d;
    transition: 1s;
}

nav .fa {
    display: none;
}

nav .fas {
    display: none;
}

@media(max-width: 700px) {
    nav {
        overflow-x: hidden;
    }

    .textbox h1 {
        font-size: 23px;
    }

    .textbox p {
        margin: 15px 0 40px;
        font-size: 10px;
        color: #ffff;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: #f83b2d;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    nav .fas {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;

    }

    .nav-links ul {
        padding: 30px;
        margin-top: 10px;
    }


}

/* courses section  */

.course {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.course p {
    margin-top: 10px;
}

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

.course-col {
    flex-basis: 32%;
    /* property specifies the initial length of a flexible item. */
    background: #ffe7eb;
    border-radius: 3px;
    font-weight: 300;
    margin-bottom: 5%;
    box-sizing: border-box;
    padding: 20px 12px;
    box-shadow: 4px 4px 3px #ffe7eb;
    transition: 1s;
    cursor: pointer;
}

.course-col h1 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover {
    box-shadow: 0 0 20px 0px #464646;
}

@media(max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

/* section : campus */
.campus {
    margin: auto;
    text-align: center;
    padding-top: 15px;
    width: 80%;
}

.campus-col {
    flex-basis: 32%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    

}

.campus-col img {
    width: 100%;

}

.layer {
    position: absolute;
    top:0;
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    background: transparent;
    /* opacity: 0.3; */
    transition: 0.5s;
    left: 0;
    cursor: pointer;
    margin-bottom: 10px;
}

.layer:hover {
    background: #ff6055;
    opacity: 0.3;
}
.layer h3{
  font-weight: bold;
}

.facilities{
    text-align: center;
    margin: auto;
    width: 80%;
    margin-top: 10%;
   }
.facilities-col{
    flex-basis: 32%;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 8%;
    cursor: pointer;
  
}
.facilities-col img{
    width: 100%;
    border-radius: 10px;
}
.facilities-col h3{
    margin: 15px 0 15px 0;
}
.facilities-col:hover{
    box-shadow:  4px 4px 2px #494848;
}
.testamonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testamonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testamonials-col img{
    height: 40px;
    margin-right: 30px;
    margin-left: 5px;
    border-radius: 50px;
}
.testamonials-col h3{
    text-align: left;
    font-weight: 550;
    font-size: medium;
}
.star{
    margin-top: 5%;
}
@media (max-width:700px){
    .testamonials-col img{
        margin-left: 0;
        margin-right: 15px;
    }
}
/*  */
.cta{
    width:100% ;
    background-image: linear-gradient(#04091eb3, #04091eb3 ),url(/eduford_img/banner2.jpg);
    background-position: center;
    color: #fff;
    background-size: cover;
    margin: auto;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    margin-bottom: 40px;
}
@media (max-width:700px){
    .cta{
        font-size: small;
    }
}
.footer{
    text-align: center;
    width: 80%;
    margin: auto;
    margin-top: 10%;
}
.footer h4{
 margin-bottom: 3%;
}
.footer p{
    color: #5f5f5f;
}
.icons{
    padding: 10px;
    margin-left: 10px;
    margin-top: 1%;
    cursor: pointer;
}
/* About us page */
.sub-header{
    height: 50vh;
    width: 100%;
    background-image:  linear-gradient(#04091eb3, #04091eb3), url(eduford_img/background.jpg);
    background-position: center;
    text-align: center;
    background-size: cover;
    color: #fff;
}
.sub-header h1{
    margin-top:100px ;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col{
    flex-basis: 48%;
    padding: 30;

}
.about-col img{
    width: 100%;
    margin-top: 15px
}
.about-col h1{
    padding-top:0 ;
}
.about-col p{
    padding: 15px 0 25px;
}
.newbtn{
    border: 1px solid #f83b2d;
    background: transparent;
    color: #f83b2d;
}
.newbtn:hover{
    color: #fff;
    margin-bottom: 5%;
}
.blog-content{
    width: 80%;
    margin: 0;
    padding: 60px 0;
    align-items: center;
}
.blog-left{
    flex-basis: 60%;
}
.blog-left p{
    color: #555;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 15px;
}
.blog-right{
    flex-basis: 32%;

}
.blog-right h2{
background: #fe4d4a;
color: #222;
padding: 7px 0;
font-size: 16px ;
margin-bottom: 20px;
text-align: center;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1px solid;
    margin: 50px;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input , .comment-form textarea{
    padding: 10px;
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;

}
.contact-us{
    width: 80%;
    margin: auto;
    padding: 80px 0 ;
}
.contact-us iframe{
    width: 100%;
}
.contact{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
}
.contact-col div{
    margin: 19px;
    display: flex;

}
.contact-col div .fa{
    font-size: 25px;
    color: #f83b2d;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #222;
    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;
}