 /* 1. slider/hero section */  
/* 1. Short gradient, bottom only (not the whole image) */
/* ---------- White slider indicators (bottom right) ---------- */
.carousel-indicators {
  z-index: 11;
  left: auto;
  right: 5%;
  bottom: 1rem;
  margin: 0;
  justify-content: flex-end;
}

.carousel-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  margin: 0 4px;
  background-color: #fff;
  border: 0;
  opacity: 0.5;
}

.carousel-indicators .active {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .carousel-indicators { bottom: 0.9rem; }
  .carousel-indicators [data-bs-target] { width: 20px; }
}

.carousel-item {
  position: relative;
}

.carousel-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;               /* only covers the bottom part */
  background: linear-gradient(
      to top,
      rgba(8, 18, 38, 0.85) 0%,
      rgba(8, 18, 38, 0.45) 80%,
      rgba(8, 18, 38, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 2. Smaller caption block */
.carousel-caption {
  position: absolute;
  z-index: 2;
  left: 4%;
  right: auto;
  bottom: 1rem;
  width: 50%;
  max-width: 560px;
  padding: 0;
  text-align: left;
}

/* 3. Small eyebrow */
.carousel-caption .eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e0b866;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* 4. Smaller headline */
.carousel-caption h2,
.carousel-caption h3 {
  margin: 0 0 0.4rem;

  font-size: clamp(2rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* 5. Compact button row */
.carousel-caption .caption-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.carousel-caption { z-index: 10; }

.carousel-caption .btn {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border: 0;
  border-radius: 4px;
  background: #b58f4a;
  color: #14233d;
  font-weight: 600;
}

/* 6. Controls above the overlay */
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
  z-index: 3;
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-caption {
      left: 5%;
      width: 90%;
      bottom: 0.75rem;
  }
  .carousel-caption h2,
  .carousel-caption h3 {
      font-size: 1rem;
  }
  .carousel-item::after {
      height: 50%;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
.carousel-caption h2,
.carousel-caption h3 { font-size: 0.82rem; }
.carousel-caption .eyebrow { font-size: 0.5rem; }
}