/* Student Carousel Styles */
.carousel {
  margin: 0 auto;
  max-width: 1000px;
  margin-top: 0;
}

.carousel-item {
  padding: 20px;
}

.class-section h2 {
  color: #00796b;
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}

.counter {
  margin: 10px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.counter:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.counter h3 {
  margin: 0 0 15px;
  color: #333;
  font-size: 1.2em;
  font-weight: 600;
}

.counter span {
  font-size: 2.2em;
  font-weight: bold;
  display: block;
}

/* Color coding for different counters */
.counter:nth-child(1) span {
  color: #4154f1;
}

.counter:nth-child(2) span {
  color: #0d6efd;
}

.counter:nth-child(3) span {
  color: #d63384;
}

/* Carousel controls styling */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #00796b;
  border-radius: 50%;
  padding: 10px;
}

/* Carousel indicators styling */
.carousel-indicators {
  position: relative;
  margin-top: 10px;
  margin-bottom: 0;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  opacity: 0.5;
}

.carousel-indicators button.active {
  background-color: #00796b;
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .counter {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .counter h3 {
    font-size: 1.1em;
  }
  
  .counter span {
    font-size: 1.8em;
  }
  
  .class-section h2 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    padding: 10px;
  }
  
  .counter {
    padding: 15px;
  }
  
  .counter h3 {
    font-size: 1em;
  }
  
  .counter span {
    font-size: 1.6em;
  }
  
  .class-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
}