*{
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}
.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(254, 254, 254, 0.057),rgba(238, 238, 239, 0)),url(images/bannerx.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  animation: slide 10s infinite alternate;
  transition: background-image 5s ease-in-out; /* Added transition property */
}

@keyframes slide {
  0% {
    background-image: linear-gradient(rgba(36, 36, 37, 0.938),rgba(4, 9, 30, 0)), url(images/bannerx2.jpg);
  }
  25% {
    background-image: linear-gradient(rgba(36, 36, 37, 0.938),rgba(4, 9, 30, 0)),  url(images/basketball2.jpg);
  }
  50% {
    background-image:linear-gradient(rgba(36, 36, 37, 0.938),rgba(4, 9, 30, 0)),  url(images/cafeteria2.jpg);
  }
  75% {
    background-image: linear-gradient(rgba(36, 36, 37, 0.938),rgba(4, 9, 30, 0)),  url(images/bannerx2.jpg);
  }
  100% {
    background-image: linear-gradient(rgba(36, 36, 37, 0.938),rgba(4, 9, 30, 0)),  url(images/basketball2.jpg);
  }
}



nav{
  display: flex;
  padding: 0.1% 0.03%;
  justify-content: space-between;
  align-items: center;
}
nav img{
  width: 150px;
}
.nav-links{
  flex: 1;
  text-align: center;    
}
.nav-links ul li{
  list-style: none;
  display: inline-block;
  padding: 20px 10px;
  position: relative;
}
.nav-links ul li a{
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  

}
.nav-links ul li a:hover {
color: 	#04041D;
}




.nav-links ul li::after{
  content: "";
  width: 0%;
  height: 2px;
  background: #D4AF37;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover::after{
width: 100%;
}
.text-box{
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.text-box h1{
font-size: 62px;
color: #ffffff;
}
.text-box p{
  margin: 10px 0 40px;
  font-size: 14;
  color: #ffffff;
  font-weight: 300;
}


.dropdown-menu {
display: none;
position: absolute;
z-index: 1;
overflow: hidden;
}

.dropdown:hover .dropdown-menu {
display: block;
}

.nav-link:hover {
background-color:none;
}

.dropdown-menu li a:hover {
background-color: #5c595914;

}

.dropdown-menu {
display: none;
position: absolute;
z-index: 1;
background-color: #f9f9f9;
text-align:left;


}
.dropdown-menu li a {
display: block;
font-size: 5px; /* Adjust this value as needed */
padding: 12px 16px;
color: #ddd;
text-decoration: none;
min-width: 240px;
 
}
.dropdown-menu a:hover {
font-weight: bold;
}



.dropdown-menu a {
color: black !important;

}

.dropdown-menu {
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);


}



.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.484);

}

.navbar-no-shadow {
  box-shadow: none;
}



.logo img {
  height: 50px;
  position: absolute;
top: 0;
left: 0;
margin: 1rem;
display: flex;
align-items: center;

}

.logo-black {
  display: none;
}

.navbar-scrolled {
  background-color: white;
  color: white;
}

.navbar-scrolled .logo-white {
  display: none;
}

.navbar-scrolled .logo-black {
  display: block;
}

.nav-link {
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;

}
.nav-link:hover {
  font-weight: bold;
}

.nav-link i {
  margin-left: 5px;
}



.navbar-scrolled .nav-link {
  color: black;
}

.navbar-scrolled {
  background-color: white;
  color: white;
}

.navbar-scrolled .fa-times {
  color: black;
}

.navbar-scrolled .nav-link {
  color: black;
}

.navbar-scrolled {
  background-color: white;
  color: white;
}

.navbar-scrolled .fa-bars {
  color: black;
}




/* Add this CSS code to your existing style.css file */

/* Initial styles for the logo */
.logo img {
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  margin: 1rem;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease; /* Add a smooth transition */
}

/* Styles for the white logo when hovered */
.logo-white:hover img {
  transform: scale(1.1); /* Increase the size on hover */
}

/* Styles for the black logo when hovered */
.logo-black:hover img {
  transform: scale(1.1); /* Increase the size on hover */
}



.hero-btn{
  display: inline-block;
  text-decoration: none;
  color: white;
  border: 1px solid #D4AF37;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  border-radius: 5px 5px 5px 5px;
}
.hero-btn:hover{
  border: 1px solid #D4AF37;
  background: #D4AF37;
  transition: 1s;
}



.hero-on{
  display: inline-block;
  text-decoration: none;
  color: #D4AF37;
  border: 1px solid #D4AF37;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  border-radius: 5px 5px 5px 5px;
}

.hero-on:hover{
  color: #fff;
  background: #D4AF37;
}


nav .fa{
  display: none;
}

* {
box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
max-width: 800px;
position: relative;
margin: auto;

}

/* Hide the images by default */
.mySlides {
display: none;
filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.219));
}

/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}

/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
.prev {
left: 0;
border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
color: #090909;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}

/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active, .dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

/* Modal content styles */
.modal-content {
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  display: block;
}

/* Close button styles */
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
















@keyframes fade {
from {
  opacity: 0.4;
}
to {
  opacity: 1;
}
}




@media screen and (max-width: 768px){


  .text-box h1{
      font-size: 14px;
  }
  .nav-links ul li{
      display: block;
     
      
      
  }

  
  .nav-links {
      position: fixed;
      height: 90vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
      box-shadow: 0 2px 4px rgba(45, 45, 45, 0.516);
      border-radius: 0px 0px 0px 20px;
      
    }
    
  .navbar {
      position: fixed;
      top: 0;
      left: 0;
      height: 50px;
      width: 100%;
      z-index: 9999;
      transition: all 0.5s ease-in-out;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  
    }



    
  .logo img {
      height:30px;
      position: absolute;
    top: 0;
    left: 0;
    margin-top: 0.65rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    width: 80px; 
    
  
    }

  .nav-links--white {
    background-color: #fffffff8;
  }

  .nav-links--black {
    background-color: #141414e3;
    color: #ffffff;
  }

  
  .dropdown-menu li a {
    min-width: 25px;
    text-align:left;
    

  
  }



  

  
  nav .fa{
      display: block;
      color: #fff;
      margin: 10px;
      font-size: 22px;
      cursor: pointer;
  }
  .nav-links ul{
      padding: 5px;
  }
  .row{
      flex-direction: column;
  }
  .cta h1{
      font-size: 15px;
  }

  

}

.service-col.lego{
  flex-basis: 31%;
  background: #fcf4f4;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}






.text-container1 {
display: flex;
flex-direction: column;
}

















.services{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
h1{
  font-size: 36px;
  font-weight: 600;
  color: #D4AF37;
}





.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh; /* Or any desired height */
}

h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  color: #D4AF37;

}



.animate-writing {
  overflow: hidden;
  border-right: .15em solid rgba(211, 211, 211, 0);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: typing 4s steps(40, end) forwards, blink-caret .75s step-end infinite;
  animation-direction: alternate;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgba(211, 211, 211, 0) }
}




p{
  color: #04041D;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}
.row{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.service-col{
  flex-basis: 31%;
  background: #D4AF37;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
  
}
.service-col1{
flex-basis: 45%;
background: #08f7441c;
border-radius: 10px;
margin-bottom: 5%;
padding: 20px 12px;
box-sizing: border-box;
transition: 0.5s;

}
.service-col1:hover{
box-shadow: 0 0 20px 0px rgba(0,0,0,0.4)
}










.service-spike{
flex-basis: 45%;
  background: rgba(1, 252, 1, 0.079);
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.service-spike:hover{
box-shadow: 0 0 20px 0px rgba(0,0,0,0.4)
}



.fa-code{
  font-size:35px ;
}

.fa-crop-simple{
  font-size: 35px;
}

.fa-android{
  font-size: 35px;
}

h3{
  text-align: centre;
  font-weight: 600;
  margin: 10px 0;
}
.service-col:hover{
  box-shadow: 0 0 20px 0px rgba(0,0,0,0.4)
}
.cta{
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(5, 6, 0, 0.77), rgba(3, 3, 0, 0.441)), url(images/contact.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.cta h1{
     color: #ffffffa2;
     margin-bottom: 40px;
     padding: 0;
}
.footer{
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
.footer h4{
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}
.social-icons{
  margin-top: 30px;
}
.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #D4AF37;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover{
  color: green;
  transform: translateY(-5px);
}
.btn.btn2{
  display: inline-block;
  background: #D4AF37;
}

.sub-header{
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 30, 11, 0.7),rgba(4,9,30,0.7)),url(images/bannerx.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}




.sub-header h1{
  margin-top: 50px;
}





.sub-header1{
height: 50vh;
width: 100%;
background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/Lego\ education.webp);
background-position: center;
background-size: cover;
text-align: center;
color: #fff;
}
.sub-header1 h1{
margin-top: 50px;
}

#unique-sub-header {
height: 50vh;
width: 100%;
background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 30, 8, 0.159)), url(images/bannerx.jpg);
background-position: center;
background-size: cover;
text-align: center;
color: #fff;
}

#unique-sub-header h1 {
margin-top: 50px;
}

#essential-sub-header {
height: 50vh;
width: 100%;
background-image: linear-gradient(rgba(18, 84, 1, 0.819), rgba(0, 5, 0, 0.052)), url(images/essential-lobby-home.png);
background-position: center;
background-size:cover; /* Adjust the size as desired */
text-align: center;
color: #fff;


}


#essential-sub-header h1 {
margin-top: 50px;
}

#contact-sub-header {
height: 50vh;
width: 100%;
background-image: linear-gradient(rgba(5, 6, 0, 0.77), rgba(3, 3, 0, 0.441)), url(images/contact.jpg);
background-position: center;
background-size: cover;
text-align: center;
color: #fff;

}

#contact-sub-header h1 {
margin-top: 50px;
}



.about-us{
  width: 80%;
  margin: auto;
  padding-top: 2%;
  padding-bottom: 50px;
}
.about-col{
  flex-basis: 48%;
  padding: 30px 2px;
}
.about-col img{
  width: 100%;
}
.about-col h1{
  padding: 0;
}
.about-col p{
 padding: 15px 0 25px; 
}
.red-btn{
  border: 1px solid #D4AF37;
  background: transparent;
  color: #D4AF37;
}
.red-btn:hover{
  color: #fff;
}
.facilities{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 2%;
}
.facilities-col{
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.facilities-col img{
  width: 100%;
  border-radius: 10px;
}
.facilities-col p{
  padding: 0;
}
.facilities-col h3{
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
}
.location{
  width: 80%;
  margin: auto;
  padding: 80px 0;
}
.location iframe{
  width: 100%;
}
.contact-us{
  width: 80%;
  margin: auto;
}
.contact-col{
  flex-basis: 48%;
  margin-bottom: 30px;
}
.contact-col div{
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.contact-col div .fa{
  font-size: 28px;
  color: #D4AF37;
  margin: 10px;
  margin-right: 30px;
}
.contact-col div p{
  padding: 0;
}
.contact-col div h5{
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  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;
}
::placeholder {
  color: #D4AF37;
  opacity: 1; /* Firefox */
}
.copyright{
  font-weight: 400;
  font-size: 13px;
  color: #555;
}