.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #ffffff; /* Clean white background */
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Track ko ab flex ki jagah relative position denge taaki slides ek ke upar ek (stack) aa sakein */
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Har slide ab absolute position par hogi aur opacity se fade hogi */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height, 90px)); 
}

/* Active slide show hogi */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-container-fluid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: 100%;
  max-width: 1350px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  align-items: center;
}

/* Left Side Content */
.hero-content-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.hero-content-left .hero-title {
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 4rem;
  color: var(--text-primary, #0f172a);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero-content-left .text-teal {
  color: var(--primary, #176B87);
}

.hero-content-left .hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary, #334155);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Bottom Stats Row */
.hero-stats-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.stat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light, #e0f2fe);
  color: var(--primary, #176B87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-texts {
  display: flex;
  flex-direction: column;
}

.stat-texts strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
}

.stat-texts span {
  font-size: 0.75rem;
  color: var(--text-secondary, #64748b);
}
/* Right Side: Code-generated Ulta 'U' (Arch / Capsule Shape Container) */
.doctor-visual-right {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-shape-container {
  width: 500px;
  height: 520px; /* Upar se lamba aur arch shape banane ke liye height zyada ki gayi hai */
  background-color: #176B87; /* Primary teal/blue tone */
  
  /* Ulta 'U' / Arch shape border-radius (Top corners fully rounded, bottom corners subtle) */
  border-radius: 100%; 
  
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(23, 107, 135, 0.2);
  position: relative;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Emergency Support Floating Card */
.emergency-float-card {
  position: absolute;
  bottom: 90px;
  right: 30px;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  border: 1px solid #e2e8f0;
}

.efc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light, #e0f2fe);
  color: var(--primary, #176B87);
  display: flex;
  align-items: center;
  justify-content: center;
}

.efc-text {
  display: flex;
  flex-direction: column;
}

.efc-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
}

.efc-text span {
  font-size: 0.8rem;
  color: var(--text-secondary, #64748b);
}

/* Pagination Dots */
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    height: auto;
    min-height: auto;
  }
  .hero-slide {
    height: auto;
    min-height: 85vh;
  }
  .hero-container-fluid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
  }
  .hero-content-left {
    align-items: center;
  }
  .hero-content-left .hero-description {
    max-width: 100%;
  }
  .hero-stats-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-visual-right {
    min-height: 350px;
    margin-top: 2rem;
  }
  .doctor-shape-container {
    width: 320px;
    height: 320px;
  }
  .emergency-float-card {
    right: 50%;
    transform: translateX(50%);
    bottom: 10px;
  }
}



