/* =========================
AUTO PLAY + SMOOTH ANIMATION
FULL RESPONSIVE SLIDER
========================= */

.hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#schoolSlider,
.carousel,
.carousel-inner,
.carousel-item {
  width: 100%;
  overflow: hidden;
}

/* Smooth Fade Animation */
.carousel-item {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

/* Full Image Visible */
.carousel-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Large Desktop */
@media (min-width: 1200px) {
  .carousel-item img {
    max-height: 700px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .carousel-item img {
    max-height: 500px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 320px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 35px;
    height: 35px;
  }
}

/* Arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 50px;
  height: 50px;
  background-size: 60%;
  background-color: rgba(0,0,0,0.45);
  border-radius: 50%;
}

/* Indicators */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}