/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HERO */
.hero {
  width: 100%;
  height: 400px; /* slightly taller for impact */
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.hero,
.carousel {
  padding: 0;
}


/* CAROUSEL */
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
  opacity: 1;
}

/* IMAGE */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95); /* Better text contrast if needed */
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.1);
}

.dot.active {
  background: #ffffff;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 220px;
  }
}