/* This file is used for styling the website elements */
/* ===== HERO SLIDER ===== */
#hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #e8eef3;
}

/* ── Slides ─────────────────────────────────────────────────────────── */
.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 0;
}
.hs-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* ── Background — no zoom, just cover, bright/natural ──────────────── */
.hs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hs-slide.active .hs-bg {
  transform: scale(1);
}

/* ── NO dark overlay — original design is bright ───────────────────── */
.hs-overlay {
  display: none;
}

/* ── Content wrapper — centered both axes ───────────────────────────── */
.hs-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 60px;
}

/* ── TITLE — bold, blue, centered, uppercase ────────────────────────── */
.hs-title {
  font-family: 'Roboto', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: #497ba0;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  max-width: 860px;
  /* off-state */
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.65s ease 0.2s, transform 0.65s ease 0.2s;
}
.hs-slide.active .hs-title {
  opacity: 1;
  transform: translateY(0);
}

/* ── DESCRIPTION — dark text, centered, slides in from RIGHT ────────── */
.hs-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #222;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 30px 0;
  /* off-state: pushed to the left */
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.65s ease 0.42s, transform 0.65s ease 0.42s;
}
.hs-slide.active .hs-desc {
  opacity: 1;
  transform: translateX(0);
}

/* ── BUTTON — wide pill, black border, yellow on hover ──────────────── */
.hs-btn {
  display: inline-block;
  background: #3d6985;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 2px 30px;
  border-radius: 50px;
  border: 2px solid #000;
  /* off-state */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.62s,
              transform 0.6s ease 0.62s,
              background 0.28s ease,
              color 0.28s ease,
              border-color 0.28s ease;
}
.hs-slide.active .hs-btn {
  opacity: 1;
  transform: translateY(0);
}
.hs-btn:hover {
  background: #ffcc00;
  color: #000;
  border-color: #ffcc00;
}

/* ── Label — hidden in this design (original had none) ─────────────── */
.hs-label {
  display: none;
}

/* ── Bullet dots ────────────────────────────────────────────────────── */
.hs-bullets {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hs-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,0.9);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hs-bullet.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.25);
}
.hs-bullet:hover {
  background: #fff;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #hero-slider  { height: 420px; }
  .hs-title     { font-size: 40px; }
  .hs-desc      { font-size: 15px; }
  .hs-content   { padding: 30px 40px; }
}
@media (max-width: 767px) {
  #hero-slider  { height: 300px; }
  .hs-title     { font-size: 24px; max-width: 100%; }
  .hs-desc      { font-size: 13px; max-width: 100%; }
  .hs-content   { padding: 20px 18px; }
  .hs-btn       { font-size: 13px; padding: 10px 28px; }
}
