/* ==========================================================================
   SECTION 03: FULLY DYNAMIC HERO SLIDER & NAVIGATION ARROWS
   ========================================================================== */

.ehs-hero-section {
  position: relative !important;
  background-color: #001226 !important;
  color: #ffffff !important;
  min-height: 600px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
}

.ehs-hero-slider-container {
  position: relative !important;
  width: 100% !important;
  min-height: 600px !important;
}

/* Individual Slide Layer */
.ehs-hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  align-items: center !important;
  padding: 130px 0 140px 0 !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out !important;
  z-index: 1 !important;
}

.ehs-hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  position: relative !important;
}

/* Multi-stop Deep Contrast Overlay */
.ehs-hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(0, 18, 38, 0.95) 0%,
    rgba(0, 34, 68, 0.88) 50%,
    rgba(0, 34, 68, 0.6) 100%
  ) !important;
  z-index: 1 !important;
}

.ehs-hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 840px !important;
}

/* Badge / Pill */
.ehs-hero-badge-wrap {
  margin-bottom: 22px !important;
}

.ehs-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  padding: 7px 20px !important;
  border-radius: 40px !important;
  backdrop-filter: blur(6px) !important;
}

.ehs-hero-badge svg {
  color: #38bdf8 !important;
}

/* Title & Description */
.ehs-hero-title {
  font-size: 54px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -1px !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
}

.ehs-hero-desc {
  font-size: 19px !important;
  line-height: 1.7 !important;
  color: #cbd5e1 !important;
  margin: 0 0 38px 0 !important;
  max-width: 720px !important;
}

/* Buttons */
.ehs-hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.ehs-hero-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f59e0b !important;
  color: #001226 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px 30px !important;
  border-radius: 35px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3) !important;
}

.ehs-hero-btn-primary:hover {
  background: #d97706 !important;
  transform: translateY(-2px) !important;
}

.ehs-hero-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 35px !important;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  transition: all 0.25s ease !important;
}

.ehs-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   NAVIGATION ARROWS & DOTS
   ========================================================================== */
.ehs-slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: rgba(0, 31, 63, 0.65) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: all 0.25s ease !important;
  backdrop-filter: blur(8px) !important;
}

.ehs-slider-arrow:hover {
  background: #0056b3 !important;
  border-color: #38bdf8 !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 4px 16px rgba(0, 86, 179, 0.5) !important;
}

.ehs-arrow-prev {
  left: 30px !important;
}

.ehs-arrow-next {
  right: 30px !important;
}

/* Navigation Dots */
.ehs-hero-dots {
  position: absolute !important;
  bottom: 28px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 10 !important;
}

.ehs-hero-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.ehs-hero-dot.active {
  width: 34px !important; /* Elegant pill expansion */
  background: #38bdf8 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .ehs-hero-title { font-size: 38px !important; }
  .ehs-slider-arrow { display: none !important; } /* Mobile par arrows hide, dots active */
}

@media (max-width: 600px) {
  .ehs-hero-slide { padding: 90px 0 100px 0 !important; }
  .ehs-hero-title { font-size: 30px !important; }
}
/* ==========================================================================
   FIX: HERO SLIDER FIXED HEIGHT & NO CONTENT JUMP
   ========================================================================== */

/* 1. Main section aur slider container ki fixed height set kar di */
.ehs-hero-section,
.ehs-hero-slider-container {
  min-height: 620px !important;
  height: 620px !important;
  position: relative !important;
  overflow: hidden !important;
}

/* 2. Tamam slides (chahe active hon ya na hon) absolute position par rahengi */
.ehs-hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out !important;
  z-index: 1 !important;
}

/* 3. Active slide smooth fade-in hogi baghair height change kiye */
.ehs-hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
  position: absolute !important; /* Relative nahi rahegi taake container stretch na ho */
}

/* 4. Text container ko vertically perfect center rakha */
.ehs-hero-content {
  width: 100% !important;
  max-width: 820px !important;
  margin: auto 0 !important;
}

/* 5. Responsive device height rules */
@media (max-width: 991px) {
  .ehs-hero-section,
  .ehs-hero-slider-container {
    min-height: 540px !important;
    height: 540px !important;
  }
}

@media (max-width: 600px) {
  .ehs-hero-section,
  .ehs-hero-slider-container {
    min-height: 480px !important;
    height: 480px !important;
  }
}