/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh; 
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

/* Overlay */
.hero-overlay {
  position: absolute; 
  inset: 0;
  background: linear-gradient(
    to right,
    var(--hero-color-strong, rgba(0, 0, 0, 0.6)),
    var(--hero-color-light, rgba(0, 0, 0, 0.3))
  );
  z-index: 1;
}

/* Slides */
#hero .carousel-item {
  min-height: 100vh;
  min-height: 100svh;

  height: 100vh;
  height: 100svh;
  background-size: var(--hero-bg-size, cover);
  background-position: var(--hero-bg-position, center);
  background-repeat: no-repeat;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
will-change: opacity, transform; 
}

/* Centering content */
#hero .carousel-container {
  position: relative;
  z-index: 2;
  height: 100%;
}
#hero .row {
  min-height: 100%;
}
#heroCarousel {
  width: 100%;
}
#hero .col-xl-7 {
  padding-inline: clamp(20px, 4vw, 40px);
}
/* Typography */
#hero h2 {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: clamp(20px, 3.5vw, 44px);
  max-width: 100%;
}
#hero p {
  color: #fff;
  line-height: 1.5;
  font-size: clamp(13px, 1.5vw, 18px);
  margin: 0 auto 25px;
  max-width: 100%;
}
/* Button */
#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;

  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition:
  background-color 0.3s ease,
  transform 0.3s ease,
  border-color 0.3s ease;

  font-size: clamp(12px, 1.2vw, 14px);
  color: #fff;
  border: 2px solid #68a4c4;
}

#hero .btn-get-started:hover {
  background: #68a4c4;
  transform: translateY(-2px);
}

/* Indicators */
#hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 1;
}

/* ============================================= */
/* Carousel Controls */
/* ============================================= */
#hero .carousel-control-prev,
#hero .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: clamp(56px, 8vw, 90px);
  height: clamp(56px, 8vw, 90px);

  display: flex;
  align-items: center;

  z-index: 5;

  cursor: pointer;

  opacity: 1;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
#hero .carousel-control-prev,
#hero .carousel-control-next {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* remove Bootstrap focus glow */
#hero .carousel-control-prev:focus,
#hero .carousel-control-next:focus,
#hero .carousel-control-prev:active,
#hero .carousel-control-next:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
#hero .carousel-control-prev:focus-visible,
#hero .carousel-control-next:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: -6px;
}
/* #hero .carousel-control-prev {
  left: 0;
  justify-content: flex-start;
  padding-left: clamp(12px, 2vw, 28px);
}

#hero .carousel-control-next {
  right: 0;
  justify-content: flex-end;
  padding-right: clamp(12px, 2vw, 28px);
} */

/* Icon styling */
#hero .carousel-control-prev i,
#hero .carousel-control-next i {
  font-size: clamp(24px, 2vw, 36px);
  color: #fff;
  line-height: 1;

  text-shadow: 0 2px 12px rgba(0,0,0,.35);

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
#hero .carousel-control-prev:hover i,
#hero .carousel-control-next:hover i {
  transform: scale(1.2);
}
#hero .carousel-control-prev,
#hero .carousel-control-next {
  cursor: pointer;
}
