/* =========================================================
   ABOUT PAGE — Redesigned Layout & Styling
   Loaded solely by about.php via $pageExtraCss.
   ========================================================= */

/* ---- Section Scaffolding ---- */
.about-section {
  padding: 80px 0;
}
.about-section--tint {
  background: var(--cream);
}
.about-section--white {
  background: #ffffff;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}
.about-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold-500);
}

.about-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--green-900);
  max-width: 760px;
  margin: 0 0 14px;
}

.about-lede {
  margin-top: 14px;
  max-width: 780px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

/* ---- Intro: Story + Real Image ---- */
.about-intro {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.about-intro-text p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.about-intro-text p:last-child {
  margin-bottom: 0;
}

.about-intro-media {
  position: relative;
}

.about-intro-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.about-intro-badge {
  position: absolute;
  left: -20px;
  bottom: -20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -12px rgba(10, 61, 38, 0.28);
  border: 1px solid var(--line);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-intro-badge svg {
  width: 32px;
  height: 32px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.about-intro-badge strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.1;
}

.about-intro-badge span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-intro-media {
    order: -1;
  }
  .about-intro-badge {
    left: 16px;
    bottom: -16px;
    padding: 14px 18px;
  }
}

/* =========================================================
   LEADERSHIP & STEWARDSHIP (4-Card Grid with Real Photos)
   ========================================================= */
.about-leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.about-leader-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
}

.about-leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--green-700);
}

.about-leader-photo {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: top center;
  margin-bottom: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.about-leader-role {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--green-100);
  color: var(--green-800);
  width: fit-content;
  margin-bottom: 10px;
}

.about-leader-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 6px;
  line-height: 1.35;
}

.about-leader-card p {
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.about-leader-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: auto;
  transition: gap .15s ease;
}

.about-leader-card:hover .about-leader-link {
  color: var(--gold-600);
  gap: 10px;
}

/* =========================================================
   ACCREDITATION & STATUTORY APPROVALS
   ========================================================= */
.accred-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.accred-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px -8px rgba(10, 61, 38, 0.08);
}

.accred-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.accred-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.accred-card-head h3 {
  font-size: 1.22rem;
  color: var(--green-900);
  font-weight: 800;
  margin: 0;
}

.accred-card p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.accred-card-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.accred-chip {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 6px 14px;
}

/* Statutory Approvals Strip */
.approving-strip {
  margin-top: 44px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.approving-label {
  font-size: .84rem;
  font-weight: 800;
  color: var(--green-900);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.approving-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.approving-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.approving-logo-item img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.approving-logo-item span {
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}

/* =========================================================
   PROGRAMME INTRODUCTION TIMELINE
   ========================================================= */
.timeline-rail {
  margin-top: 56px;
  position: relative;
}

.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 210px;
  gap: 0;
  overflow-x: auto;
  padding: 10px 4px 26px;
  scroll-snap-type: x proximity;
}

.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--green-100);
  border-radius: 99px;
}

.timeline-stop {
  position: relative;
  scroll-snap-align: start;
  padding: 0 18px;
}

.timeline-stop::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-100));
}
.timeline-stop:first-child::before {
  left: 50%;
  width: 50%;
}
.timeline-stop:last-child::before {
  width: 50%;
}

.timeline-stop-top,
.timeline-stop-bottom {
  min-height: 74px;
  display: flex;
  align-items: flex-end;
}
.timeline-stop:nth-child(even) .timeline-stop-top {
  align-items: flex-start;
}

.timeline-stop-label {
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

.timeline-node {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green-800);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 10px 24px -10px rgba(10, 61, 38, .55);
}

.timeline-node svg {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
  color: var(--gold-500);
}

.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--green-800);
  text-align: center;
  margin-top: 10px;
}

/* =========================================================
   BEYOND THE CLASSROOM — Redesigned Visual Grid
   ========================================================= */
.btc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.btc-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px -10px rgba(10, 61, 38, 0.08);
}

.btc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--green-700);
}

.btc-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.btc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.btc-card:hover .btc-media img {
  transform: scale(1.04);
}

.btc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 61, 38, 0.92);
  color: var(--gold-500);
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.btc-body {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.btc-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.btc-body p {
  font-size: .92rem;
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 20px;
  flex-grow: 1;
}

.btc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.btc-tag {
  font-size: .74rem;
  font-weight: 700;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 999px;
  padding: 4px 11px;
}

.btc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: auto;
  transition: gap .15s ease, color .15s ease;
}

.btc-card:hover .btc-link {
  color: var(--gold-600);
  gap: 12px;
}

/* =========================================================
   GOVERNANCE & STATUTORY PATHWAYS STRIP
   ========================================================= */
.about-gov-strip {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
}

.about-gov-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 4px;
}

.about-gov-text p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0;
}

.about-gov-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.about-gov-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-900);
  transition: all .2s ease;
}

.about-gov-link:hover {
  background: var(--green-900);
  color: #ffffff;
  border-color: var(--green-900);
}

.about-gov-link svg {
  width: 14px;
  height: 14px;
}

/* =========================================================
   CLOSING STATEMENT BAND
   ========================================================= */
.about-closing {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #ffffff;
  padding: 72px 0;
  text-align: center;
}

.about-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(240, 168, 0, .20), transparent 60%);
}

.about-closing .wrap {
  position: relative;
  z-index: 1;
}

.about-closing-mark {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 6px;
}

.about-closing p {
  max-width: 800px;
  margin: 0 auto 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.55;
  color: #ffffff;
}

.about-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .about-leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btc-grid {
    grid-template-columns: 1fr;
  }
  .approving-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 52px 0 68px;
  }
  .about-leadership-grid {
    grid-template-columns: 1fr;
  }
  .accred-grid {
    grid-template-columns: 1fr;
  }
  .btc-media {
    height: 180px;
  }
  .about-gov-strip {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .about-gov-links {
    width: 100%;
  }
  .about-gov-link {
    width: 100%;
    justify-content: center;
  }
  .timeline-track {
    grid-auto-columns: 170px;
  }
}
