/* reset body value  */
*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    
}
/* here set value of header */
.header{
    min-height: 100vh;
    width: 100%;
    background-image:linear-gradient(0deg,rgba(4,9,30, 0.7),rgba(4,9,30, 0.7)),url(images3/blueschool.jpg); 
    background-position: center;
    background-size: cover;
    position: relative;
    
}
/* navbar css */
#navbar{
    display:flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    z-index: 1;
}
nav img{
    width: 150px;
}
.navlinks{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    
}
.nav-links ul li a{
    color: aliceblue;
    

    text-decoration: none; 
    position: sticky;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}
/* header section css */
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 42px;
    font-family: 'Montserrat', sans-serif;
}
.text-box h3{
    margin-top: 17px;
    /* color: yellow; */
    color: goldenrod;
    text-align: center;
    text-shadow: yellow;
    font-family: 'Lato', sans-serif;
}
.text-box p{
    margin: 25px 0 40px;
    font-size: 24px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.btn{
    display: inline-block;
    padding: 12px 34px;
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    margin: auto; 
    border-radius: 8px; 
}
.btn:hover{
    border: 2px solid #f44336;
    background: #f44336;
    transition: 1s;
    box-shadow: #f44336;
}
/* about-section css */
#about {
    font-size: 62px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: #E6F7FF; */
    width: 100%;
    height: auto; /* Adjust height */
    padding: 50px 0;
    background: linear-gradient(to bottom, #9CD9C7, #A9E4D9);
} 

#about h1 {
    text-align: center;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}
.primary-heading span{
    color: #f44336;
}
.about_text p {
    font-size: 18px;
    margin: 0;
}


.about_text {
    /* box-shadow: 0 0 5px rgb(11, 11, 11), 0 0 25px rgb(31, 31, 31); */
    width: 700px;
    height:  583px;
    padding: 40px;
    border-radius: 34px;
    background-color:whitesmoke;
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    font-family: 'Open Sans', sans-serif;
    color:black;
    margin-left: 40px;
    position: relative;
}
.about_text:hover{
    background-color: rgb(255, 248, 239);
    box-shadow: 0 0 80px rgb(0, 64, 80), 0 0 80px rgb(0, 76, 121);
    cursor: pointer;
    transition: 0.3s;
}
.about_text p span{
    color: #f44336;
}
.text{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.image-box {
    width: 600px;
    height: 650px;
    border:5px solid rgb(3, 163, 147);
    box-shadow:  0 0 80px rgb(106, 225, 255), 0 0 80px rgb(0, 76, 121);
    overflow: hidden;
    border-radius: 36px;
    background-color: white;
    margin-left: 89px;
    margin-top: 100px;
    
}

.image-box img {
     width: 100%;
    height: 100%; 
   
    object-fit: cover;
}
  /* Style for the shift buttons */
  .shift-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    color: #333; /* Change the color as needed */
}

/* Position the shift buttons */
.image-box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shift-button:first-child {
    position: absolute;
    left: 10px;
    color: #E6F7FF;
   font-size: 80px;
   
}

.shift-button:last-child {
    position: absolute;
    color: #E6F7FF;
    font-size: 80px;
    right: 10px;
}
/* evenets section */
#event h1 {
    text-align: center;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 85px;
}
#event {
    background-color: #E6F7FF;
    /* background: linear-gradient(to bottom, #BFEFFF, #A5D8FF); */
    background: linear-gradient(to bottom, #9CD9C7, #A9E4D9);

    text-align: center;
    padding: 30px;
  }

 #submain {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    
  }
  .events-box {
    flex-basis: 32%;
    border-radius: 36px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 5px solid rgb(3, 163, 147);
    box-shadow: 0 0 5px rgb(11, 11, 11), 0 0 25px rgb(31, 31, 31);
    margin-top: 100px;
    height: 350px; 
    width: 650px;
}

  .events-box img{
    height: 100%;
    width: 100%;
    object-fit: cover;

    
  }
  .events-box:hover{
    box-shadow:   0 0 80px rgb(106, 225, 255), 0 0 80px rgb(0, 76, 121);
    cursor: pointer;

  }
  .layer{
    background:transparent;
    height: 100%;
    width: 100%;
    top:0;
    left: 0;
    position: absolute;
    transition: 0.5s;
  }
  .layer:hover{
    background:rgba(226,0,0,0.7);
  }
  .layer h3{
    /* font-weight: 500; */
    color: white;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
  }
  .layer:hover h3{
    bottom: 49%;
    opacity: 1;
    cursor: pointer;
  }


  /* syllabus section */
  #subheading {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: space-between;
  }
  #subheading .events-box{
    height: 700px;
    background-color: rgb(2, 76, 86);
    border:none;
    width: auto;
  }
  #subheading .events-box img{
    margin-top: 20px;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,
    0 0 50px cyan,
    0 0 100px cyan,
    0 0 200px cyan; 
  }
  .events-box img{
    height: 380px;
    width: 380px;
    object-fit: cover;
    border-radius: 20px;
    
    transform: 3s all ease;
  }



.events-box:hover img {
    transform: scale(1.2);
    border: 2px solid rgb(3, 163, 147);
    margin-top: 20px;
}



#subheading .events-box:hover{
    background-color: rgb(5, 111, 125);

}
.syllabustext{
    font-size: 26px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
    position: relative;
}
#subheading .events-box:hover .syllabustext{
    margin-top: 50px;
}
.syllabustext p{
    font-size: 16px;
    text-align: center;
    position: relative;
    font-family: 'Roboto', sans-serif;
}
.sublayer a{
    color: white;
    font-size: 16px;
    top: 35px;
    transform: translateX(-50%);
    position: relative;
    opacity: 0;
    transition: 0.5s;
  }
  .events-box:hover a{
    top: 20px;
    opacity: 1;
    cursor: pointer;
  }
/* gallery */
#gallery{
    margin-top: 100px;
}

.img-gallery img{
    width:270px;
    height: 270px;
    cursor: pointer;
    border: 10px solid rgb(3, 163, 147);
}
.img-gallery{
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 30px;
    
}
.img-gallery img:hover{
    transform: scale(0.8) rotate(-15deg);
    border-radius: 20px;
    border: none;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,
    0 0 50px cyan,
    0 0 100px cyan,
    0 0 200px cyan; 
    
}
.fullimg{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
}
.fullimg img{
    width: 90%;
    max-width: 500px;

}
.fullimg span{
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: white;
    cursor: poiner;
}
/* contact us page */
.location{
    width: 80%;
    margin: auto ;
    padding: 80px 0;
    margin-top: 100px;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    height: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
    font-size: 20px;
    /* margin-right:  800px; */
    
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    /* margin-right:  800px; */
    
}
.contact-col .fa{
    color: tomato ;
    margin: 10px 30px;
    font-size: 28px;
}
.contact-col p{
    padding: 0;
}
.contact-col h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 4000;
}

.contact-col input,.contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}
.contact-col .btn{
    color:white;
    border: 2px solid red;
    margin-left: 58px;
    background-color: red;
}
.contact-col .btn:hover{
    color: red;
    background-color: transparent;
   
}
.row{
    display: flex;
    flex-wrap: wrap;
}
/* here i add the all footer section css */
 footer{
    background-color:transparent;
    /* width: 100%; */
    margin-top: 70px;
}
.sub-header footer{
    background-color: black;
    text-align: center;
    justify-content: center;
}
.sub-header footer p{
    color: #E6F7FF;
}
.footercontainer{
    /* width: 100%; */
    padding: 70px 30px 20px;
    position: relative;
}
.socalicons{
    display: flex;
    justify-content: center;

}
.socalicons a{
    text-decoration: none;
    padding: 10px;
    background-color: aliceblue;
    margin: 10px;
    border-radius: 50%;
    font-size: 20px;
}
.socalicons a i{
    font-size: 2em;
    color: #000000;
    opacity: 0.9;
}
.socalicons a:hover{
    background-color: #000000;
    transition: 0.5s;
}
.socalicons a:hover i{
    color: white;
    transition: 0.5s;
}
.footerbottom p{
    color:  rgb(2, 52, 59);
    font-size: 35px;
}
.footerbottom i {
    color: red;
}

 .uparrow{
    background-color: red;
    color: white;
    line-height: 50%;
    border-radius: 50%;
    padding: 15px;
   
}
/*.uparrowdiv{
    display: block;
    margin-left: auto;
} */

.upparrowdiv {
    /* Your existing styling for the upparrowdiv */
    position: absolute; /* Set to absolute positioning */
    top: 50%; /* Position vertically in the middle of the footer container */
    right: 20px; /* Adjust this value to position the arrow as needed */
    transform: translateY(-50%); /* Center vertically using transform */
}

/* All sub-HTML css */
.sub-header{
    height:50vh;
    width:100%;
    background-image:linear-gradient(0deg,rgba(4,9,30, 0.7),rgba(4,9,30, 0.7)),url(images/background.jpg);
    background-position: center;
    background-size: cover;
    text-align: ceneter;
}
.sub-header h1 {
    text-align: center;
    margin: 0;
    font-size: 62px;
    margin-top: 100px;
    font-family: 'Montserrat', sans-serif;
    color: #E6F7FF;
}
.sub-header p{
    margin: 25px 0 40px;
    font-size: 18px;
    color: #000000;
    font-family: 'Roboto', sans-serif;

}

.sub-header .about_text{
    margin-top: 180px;
    margin-left: 20px;
    width: 650px;

     /* margin-bottom: 40px;*/
} 
.sub-header .image-box{
    margin-top: 180px;
    margin-bottom: 40px;
    margin-right: 40px;
}
.sub-header #submain{
   margin-top: 180px;
   background-color: #fff;
   margin-bottom: 40px;
}
#submainheading {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    background-color: #E6F7FF;
    margin-top: 100px;
    
    justify-content: space-evenly;
  }
  #submainheading .events-box{
    height: 700px;
    background-color: rgb(2, 76, 86);
    border:none;
    width: auto;
    justify-content: center;
    text-align: center;
  }
  #submainheading .events-box img{
    margin-top: 20px;
    box-shadow: 0 0 5px cyan,
    0 0 25px cyan,
    0 0 50px cyan,
    0 0 100px cyan,
    0 0 200px cyan; ;
  }
  #submainheading .events-box:hover{
    background-color: rgb(5, 111, 125);

}
#submainheading .events-box:hover .syllabustext{
    margin-top: 50px;
}  
#submainheading p{
    font-size: 16px;
    text-align: center;
    position: relative;
    color: #E6F7FF;
    font-family: 'Roboto', sans-serif;
}
/* .sub-header text{
    display: flex;
    flex-direction: row;
} */
.sub-header .img-gallery{
    margin-top: 205px;
    margin-bottom: 40px;
}
.sub-header .btn{
    color:white;
    border: 2px solid red;
    margin-left: 250px;
    background-color: red;
}
.sub-header .btn:hover{
    color: red;
    background-color: transparent;
   
}

