/* ==========================================
   About Page Modern Styling (Fixed D-Box & Cross-Fade Hero)
   ========================================== */

.about-hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 680px;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height, 90px) + 2rem) 2rem 2rem 0;
}

/* Background Images Track jo absolute position par stack rahengi */
.about-bg-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.about-bg-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(90deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%); */
  z-index: 1;
}

.about-hero-container-fluid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0;
}

/* D-Box jo fixed rahega aur left edge se start hoga */
.about-hero-d-box {
  width: 100%;
  max-width: 600px;
  height: 520px;
  margin-top: 1rem;
  background: #dceff4;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 260px 260px 0;
  padding: 2.5rem 4rem 2.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-left: none;
  overflow: hidden;
}

.about-hero-section .section-tag {
  background: var(--primary-light, #e0f2fe);
  color: var(--primary, #176B87);
  border: 1px solid rgba(23, 107, 135, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 0.85rem;
}

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

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

.about-hero-section .section-description {
  font-size: 1.05rem;
  color: var(--text-secondary, #475569);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-phone-link span {
  color: var(--primary, #176B87);
}

.btn-phone-link:hover {
  color: var(--primary, #176B87);
}

.about-hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 5px;
  background: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .about-hero-section {
    padding: calc(var(--header-height, 90px) + 1.5rem) 1.5rem 2rem 1.5rem;
  }
  .about-hero-d-box {
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .about-hero-section .hero-title {
    font-size: 2.5rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
}

/* ==========================================
   Additional Sections Styling (Mission, Vision, Team & Features)
   ========================================== */

/* Mission & Vision Section */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.mv-card {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary, #176B87);
}

.mv-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-light, #e0f2fe);
  color: var(--primary, #176B87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mv-card h3 {
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 1.5rem;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.75rem;
}

.mv-card p {
  color: var(--text-secondary, #475569);
  line-height: 1.7;
  margin: 0;
}

/* Clinic Features / Highlights Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  background: var(--surface-soft, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--primary, #176B87);
  box-shadow: 0 15px 30px rgba(23, 107, 135, 0.08);
}

.feature-box .material-symbols-outlined {
  font-size: 2.2rem;
  color: var(--primary, #176B87);
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 1.2rem;
  color: var(--text-primary, #0f172a);
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Media Queries for Additional Sections */
@media (max-width: 992px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================
   Our Treatment Philosophy Cards Styling
   ========================================== */
.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.phi-card {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phi-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.phi-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(23, 107, 135, 0.25);
  border-color: var(--primary, #176B87);
}

.phi-card:hover .phi-overlay {
  background: linear-gradient(180deg, rgba(23, 107, 135, 0.3) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.phi-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.phi-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.phi-content h3 {
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 1.25rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.phi-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
}

/* Responsive Grid for Philosophy Cards */
@media (max-width: 1024px) {
  .about-philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .about-philosophy-grid {
    grid-template-columns: 1fr;
  }
  .phi-card {
    height: 300px;
  }
}