/* ================================================================
   About Page – Colonel's Homestay
   ================================================================ */

.page-about {
  background: #fcf8f0;
}

/* ── Hero ──────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--navbar-height) + 48px) 0 80px;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 43, 27, 0.88) 0%,
    rgba(0, 43, 27, 0.72) 38%,
    rgba(0, 43, 27, 0.25) 62%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}
.about-hero-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  object-fit: contain;
}
.about-hero-leaf--gold {
  top: 20px;
  left: 24px;
  width: min(200px, 20vw);
  opacity: 0.78;
  transform-origin: bottom center;
  animation: leafGoldSway 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(92, 72, 48, 0.18));
}
.about-hero-leaf--green {
  right: -20px;
  bottom: -30px;
  width: min(320px, 35vw);
  z-index: 2;
  transform-origin: 88% 92%;
  animation: leafGreenSway 5.5s ease-in-out infinite 0.4s;
}
.about-hero-content {
  position: relative;
  z-index: 3;
}
.about-hero-script {
  font-family: var(--font-script);
  color: var(--color-gold);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.about-hero-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 520px;
}
.about-hero-stars {
  color: var(--color-gold);
  font-size: 0.5rem;
  letter-spacing: 10px;
}

/* ── About intro ───────────────────────────────────────────── */
.about-intro-section {
  position: relative;
  background: #fcf8f0;
  padding: 80px 0 90px;
  overflow: visible;
}
.about-intro-section .about-leaf-gold {
  top: -10px;
  left: 0;
  width: min(210px, 22vw);
  max-height: 360px;
  opacity: 0.78;
  z-index: 1;
  transform-origin: bottom center;
  filter: drop-shadow(0 4px 14px rgba(92, 72, 48, 0.18));
}
.about-intro-image-wrap {
  position: relative;
  padding-right: 32px;
  padding-bottom: 28px;
  overflow: visible;
}
.about-intro-image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 43, 27, 0.12);
  background: #e8e4dc;
}
.about-intro-image-frame picture,
.about-intro-image-frame .about-intro-main {
  display: block;
  width: 100%;
  line-height: 0;
}
.about-intro-image-frame picture img {
  width: 100%;
  height: auto;
  min-height: 380px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.about-intro-section .about-leaf-green {
  position: absolute;
  bottom: 4px;
  right: -28px;
  width: min(260px, 38%);
  max-height: 320px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 8px 20px rgba(0, 43, 27, 0.15));
  transform-origin: 88% 92%;
  animation: leafGreenSway 5.5s ease-in-out infinite 0.3s;
}

/* ── Section dividers ────────────────────────────────────────── */
.family-divider {
  text-align: center;
  margin-bottom: 48px;
}
.family-divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}
.family-divider-line {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #002B1B, transparent);
}
.family-divider-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: #002B1B;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.stars-row {
  color: var(--color-gold);
  font-size: 0.5rem;
  letter-spacing: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* ── Colonel profile ───────────────────────────────────────── */
.family-profile-section {
  background: #fcf8f0;
  padding-bottom: 50px;
}
.family-profile-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 43, 27, 0.1);
  object-fit: cover;
  object-position: top center;
  min-height: 420px;
}
.family-profile-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #002B1B;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.25;
}
.family-profile-text {
  color: #3a3a3a;
  font-size: 0.92rem;
  line-height: 1.9;
}
.family-profile-text p { margin-bottom: 1rem; }

/* ── Credentials box ───────────────────────────────────────── */
.family-credentials {
  background: #ebe6dc;
  border-radius: 20px;
  padding: 40px 36px;
  margin: 50px 0 70px;
}
.credential-icon-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.credential-icon-item:last-child { margin-bottom: 0; }
.credential-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #002B1B;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.credential-icon-text {
  font-size: 0.88rem;
  color: #2c2c2c;
  line-height: 1.6;
  padding-top: 6px;
}
.credentials-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.credentials-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: #3a3a3a;
  line-height: 1.55;
}
.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid var(--color-gold);
}

/* ── Mary & children ───────────────────────────────────────── */
.family-members-section {
  background: #fcf8f0;
  padding-bottom: 90px;
}
.mary-profile-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 43, 27, 0.1);
  object-fit: cover;
  min-height: 380px;
}
.mary-name {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #002B1B;
  font-weight: 600;
  margin-bottom: 6px;
}
.mary-subtitle {
  font-family: var(--font-script);
  color: var(--color-gold);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 18px;
  display: block;
}
.mary-text {
  font-size: 0.9rem;
  color: #3a3a3a;
  line-height: 1.85;
  margin-bottom: 20px;
}
.mary-classes-title {
  font-family: var(--font-btn);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #002B1B;
  margin-bottom: 12px;
}
.mary-classes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mary-classes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #3a3a3a;
  line-height: 1.5;
}
.mary-classes li i {
  color: #002B1B;
  margin-top: 3px;
  font-size: 0.85rem;
}

.child-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0, 43, 27, 0.08);
}
.child-profile:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.child-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-gold);
  box-shadow: 0 4px 16px rgba(0, 43, 27, 0.1);
}
.child-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.child-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #002B1B;
  margin-bottom: 10px;
}
.child-text {
  font-size: 0.86rem;
  color: #3a3a3a;
  line-height: 1.75;
  margin-bottom: 8px;
}
.child-vision {
  font-size: 0.86rem;
  color: #3a3a3a;
  line-height: 1.7;
  font-style: italic;
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .about-hero { min-height: 360px; padding-bottom: 60px; }
  .about-hero-leaf--gold { width: 120px; left: 8px; top: 12px; }
  .about-hero-leaf--green { width: 160px; right: -50px; bottom: -20px; }
  .about-intro-section { padding: 60px 0 70px; overflow: visible; }
  .about-intro-section .about-leaf-gold { width: 120px; left: -20px; }
  .about-intro-image-wrap {
    padding-right: 12px;
    padding-bottom: 16px;
  }
  .about-intro-section .about-leaf-green {
    display: block;
    width: min(130px, 34vw);
    max-height: 200px;
    right: -12px;
    bottom: 8px;
  }
  .about-intro-image-frame picture img {
    min-height: 280px;
    max-height: none;
  }
  .family-credentials { padding: 28px 24px; margin: 36px 0 50px; }
  .family-profile-img img { min-height: 320px; }
  .mary-profile-img img { min-height: 300px; margin-bottom: 28px; }
  .family-divider-title { white-space: normal; letter-spacing: 2px; font-size: 1.25rem; }
}
@media (max-width: 575.98px) {
  .about-hero { min-height: 300px; padding: calc(var(--navbar-height) + 32px) 0 48px; }
  .about-hero-leaf--gold { width: 90px; opacity: 0.55; }
  .about-hero-leaf--green { display: none; }
  .about-intro-section { padding: 48px 0; }
  .about-intro-section .about-leaf-gold {
    width: min(100px, 28vw);
    left: -8px;
    opacity: 0.65;
  }
  .about-intro-section .about-leaf-green {
    display: block;
    width: min(110px, 30vw);
    max-height: 170px;
    right: -8px;
    bottom: 4px;
  }
  .about-intro-image-wrap {
    padding-right: 8px;
    padding-bottom: 12px;
  }
  .about-intro-image-frame picture img {
    min-height: 240px;
    border-radius: 0;
  }
  .family-divider-line { max-width: 48px; }
  .family-divider-row { gap: 12px; }
  .family-credentials { padding: 24px 18px; border-radius: 16px; }
  .credential-icon-item { gap: 12px; }
  .family-profile-img img,
  .mary-profile-img img { min-height: 260px; border-radius: 16px; }
  .child-profile { flex-direction: column; align-items: center; text-align: center; }
  .child-avatar { width: 88px; height: 88px; }
}
