*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
html,body{
    scroll-behavior: smooth;
    line-height: 1.4;
}

/* navbar start here */
.header{
    background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("Picture/eduford_img/banner.png");
    background-size: cover;
    background-position:center;
    width: 100%;
    height: 100vh;
    position: relative;
}
nav{
    display: flex;
    justify-content: space-between;
    position: relative;
}
nav img{
    width: 130px;
    margin-top: 22px;
    margin-left: 50px;
}
.menu{
    margin-top: 30px;
    margin-right: 50px;
  
}
.menu a{
text-decoration: none;
color: white;
margin:0px 10px ;
font-size: .90rem;
margin-top: 30px;
cursor: pointer;
transition: 0.5s;
color:white;
}

.menu a:hover{
    text-decoration: underline;
    text-underline-position: under;
    color:#f44336;

    }
.world{
    text-align: center;
    margin-top:150px;
    height: 300px;
   
}
.world h1{
   
    
    text-align: center;
    color: white;
    font-size: 2.5rem;
    padding:20px 0 ;
    
}
.world p{
    text-align: center;
    width: 70%;
    margin: auto;
    font-size: .85rem;
    color:darkgray;
    padding-bottom: 50px;
}
.btn{
    border:1px solid white ;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.5s;
    font-size:.85rem ;
    background: transparent;
}

.btn:hover{
    border:1px solid  #f44336;
    background-color: #f44336;
}
nav .fa-solid{
    display: none;
}
@media(max-width:1000px){
    .header{
        width: 100%;
        height: 700px;
    }
    .row{
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }
    .campus-stracture{
display: flex;
flex-direction: column;
gap: 20px;
width: 100%;
margin: 0 auto;
    }

} 

@media(max-width:800px){ 

.cta h1{
   
    font-size: 1rem;
}



}




@media(max-width:700px){

    .menu{
        margin-top: 5px;
       text-align: right;
       
    }
    .menu a{
       display: block;
       font-size:.80rem;
       
         }
       
         .menu a:hover{
            color: white;
        }
        
        .world h1{
           
            text-align: center;
            color: white;
            font-size: 2rem;
            
            
        }
        .world{
            text-align: center;
            margin-top:50px;
        }
        .world p{
            width: 90%;
            font-size:.80rem;
        }
        .btn{
            font-size: .75rem;
        }
}
/* navbar ends here */


/* course start here */

.course{
    text-align: center;
    margin-top: 50px;
}
.course-head h2{
 font-size: 1.8rem;
 font-weight: 700;
}
.course-head p{
    font-size: .85rem;
    padding: 15px 0;
    color: darkgrey;
}
.row{
    display: flex;
    margin-top: 40px;
    padding: 0 100px;
   
}


.course-col h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.course-col p{
    font-size: .80rem;
    color: darkgrey;
}
.course-col{
    background-color: beige;
    margin: 0 15px;
    padding: 20px 30px;
    transition: 0.5s;
    cursor: pointer;
}
.course-col:hover{
  box-shadow:0px 0px 8px 0px;
}


@media(max-width:700px){

    .course-ditails{
        width: 100%;
        position: relative;
        padding: 0;
        margin: 0;
    }
    .course-head h2{
        font-size: 1.5rem;
       }
       .course-head p{
           font-size: .75rem;
           width: 70%;
           margin: auto;
       }
       .row{
       
           flex-direction: column;
           margin-top: 30px;
           width: 80%;
           margin: auto;
           padding: 0 0;
           text-align: center;
           
       }
     
       
       .course-col h3{
           font-size: 1rem;
         
       }
       .course-col p{
           font-size: .70rem;
           color: darkgrey;
           width: 100%;
       }
       .course-col{
       
        width: 100%;
        text-align: center;
        margin: 20px 0;
        padding:20px 40px ;
       }

}

/* course ends here */

/* cumpus start here */
.campus{
    text-align: center;
    margin-top: 50px;
}
.campus h1{
    font-size:1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}
.campus p{
    font-size: .85rem;
    color: darkgray;
    text-align: center;
}
.campus-stracture{
    display: flex;
    margin-top: 50px;
    padding: 20px 70px;
    
    
}
.campus-pic{
    flex-basis: 32%;
    margin: auto;
    position: relative;
    overflow: hidden;
    
}
.campus-pic img{
    height: 500px;
    border-radius:10px;
    width: 100%;
    overflow: hidden;
}
.university{
    position: absolute;
    top: 0;
    right: 0;
    background-color:transparent;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
    transition: 0.5s ease-in;
    overflow: hidden;
   
}

.university:hover {
   background-color:rgba(226,0,0,0.7);
   border-radius:10px;
   overflow: hidden;
   color: white;
   transition: 0.5s ease-in;
}
.university h2{
    position: absolute;
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: .4s;
}
.university:hover h2{
    opacity: 1;
    bottom:50% ;
    transform: translateX(-50%);
}

@media(max-width:700Px){

    .campus h1{
        font-size: 1.5rem;
    }
    .campus p{
        color: darkgrey;
        font-size: .75rem;
        width: 70%;
        text-align: center;
        margin: auto;
    }


    .campus-stracture{
        display:block;
        margin-top: 50px;
        padding: 0 30px;
        margin: auto;
        
        
    }
    .campus-pic img{
        width: 90%;
        height: 400px;
    }
    .campus-pic{
        margin: 30px 10px 20px 10px;
    }
    .university{

        width: 90%;
        margin: auto;
        right: 20px;
    }
    

}
/* cumpus end here */

/* facilities section start here */
.facilities{
    text-align: center;
    margin-top: 40px;
}
.facilities h2{
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.facilities P{
    font-size: .85rem;
    color: darkgray;
    text-align: center;
}

.facilities-col img{
width: 100%;
height: 350px;
border-radius: 10%;
padding: 20px 10px 10px 10px;
}
.facilities-col h3{
    font-size: 1.1rem;
    text-align: left;
    font-weight: 700;
    padding-left: 12px;
    
}
.facilities-col p{
    font-size: .75rem;
    color: darkgray;
    text-align: center;
    text-align: left;
    padding-left: 12px;
    padding-top:10px ;
}
@media(max-width:700px){
    .facilities h2{
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .facilities P{
        font-size: .75rem;
        color: darkgray;

       
    }


}
/* facilities section ends here */

.transition{
    padding: 50px;
    text-align: center;
}
.transition-col img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-top: 25px;
  
   
}
.transition-col{
    display: flex;
    gap: 15px;
    justify-content: center;
    border: 1px solid transparent;
    border-radius:20px;
    padding: 15px;
    transition: 0.3s ease-in-out;
} 
.transition-col:hover{

    border: 1px solid rgb(190, 188, 188);
    box-shadow: 2px 2px 2px rgb(190, 188, 188) ,-2px 2px 2px rgb(190, 188, 188) ;
    transition: 0.3s ease-in-out;
    transform: scale(1.05);
}
.i-div{
    display: flex;
    font-size: .90rem;
}
.edit{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}
.transition h3{
    font-size: 1.8rem;
    font-weight: 700;
}
.transition p{
    font-size: .83rem;
    color: gray;
    margin-top: 25px;
}
.edit h4{
    font-size: 1.1rem;
    font-weight: 700;
}
.row{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}


/* testimonials ends here  */

 /* call to action start here */
.cta{
    background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url("Picture/eduford_img/banner2.jpg") ;
    background-size: cover;
    background-position: center;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    height: 300px;
    color: #fff3f3;
    text-align: center;
    display: block;
    position: relative;
    
    
   
}
.cta h1{
    width: 70%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
    top:35%;
}
.cta .btn{
    position: absolute;
    top: 65%;
    transform:translateY(-30%);
    left: 50%;
    transform: translateX(-50%);
}
@media(max-width:700px){
    .cta h1{

        top:35%;
        font-size: 1rem;
    }

}

/* call to action end here */


/* footer start here */
.footer{
    text-align: center;
    width: 90%;
    margin: auto;
}

.footer h3{
    font-size: 1.8rem;
    padding: 50px 0 20px 0;
   text-align: center;
   font-weight: 700;
}
.footer p{
   width: 70%;
   text-align: center;
   font-size: .85rem;
   color: darkgrey;
   padding-bottom: 30px;
   margin: auto;
}
.footer-icon i{
    padding: 0 17px;
}
.para-div p{
    margin-top: 20px;
    font-size:.90rem;
}
@media(max-width:700px){

    .footer h3{
        font-size: 1.5rem;
 
    }
    .footer p{
     
       font-size: .80rem;

    }
    .footer-icon i{
        padding: 0 14px;
    }
    .para-div p{
        margin-top: 20px;
        font-size:.80rem;
    }


}

/* footer end here */


 













