/* index page hero slider */
.hero-slider {
  height: 70vh;
  min-height: 420px;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.hero-slider-title {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-slider-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  max-width: 36rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero-slider-cta {
  margin-top: 1.75rem;
  display: inline-block;
  background: #0a4597;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 9999px;
  color: #fff;
  cursor: pointer;
}

.hero-slider-nav-prev {
  left: 1rem;
}

.hero-slider-nav-next {
  right: 1rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-fallback-1 { background: #0a4597; }
.hero-slide-fallback-2 { background: #083a7a; }
.hero-slide-fallback-3 { background: #1a5cb3; }

.hero-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 9999px;
  padding: 0;
  background: #fff;
  opacity: 0.4;
  cursor: pointer;
}

.hero-dot.is-active {
  opacity: 1;
}
