h1,
h2,
h3.h4,
h5,
h6 {
  font-family: math;
}

/* --------------------top navbar ----------------------- */
.top-contact i {
  margin-right: 5px;
}

.menu-link {
  font-weight: bold;
  margin-left: 20px;
}

.school-heading {
  color: #000;
  font-weight: 700;
  font-family: math;
}

.top-contact {
  color: #000;
  font-size: 0.95rem;
}

.navbar-nav .nav-link {
  color: #fff;
  font-family: math;
  font-size: 1.2rem;
  /* font-weight: 800; */
}
.navbar-nav .nav-link {
  font-size: 1.3rem; 
}

/* -----------hero section------------------- */
.glass-card-slider {
      background: rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 15px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .glass-card-slider:hover {
      transform: translateY(-5px);
    }
    /* Default: desktop & larger screens */
.hero-section {
  height: 90vh;
}

/* Tablets and below */
@media (max-width: 992px) {
  .hero-section {
    height: 70vh;
  }
}

/* Small devices like mobiles */
@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1.5rem;
  }
}


/* .hero-section {
  position: relative;
  min-height: 90vh;
  background: url('../img/hero-bg.jpeg') no-repeat center center/cover;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.glass-container {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.hero-section h1,
.hero-section p {
  color: #fff;
}


@media (max-width: 767.98px) {
  .hero-section {
    height: 50vh;
  }
} */

/* ----------------2-------------------- */
.hover-shadow:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px);
}

.transition {
  transition: 0.3s ease-in-out;
}

/* ---------------------playground------------------------- */
.step-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-img:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 2px 20px rgba(0, 123, 255, 0.4);
}

.card-head {
  padding: 5px;
  background-color: #0096FF;
  border-radius: 5px;
  font-family: math;
  color: #fff;
}
/* ----------------------popup------------------------- */
.modal {
  background: rgba(0, 0, 0, 0.6);
}

.btn {
  font-family: 'Georgia', serif;
  border-radius: 0.25rem;
  padding: 10px 20px;
}

.btn-warning {
  background-color: #ffc107;
  border: none;
}

.btn-warning:hover {
  background-color: #e0a800;
}

.modal-content {
  border-radius: 10px;
  overflow: hidden;
}
/* ----------------------counts---------------------------- */
.count-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.count-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.count {
  font-size: 3rem;
}

/* .bg-blue {
  background-color: #00A3DD;

} */
/* ------------------Principal------------------------ */
.msg-heading {
  color: #212529;
    font-family: math;
    background-color: white;
    padding: 5px;
    text-align: center;
}
/* ------------------out team-------------------- */
.masonry-gallery {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-gallery img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 8px;
  break-inside: avoid;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 10px solid #FCD116;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.masonry-gallery img.zoom-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive columns */
@media (max-width: 992px) {
  .masonry-gallery {
    column-count: 2;
  }
}
@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1;
  }
}
/* -----------------footer----------------------- */
.glass-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;

}

.footer-head {
  color: #1EB53A;
  font-family: math;
  font-size: 1.3rem;
}

.insta-bg {
  background: linear-gradient(to bottom right, #FFD700, #FF69B4, #8A2BE2) !important;
}
.twitter-bg {
  background-color: #1DA1F2;
  border-color: #1DA1F2;
}

.twitter-bg:hover {
  background-color: #0d8ddb;
  border-color: #0d8ddb;
}
/*-------------------banners---------------------------*/
.special-class {
  background: url('../img/banner/spl-class.jpeg') no-repeat center center;
  background-size: cover;
  height: 40vh;
  /* filter: brightness(65%); */
}
.about{
  background: url('../img/banner/about.jpeg') no-repeat center center;
  background-size: cover;
  height: 40vh;
}
.contact-banner{
  background: url('../img/banner/contact.jpeg') no-repeat center center;
  background-size: cover;
  height: 44vh;
}
.who-we-are{
  background: url('../img/banner/who-we-are.jpeg') no-repeat center center;
  background-size: cover;
  height: 40vh;
}
.blogs{
  background: url('../img/banner/blogs.jpeg') no-repeat center center;
  background-size: cover;
  height: 40vh;
}
.facilities{
  background: url('../img/banner/facilities.jpeg') no-repeat center center;
  background-size: cover;
  height: 40vh;
}
/* ------------------about---------------------- */
.about-banner {
  background: url('../img/about-bg.jpeg') no-repeat center center;
  background-size: cover;
  height: 40vh;
  /* filter: brightness(65%); */
}

.text-justify {
  text-align: justify;
}

/* -----------------------Rulle & Regulations------------------------------- */
.rules-head h4 {
  background-color: #0096FF;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: math;
}

/* ------------------------map------------------------------------ */
.ratio-25 {
  position: relative;
  width: 100%;
  padding-top: 38.25%;
  overflow: hidden;
  border-radius: 10px;
}

.ratio-25 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 576px) {
  .ratio-25 {
    padding-top: 55%; 
  }
}

/* ------------------------------------------------- */
.hover-scale {
  transition: transform 0.3s ease-in-out;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ---------------------contact------------------------------------ */
   .card-contact {
      background-color: #0096FF;
      border: none;
      border-radius: 12px;
      color: #ffffff;
    }
    .info-box-contact {
      padding: 20px;
      margin-bottom: 20px;
    }
    .social-icons-contact a {
      color: #ffffff;
      font-size: 20px;
      margin-right: 15px;
      transition: color 0.3s ease;
    }
    .social-icons-contact a:hover {
      color: #0d6efd;
    }
    .img-container-contact {
      max-width: 100%;
    }
    .img-container-contact img {
      width: 100%;
      border-radius: 12px;
    }
    /* ---------------------our team----------------------------- */
 .clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .clamp-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
  }