/* ========================= */
/* HERO SLIDER STYLES        */
/* ========================= */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

.hero-slider {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}

/* SLIDES */
.slides {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.15);
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(3, 7, 18, 0.85),
    rgba(0, 0, 0, 0.35)
  );
}

/* CONTENT */
.content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 80px);
  color: #fff;
}

/* TAGLINE */
.tagline {
  font-size: clamp(12px, 2.5vw, 14px);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* HEADLINE */
.slide.active .content h1 {
  font-size: clamp(32px, 6vw, 64px);
  margin: 20px 0;
  line-height: 1.15;
  animation: slideUp 0.8s ease;
}

/* PARAGRAPH */
.slide.active .content p {
  font-size: clamp(15px, 3.5vw, 18px);
  max-width: 520px;
  opacity: 0.9;
  animation: slideUp 1s ease;
}

/* ACTION BUTTONS */
.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-outline {
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  color: #fff;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-outline {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.btn-outline::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #fff;
  z-index: -1;
  transition: height 0.3s ease;
}

.btn-outline:hover::before {
  height: 100%;
}

.btn-outline:hover {
  color: #111827;
}

/* CONTROLS */
.controls {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.controls button {
  display: block;
  margin: 10px 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}

/* PROGRESS BAR */
.progress-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  z-index: 5;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #3b82f6;
}

/* ANIMATIONS */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* MOBILE & TABLET FIXES     */
/* ========================= */
@media (max-width: 992px) {
  .controls {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .content {
    text-align: center;
  }

  .content p {
    margin: 0 auto;
  }

  .actions {
    justify-content: center;
  }

  .controls {
    top: auto;
    bottom: 80px;
    right: 20px;
    transform: none;
  }

  .controls button {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .tagline {
    letter-spacing: 1px;
  }

  .progress-bar {
    display: none;
  }
}

/* =========================================
   HERO BENEFITS STRIP (COMPACT)
========================================= */

.hero-benefits {
  background: #0b3a36;
  padding: 12px 0;
  font-family: "Montserrat", sans-serif;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit-item {
  padding: 20px 22px;
  color: #ffffff;
  text-align: left;
}

.benefit-item h3 {
  font-size: 20px; /* smaller title */
  font-weight: 600;
  margin-bottom: 6px;
}

.benefit-item p {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
}

.benefit-icon {
  background-color: #4caf50;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 12px;
}

.benefit-icon i {
  color: #fff;
  font-size: 24px;
}

.benefit-card:hover .benefit-icon {
  background-color: #2196f3;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

/* Middle Highlight */
.benefit-item.highlight {
  background: #154c45;
  border-radius: 10px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .benefits-container {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    text-align: center;
    padding: 18px 18px;
  }
}
