
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    /* background-color:rgba(205, 208, 212, 0.651); */
    background: linear-gradient(to right, #00467f4d, #a3b49441);
  }
     /* Header Section */
     .header-section {
      width: 100%;
      background: linear-gradient(to right, #00467f4d, #91b37352);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 20px;
      color: #000;
      z-index: 2;
      flex-wrap: wrap;
  }
  
  /* Logo and School Name */
  .logo-container {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
  }
  
  .logo-section img {
      max-width: 80px;
      height: auto;
  }
  
  /* School Name Styling */
  .school-name h1 {
      font-size: 22px;
      font-weight: bold;
      margin: 0;
      color: #000;
  }
  
  .school-name h2 {
      font-size: 16px;
      margin: 0;
      color: #555;
  }
  
  /* Sliding Banner Section */
  .banner-box {
      width: 50%;
      height: 8vh;
      overflow: hidden;
      background: linear-gradient(to right, #00467f4d, #a3b49441);
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .banner-track {
      display: flex;
      width: 300%; /* Adjust based on the number of banners */
      transition: transform 1.8s ease-in-out; /* Smooth sliding effect */
  }
  
  .banner-item {
      min-width: 100%;
      height: 8vh;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1rem;
      font-weight: bold;
      color: white;
      background-size: cover;
      background-position: center;
      position: relative;
  }
  
  /* Background Images */
  .banner-first { background-image: url('https://via.placeholder.com/800x100/ff7e5f/feb47b?text=Admissions+Open+2025'); }
  .banner-second { background-image: url('https://via.placeholder.com/800x100/6a11cb/2575fc?text=Annual+Function+March+5'); }
  .banner-third { background-image: url('https://via.placeholder.com/800x100/ff9a9e/fad0c4?text=Stay+Updated+with+Events'); }
  
  /* Text Overlay */
  .banner-item span {
      position: absolute;
      background: rgba(0, 0, 0, 0.6);
      padding: 5px 10px;
      border-radius: 5px;
  }
  
  /* Social Media Icons */
  .social-media {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
  }
  
  .social-media a {
      color: #000;
      font-size: 1rem;
      transition: color 0.3s;
  }
  
  .social-media a:hover {
      color: #41ddb6;
  }
  
  .current-time {
      font-size: 14px;
      margin-left: 15px;
      color: #000;
      font-weight: bold;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
      .header-section {
          flex-direction: column;
          align-items: center;
          text-align: center;
      }
  
      .banner-box {
          width: 80%;
          margin: 10px 0;
      }
  
      .social-media {
          justify-content: center;
      }
  }
  
  @media (max-width: 600px) {
      .logo-section img {
          max-width: 60px;
      }
  
      .school-name h1 {
          font-size: 2rem;
      }
  
      .school-name h2 {
          font-size: 1.6px;
      }
  
      .banner-box {
          width: 90%;
      }
  
      .banner-item {
          font-size: 0.9rem;
      }
  }
  
  .navbar {
    justify-content: center;
  
  
  }
  
  .navbar-nav {
    margin: 0 auto;
  }
  
  .navbar-nav .nav-link {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 0.8rem;
  }
  
  .navbar-nav .nav-link:hover {
    color: #41ddb6;
  }
  
  .navbar-nav .dropdown-menu {
    background: linear-gradient(to right, #1e9dc4, #46d1ca);
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .dropdown-menu .dropdown-item {
    transition: background-color 0.3s;
  }
  
  .navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #41ddb6;
    color: #000000;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .logo-section img {
        max-width: 60px;
    }
    .school-name h1 {
        font-size: 1rem;
    }
    .school-name h2 {
        font-size:0.9 rem;
    }
  }
  
  
   /* Custom Styling  slidebar*/
   .carousel-item img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    filter: brightness(100%);
    z-index: -1;
  }
  
  .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.048);
    padding: 20px 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 700px;
  }
  
  .carousel-caption h1, .carousel-caption h2 {
    display: inline-block;
    position: relative;
    opacity: 0;
    animation: slideText 1.5s ease-out forwards;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  }
  
  @keyframes slideText {
    0% { transform: translateX(-50%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
  }
  
  .carousel-caption h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    color: #ffff;
  }
  
  .carousel-caption h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #ffffff;
  }
  
  @media (max-width: 768px) {
    .carousel-item img { height: 50vh; }
    .carousel-caption { width: 90%; padding: 15px 20px; }
    .carousel-caption h1 { font-size: 2rem; }
    .carousel-caption h2 { font-size: 1rem; }
  }
  
  @media (max-width: 480px) {
    .carousel-item img { height: 30vh; }
    .carousel-caption { width: 95%; padding: 10px 15px; }
    .carousel-caption h1 { font-size: 1.2rem; }
    .carousel-caption h2 { font-size: 1rem; }
    
  }
  /*highlights sliderbar*/
  .highlight-strip {
    width: 100%;
    height: 8vh;
    background-color: #000000;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.highlight-text {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    padding-left: 100%;
    position: absolute;
    white-space: nowrap;
}
 /* About Section Styles */
 .about-section {
  /* background: linear-gradient(to right, rgba(0, 70, 127, 0.3), rgba(163, 180, 148, 0.25)); */
  color: white;
  padding: 80px 10px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  height: auto;
}

.about-section.active {
  opacity: 1;
  transform: translateY(0);
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.about-text {
  flex: 1;
  padding: 20px;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight:200;
  margin-bottom: 10px;
  color: #000;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 10px;
  /* font-weight:50; */
  color: #000;
}

.about-img {
  flex: 1;
  text-align: center;
}

.about-img img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.5s ease-in-out;
}

.about-img img:hover {
  transform: scale(1);
}

/* Learn More Button */
.learn-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  background: #3280c9;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.learn-more-btn:hover {
  background: #3280c9;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content {
      flex-direction: column;
      text-align: center;
  }

  .about-img {
      order: -1;
      margin-bottom: 20px;
  }

  .about-text {
      text-align: center;
      padding: 10px;
  }
}
     /*news */
  .container-box {
    max-width: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    
    margin-bottom: 10vh;

}
.section-box {
    width: 30%;
    min-width: 280px;
}
.scroll-box {
    height: 450px;
    overflow-y: auto;
    padding: 15px;
    background:rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}
.title {
    color: #000000;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 3px solid #000000;
    display: inline-block;
    font-size: 1.5rem;
}
.item {
    border-bottom: 1px dashed #ffffff;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eeecec;
    border-radius: 8px;
}
.item:hover{
  background-color:#b8c9daab ;
}
.item i {
    color: #3280c9;
    font-size: 1.2rem;
}
.tabs {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
}
.tabs button {
    color: #7aa6e0;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    border: none;
    background: none;
}
.tabs .active {
    background-color: #7aa6e0;
    color: white;
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
  /*banner section */
  .banner-section {
         margin-top: 15vh;
          margin-bottom: 20vh;
          position: relative;
          height: 80vh;
          background-image: url('school_poster.png'); /* Replace with your image URL */
          background-size: cover;
          background-position: center;
          display: flex;
          align-items: center;
          justify-content: center;
      }
      
      .banner-overlay {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
          backdrop-filter: blur(8px); /* Blur effect */
          z-index: 1;
      }

      .banner-content {
          z-index: 2;
          display: flex;
          flex-direction: row;
          width: 100%;
          max-width: 1200px;
          padding: 20px;
          color: #ffff;
      }

      .banner-image {
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 20px;
      }

      .banner-image img {
          max-width: 100%;
          height: auto;
          border-radius: 10px;
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      }

      .banner-description {
          flex: 1;
          padding: 20px;
          display: flex;
          flex-direction: column;
          justify-content: center;
      }

      .banner-description h2 {
          font-size: 2rem;
          font-weight: bold;
          margin-bottom: 1rem;
      }

      .banner-description p {
          font-size: 1.1rem;
          line-height: 1.5;
      }

      @media (max-width: 768px) {
          .banner-content {
              flex-direction: column;
              text-align: center;
          }
          .banner-description h2 {
              font-size: 1.8rem;
          }
          .banner-description p {
              font-size: 1rem;
          }
      }

    
    

/*img slidebar */




  /* school  Banner Styles */
  .schoolBanner {
    width: 100%;
    min-height: 70vh;
    background: url('https://source.unsplash.com/1600x900/?education,school') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-top: 15vh;
}

.schoolBanner.active {
    opacity: 1;
    transform: translateY(0);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(9, 103, 180, 0.4), rgba(163, 180, 148, 0.4));
    z-index: 1;
}

.bannerInfo {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
}

.schoolStats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px 0;
    gap: 20px;
}

.statCard {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    padding: 25px;
    background: #ffffffee;
    border-radius: 16px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

.statCard.active {
    opacity: 1;
    transform: translateY(0);
}

.statCard:hover {
    transform: scale(1.05);
    background: #ddebf5;
}

.statIcon {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.statTitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.statNumber {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

@media (max-width: 1024px) {
    .schoolStats {
        justify-content: center;
    }
    .statCard {
        flex: 0 1 calc(50% - 20px);
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .schoolBanner {
        min-height: 100vh;
    }
    .bannerInfo {
        width: 95%;
    }
    .schoolStats {
        flex-direction: column;
        align-items: center;
    }
    .statCard {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .schoolBanner {
        min-height: 120vh;
    }
    .statCard {
        width: 90%;
    }
    .statNumber {
        font-size: 2rem;
    }
    .statTitle {
        font-size: 1rem;
    }
    .statIcon {
        font-size: 2rem;
    }
}
  
      /*feedback section*/
      /* .feedback_box {
        height: 60vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 15vh;
        margin-bottom: 20vh;
        
      }
      .feedback-section {
        background-color: #ffffff;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        width: 100%;
        max-width: 700px;
      }
      .feedback-section h2 {
        font-weight: bold;
        text-align: center;
        color:  #000000;
        margin-bottom: 20px;
      }
      .btn-submit {
        background-color: #29a6c5d2;
        color: white;
        font-weight: bold;
      }
      .btn-submit:hover {
        background-color: #248faad3;
      }
      .toast-container {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1050;
      }
      input:valid, textarea:valid {
        border-color: #8ac497;
        box-shadow: 0 0 5px #7ab488;
      }
      input:focus, textarea:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 5px #007bff;
      } */
       /* footer */
  /*map */
.map-section {
  width: 100%;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
  padding: 20px;
  box-sizing: border-box;
  
}

.map-container {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}



  



