/* ================= HERO ================= */
body { margin: 0; }
.hero {
  position: relative;
  height: 55vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* slider */
.hero__slider { position: absolute; inset: 0; z-index: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.03);
}
.hero__slide.active { opacity: 1; }

/* gradient overlay — left-heavy, fades right */
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0,37,37,.75) 0%,
    rgba(0,55,55,.65) 25%,
    rgba(0,65,65,.50) 50%,
    rgba(0,70,70,.30) 70%,
    transparent 100%
  );
}

/* subtle top fade so header doesn't clash */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(8,47,73,.18) 0%, transparent 20%);
  pointer-events: none;
}

/* arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 16px;
  transition: background .2s ease, transform .2s ease;
}
.hero__arrow:hover {
  background: rgba(255,255,255,.30);
  transform: translateY(-50%) scale(1.08);
}
.hero__arrow--left  { left: 28px; }
.hero__arrow--right { right: 28px; }

/* content */
.hero__content {
  position: relative;
  z-index: 10;
  max-width: var(--maxw, 1440px);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad, 48px);
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.hero__inner {
  max-width: 620px;
}

/* eyebrow badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 20px;
}
.hero__badge i { font-size: 11px; color: rgba(255,255,255,.7); }

/* title */
.hero__title {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -1px;
  text-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* subtitle */
.hero__text {
  font-size: clamp(15px, 1.1vw, 17px);
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 52ch;
}

/* buttons */
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.hero__btn--primary {
  background: var(--accent, #1caab4);
  color: #fff;
}
.hero__btn--primary:hover {
  background: var(--accent-dk, #158a93);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(28,170,180,.35);
}

.hero__btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.hero__btn--ghost:hover {
  background: rgba(255,255,255,.20);
  transform: translateY(-2px);
}

/* dots */
.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  background: rgba(0,37,37,.45);
  backdrop-filter: blur(10px);
  padding: 8px 10px;
  border-radius: 999px;
}

.hero__dot {
  width: 22px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all .25s ease;
}

.hero__dot.active {
  width: 32px;
  background: var(--accent);
}

.hero__dot:hover {
  background: rgba(255,255,255,.60);
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero {
    margin-top: 0;
    display: flex;        /* remove flex so no gap forms */
    position: relative;
    height: auto;
    max-height: 60vh;
    align-items: flex-center;
  }

.hero__gradient {
  background: linear-gradient(
    to top,
    rgba(0,37,37,.85) 0%,
    rgba(0,45,45,.70) 15%,
    rgba(0,55,55,.55) 30%,
    rgba(0,60,60,.50) 45%,
    rgba(0,65,65,.60) 58%,
    rgba(0,70,70,.10) 70%,
    transparent 85%
  );
}

  .hero__content { padding: 0 20px; }
  .hero__inner   { max-width: 100%; }
  .hero__arrow   { display: none; }
  .hero__title   { letter-spacing: -.5px; margin-bottom: 10px; }
  .hero__text    { margin-bottom: 22px; }

  .hero__buttons { flex-direction: column; }
  .hero__btn     { width: 100%; justify-content: center; }

  .hero__dots { bottom: 20px; }
}

@media (max-width: 480px) {
  .hero__dot        { width: 7px; height: 7px; }
  .hero__dot.active { width: 24px; }
}