body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;

}

.nav-item,
.dropdown-item {
  font-family: math;
  font-size: 17px;
  font-weight: 500;
}

/* .nav-item:hover{
    color: #ff4c60;
    transition: 0.3s;
    
} */
.nav-link {
  color: white !important;
}

.nav-link:hover {
  color: #ffc107 !important;
  transition: 0.3s;
}

.dropdown-item:hover {
  background-color: #495057 !important;
  color: white !important;
  transition: 0.3s;
}

.dropdown-menu {
  border-radius: 0;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  font-size: 16px;
  font-weight: 500;
  color: black !important;
}
/* Desktop hover */
@media (min-width: 992px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu .dropdown-menu {
    top: 0;
    right: 100%;
  }
}


/* .dropdown-item:active{
    background-color: #ff4c60;
    color: white !important;
} */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
}

.navbar-brand:hover {
  color: #ffc107 !important;
  transition: 0.3s;
}

.position-relative {
  margin-left: 20px;
}

.position-relative:hover {
  color: #ffc107 !important;
  transition: 0.3s;
}

.navbar {
  background-color: #3B5998;
}

.school-name {
  font-size: 1.5rem;
  font-family: 'Font Awesome 5 Pro';
  /* text-shadow: 2px 0 black; */
}

.tagline {
  font-size: 0.875rem;
  text-align: right;
}


@media (max-width: 576px) {
  .school-name {
    font-size: 10px !important;
  }

  .tagline {
    font-size: 8px !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1040px) {
  .school-name {
    font-size: 15px !important;
  }

  .tagline {
    font-size: 10px !important;
  }
}

/* ---------------------------nab end-------------------------- */

.heading-xl {
  font-family: inherit;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: #e23e0b;
  text-align: center;
  font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
}

.heading-xl span {
  /* background: url("https://i.ibb.co/RDTnNrT/animated-text-fill.png") repeat-y; */
    background: url("../img/animi.jpg") repeat-y;
  background-size: auto 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aitf 180s linear infinite; /* ⏳ slower animation */
  display: inline-block;
}

@-webkit-keyframes aitf {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

section {
  margin-top: 50px;
  margin-bottom: 50px;
}
p{
  font-family: math;
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
}

/* ---------------------------carousel start-------------------------- */
.hero-section {
  /* background: linear-gradient(135deg, #9b00e8, #ff0055); */
  /* background: linear-gradient(135deg, var(--bs-code-color), var(--bs-primary)); */
  /* background: #ffc200;
  min-height: 80vh;
  color: #fff;
  padding: 60px 0;
  position: relative; */
  min-height: 80vh;
    color: #fff;
    padding: 60px 0;
    position: relative;
    padding: 60px 0;
    background-image: url(../img/test2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section,
h2 {
  font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
}

.slider-img {
  max-height: 660px;
  z-index: 1;
  border-radius: 50px;
}

/* ---------------------------carousel end-------------------------- */
/* ---------------------------what we do-------------------------- */
.what-we-do {
  /* background: #3B5998; */
  padding: 60px 0;
  background-image: url('../img/what-we-do.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


}

.glass-title {
  font-family: math;
  font-weight: 600;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.glass-card {
  /* background: rgba(255, 255, 255, 0.1); */
  background: var(--bs-tertiary-color);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 20px;
  text-align: center;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.glass-card{
  height: 190px;
}




/* ---------------------------about-------------------------- */
.about-banner {
  background: url('../img/banner/about.jpeg') center center / cover no-repeat;
  font-family: math;
}
.about-section p{
  font-family: math;
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
}

/* ---------------------------vision mission-------------------------- */
.vision-banner {
  background: url('../img/banner/vision.jpeg') center center / cover no-repeat;
  font-family: math;
}
.vision-section h3{
  font-family: math;
}
/* ---------------------------message-------------------------- */
.message-banner{
  background: url('../img/banner/message.jpeg')center center / cover no-repeat;
  font-family: math;
}
.message-section {
  background: #f9f9fc;
}
.message-section h2 {
  color: #212529;
  text-decoration: underline;
}
.message-section img {
  max-height: 400px;
  object-fit: cover;
  border: 5px solid #fff;
}
/* ---------------------------Our staff-------------------------- */
.staff-banner{
  background: url('../img/banner/our-staff.jpeg') center center / cover no-repeat;
  font-family: math;
}
.staff-banner h3{
  font-family: math;
}
.staff-section {
 background: #275078;
    color: #fff;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.text-purple {
  color: #ffc107;
}

.staff-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.staff-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 4px solid #ffc107;
}

.text-primary {
  color: #fff !important;
  letter-spacing: 1px;
}
/* ---------------------------overview-------------------------- */
.overview-banner{
  background: url('../img/banner/overview.jpg') center center / cover no-repeat;
  font-family: math;
}
.overview-banner h3{
  font-family: math;
}
.overview-section {
  background: #f9f9fc;
}
.overview-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* ---------------------------sports-------------------------- */
.sports-banner{
  background: url('../img/banner/sports.jpg') center center / cover no-repeat;
  font-family: math;
}
.sports-section .card h4 {
  font-family: math;
}

.sports-section .card {
  transition: all 0.3s ease;
}

.sports-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
/* ---------------------------Extra Curricular-------------------------- */
.curricular-banner{
  background: url('../img/banner/curricular.jpeg') center center / cover no-repeat;
  font-family: math;
}
.equal-img {
  height: 350px !important;          
  object-fit: cover;       
  object-position: center; 
}
/* ---------------------------gallery-------------------------- */
.gallery-banner{
  background: url('../img/banner/gallery.jpg') center center / cover no-repeat;
  font-family: math;
}
.gallery-nav-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: black;
  /* background-color: yellow; */
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 10;
}

#prevBtn {
  left: 15px;
}

#nextBtn {
  right: 15px;
}

.gallery-nav-icon:hover {
  /* background-color: gold; */
  transform: translateY(-50%) scale(1.1);
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 50vh;  */
  background: White; 
}

#modalImage {
  max-height: 75vh;
  object-fit: contain;
}

/* ---------------------------nutrition---------------------------------- */
.nutrition-banner{
   background: url('../img/banner/nutrition.jpeg') center center / cover no-repeat;
  font-family: math;
}
/* ---------------------------transport---------------------------------- */
.transport-banner{
   background: url('../img/banner/transport.jpeg') center center / cover no-repeat;
  font-family: math;
}
/* ---------------------------special-course--------------------------------- */
.special-course-banner{
   background: url('../img/banner/special-course.jpg') center center / cover no-repeat;
  font-family: math;
}
/* ---------------------------quality-education---------------------------------- */
.quality-education-banner
{
   background: url('../img/banner/quality-education.jpeg') center center / cover no-repeat;
  font-family: math;
}

/* ---------------------------contact---------------------------------- */
.contact-banner{
   background: url('../img/banner/contact.jpg') center center / cover no-repeat;
  font-family: math;
}
/* ----------------------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;
}
/* ---------------------------footer-------------------------- */
footer {
  background: url('../gif/footer2.gif') center center / cover no-repeat;
  color: white;

}

.cta-text {
  color: #ffc107;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #ffc107;
  text-decoration: none;
  transition: 0.3s;
}

.facebook-bg {
  background-color: #3b5998;
  color: #fff;
  padding: 11px;
  border-radius: 50%;
  margin: 5px;
  /* height: 40px; */
  width: 40px;
  text-align: center;
}

.instagram-bg {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  margin: 5px;
  width: 40px;
  text-align: center;
}

.twitter-bg {
  background-color: #55acee;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  margin: 5px;
  width: 40px;
  text-align: center;
}

.copyright-area {
  background-color: rgb(0 0 0 / 42%);
  text-align: center;
  font-weight: 800;
  font-family: math;
}
.copyright-area p{
  text-align: center;
}

/* ---------------------------footer end-------------------------- */