/* =============================================
   ABOUT PAGE — SECTION-BY-SECTION STYLES
   Matching the reference design image exactly
   ============================================= */

/* ===================================================
   SECTION 1: HERO
   - Full viewport/min-height sky bg
   - Floating branches left/right
   - Frosted dark gray-teal glassmorphism card centered
   =================================================== */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(235, 248, 248, 0.15) 0%, rgba(215, 240, 240, 0.4) 100%);
}

/* Floating branch left */
.about-leaf-left {
  position: absolute;
  left: -40px;
  top: 12%;
  width: 220px;
  opacity: 0.85;
  transform: rotate(-25deg);
  z-index: 1;
}
/* Floating branch right */
.about-leaf-right {
  position: absolute;
  right: -40px;
  top: 15%;
  width: 240px;
  opacity: 0.85;
  transform: rotate(15deg);
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.about-hero-card {
  background: rgba(13, 59, 59, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 60px rgba(8, 40, 40, 0.25) !important;
  padding: 48px 40px;
  max-width: 60%;
  margin: 0 auto;
}
.about-hero-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.about-hero-body {
  font-size: 0.85rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

/* ===================================================
   SECTION 2: STATEMENT QUOTE
   - Centered large pure text statement
   - Soft blue sky background with clouds tint
   =================================================== */
.about-quote-section {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 100px 0;
}
.about-quote-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.about-quote-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-quote-tint {
  position: absolute;
  inset: 0;
}
.about-quote-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.about-quote-text {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #112a2e;
  line-height: 1.35;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.about-quote-text span {
  color: #7a9fa6; /* Soft gray-blue muted tone from mockup */
}

.testimonials-section.about .testimonials-grid {
  grid-template-columns: 1fr;
}
.testimonials-section.about .testimonials-grid .testimonials-left {
  text-align: center;
}
.testimonials-section.about .testimonials-cards.revealed {
  max-width: 100%;
  margin-left: 0;
  display: flex;
  flex-direction: row;
}
/* ===================================================
   SECTION 3: ORIGIN & ACCORDION
   =================================================== */
.about-origin-section {
  background: var(--white);
  padding: 80px 0;
}
.about-origin-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.about-origin-heading {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #112a2e;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.about-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-item {
  background: var(--white);
  border: 1.5px solid rgba(120, 144, 156, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--t);
}
.acc-item:hover {
  border-color: #78909c;
}
.acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 22px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #112a2e;
  cursor: pointer;
  text-align: left;
  transition: var(--t);
}
.acc-header:hover,
.acc-header:not(.collapsed) {
  background: rgba(206, 226, 230, 0.2);
}
.acc-header .bi-chevron-down {
  font-size: 0.9rem;
  color: #78909c;
  transition: transform 0.3s;
}
.acc-header:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}
.acc-body {
  padding: 0 24px 22px;
  color: #5d7a80;
  font-size: 0.85rem;
  line-height: 1.68;
}

/* ===================================================
   SECTION 4: OUR VALUES
   =================================================== */
.about-values-section {
  background: #f8fafb;
  padding: 100px 0;
}
.about-values-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #78909c;
  margin-bottom: 48px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.val-card {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  border: 1.5px solid rgba(120, 144, 156, 0.1);
  box-shadow: 0 8px 24px rgba(112, 144, 150, 0.04);
  text-align: left;
  transition: var(--t);
}
.val-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(112, 144, 150, 0.09);
  border-color: #78909c;
}
.val-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  aspect-ratio: 16/10;
}
.val-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.val-card-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: #112a2e;
  margin-bottom: 8px;
}
.val-card-desc {
  font-size: 0.78rem;
  color: #5d7a80;
  line-height: 1.62;
  margin: 0;
}

/* ===================================================
   SECTION 5: THE TSEDAR METHOD (ROADMAP)
   =================================================== */
.about-method-section {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.about-method-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-method-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-method-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(235, 248, 248, 0.86) 0%, rgba(215, 240, 240, 0.9) 100%);
}
.about-method-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.about-method-heading {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #112a2e;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}
.about-method-phases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto 40px;
}
.about-method-phases .phase-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(120, 144, 156, 0.15);
}
.about-method-phases .phase-item:first-child {
  border-top: 1px solid rgba(120, 144, 156, 0.15);
}

.about-method-phases .phase-badge {
  flex-shrink: 0;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #78909c;
  color: var(--white);
  letter-spacing: 0.04em;
  min-width: 78px;
  text-align: center;
}
.about-method-phases .phase-badge--dim {
  background: rgba(120, 144, 156, 0.15);
  color: #5d7a80;
  border: 1px solid rgba(120, 144, 156, 0.2);
}
.about-method-phases .phase-row {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}
.about-method-phases .phase-now {
  font-size: 0.78rem;
  font-weight: 600;
  color: #112a2e;
}
.about-method-phases .phase-coming {
  font-size: 0.78rem;
  font-weight: 500;
  color: #5d7a80;
}
.about-method-phases .phase-desc {
  font-size: 0.82rem;
  color: #3e5a5e;
}
.about-method-footnote {
  font-size: 0.82rem;
  color: #5d7a80;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 5: CLINICAL CLINICIAN NOTES (detail-3.jpg)
   ========================================================================== */
.pd-doctor-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.doctor-section-title {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.doctor-section-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--brand-slate-text-light);
}

.doctor-glass-card {
  background: #edf3f8;
  border: 1px solid var(--brand-border-glass);
  border-radius: 10px;
  padding: 25px;
}

.doctor-meta-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.doctor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.doc-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.doc-credentials {
  font-size: 0.85rem;
  color: var(--brand-slate-text-light);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.doctor-blockquote {
  margin: 0;
}

.quote-headline {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 14px;
  color: var(--brand-dark);
}

.quote-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #556c70;
  margin: 0;
}

.team-members-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.team-members-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.team-member-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-member-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Alternate layout for visual variety */
.team-member-row:nth-child(even) {
  grid-template-columns: 1.5fr 1fr;
}

.team-member-row:nth-child(even) .team-member-image {
  order: 2;
}

.team-member-row:nth-child(even) .team-member-content {
  order: 1;
}

.team-member-image {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-member-photo {
  width: 100%;
  height: 400px;
  /* object-fit: cover; */
  display: block;
  transition: transform 0.3s ease;
}

.team-member-image:hover .team-member-photo {
  transform: scale(1.05);
}

.team-member-content {
  padding: 0 20px;
}

.team-member-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #112a2e;
  margin-bottom: 8px;
}

.team-member-role {
  font-size: 1rem;
  font-weight: 600;
  color: #1a3a52;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* Optional social-links row sits just under the role, with breathing room
   before the bio/quote. The role's 20px bottom margin is trimmed only when a
   social row follows it, so team members without links keep the original gap. */
.team-member-role:has(+ .team-member-social) {
  margin-bottom: 8px;
}

.team-member-social {
  margin-bottom: 20px;
}

.team-member-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 25px;
  text-align: justify;
}

.team-member-quote {
  padding: 20px 25px;
  border-left: 4px solid #1a3a52;
  background: #f0f4ff;
  border-radius: 8px;
  font-size: 1rem;
  font-style: italic;
  color: #1a3a52;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .about-quote-section {
    min-height: 300px;
    padding: 20px 0;
  }
  .about-origin-section,
  .about-values-section,
  .roadmap-section {
    padding: 20px 0;
  }
  .phase-item {
    padding: 10px 0;
  }
  .roadmap-heading {
    margin-bottom: 20px;
  }
  .testimonials-section {
    padding: 20px 0;
  }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
  .about-origin-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-leaf-left,
  .about-leaf-right {
    display: none;
  }
  .about-hero-card {
    max-width: 100%;
  }
  .testimonials-section.about .testimonials-cards.revealed {
    flex-wrap: wrap;
  }
}
@media (max-width: 576px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-card {
    padding: 32px 20px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-member-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .team-member-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .team-member-row:nth-child(even) .team-member-image {
    order: unset;
  }

  .team-member-row:nth-child(even) .team-member-content {
    order: unset;
  }

  .team-member-photo {
    height: 300px;
  }

  .team-section-title {
    font-size: 2rem;
  }

  .team-member-name {
    font-size: 1.5rem;
  }

  .team-member-bio {
    text-align: left;
  }

  .team-members-list {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .team-member-row {
    padding: 20px 15px;
  }

  .team-member-photo {
    height: 250px;
    object-fit: contain;
  }

  .team-section-title {
    font-size: 1.5rem;
  }

  .team-member-name {
    font-size: 1.3rem;
  }

  .team-member-bio {
    font-size: 0.95rem;
    text-align: justify;
  }

  .team-member-quote {
    text-align: justify;
  }
}
