/* ==========================================
   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: whitesmoke; /* Background ko transparent kar diya gaya hai */
  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: black;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap; /* Saare buttons ko hamesha ek hi line mein rakhega */
}

.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;
}
/* ==========================================
   MOBILE HERO - PERFECT CARD SPACING
   ========================================== */

@media (max-width: 768px) {

  .about-hero-section {
    width: 100%;
    height: auto;
    min-height: 100svh;

    /* Navbar ke neeche proper gap */
    padding: 9rem 1rem 4.5rem 1rem;

    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
  }

  .about-hero-container-fluid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .about-hero-d-box {
    width: 100%;
    max-width: 100%;

    height: auto;
    min-height: 0;

    /* Card ke andar proper spacing */
    padding: 2rem 1.25rem 2.5rem 1.25rem;

    margin: 0 auto;

    box-sizing: border-box;

    border-radius: 24px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: center;

    text-align: center;

    overflow: hidden;
  }

  /* Badge */
  .about-hero-section .section-tag {
    margin-bottom: 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Heading */
  .about-hero-section .hero-title {
    font-size: 2.5rem;
    line-height: 1.12;

    margin-bottom: 1.25rem;
  }

  /* Description */
  .about-hero-section .section-description {
    font-size: 1rem;
    line-height: 1.65;

    margin-bottom: 1.5rem;
  }

  /* Buttons */
  .hero-cta-group {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 1rem;

    margin: 0;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-phone-link {
    margin-top: 0.25rem;
  }

  /* Dots */
  .about-hero-dots {
    bottom: 1.5rem;
  }
}

@media (max-width: 414px) {

  .about-hero-section {
    padding-top: 8.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 4.5rem;
  }

  .about-hero-d-box {
    padding: 1.75rem 1rem 2.25rem 1rem;
  }

  .about-hero-section .hero-title {
    font-size: 2.25rem;
  }

  .about-hero-section .section-description {
    font-size: 0.95rem;
  }
}
@media (max-width: 1024px) {

  .about-hero-section {
  padding: 10.5rem 1rem 4.5rem 1rem;
  }

  .about-hero-d-box {
    border-radius: 24px;

    /* TOP RIGHT BOTTOM LEFT */
    padding: 2.5rem 1.5rem 5.5rem 1.5rem;

    align-items: center;
    text-align: center;

    max-width: 100%;
    margin: 0 auto;

    /* important */
    height: auto;
    min-height: 520px;
    box-sizing: border-box;
  }

  .about-hero-section .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta-group {
    justify-content: center;
    margin-bottom: 0;
  }
}

/* ==========================================
   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;
  }
}


/* ==========================================
   Modern Trust & Safety Section Styling
   ========================================== */
.trust-section {
  padding: 6rem 0;
}

.trust-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.trust-pro-card {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.tpc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tpc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light, #e0f2fe);
  color: var(--primary, #176B87);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.trust-pro-card:hover .tpc-icon {
  background: var(--primary, #176B87);
  color: #ffffff;
  transform: scale(1.05);
}

.tpc-badge {
  font-family: var(--font-display, 'DM Serif Display', serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary, #cbd5e1);
  transition: color 0.3s ease;
}

.trust-pro-card:hover .tpc-badge {
  color: var(--primary, #176B87);
  opacity: 0.4;
}

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

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

/* Bottom Glowing Indicator Bar */
.tpc-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.trust-pro-card:hover .tpc-indicator {
  background: var(--primary, #176B87);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .trust-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ==========================================
   Modern Accreditation & Credentials Styling
   ========================================== */
.accreditation-section {
  padding: 6rem 0;
}

.accreditation-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.acc-pro-card {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

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

.apc-icon-wrap {
  width: 52px;
  height: 52px;
  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.5rem;
  transition: all 0.3s ease;
}

.acc-pro-card:hover .apc-icon-wrap {
  background: var(--primary, #176B87);
  color: #ffffff;
  transform: scale(1.08);
}

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

.apc-content p {
  font-size: 0.88rem;
  color: var(--text-secondary, #64748b);
  line-height: 1.5;
  margin: 0;
}

/* Subtle Hover Glow Line on Top */
.apc-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.acc-pro-card:hover .apc-glow {
  background: var(--primary, #176B87);
}

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
  .accreditation-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================
   Dedicated CTA Banner Call Button Styling
   ========================================== */
.cta-banner .btn-cta-call {
  background-color: #FFFFFF !important;
  color: var(--primary, #176B87) !important;
  border: 1px solid #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-cta-call:hover {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

@media (min-width: 769px) and (max-width: 1200px) {
  .hero-cta-group .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}