/* Carousel container */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  /* Set an explicit height if needed, or let the images define it */
  height: 300px;
}

/* Each slide is positioned absolutely so they stack */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}

/* Ensure images fill the slide */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 2;
}

.carousel-indicators .indicator {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0.5;
}

.carousel-indicators .indicator.active {
  opacity: 1;
  background-color: #D3FC01;
}

/* Arrow controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  font-size: 14px;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}
