/* ============================================
   HERO SECTION STYLES - Separate File
   ============================================ */

/* HERO SECTION - Same Style */
header.ehc-hero,
.ehc-hero {
  position: relative !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: 450px !important;
  height: auto !important;
  max-height: 85vh !important;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.75) 100%),
              url('../assets/hero section.jpg') center/cover no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 60px 0 !important;
  box-sizing: border-box !important;
}

header.ehc-hero::before,
.ehc-hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* OVERLAY */
.ehc-hero-bg {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: auto !important;
  height: auto !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
  padding: 20px 0 !important;
}

/* CONTENT */
.ehc-hero-content {
  text-align: center !important;
  padding: 0 20px !important;
  max-width: 800px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  position: relative !important;
  z-index: 3 !important;
}

/* HEADINGS */
.ehc-heading {
  margin: 0 0 20px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ehc-heading-top {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  display: block !important;
  font-family: 'Inter', 'Segoe UI', sans-serif !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

.ehc-heading-bottom {
  font-size: clamp(1.9rem, 4.3vw, 3rem) !important;
  font-weight: 700 !important;
  color: #fbbf24 !important;
  display: block !important;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3) !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
}

/* PARAGRAPH */
.ehc-subtext {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem) !important;
  color: #f1f5f9 !important;
  margin: 0 auto 30px auto !important;
  line-height: 1.6 !important;
  max-width: 650px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  opacity: 0.95 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

/* BUTTONS */
.ehc-btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.ehc-btn {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 200px;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.ehc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ehc-btn-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #001744 !important;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4) !important;
}

.ehc-btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.ehc-btn-blue {
  background: #ffffff !important;
  color: #374151 !important;
  border: 2px solid #e5e7eb !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.ehc-btn-blue:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Prevent text and content from causing overflow */
.ehc-hero-content,
.ehc-heading,
.ehc-subtext,
.ehc-btn-group {
  max-width: 100%;
  box-sizing: border-box;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ehc-hero {
    min-height: auto;
    max-height: none;
    padding: 60px 15px;
    height: auto;
  }

  .ehc-hero-bg {
    min-height: auto;
    padding: 20px 0;
  }

  .ehc-hero-content {
    padding: 0 15px;
    max-width: 100%;
  }

  .ehc-heading-top {
    font-size: clamp(1.4rem, 4vw, 1.9rem) !important;
    line-height: 1.2;
    white-space: normal !important;
  }

  .ehc-heading-bottom {
    font-size: clamp(1.5rem, 4.3vw, 2rem) !important;
    line-height: 1.2;
    white-space: normal !important;
  }

  .ehc-subtext {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem) !important;
    padding: 0 5px;
    margin-bottom: 25px;
  }

  .ehc-btn-group {
    flex-direction: column;
    gap: 12px;
    padding: 0 5px;
    align-items: center;
  }

  .ehc-btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .ehc-hero {
    min-height: auto;
    max-height: none;
    padding: 50px 12px;
    height: auto;
  }

  .ehc-hero-bg {
    min-height: auto;
    padding: 15px 0;
  }

  .ehc-hero-content {
    padding: 0 12px;
    max-width: 100%;
  }

  .ehc-heading-top {
    font-size: clamp(1.25rem, 4vw, 1.65rem) !important;
    line-height: 1.2;
    margin-bottom: 15px;
    white-space: normal !important;
  }

  .ehc-heading-bottom {
    font-size: clamp(1.35rem, 4.3vw, 1.75rem) !important;
    line-height: 1.2;
    margin-bottom: 15px;
    white-space: normal !important;
  }

  .ehc-subtext {
    font-size: clamp(0.7rem, 1.8vw, 0.85rem) !important;
    padding: 0 5px;
    margin-bottom: 20px;
  }

  .ehc-btn-group {
    padding: 0 5px;
    gap: 10px;
  }

  .ehc-btn {
    max-width: 100%;
    width: 100%;
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .ehc-hero {
    min-height: auto;
    max-height: none;
    padding: 40px 10px;
    height: auto;
  }

  .ehc-hero-bg {
    min-height: auto;
    padding: 10px 0;
  }

  .ehc-hero-content {
    padding: 0 10px;
    max-width: 100%;
  }

  .ehc-heading-top {
    font-size: clamp(1.15rem, 4vw, 1.45rem) !important;
    line-height: 1.2;
    margin-bottom: 12px;
    white-space: normal !important;
  }

  .ehc-heading-bottom {
    font-size: clamp(1.25rem, 4.3vw, 1.55rem) !important;
    line-height: 1.2;
    margin-bottom: 12px;
    white-space: normal !important;
  }

  .ehc-subtext {
    font-size: clamp(0.65rem, 1.8vw, 0.8rem) !important;
    padding: 0 3px;
    margin-bottom: 18px;
  }

  .ehc-btn {
    max-width: 100%;
    width: 100%;
    font-size: 0.85rem;
    padding: 11px 18px;
  }
}

@media (max-width: 360px) {
  .ehc-hero {
    min-height: auto;
    max-height: none;
    padding: 35px 8px;
    height: auto;
  }

  .ehc-hero-bg {
    min-height: auto;
    padding: 8px 0;
  }

  .ehc-hero-content {
    padding: 0 8px;
    max-width: 100%;
  }

  .ehc-heading-top {
    font-size: clamp(1.05rem, 4vw, 1.35rem) !important;
    line-height: 1.2;
    margin-bottom: 10px;
    white-space: normal !important;
  }

  .ehc-heading-bottom {
    font-size: clamp(1.15rem, 4.3vw, 1.45rem) !important;
    line-height: 1.2;
    margin-bottom: 10px;
    white-space: normal !important;
  }

  .ehc-subtext {
    font-size: clamp(0.6rem, 1.8vw, 0.75rem) !important;
    padding: 0 3px;
    margin-bottom: 15px;
  }

  .ehc-btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 10px 16px;
  }
}

