
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@font-face {
    font-family: 'Libre Baskerville';
    src: url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap') format('woff2'),
        
    /* You can specify additional font properties here, such as font-weight and font-style */
  }
  

/* index page */
  
* {
    margin: 0;
    padding: 0;
}
.logo img{
    top: 2px;
    left: 5px;
    width: 150px;
}
h1{
    font-family:'Libre Baskerville';
}
/* ------------ heading section */
.ed {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(bgimg.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    justify-content: space-between;
    
}
.navigation-panel ul {
    list-style-type: none;
    padding: 0;
}

.navigation-panel ul li {
    display: inline;
    margin-right: 20px;
}

.navigation-panel a {
    text-decoration: none;
    color: #fff;
}

.navigation-panel a:hover {
    text-decoration: underline white;
    transition: 0.5s;
}
 
nav img{
    align-items: right;
    margin-top: 3px;
    
    

}
nav{
    flex: 1;
        
    text-align: right;
    
}
.textbox{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,50%);
    text-align: center;
}
.textbox h1{
    font-size: 61px;

}
.textbox p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
    


}
.btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid black;
    padding: 10px 31px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
/*-------course-----*/
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;

}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300px;
    line-height: 20px;
    padding: 10px;
    
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.coursecol{
    flex-basis: 31%;
    background: #fff9f8;
    border-radius: 10px;
    margin-bottom: 5%;
    box-sizing: border-box;
    transition: 1s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.coursecol:hover{
    box-shadow: o o 20px 0px rgba(0,0,0,0.2);
}

/*-scool*/
.scool{
    width: 100%;
  overflow: hidden;
}
.scool h1{
    margin-top: 30PX;
    margin-bottom: 5PX;
    text-align: center;
    color: rgb(255, 81, 0);
}
.scoolcol img{
    width: 500PX;
    border-radius: 10px;
    margin-left: 3px;
    float: left; 
  margin-right: 10px
}
.layer p{
  float: right;
  text-align: justify; 
  overflow: hidden;
  margin: 100px;
  box-sizing: border-box;
  border-width: 100px;
  font-weight: 400;
  font-size: large
}



/*-----------Facilities------*/

.facilities{
    width:80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;


}
.facicol{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;

}
.facicol img{
    width: 100%;
    border-radius: 10px;
}
.LIB{
    width: fit-content;
    
}
.facicol p{
    padding: 0;
}
.facicol h3{
    margin-top: 17px;
    text-align: left;
}


/*-----------testimonilas------*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;

}
.testcol{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #FFF3F2;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testcol img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testcol p{
    padding: 0;

}
.testcol h3{
    margin-top:15px;
    text-align: center;
}

/*-----------call to action------*/

.cta{
    margin: 100px auto;
    width: 80%;
    background-image:url(1_20231018_152109_0000.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;

}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}


  
/*-----------     about section    ------*/
.about{
    height: 50vh;
    width:100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(Uni2.jpg);

    background-position: center;
    background-size: cover;

    color: #fff;
}
.about h1{
    text-align: center;
}
.content{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}
.logo{
    top: 0;
    left: 0;
}
.coln{
    
    flex-basis:48%;
    padding: 30px 2px;

}
.coln img{
    width: 100%;

}
.coln h1{
    padding-top: 0;

}
.coln p{
    padding: 15px 0 25px;

}
.po{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.po:hover{
    color: #fff;
}

/*-------------------team{about us]------------*/


.team h1{
    text-align: center;
    color: #f44336;
    margin-top: 5px;
    padding: 4px;
}

.team p{
    text-align: center;
    font-weight: 500;
}
.team h3{
    margin-top: 5px;
    padding: 3px;
}

/*----------------footer--------------------*/


.footer{
    width: 100%;
    position: relative;
    bottom: 0;
    background: linear-gradient(to right,#00093c, #2d0b00);
    color: #fff;
    padding: 100px 0 30px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 20px;
}
.footer p{
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    line-height: 20px;
    padding: 0;
}
 .frow{
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.fcol{
    flex-basis: 25%;
    padding: 10px;
}
.footer img{
    width: 80px;
    margin-bottom: 30px;
}
.fcol h3{
    width: fit-content;
    margin-bottom: 40px;
    position: 40px;
    position: relative;
}
.email{
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px;
    margin-left: 0;
}
.footer ul li{
    list-style: none;
    margin-bottom: 12px;
}
.footer ul li a{
    text-decoration: none;
    color: white;
}
.footer a{
    text-decoration: underline;
    color: white;
}
.footer a:hover{
    color: red;
}



/*-------------------- contact --------------------*/

.cont{
    
    height: 50vh;

    align-items: center;

}
.cont h1{
    text-align: center;
    padding: 50px;

}
.cont img{
    align-items: center;
    padding: 10px;
    margin-left: 100px;



}
.cont p{
    text-align: center;
    
}


/*----------------------------- library---------------------------*/


.head h1{
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    
}
.library{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    margin-bottom: 50px;
    background-color: #F5F5F5;
    
}

.book {
    text-align: center;
    width: 100%;
    margin: 6px;
    padding: 9px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 2px solid black;
    flex-basis: calc(33% - 20px);
    border-radius: 10px ;
    transition: transform 0.3s;
    display: flex;
    
}

.book:hover {
    transform: scale(1.05);
}

.book img {
    width: 150px;
    height: auto;
    border-radius: 5px;
    align-items: center;
}

.btn2 {

    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
    }
      
.btn2:hover {
    transform: scale(1.1);
    }
.separator {
    width: 2px;
    background-color: #ccc;
    cursor: ew-resize; /* Cursor changes to indicate resize */
    }
      




/*---------------------------- notess_____________*/

.mns{
    width: 100vh;
}
.header1{ background-color: #f5f8ff;
width: 300%;}

.header1 h1{
    color: #053c86;
    margin-left: 70px;
   
    padding-top: 100px;
    padding-bottom: 100px;
   
}
.bottm{
   padding: 50px;
    
    
}
.bottm h3{
    color: #053c86;
    margin-left: 60px;

}
.maingrid{
    font-size: 50px;
    display: grid;
    padding :3px;
}
.gridb{

    margin-top: 15px;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    
}
.gridb a{
    text-decoration:none ;
    
    font-size: 25px;
}


.gridb p{
    font-size: 25px;
    color: #053c86 ;
    transition: 0.5s;
}
.gridb :hover{
    text-decoration: underline;

    
}
.maingrid :hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #f5f8ff;
}
.fa{
    display: none;
}

.about h5{
    text-align: center;
    margin-left: 170px;
}
/*----------------*/
@media(max-width: 700px){
    /* main index page */
    .logo img{
        width: 100px;
    }
    .textbox h1{
        font-size: 20px;
    }
    .textbox p {
        font-size: 15px;

    }
    .navigation-panel ul li{
        display: block;
        margin-top: 5px;
    }
    

    .scool h1{
        font-size: 20px;
    }
    .row{
        display: block;
    }
    .layer p{
        float: none;
        text-align: none; 
        overflow: hidden;
        margin: 10px;
        box-sizing: border-box;
        border-width: 100px;
        font-weight: 400;
        font-size: large;
    }
    .course h1{
        font-size: 35px;
    }
    /* adjusting testimonials responsiveness*/
    
    .testcol img{
        margin-right: 7px
    }


    /* -----------  about section */

    .about h1{
        margin-top: 75px;
        
    }
    /*-------- resources section*/
    .mns{
        max-width: fit-content; /* fixing the overflow*/
    }

    .maingrid{
        width: 280px;
        font-size: 25px;
        max-width: 100%;
       
    }
    .header1{
        max-width: 100%;
    }
    .header1 h1{
        text-align: center;
        margin-left: 0;
        padding: 80px;
        width: fit-content;
   
       
    }
    

        
    
    
    
}




/*---------- navigation*/


:root{
  --color-1: #0f1016;
  --text-color: #f0f0f0;
  --accent-color: #006aff;
}
*{
  margin: 0;
  padding: 0;
}
html{
  
  font-family: Poppins, Segoe UI, Tahoma, sans-serif;
}
nav{
  height: 60px;
  background-color: transparent;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: fixed; /* Fixed position */
  top: 0; /* Position at the top of the viewport */
  right: 0;
  
}
.links-container{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  
}
nav a{
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}
nav a:hover{
  background-color: var(--accent-color);
}
nav .home-link{
  margin-right: auto;
}
nav svg{
  fill: var(--text-color);
}
#sidebar-active{
  display: none;
}
.open-sidebar-button, .close-sidebar-button{
  display: none;
}
@media(max-width: 700px){
  .links-container{
    flex-direction: column;
    align-items: flex-start;

    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    width: 300px;

    background-color: #f44336;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.75s ease-out;
  }
  nav a{
    box-sizing: border-box;
    height: auto;
    width: 400px;
    padding: 20px 30px;
    justify-content: flex-start;
  }
  .open-sidebar-button, .close-sidebar-button{
    padding: 20px;
    display: block;
  }
  #sidebar-active:checked ~ .links-container{
    right: 0;
  }
  #sidebar-active:checked ~ #overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
}