/* ==========================================================
   INNER PAGES: About, Academics, Admissions and Contact
   ========================================================== */
[hidden] { display: none !important; }
.section-head p { color: var(--muted); margin: 1.1rem 0 0; }

/* Review mode: open any page with ?review at the end of the address
   (for example about.html?review) to outline text that needs client confirmation. */
html.review [data-confirm] { outline: 2px dashed #D9480F; outline-offset: 6px; position: relative; }
html.review [data-confirm]::after {
  content: "Needs client confirmation"; position: absolute; top: -14px; right: 10px; z-index: 5;
  background: #D9480F; color: #fff; font: 600 .68rem/1 var(--font-body);
  padding: 4px 9px; border-radius: 999px; pointer-events: none;
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.4rem; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-quote {
  margin: 1.6rem 0 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--accent);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--primary-dark);
}
.hl-grid { display: grid; gap: 1rem; }
.hl-card { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary); transition: transform .3s ease, box-shadow .3s ease; }
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hl-card strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--primary-dark); line-height: 1.25; }
.hl-card span { color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; } }

/* ---------- Principal's message ---------- */
.principal-section { margin: clamp(1rem, 3vw, 2rem) clamp(.5rem, 2vw, 1.25rem); border-radius: 44px; background: linear-gradient(135deg, #dcecff 0%, #edf7ff 48%, #dff3ea 100%); border: 1px solid #cadcf2; box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .35); }
.principal-section .section-head h2 { color: var(--primary-dark); }
.principal-section .eyebrow { color: #177b68; }
.prin-card { display: grid; gap: 2rem; align-items: center; background: linear-gradient(145deg, #fff 0%, #fffaf0 55%, #edf4ff 100%); border: 2px solid #dce7f7; border-radius: 40px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 18px 45px rgba(23, 59, 131, .16); }
.prin-photo { position: relative; width: min(240px, 70%); aspect-ratio: 4 / 5; margin: 0 auto; border: 4px solid #fff; border-radius: 32px; overflow: hidden; display: grid; place-items: center; color: var(--primary); background: linear-gradient(135deg, #EADFC7, #D6E0EE); box-shadow: 0 12px 28px rgba(23, 59, 131, .18); }
.prin-photo svg { width: 38%; height: auto; opacity: .5; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.prin-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prin-msg { border-left: 5px solid var(--accent); border-radius: 0 24px 24px 0; padding: 1.2rem 1.4rem; background: rgba(255, 255, 255, .82); }
.prin-msg h3 { font-size: 1.7rem; color: var(--primary-dark); }
.prin-msg p { color: #40516b; font-size: 1.05rem; }
.prin-sign { margin-top: 1.4rem; padding: .9rem 1.1rem; border-radius: 18px; background: linear-gradient(90deg, #173b83, #2453bc); font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: #fff; }
.prin-sign small { display: block; margin-top: .15rem; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: #fff7c2; }
.prin-sign small a { color: inherit; text-decoration: underline; }
@media (min-width: 820px) { .prin-card { grid-template-columns: 260px 1fr; gap: 3rem; } .prin-photo { width: 100%; } }

/* ---------- Academics: feature cards (reuse .q-card look) ---------- */
.feat-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.feat-grid .q-card h3 { font-size: 1.2rem; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .feat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Admissions ---------- */
.adm-content { max-width: 760px; margin: 0 auto; }
.steps { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 1.1rem; counter-reset: s; }
.steps li { position: relative; counter-increment: s; padding: 1.1rem 1.2rem 1.1rem 4.2rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1.1rem; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.adm-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Contact details ---------- */
.contact-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.c-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.c-card .icon-wrap { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(36, 83, 188, .08); color: var(--primary); }
.c-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.c-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
