* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
}

#main {
  width: 100%;
  height: 100%;
}


#header {
  background-color: white;
  width: 100%;
  height: 8%; 
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 999;

}


#photo img {
  height: 60px;
}


.nav-items {
  display: flex;
  gap: 25px;
  align-items: center;
}


.text {
  cursor: pointer;
  padding: 10px 15px;
  transition: background-color 0.3s;
  border-radius: 10px;
}

.text:hover {
  background-color: lightblue;
}


#button {
  background-color: lightblue;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

#button:hover {
  background-color: rgb(89, 89, 189);
  color: white;
}


#fakeheader {
  height: 8%;
  width: 100%;
}



#page1 {
  background-color: white;
  height: 95vh;
  width: 100%;
  padding: 20px;
}

#page2 {
  background-color: white;
  height:95vh;
  width: 100%;
  padding: 20px;
}
#page3 {
 background-color: white;
  min-height: 95%;
  width: 100%;
  padding: 20px;
  
}
#title{
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 50px;
}
#boxes {
  display: flex;
  width: 100%;
  height: calc(100vh - 80px); 
  margin: 0;
  padding: 0;
}


.box {
  width: 50%;
  height: 70%;
  background-color: white;
  color: white;
  
  
  font-size: 24px;
  border: 2px solid black;
}
#box3{
  background-color: rgb(80, 143, 225);
  display: flex;
  justify-content: flex-end;
}
#feature{
  width:25% ;
  display: flex;
  flex-direction: column;
   
}
 .butn{
 
  margin: 30px;
  border: solid white 1px;
  padding: 10px;
  justify-content: space-around;
  background-image:url('https://schoollog.in/assets/images/section_bg.webp') ;
}


#heading {
  display: flex;
  justify-content: center;
  text-align: center;
}

#subheading {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  text-align: center;
}

#heading h3, #heading h2 {
  font-weight: lighter;
}
#textid {
  display: flex;
  justify-content: center;     
  align-items: center;
  gap: 40px;                   
  margin-top: 30px;
  flex-wrap: wrap;            
}

.text1, .text2 {
  width: 400px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
 
  
}
#boxid{
   display: flex;
  justify-content: center;     
  align-items: center;
  gap: 40px;                   
  margin-top: 10px;
  flex-wrap: wrap;    

}
.box1, .box2 {
  width: 400px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background-color: grey;
  color: white;
  border-radius: 20px;
 
  
}
#imge{
  display: flex;
  justify-content: center;     
  align-items: center;
  gap: 40px;                   
  margin-top: 10px;
  flex-wrap: wrap; 

}
#img1 img{
    width: 400px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background-color: grey;
  color: white;
  border-radius: 20px;

}

.hero-content {
      max-width: 50%;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      margin-bottom: 15px;
      font-weight: 700;
      line-height: 1.3;
    }

    .hero-content p {
      font-size: 1rem;
      margin-bottom: 25px;
      color: #eaf3ff;
    }

    .enquiry-box input {
      padding: 12px 18px;
      border: none;
      border-radius: 30px;
      width: 80%;
      font-size: 1rem;
      outline: none;
    }

    .slider-text {
      margin-top: 30px;
      font-size: 1.3rem;
      font-weight: 600;
      animation: fadeIn 1s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero-image img {
      width: 420px;
      border-radius: 25px;
      box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
      transition: transform 0.4s ease;
    }

    .hero-image img:hover {
      transform: scale(1.05);
    }

    /* WhatsApp Floating Icon */
    .whatsapp {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background-color: #25D366;
      color: white;
      font-size: 32px;
      border-radius: 50%;
      padding: 14px;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
      text-decoration: none;
      transition: transform 0.3s;
      z-index: 100;
    }

    .whatsapp:hover {
      transform: scale(1.1);
    }

    @media (max-width: 768px) {
      #page1 {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 80px 5%;
      }

      .hero-content {
        max-width: 100%;
      }

      .hero-image img {
        width: 300px;
        margin-top: 20px;
      }
    }
      #page1 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 100px 10%;
      height: 60vh; /* 60% of the page height */
      background: linear-gradient(135deg, #007bff, #4facfe);
      border-bottom-left-radius: 180px;
      color: white;
    }
#about{
  display: flex;
  justify-content: center;     
  align-items: center;
  gap: 40px;                   
  margin-top: 30px;
  flex-wrap: wrap

}
.aboutit1,.aboutit2{
  width: 650px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;

}
.aboutit1 span{
  font-weight: bolder;
}
.aboutit1{
   margin-top: 18px;
}
.aboutit2 span{
  font-weight: bolder;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}


.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}


.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: black;
}
#butn1{
  display: flex;
  align-items: center;
  justify-content: center;
}
#butn2{
  display: flex;
  align-items: center;
  justify-content: center;
}#butn3{
  display: flex;
  align-items: center;
  justify-content: center;
}
.butn:hover{
  background-color: white;
  color: lightblue;

}
a {
  text-decoration: none;
}
.content {
  text-align: center;
  padding: 60px 20px;
}

#footer {
  background-color: #ffffff;
  color: #333;
  padding: 40px 0 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 200px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1100px;
  margin: auto;
}

.footer-section {
  flex: 1;
  margin: 10px 20px;
  min-width: 220px;
}

.footer-section h2 {
  color: #004aad;
  margin-bottom: 15px;
  font-size: 18px;
  border-left: 4px solid #004aad;
  padding-left: 8px;
}

.footer-section p, .footer-section ul, .footer-section a {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #004aad;
}

.social-icons a {
  margin-right: 10px;
  font-size: 22px;
  color: #004aad;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #eee;
  margin-top: 20px;
}