/* =====================================================
   ABOUT-NEW.CSS — About.php
   Load AFTER style-New.css and Home.css (uses their variables + classes)
   ===================================================== */

/* ---------- page hero (same look as gallery hero) ---------- */
.pg-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: 380px; display: flex; align-items: center;
  padding: 80px 8% 90px; background: var(--deep);
}
.pg-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pg-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(7,31,26,.93) 0%, rgba(7,31,26,.72) 45%, rgba(7,31,26,.3) 100%),
    linear-gradient(0deg, rgba(7,31,26,.8) 0%, transparent 45%);
}
.pg-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--ring); }
.pg-hero .hx-wrap { position: relative; width: 100%; max-width: 680px; margin: 0; }
.pg-hero .hero-eyebrow { background: rgba(7,31,26,.55); border-color: rgba(201,167,74,.75); }
.pg-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 14px; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.pg-hero h1::after { content: ""; display: block; width: 92px; height: 5px; margin-top: 16px; border-radius: 3px; background: var(--ring); }
.pg-hero p { font-size: 1.12rem; color: #e6f2ec; max-width: 520px; }
.crumb { margin-top: 22px; display: flex; gap: 10px; align-items: center; font-size: .88rem; color: #b7d0c3; }
.crumb a { color: #fff; text-decoration: none; font-weight: 600; }
.crumb a:hover { color: var(--gold-light); }
.crumb i { font-size: .65rem; }
@media (max-width: 768px) { .pg-hero { min-height: 300px; padding: 60px 6% 70px; } }

/* ---------- story: extra paragraphs ---------- */
.ab-story p { color: var(--muted); line-height: 1.85; font-size: 1.03rem; margin-bottom: 16px; }

/* ---------- vision / mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 40px 36px; color: #fff;
}
.vm-card.v { background: linear-gradient(145deg, var(--green-dark), var(--green)); }
.vm-card.m { background: linear-gradient(145deg, var(--teal-dark), var(--teal)); }
.vm-card::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px;
  border-radius: 50%; border: 24px solid rgba(255,255,255,.1);
}
.vm-card .b-ico { position: relative; }
.vm-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.vm-card p { color: #eaf7ef; line-height: 1.75; position: relative; }

/* ---------- values ---------- */
.val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.val {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px;
  border-top: 4px solid var(--green); transition: transform .4s, box-shadow .4s;
}
.val:nth-child(even) { border-top-color: var(--teal); }
.val:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.val i { font-size: 1.4rem; color: var(--green-dark); margin-bottom: 14px; display: block; }
.val:nth-child(even) i { color: var(--teal-dark); }
.val h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.val p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ---------- focus areas (photo cards) ---------- */
.fa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fa-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; min-height: 300px;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-decoration: none;
}
.fa-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.fa-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,31,26,.92) 0%, rgba(7,31,26,.2) 65%, transparent); }
.fa-card:hover > img { transform: scale(1.06); }
.fa-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.fa-card p { font-size: .9rem; color: #e3f0e9; line-height: 1.55; }
.fa-card.plain { background: linear-gradient(145deg, var(--deep), var(--ink-soft)); }
.fa-card.plain::after { display: none; }
.fa-card.plain .b-ico { margin-bottom: 14px; }

/* ---------- approach steps ---------- */
.ap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.ap-step { position: relative; padding-top: 62px; }
.ap-grid::before { content: ""; position: absolute; top: 23px; left: 0; right: 0; height: 4px; background: var(--ring); border-radius: 3px; }
.ap-num {
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); color: var(--green-dark);
  font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.ap-step:nth-child(even) .ap-num { border-color: var(--teal); color: var(--teal-dark); }
.ap-step h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.ap-step p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ---------- leadership ---------- */
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; }
.lead-card {
  display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.lead-av {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff; background: var(--brand);
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold-light);
}
.lead-card h4 { font-size: 1.1rem; font-weight: 800; }
.lead-card span { color: var(--gold); font-weight: 700; font-size: .85rem; }
.lead-card p { font-size: .86rem; color: var(--muted); margin-top: 6px; line-height: 1.55; }

/* ---------- impact band ---------- */
.im-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.im-box { text-align: center; padding: 30px 14px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.im-box h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--gold-light); line-height: 1.1; }
.im-box span { color: #cfe3d8; font-size: .92rem; }

/* ---------- registration list ---------- */
.reg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.reg-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.reg-item i { color: var(--green); font-size: 1.4rem; margin-bottom: 10px; display: block; }
.reg-item h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.reg-item p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.reg-item strong { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ap-grid { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .ap-grid::before { top: 0; bottom: 0; left: 22px; right: auto; width: 4px; height: auto; }
  .ap-step { padding: 0 0 28px 70px; }
  .val-grid, .im-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .vm-grid, .fa-grid, .lead-grid, .reg-grid { grid-template-columns: 1fr; }
  .pg-hero { padding: 90px 6% 80px; }
}
@media (max-width: 560px) {
  .val-grid, .im-grid { grid-template-columns: 1fr; }
  .lead-card { flex-direction: column; text-align: center; }
  .vm-card { padding: 30px 24px; }
}