.slider {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 600px;
  overflow: hidden;
  user-select: none;
}

.slides img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.slides img.active {
  opacity: 1;
  z-index: 1;
}

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 5;
  user-select: none;
}

.dots .dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 7px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.dots .dot.active {
  background-color: #0E386F;
  box-shadow: 0 0 8px #0E386F;
}

.dots .dot:hover {
  background-color: #072448;
}

@media (max-width: 768px) {
  .slider {
    height: 40vh;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 30vh;
  }
  .dots .dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
  }
}
