/* ==========================================
   about.css — ABOUT PAGE
   ========================================== */

:root {
    --green-dark: #205c3b;
    --green-main: #318354;
    --green-light: #eaf5ed;
    --green-pale: #f5faf6;
    --text-dark: #25372c;
    --text-muted: #68766d;
    --white: #ffffff;
    --border: #dce8df;
    --yellow: #ffd166;
    --shadow: 0 8px 25px rgba(32, 92, 59, .09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1120px, 90%); margin-inline: auto; }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.header-content { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: var(--green-dark); color: var(--white); font-size: 23px; font-weight: 800; }
.brand-name { color: var(--green-dark); font-size: 17px; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { padding: 8px 0; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: var(--green-main); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--green-dark); font-size: 28px; cursor: pointer; }

/* Buttons */
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 21px; border: 2px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; }
.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { background: #174b2e; }
.btn-secondary { color: var(--green-dark); border-color: #b8d8c1; background: transparent; }
.btn-light { background: var(--white); color: var(--green-dark); }

/* Page banner */
.page-banner { padding: 65px 0; text-align: center; background: var(--green-light); }
.page-banner h1 { margin-bottom: 12px; color: var(--green-dark); font-size: clamp(32px, 4vw, 44px); line-height: 1.2; }
.page-banner p { max-width: 700px; margin: 0 auto; color: var(--text-muted); }
.eyebrow { margin-bottom: 12px; color: var(--green-main); font-size: 12px; font-weight: 800; letter-spacing: 2px; }

/* Sections */
.section { padding: 70px 0; }
.section-light { background: var(--green-pale); }
.section-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin-bottom: 15px; color: var(--green-dark); font-size: clamp(27px, 3vw, 36px); line-height: 1.25; }
.section-heading p { color: var(--text-muted); }

/* Introduction */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; }
.about-intro h2, .about-details h2 { margin-bottom: 18px; color: var(--green-dark); font-size: 30px; line-height: 1.3; }
.about-intro p, .about-details p { margin-bottom: 15px; color: var(--text-muted); }
.about-image { width: 100%; height: 340px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }

/* Mission and vision */
.mission-vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mission-card, .vision-card { padding: 32px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.mission-card h3, .vision-card h3 { margin-bottom: 12px; color: var(--green-dark); font-size: 22px; }
.mission-card p, .vision-card p { color: var(--text-muted); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-card { padding: 24px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); text-align: center; }
.value-card h3 { margin-bottom: 8px; color: var(--green-dark); }
.value-card p { color: var(--text-muted); font-size: 14px; }

/* Skip link (hidden until focused) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--green-dark); color: var(--white); font-size: 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 14px; color: var(--text-muted); font-size: 13px; }
.breadcrumb a { color: var(--green-main); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

/* Commitment block */
.about-details { max-width: 760px; margin: 0 auto; text-align: center; }
.about-details .btn { margin-top: 10px; }

/* Logo image (replaces the "S" box) */
.brand-logo-img { width: 50px; height: 50px; object-fit: contain; }
.footer-logo .brand-logo-img { padding: 4px; border-radius: 50%; background: var(--white); }

/* Longer school name: let it wrap on tablets so the menu still fits */
@media (min-width: 701px) and (max-width: 900px) {
    .brand-name { max-width: 140px; font-size: 14px; line-height: 1.25; }
}

@media (max-width: 700px) {
    .brand-logo-img { width: 44px; height: 44px; }
}

@media (max-width: 420px) {
    .brand-name { max-width: 165px; font-size: 14px; line-height: 1.25; }
}

/* Footer */
.site-footer { padding-top: 55px; background: #173f2a; color: var(--white); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}

.footer-logo .brand-logo { background: var(--white); color: var(--green-dark); }

.footer-brand p { max-width: 340px; color: #cfe2d5; font-size: 14px; }

.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.footer-column h3 {
    margin-bottom: 6px;
    color: var(--white);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-column a { color: #cfe2d5; font-size: 14px; }
.footer-column a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.footer-bottom p { color: #b5ccbc; font-size: 13px; text-align: center; }

@media (max-width: 700px) {
    .site-footer { padding-top: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 30px; }
    .footer-brand { grid-column: 1 / -1; }
}

a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 900px) {
    .main-nav { gap: 12px; }
    .main-nav a { font-size: 12px; }
    .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .header-content { min-height: 72px; flex-wrap: wrap; }
    .brand-name { font-size: 15px; }
    .brand-logo { width: 39px; height: 39px; }
    .menu-toggle { display: block; }
    .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 14px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 11px 10px; border-top: 1px solid var(--border); font-size: 14px; }
    .page-banner { padding: 45px 0; }
    .section { padding: 50px 0; }
    .about-intro, .mission-vision-grid { grid-template-columns: 1fr; }
    .about-intro h2, .about-details h2 { font-size: 27px; }
    .about-image { height: 250px; }
}

@media (max-width: 380px) {
    .values-grid { grid-template-columns: 1fr; }
}