.carousel-wrapper-hebahan {
  position: relative;
  width: 100%;
  max-width: 1000px;
  
}

.carousel-container-hebahan {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: transparent;
}

.carousel-track-hebahan {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 10px;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
}

.navhebah {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  /*background-color: rgba(0,0,0,0.5);*/
  border: none;
  color: black;
  font-size: 30px;
  padding: 0px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}
.navhebah.left {
  left: -10px;
}
.navhebah.right {
  right: -10px;
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc(100% / 2);
  }
}
@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

/* Indicators Container */
.carousel-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
  padding: 0 10px;
}

/* Individual Dot */
.carousel-indicators .dot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #bbb;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

/* Active Dot */
.carousel-indicators .dot.active {
  background-color: #333;
  transform: scale(1.1);
}

/* Responsive Dot Size on Mobile */
@media (max-width: 480px) {
  .carousel-indicators .dot {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
}
/* Modal Styles */
.modal_poster {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal_poster.show {
  animation: fadeZoom 0.3s ease;
}

.modal-content-poster {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 101;
}

@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

