
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
}

.hero-slider .slide {
  display: none; 
  width: 100%;
  transition: opacity 1s ease-in-out; 
}

.hero-slider .slide img {
  width: 100%;
  display: block;
  object-fit: cover; 
  max-height: 500px; 
}

.hero-slider .slide.active {
  display: block; 
  opacity: 1;
}


.slider-dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.slider-dots .dot {
  cursor: pointer;
  height: 13px;
  width: 13px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
  background-color: #717171;
}


.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.5); 
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
