/* ============ TOKENS ============ */
:root{
  --teal:#12c6ad;
  --teal-dark:#0ea992;
  --navy:#2c2a60;
  --navy-deep:#262350;
  --ink:#1f2030;
  --body:#5b5f72;
  --lilac:#b3addb;
  --page:#f2f4f8;
  --panel:#eef1f7;
  --line:#e4e7ef;
  --white:#fff;
  --shell:1180px;
  --radius:14px;
  --header-h:78px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{
  margin:0;
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--body);
  background:var(--white);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{color:var(--navy);margin:0;line-height:1.18;font-weight:700}
p{margin:0}
ul{margin:0;padding:0;list-style:none}

.shell{width:min(var(--shell),calc(100% - 64px));margin-inline:auto}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--teal);color:#fff;font-weight:600;
  border:0;cursor:pointer;transition:background .25s,transform .25s,box-shadow .25s;
}
.btn-pill{border-radius:999px;padding:9px 22px;font-size:.82rem}
.btn-lg{padding:13px 30px;font-size:.95rem;margin-top:28px}
.btn:hover{background:var(--teal-dark);transform:translateY(-2px);box-shadow:0 10px 24px rgba(18,198,173,.35)}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:60;background:#fff;
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s;
}
.site-header.stuck{box-shadow:0 6px 24px rgba(31,32,48,.08)}
.header-inner{
  height:var(--header-h);
  display:flex;align-items:center;gap:26px;
}
.brand img{height:42px;width:auto}

.nav{display:flex;gap:30px;margin-inline:auto}
.nav a{
  position:relative;font-weight:600;font-size:.93rem;color:var(--navy);
  padding:6px 0;transition:color .25s;
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--teal);transition:width .3s var(--ease);
}
.nav a:hover,.nav a.active{color:var(--teal)}
.nav a:hover::after,.nav a.active::after{width:100%}

.header-tools{display:flex;align-items:center;gap:18px}
.search{
  display:flex;align-items:center;gap:8px;
  border-left:1px solid var(--line);border-right:1px solid var(--line);
  padding:4px 18px;
}
.search svg{width:14px;height:14px;fill:none;stroke:var(--navy);stroke-width:2;stroke-linecap:round;flex:none}
.search input{
  border:0;outline:0;font:inherit;font-size:.78rem;color:var(--navy);
  background:transparent;width:104px;
}
.search input::placeholder{color:#9aa0b4}

.grid-toggle{
  width:44px;height:44px;border:0;border-radius:10px;background:var(--teal);
  display:grid;grid-template-columns:repeat(3,1fr);gap:4px;
  place-content:center;padding:11px;cursor:pointer;transition:background .25s,transform .25s;
}
.grid-toggle span{width:4px;height:4px;border-radius:50%;background:#fff}
.grid-toggle:hover{background:var(--teal-dark);transform:rotate(90deg)}

/* ============ HERO ============ */
.hero{position:relative;overflow:hidden;background:var(--navy-deep)}
.hero-bg{
  position:absolute;inset:0;
  background:url('assets/herobg.jpg') center/cover no-repeat;
  opacity:.55;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(105deg,rgba(38,35,80,.93) 0%,rgba(52,48,104,.82) 55%,rgba(52,48,104,.55) 100%);
}
.hero-inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1fr 380px;gap:56px;
  padding:64px 0 70px;align-items:start;
}
.hero-copy h1{
  color:var(--teal);font-size:2.4rem;font-weight:700;max-width:40ch;
  letter-spacing:-.01em;
}
.hero-copy > p{color:rgba(255,255,255,.9);margin-top:20px;font-size:.95rem;font-weight:300;max-width:52ch}

.stats{display:flex;gap:64px;margin-top:70px;flex-wrap:wrap}
.stat strong{
  display:block;color:#fff;font-size:2.1rem;font-weight:700;line-height:1;
  padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.35);min-width:120px;
}
.stat span{display:block;margin-top:14px;color:var(--teal);font-size:.83rem;font-weight:500}

.hero-media{display:grid;gap:16px}
.hero-media figure{
  margin:0;border:2px solid var(--teal);border-radius:10px;overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}
.hero-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.hero-media figure:hover img{transform:scale(1.05)}

/* ============ SERVICES ============ */
.services{position:relative;background:#f7f8fa;padding:90px 0 110px;overflow:hidden}
.ghost-word{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  font-size:clamp(7rem,17vw,14.5rem);font-weight:800;letter-spacing:-.04em;
  background:linear-gradient(90deg,#ded9f5,#f3d3e6);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  white-space:nowrap;pointer-events:none;user-select:none;margin:0;
}
.ghost-word span{color:#f0b9d6;-webkit-text-fill-color:#f0b9d6}

.cards-stack{
  position:relative;z-index:2;
  display:flex;justify-content:center;align-items:center;
  min-height:460px;
}
.cards-stack .svc-card:not(:first-child){margin-left:-22px}
.svc-card{
  --tilt:none;
  width:262px;background:var(--teal);color:#0d3f38;border-radius:18px;
  padding:30px 26px;box-shadow:0 20px 50px rgba(18,198,173,.32);
  transform:var(--tilt);
  transition:transform .45s var(--ease),box-shadow .45s var(--ease),opacity .6s var(--ease);
}
/* stacked front-to-back left→right, so each card only ever covers
   its neighbour's padding and never its copy */
.svc-card:nth-child(1){--tilt:rotate(-8deg) translateY(-46px);z-index:1}
.svc-card:nth-child(2){--tilt:rotate(5deg) translateY(6px);z-index:2}
.svc-card:nth-child(3){--tilt:rotate(-4deg) translateY(52px);z-index:3}
.svc-icon svg{width:44px;height:44px;fill:none;stroke:#0d2f2a;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.svc-kicker{margin-top:16px;font-size:.98rem;font-weight:500;color:#0d3f38}
.svc-card h3{font-size:1.3rem;font-weight:800;color:#06241f;margin-top:2px;text-transform:uppercase;letter-spacing:.01em}
.svc-body{margin-top:12px;font-size:.8rem;line-height:1.6;color:#0c3b35}

/* ============ WHY CHOOSE ============ */
.why{padding:100px 0;background:#fff}
.why-inner{display:grid;grid-template-columns:330px 1fr;gap:56px;align-items:start}
.why-photo{position:relative;border-radius:8px;overflow:hidden;background:var(--teal)}
.why-photo img{width:100%;display:block}
.why-photo .cap{
  position:absolute;top:26px;left:50%;transform:translateX(-50%);
  width:150px;fill:none;stroke:#fff;stroke-width:3;stroke-linejoin:round;opacity:.95;z-index:2;
}
.why-copy h2{font-size:1.5rem;color:var(--teal)}
.lede{margin-top:16px;font-size:.9rem;max-width:66ch}

.why-panel{
  margin-top:30px;background:var(--panel);border-radius:18px;padding:34px 38px;
  display:grid;gap:28px;
}
.why-item{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start}
.why-ico svg{width:20px;height:20px;fill:none;stroke:var(--teal);stroke-width:1.8;stroke-linecap:round;margin-top:6px}
.why-item h4{color:var(--teal);font-size:1.15rem;font-weight:700}
.why-item p{font-size:.8rem;margin-top:4px;max-width:58ch}

/* ============ GALLERY ============ */
.gallery{padding:70px 0 90px;background:#fff}
.gallery-row{
  display:flex;align-items:center;justify-content:center;gap:34px;flex-wrap:wrap;
}
.ga{margin:0;overflow:hidden;box-shadow:0 18px 40px rgba(31,32,48,.14)}
.ga img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.ga:hover img{transform:scale(1.07)}
.ga-1{width:184px;height:180px;border-radius:34px;align-self:flex-end}
.ga-2{width:184px;height:350px;border-radius:44px 44px 44px 10px}
.ga-3{width:178px;height:272px;border-radius:120px/90px;align-self:flex-start}
.ga-mark{
  width:130px;height:170px;border-radius:999px;background:var(--teal);
  display:grid;place-items:center;box-shadow:none;
}
.ga-mark > span{width:86px;height:118px;border-radius:999px;background:var(--lilac);display:grid;place-items:center}
.ga-mark > span > span{width:50px;height:76px;border-radius:999px;background:var(--navy);display:grid;place-items:center}
.ga-mark > span > span > span{width:20px;height:34px;border-radius:999px;background:var(--teal)}

/* ============ BAND ============ */
.band{
  position:relative;padding:74px 0;text-align:center;color:#fff;
  background:url('assets/band.jpg') center/cover no-repeat;
  border-top:9px solid var(--teal);
}
.band::before{content:"";position:absolute;inset:0;background:rgba(14,14,26,.55)}
.band .shell{position:relative;z-index:2}
.band h2{color:var(--teal);font-size:1.22rem;font-weight:700}
.band p{margin:18px auto 0;max-width:72ch;font-size:.85rem;font-weight:300;color:rgba(255,255,255,.94)}

/* ============ ACHIEVEMENTS ============ */
.achievements{padding:88px 0 100px;background:#fff}
.kicker{
  display:flex;align-items:center;gap:10px;
  color:#5b62d6;font-size:.78rem;font-weight:500;
}
.kicker .dash{width:26px;height:1px;background:#5b62d6;position:relative}
.kicker .dash::before{
  content:"";position:absolute;top:50%;left:0;transform:translate(-2px,-50%) rotate(45deg);
  width:5px;height:5px;background:#5b62d6;
}
.kicker .dash:last-child::before{left:auto;right:0;transform:translate(2px,-50%) rotate(45deg)}
.achievements h2{font-size:2.35rem;margin-top:10px;font-weight:700}
.sub{margin-top:8px;font-size:.84rem}

.ach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:52px}
.ach-card{
  background:var(--lilac);border:1.5px solid var(--navy);border-radius:10px;
  padding:30px 26px 32px;transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.ach-card:hover{transform:translateY(-8px);box-shadow:0 22px 44px rgba(44,42,96,.25)}
.ach-card svg{width:46px;height:46px;fill:none;stroke:var(--navy);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ach-card h3{margin-top:22px;font-size:1.05rem;font-weight:800;color:var(--ink)}
.ach-card p{margin-top:14px;font-size:.8rem;color:#3b3a55;max-width:34ch}

/* ============ EDUCATORS ============ */
.educators{padding:78px 0 90px;background:var(--page)}
.educators h2{text-align:center;font-size:2.15rem;font-weight:700}
.edu-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:46px}
.edu{display:flex;flex-direction:column}
.edu-photo{overflow:hidden;aspect-ratio:183/276;background:#ddd}
.edu-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.edu:hover .edu-photo img{transform:scale(1.06)}
.edu-meta{
  background:var(--navy);border-radius:0 0 8px 8px;padding:14px 16px 16px;
  text-align:center;flex:1;
}
.edu-meta h3{color:var(--teal);font-size:.88rem;font-weight:700}
.edu-meta p{color:#b9b5e0;font-size:.72rem;font-weight:500;margin-top:5px}

/* ============ FAQ ============ */
.faq{padding:86px 0 96px;background:#fff}
.faq-inner{display:grid;grid-template-columns:400px 1fr;gap:54px;align-items:start}
.faq-left h2{font-size:1.65rem;margin-top:8px;font-weight:700}
.qmark{width:230px;margin-top:34px;display:block}
.qmark text{font-size:150px;font-weight:700;fill:#e9e9ee;font-family:'Poppins',sans-serif}
.qmark .rays{stroke:#c9c9d2;stroke-width:1.4;stroke-linecap:round;fill:none}

.faq-list{display:grid;gap:10px}
.faq-list details{
  background:#fff;border-radius:8px;padding:16px 22px;
  box-shadow:0 1px 0 var(--line);transition:background .3s,box-shadow .3s;
}
.faq-list details[open]{background:var(--panel);box-shadow:none}
.faq-list summary{
  list-style:none;cursor:pointer;position:relative;padding-left:20px;
  color:var(--teal);font-size:.92rem;font-weight:600;line-height:1.45;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::before{
  content:"";position:absolute;left:0;top:.55em;
  width:7px;height:7px;border-radius:50%;background:#8f8fd0;
}
.faq-list details[open] summary::before{background:var(--teal)}
.faq-list summary:hover{color:var(--teal-dark)}
.ans{overflow:hidden;animation:reveal .35s var(--ease)}
.ans p{padding:10px 0 4px 20px;font-size:.8rem;max-width:72ch}
@keyframes reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* ============ FOOTER ============ */
.footer{background:#000;color:#fff;padding:60px 0 0}
.foot-top{display:grid;grid-template-columns:1fr auto 1fr;gap:40px;align-items:center}
.foot-contact .lbl{font-size:.72rem;color:#a8a8b4;font-weight:300;margin-top:14px}
.foot-contact .lbl:first-child{margin-top:0}
.foot-contact .val{font-size:.8rem;font-weight:600;max-width:32ch}
.foot-contact a:hover{color:var(--teal)}
.foot-logo{display:flex;align-items:center;gap:16px;justify-content:center}
.foot-logo img{width:62px;height:auto;border-radius:12px}
.foot-wordmark{display:flex;flex-direction:column;line-height:1.05}
.foot-wordmark strong{font-size:1.5rem;font-weight:700;color:#fff;letter-spacing:-.01em}
.foot-wordmark em{font-size:1.45rem;font-style:normal;font-weight:300;color:#e6e6ec}
.foot-social{justify-self:end;text-align:left}
.foot-social .lbl{font-size:.72rem;color:#a8a8b4;font-weight:300}
.foot-social li{margin-top:9px;font-size:.8rem;font-weight:600}
.foot-social a:hover{color:var(--teal)}

.foot-nav{margin-top:52px;display:grid}
.foot-nav a{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 4px;border-bottom:1px solid #1e1e1e;
  font-size:.83rem;font-weight:600;transition:color .25s,padding-left .25s;
}
.foot-nav a span{color:#9a9aa6;font-size:.9rem;transition:transform .25s}
.foot-nav a:hover{color:var(--teal);padding-left:12px}
.foot-nav a:hover span{transform:translate(3px,-3px);color:var(--teal)}

.foot-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  padding:22px 0 26px;font-size:.76rem;color:#c9c9d2;
}
.omacle{color:var(--teal);font-weight:600}

/* ============ TO TOP ============ */
.to-top{
  position:fixed;right:26px;bottom:26px;z-index:70;
  width:34px;height:34px;border:0;border-radius:7px;background:var(--teal);
  display:grid;place-items:center;cursor:pointer;
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .3s,visibility .3s,transform .3s,background .25s;
}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--teal-dark)}
.to-top svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ============ REVEAL ON SCROLL ============ */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* Cards compose their tilt with the reveal and hover states. */
.svc-card.reveal{opacity:0;transform:var(--tilt) translateY(26px)}
.svc-card.reveal.in{opacity:1;transform:var(--tilt)}
.svc-card:hover,.svc-card.reveal.in:hover{
  transform:rotate(0deg) translateY(-14px) scale(1.04);z-index:5;
  box-shadow:0 30px 70px rgba(18,198,173,.45);
}

/* ============ RESPONSIVE ============ */
@media (max-width:1080px){
  .shell{width:calc(100% - 40px)}
  .nav{display:none}
  .nav.open{
    display:flex;flex-direction:column;gap:0;
    position:absolute;top:var(--header-h);left:0;right:0;
    background:#fff;padding:10px 24px 18px;border-bottom:1px solid var(--line);
    box-shadow:0 14px 30px rgba(31,32,48,.1);
  }
  .nav.open a{padding:12px 0;border-bottom:1px solid var(--line)}
  .header-inner{justify-content:space-between}
  .header-tools{margin-left:auto}
  .hero-inner{grid-template-columns:1fr;gap:38px}
  .hero-media{grid-template-columns:1fr 1fr}
  .why-inner{grid-template-columns:1fr;gap:34px}
  .why-photo{max-width:340px}
  .faq-inner{grid-template-columns:1fr;gap:34px}
  .ach-grid{grid-template-columns:1fr 1fr}
  .edu-grid{grid-template-columns:1fr 1fr}
  .cards-stack{flex-direction:column;gap:24px;min-height:0}
  .svc-card:nth-child(n){--tilt:none}
  .svc-card:hover,.svc-card.reveal.in:hover{transform:translateY(-8px) scale(1.02)}
  .foot-top{grid-template-columns:1fr;text-align:left}
  .foot-logo{justify-content:flex-start}
  .foot-social{justify-self:start}
}
@media (max-width:640px){
  .search{display:none}
  .hero-copy h1{font-size:1.85rem}
  .hero-media{grid-template-columns:1fr}
  .stats{gap:28px;margin-top:44px}
  .stat strong{font-size:1.7rem;min-width:100px}
  .achievements h2,.educators h2{font-size:1.65rem}
  .ach-grid,.edu-grid{grid-template-columns:1fr}
  .why-panel{padding:26px 22px}
  .foot-bottom{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}
