:root{
  --green:#00652E; --green-d:#004a22; --green-l:#e6f2eb;
  --purple:#7B5CA8; --purple-d:#5f4487; --purple-l:#f0ebf7;
  --ink:#000; --muted:#3c3c3c; --line:#d9d9d9; --bg:#fff; --alt:#f6f8f6;
  --serif:'Merriweather',Georgia,serif; --sans:'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --r:10px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);font-size:17px;line-height:1.65;color:var(--ink);background:var(--bg)}
img{max-width:100%;height:auto;display:block}
a{color:var(--green);text-underline-offset:3px}
a:hover{color:var(--purple)}
h1,h2,h3{font-family:var(--serif);line-height:1.25;color:var(--ink);margin:0 0 .6em}
h1{font-size:clamp(2rem,5vw,3.4rem)} h2{font-size:clamp(1.5rem,3vw,2.15rem)} h3{font-size:1.2rem}
p{margin:0 0 1em}
.wrap{width:min(1160px,92%);margin-inline:auto}
.narrow{max-width:780px}.center{text-align:center}
.lead{font-size:1.1rem;color:var(--muted)}
.skip{position:absolute;left:-999px;top:0;background:var(--purple);color:#fff;padding:.6em 1em;z-index:100}
.skip:focus{left:0}
:focus-visible{outline:3px solid var(--purple);outline-offset:2px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 0 var(--line)}
.topbar{background:var(--green);color:#fff;font-size:.88rem}
.topbar .wrap{display:flex;gap:1.4rem;align-items:center;flex-wrap:wrap;padding:.35rem 0}
.topbar a{color:#fff;text-decoration:none}.topbar a:hover{text-decoration:underline;color:#fff}
.topbar svg{width:14px;height:14px;fill:currentColor;vertical-align:-2px;margin-right:4px}
.topbar .social{margin-left:auto}
.social{display:flex;gap:.5rem}
.social a{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.16)}
.social svg{width:16px;height:16px;fill:#fff;margin:0}
.social a:hover{background:var(--purple)}
.bar{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;gap:1rem}
.brand img{height:64px;width:auto}
.menu{display:flex;align-items:center;gap:.25rem}
.menu a{color:var(--ink);text-decoration:none;font-weight:700;padding:.55rem .8rem;border-radius:6px;font-size:.95rem}
.menu a:hover{background:var(--purple-l);color:var(--purple-d)}
.menu a.active{color:var(--green);box-shadow:inset 0 -3px 0 var(--green);border-radius:0}
.burger{display:none;background:none;border:0;padding:.6rem;cursor:pointer}
.burger span{display:block;width:26px;height:3px;background:var(--green);margin:5px 0;transition:.2s}

/* buttons */
.btn{display:inline-block;background:var(--purple);color:#fff;border:2px solid var(--purple);padding:.7rem 1.4rem;border-radius:999px;font:700 .95rem var(--sans);cursor:pointer;text-decoration:none;transition:background .2s,transform .1s}
.btn:hover{background:var(--purple-d);border-color:var(--purple-d);color:#fff}
.btn:active{transform:translateY(1px)}
.btn.ghost{background:transparent;color:var(--purple-d)}
.btn.ghost:hover{background:var(--purple);color:#fff}
.btn.light{background:var(--purple);box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.menu .btn{margin-left:.5rem}

/* hero */
.hero{position:relative;color:#fff;overflow:hidden;min-height:78vh;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(0,74,34,.93) 0%,rgba(0,101,46,.78) 55%,rgba(123,92,168,.55) 100%)}
.hero-in{position:relative;z-index:1;padding:4rem 0}
.hero h1,.hero h2{color:#fff}
.hero h1{max-width:16ch}
.kicker{display:inline-block;background:#fff;color:var(--green-d);font-weight:700;padding:.3rem .9rem;border-radius:999px;font-size:.92rem}
.sub{font-size:1.15rem;margin-bottom:1.6rem}
.slider{margin-top:2.5rem;max-width:560px;border-left:4px solid var(--purple);padding-left:1.2rem;position:relative}
.slide{display:none}.slide.on{display:block}
.slide h2{font-size:1.5rem;margin-bottom:.2em}.slide p{margin:0;font-size:1.05rem}
.s-ctl{margin-top:.8rem;display:flex;gap:.5rem}
.s-ctl button{width:36px;height:36px;border-radius:50%;border:2px solid #fff;background:transparent;color:#fff;font-size:1.4rem;line-height:1;cursor:pointer}
.s-ctl button:hover{background:var(--purple);border-color:var(--purple)}


/* Hero background slideshow */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 20s infinite;
}

/* Image 1 */
.image-1 {
  background-image: url("../img/arialview-1.jpeg");
  animation-delay: 0s;
}

/* Image 2 */
.image-2 {
  background-image: url("../img/thefrontgate-1.jpeg");
  animation-delay: 5s;
}

/* Image 3 */
.image-3 {
  background-image: url("../img/campus.jpeg");
  animation-delay: 10s;
}

/* Image 4 */
.image-4 {
  background-image: url("../img/schoolcampus-1.jpeg");
  animation-delay: 15s;
}

/* Slideshow animation */
@keyframes heroFade {
  0%, 20% {
    opacity: 1;
  }

  25%, 95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-in {
  position: relative;
  z-index: 2;
}




/* sections */
.section{padding:clamp(3rem,7vw,5.5rem) 0}
.section.alt{background:var(--alt)}
.page-hero{background:var(--green);color:#fff;padding:2.6rem 0;border-bottom:6px solid var(--purple)}
.page-hero h1{color:#fff;margin:0;font-size:clamp(1.8rem,4vw,2.8rem)}
.eyebrow{color:var(--purple-d);font-weight:700;margin-bottom:.3rem}

.gallery{columns:4 220px;column-gap:12px;margin-bottom:1.6rem}
.g-item{display:block;margin-bottom:12px;break-inside:avoid;border-radius:var(--r);overflow:hidden;background:#ddd}
.g-item img{width:100%;transition:transform .35s}
.g-item:hover img{transform:scale(1.04)}
.g-item.hidden{display:none}

.principal{display:grid;grid-template-columns:260px 1fr;gap:2.5rem;align-items:center;max-width:900px}
.principal img{border-radius:var(--r);border:4px solid var(--purple-l)}
blockquote{margin:0 0 1rem;font:700 clamp(1.2rem,2.4vw,1.6rem)/1.5 var(--serif);border-left:5px solid var(--green);padding-left:1.2rem}
.who{font-weight:700;color:var(--purple-d)}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.6rem;margin-top:2.2rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;border-top:4px solid var(--green)}
.card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.card div{padding:1.2rem 1.3rem}
.card p{margin:0;color:var(--muted)}
.cols3{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem;margin-top:1.6rem}
.cols3 h3{color:var(--green)}
.panel{background:#fff;border:1px solid var(--line);border-top:4px solid var(--purple);border-radius:var(--r);padding:1.6rem}
.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:2.4rem}
.strip img{width:100%;height:140px;object-fit:cover;border-radius:8px}

.person{display:grid;grid-template-columns:280px 1fr;gap:2.4rem;align-items:center;margin-top:2.4rem}
.person.rev{grid-template-columns:1fr 280px}.person.rev img{order:2}
.person img{border-radius:var(--r);width:100%;aspect-ratio:4/5;object-fit:cover}

.rows{display:grid;gap:3rem;margin-top:2.4rem}
.rows:first-child{margin-top:0}
.row{display:grid;grid-template-columns:1fr 1fr;gap:2.4rem;align-items:center}
.row.rev img{order:2}
.row img{border-radius:var(--r);width:100%;aspect-ratio:16/10;object-fit:cover}
.row h3{color:var(--green);font-size:1.5rem}

.loc{display:grid;grid-template-columns:1fr 1.3fr;gap:2.4rem;align-items:center}
.loc svg,.clist svg{width:20px;height:20px;fill:var(--purple);vertical-align:-4px;margin-right:6px;flex:none}
.loc h3{color:var(--green);margin-top:1.2rem}
.map iframe{width:100%;height:360px;border:0;border-radius:var(--r)}

.cgrid{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.clist{list-style:none;padding:0;margin:1.6rem 0 0}
.clist li{display:flex;gap:1rem;margin-bottom:1.4rem}
.clist svg{width:26px;height:26px;margin-top:4px}
.clist h3{margin:0 0 .2em;font-size:1.05rem;color:var(--green)}.clist p{margin:0}

.form{display:grid;gap:1rem}
.form label{display:grid;gap:.3rem;font-weight:700;font-size:.95rem}
.form input,.form select,.form textarea{font:400 1rem var(--sans);padding:.7rem .8rem;border:1.5px solid #aaa;border-radius:8px;background:#fff;color:#000;width:100%}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--purple);outline:3px solid var(--purple-l)}
.form .invalid{border-color:#b00020}
.form-msg{margin:0;font-weight:700}.form-msg.ok{color:var(--green)}.form-msg.err{color:#b00020}

.tbl{overflow-x:auto;margin-bottom:3rem;border:1px solid var(--line);border-radius:var(--r)}
table{border-collapse:collapse;width:100%;min-width:620px;font-size:.95rem}
th,td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
thead th{background:var(--green);color:#fff}
tbody tr:nth-child(even){background:var(--alt)}
tbody th{font-weight:700;width:36%}
td:first-child,thead th:first-child{width:70px}
.dl{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--purple-d)}
.dl svg{width:16px;height:16px;fill:currentColor}

/* footer */
.site-footer{background:var(--green-d);color:#fff;border-top:6px solid var(--purple)}
.site-footer a{color:#fff}.site-footer a:hover{color:#d9c9f0}
.site-footer h3{color:#fff;font-size:1.05rem}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr;gap:2.4rem;padding:3rem 0}
.flogo{background:#fff;padding:.4rem .7rem;border-radius:8px;margin-bottom:1rem}
.flinks{list-style:none;padding:0;margin:0}.flinks li{margin-bottom:.4rem}
.copy{background:#00391a;padding:.9rem 0;font-size:.9rem;text-align:center}

/* modal + lightbox */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:grid;place-items:center;z-index:200;padding:1rem}
.modal[hidden]{display:none}
.modal-box{background:#fff;border-radius:14px;padding:2rem;width:min(520px,100%);max-height:92vh;overflow:auto;position:relative;border-top:6px solid var(--purple)}
.modal-close{position:absolute;right:.8rem;top:.4rem;background:none;border:0;font-size:2rem;cursor:pointer;color:var(--ink)}
.lb{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:300;display:grid;place-items:center}
.lb[hidden]{display:none}
.lb img{max-width:92vw;max-height:86vh;object-fit:contain}
.lb button{position:absolute;background:var(--purple);color:#fff;border:0;width:44px;height:44px;border-radius:50%;font-size:1.6rem;cursor:pointer}
.lb .x{top:1rem;right:1rem}.lb .p{left:1rem;top:50%}.lb .n{right:1rem;top:50%}

@media (max-width:900px){
  .burger{display:block}
  .menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;padding:1rem 4%;box-shadow:0 10px 20px rgba(0,0,0,.12)}
  .menu.open{display:flex}
  .menu a.active{box-shadow:none;background:var(--green-l)}
  .menu .btn{margin:.6rem 0 0;text-align:center}
  .topbar .wrap>span:nth-child(2){display:none}
  .principal,.person,.person.rev,.row,.loc,.cgrid,.fgrid{grid-template-columns:1fr}
  .person.rev img,.row.rev img{order:0}
  .principal img{max-width:240px}
  .person img{max-width:320px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
