/* Site styles on top of Bootstrap. Colours are flat; no gradients. */
:root{
  --forest:#08391a; --green:#0f6b2c; --leaf:#1f9d3f; --lime:#e6e21f;
  --mist:#f1f7ec; --paper:#fbfdf8; --ink:#10231a; --muted:#4d6356;
  --head:"Barlow Condensed","Arial Narrow",Impact,sans-serif;
  --bs-body-font-family:"Barlow",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --bs-body-color:var(--ink); --bs-body-bg:var(--paper); --bs-body-font-size:1.06rem;
  --bs-link-color-rgb:15,107,44;
}
html{scroll-behavior:smooth;scroll-padding-top:84px}
h1,h2,h3,.navbar-brand span{font-family:var(--head);line-height:1;letter-spacing:.2px}
.text-muted{color:var(--muted)!important}
:focus-visible{outline:3px solid var(--lime);outline-offset:3px}
.py-section{padding:84px 0}
.bg-mist{background:var(--mist)}
.section-title{font-size:clamp(38px,5vw,56px);color:var(--forest);text-transform:uppercase;font-weight:700}

/* buttons */
.btn{font-family:var(--head);font-weight:700;font-size:1.15rem;letter-spacing:.5px;border-radius:6px;transition:transform .15s,box-shadow .15s}
.btn-sun{background:var(--lime);color:var(--forest);border:0}
.btn-sun:hover{background:var(--lime);color:var(--forest);transform:translateY(-2px);box-shadow:0 6px 0 var(--forest)}
.btn-forest{background:var(--forest);color:#fff;border:0}
.btn-forest:hover{background:var(--green);color:#fff}
.btn-outline-light:hover{color:var(--forest)}

main{overflow-x:clip}

/* top bar + header */
.topbar{background:var(--forest);color:#d8ecd8;font-size:.9rem}
.topbar a{color:#fff;font-weight:600;text-decoration:none}
.site-nav{background:#fff;border-bottom:4px solid var(--lime);z-index:1030}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:56px;width:56px;flex:none}
.brand span:last-child{font-weight:800;font-size:1.3rem;color:var(--forest);text-transform:uppercase;line-height:1}
.brand small{display:block;font:600 .75rem var(--bs-body-font-family);color:var(--muted);text-transform:none;margin-top:3px}
.site-nav .nav-link{font-weight:600;color:var(--ink)}
.site-nav .nav-link:hover{color:var(--leaf)}
.site-nav .nav-link.active{color:var(--green);box-shadow:inset 0 -3px var(--lime)}

/* hero with background slides */
.hero{background:var(--forest);color:#fff;position:relative;overflow:hidden}
.slides{position:absolute;inset:0;z-index:0}
.slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;background:var(--forest) var(--img,none) center/cover no-repeat}
.slide.on{opacity:1}
.slide::after{content:"";position:absolute;inset:0;background:rgba(8,57,26,.68)}
.hero::before{content:"";position:absolute;inset:auto -10% -60px -10%;height:150px;z-index:1;transform:rotate(-2deg);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3Cpattern id='p' width='52' height='52' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='52' height='52' fill='%2308391a'/%3E%3Crect width='26' height='52' fill='%23e6e21f'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.hero-inner{position:relative;z-index:2;padding-top:76px;padding-bottom:150px}
.hero h1{font-size:clamp(52px,8vw,104px);font-weight:800;text-transform:uppercase}
.hero h1 em{font-style:normal;color:var(--lime);display:block}
.hero-text{max-width:520px;font-size:1.2rem;margin:22px 0 30px;color:#e3f2e3}
.ticket{background:#fff;color:var(--ink);border-radius:10px;padding:26px;box-shadow:12px 12px 0 var(--lime)}
.ticket h2{font-size:30px;color:var(--forest);margin-bottom:10px}
.ticket li{padding:11px 0;border-top:1px dashed #b9cdb9;font-weight:600}
.ticket .count{color:var(--leaf);font-weight:500;font-size:.95rem;white-space:nowrap}

/* schools */
.school{background:#fff;border:2px solid var(--forest);border-radius:12px;overflow:hidden}
.school .side{background:var(--forest);color:#fff;padding:30px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}
.school .side svg{width:62px;height:62px;stroke:var(--lime);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.school h3{font-size:34px;text-transform:uppercase;font-weight:700}
.school .side p{font-size:.95rem;color:#cfe5d0;margin:8px 0 0}
.course-list{list-style:none;margin:0;padding:18px 34px;height:100%;display:flex;flex-direction:column;justify-content:center}
.course-list li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #dbe7d7;font:700 1.6rem/1.15 var(--head);color:var(--forest)}
.course-list li:last-child{border-bottom:0}
.course-list a{font:600 .9rem var(--bs-body-font-family);background:var(--lime);color:var(--forest);padding:6px 14px;border-radius:3px;text-decoration:none}
.course-list a:hover{background:var(--forest);color:#fff}

/* why + steps */
.why{border-top:4px solid var(--forest);padding-top:28px}
.why h3,.step h3{font-size:28px;color:var(--forest);font-weight:700;margin-bottom:8px}
.why p,.step p{color:var(--muted);margin:0}
.steps{counter-reset:s}
.step{counter-increment:s;position:relative;background:#fff;border:2px solid var(--forest);border-radius:12px;padding:34px 26px 26px;height:100%;margin-top:24px}
.step::before{content:counter(s);position:absolute;top:-24px;left:22px;width:48px;height:48px;border-radius:50%;background:var(--lime);color:var(--forest);font:800 28px/44px var(--head);text-align:center;border:3px solid var(--forest)}

/* contact */
.contact{background:var(--forest);color:#fff}
.info{display:flex;gap:16px;margin-bottom:22px}
.info i{flex:none;width:46px;height:46px;border-radius:50%;background:var(--lime);display:grid;place-items:center}
.info svg{width:22px;height:22px;stroke:var(--forest);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.info p{margin:0}
.info b{display:block;font:700 1.4rem var(--head);color:var(--lime)}
.info a{color:#fff;text-decoration:none}.info a:hover{text-decoration:underline}
.enquiry{background:#fff;color:var(--ink);border-radius:12px;padding:30px}
.enquiry h3{font-size:30px;color:var(--forest);margin-bottom:16px}
.enquiry .form-control:focus,.enquiry .form-select:focus{border-color:var(--leaf);box-shadow:0 0 0 3px rgba(31,157,63,.25)}


/* inner pages */
.page-head{background:var(--forest);color:#fff;padding:56px 0 78px;position:relative}
.page-head h1{font-size:clamp(44px,6vw,76px);font-weight:800;text-transform:uppercase;color:#fff}
.page-head p{font-size:1.2rem;color:var(--lime);margin:12px 0 0;font-weight:500}
.page-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3Cpattern id='p' width='52' height='52' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='52' height='52' fill='%2308391a'/%3E%3Crect width='26' height='52' fill='%23e6e21f'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.prose p{font-size:1.15rem;line-height:1.75;margin-bottom:1.2rem;white-space:pre-line}
.prose ul{font-size:1.15rem;line-height:1.7;margin-bottom:1.2rem;padding-left:1.3rem}
.prose li::marker{color:var(--leaf)}
.value-card{height:100%;background:#f8faf7;border-radius:10px;padding:24px;margin:10px;box-shadow:0 0 0 10px #fff,0 0 0 11px #e3e8e0,0 4px 16px 10px rgba(16,35,26,.06)}
.value-card h3{font-size:28px;color:var(--forest);margin-bottom:8px}
.value-card p{margin:0;color:var(--muted)}
.partner{background:#fff;border-left:6px solid var(--lime);box-shadow:0 0 0 1px #dbe7d7;padding:14px 18px;border-radius:6px;height:100%}
.partner b{display:block;color:var(--forest)}.partner span{color:var(--muted);font-size:.95rem}
.fee-table{border:2px solid var(--forest);border-radius:8px;overflow:hidden;background:#fff}
.fee-table thead th{background:var(--forest);color:#fff;font:700 1.1rem var(--head);letter-spacing:.4px;white-space:nowrap;border:0}
.fee-table tbody tr:nth-child(even){background:var(--mist)}
.fee-table td{white-space:nowrap}.fee-table td:first-child{white-space:normal;font-weight:600}
.fee-note{background:var(--mist);border-left:5px solid var(--lime);padding:10px 14px;margin-bottom:10px;border-radius:4px}
.course-list a.name{background:none;padding:0;border-radius:0;font:inherit;color:var(--forest)}
.course-list a.name:hover{color:var(--leaf);background:none;text-decoration:underline}
.school-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e3e8e0;border-radius:16px;padding:16px;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 2px 12px rgba(16,35,26,.08);transition:transform .15s,box-shadow .15s}
.school-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(16,35,26,.14);color:var(--ink)}
.school-media{flex:none;aspect-ratio:16/9;display:grid;place-items:center;background:var(--forest);overflow:hidden;border-radius:10px 10px 0 0}
.school-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.school-card:hover .school-media img{transform:scale(1.04)}
.school-media svg{width:64px;height:64px;stroke:var(--lime);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.school-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:24px 24px 26px;background:#f8faf7;border-radius:0 0 10px 10px}
.school-card h3{font-size:32px;text-transform:uppercase;color:var(--forest);margin:0}
.school-card p{color:var(--muted);margin:0}
.school-card .more{margin-top:auto;font-weight:600;color:var(--green)}
.course-inline{margin:0;color:var(--forest);font-weight:600;line-height:1.6}
.chip{display:inline;font-size:.98rem}
.chip:not(:last-child)::after{content:" · ";color:var(--leaf);font-weight:700;white-space:pre}
.gallery-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid #e3e8e0;background:var(--mist)}
.cta-band{background:var(--lime);color:var(--forest);padding:52px 0}
.cta-band h2{font-size:clamp(32px,4vw,48px);text-transform:uppercase;margin:0}
.cta-band .btn-outline-light{color:var(--forest);border-color:var(--forest)}
.cta-band .btn-outline-light:hover{background:var(--forest);color:#fff}
.cta-band .btn-sun{background:var(--forest);color:#fff}
.cta-band .btn-sun:hover{background:var(--forest);color:#fff;box-shadow:0 6px 0 rgba(0,0,0,.25)}
.site-footer{background:#052711;color:#b8d3b8;padding:48px 0 40px;font-size:.98rem}
.site-footer .tag{display:block;font:700 1.9rem var(--head);color:var(--lime);margin-bottom:8px;font-style:italic}
.site-footer h4{font:700 1.3rem var(--head);color:#fff;margin-bottom:10px}
.site-footer a{display:block;color:#b8d3b8;text-decoration:none;padding:2px 0}
.site-footer a:hover{color:#fff;text-decoration:underline}

/* admin */
.admin-nav{background:var(--forest)}
.dash-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:22px}
.dash-head h1{font:700 2.4rem var(--head);margin:0;color:var(--forest)}
.dash-date{color:var(--muted);font-size:.95rem}
.stat{position:relative;display:flex;flex-direction:column;gap:2px;height:100%;padding:18px 20px;background:#fff;border:1px solid #e3ebe0;border-radius:16px;text-decoration:none;color:var(--ink);box-shadow:0 1px 2px rgba(8,57,26,.04);transition:transform .15s,box-shadow .15s,border-color .15s}
.stat:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(8,57,26,.09);border-color:#cfe0c8;color:var(--ink)}
.stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--mist);color:var(--green);margin-bottom:10px}
.stat-num{font:700 2.5rem/1 var(--head);color:var(--forest)}
.stat-label{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:.93rem}
.stat-accent{background:var(--forest);border-color:var(--forest)}
.stat-accent:hover{border-color:var(--forest);color:#fff}
.stat-accent .stat-icon{background:rgba(255,255,255,.12);color:var(--lime)}
.stat-accent .stat-num{color:#fff}
.stat-accent .stat-label{color:#b8d3b8}
.info-btn{display:inline-grid;place-items:center;padding:0;margin-left:2px;width:22px;height:22px;border:0;border-radius:50%;background:transparent;color:inherit;opacity:.6;cursor:pointer;vertical-align:middle;position:relative;z-index:2}
.info-btn:hover,.info-btn:focus-visible{opacity:1}
.info-pop{--bs-popover-max-width:240px;--bs-popover-body-padding-x:14px;--bs-popover-body-padding-y:10px;--bs-popover-body-color:var(--ink);font-size:.92rem;border-radius:12px;border-color:#e3ebe0;box-shadow:0 12px 30px rgba(8,57,26,.14)}
.panel{background:#fff;border:1px solid #e3ebe0;border-radius:16px;box-shadow:0 1px 2px rgba(8,57,26,.04);overflow:hidden}
.panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 6px}
.panel-head h2{font:700 1.55rem var(--head);margin:0;color:var(--forest);display:flex;align-items:center;gap:4px}
.panel-head .info-btn{color:var(--muted)}
.panel-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-weight:600;font-size:.95rem;color:var(--green)}
.panel-link .ic{width:16px;height:16px}
.panel-link:hover{color:var(--forest)}
.feed{list-style:none;margin:0;padding:6px 10px 12px}
.feed-row{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px;text-decoration:none;color:var(--ink);transition:background .12s}
.feed-row:hover{background:var(--mist);color:var(--ink)}
.avatar{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--mist);color:var(--green);font:700 1.05rem var(--head);letter-spacing:.5px}
.feed-main{flex:1;min-width:0;display:flex;flex-direction:column}
.feed-name{font-weight:600;display:flex;align-items:center;gap:8px}
.feed-sub{color:var(--muted);font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dot{width:8px;height:8px;border-radius:50%;background:var(--leaf);box-shadow:0 0 0 3px rgba(31,157,63,.18)}
.feed-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.feed-when{color:var(--muted);font-size:.85rem}
.pill{padding:2px 9px;border-radius:3px;background:var(--mist);color:var(--green);font-size:.78rem;font-weight:600}
.pill-fee{background:#fbf8c9;color:#6b6400}
.empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:38px 20px 44px;color:var(--muted)}
.empty .ic{width:30px;height:30px;opacity:.55}
.bars{list-style:none;margin:0;padding:8px 22px 20px;display:flex;flex-direction:column;gap:14px}
.bars-line{display:flex;justify-content:space-between;gap:10px;font-size:.96rem;margin-bottom:5px}
.bars-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bars-n{color:var(--muted);font-weight:600}
.bars-track{display:block;height:7px;border-radius:99px;background:var(--mist);overflow:hidden}
.bars-fill{display:block;height:100%;border-radius:99px;background:var(--leaf)}
.actions{display:flex;flex-direction:column;padding:6px 10px 12px}
.actions a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;text-decoration:none;color:var(--ink);font-weight:500;transition:background .12s}
.actions a .ic{flex:none;width:34px;height:34px;padding:7px;border-radius:10px;background:var(--mist);color:var(--green)}
.actions a:hover{background:var(--mist);color:var(--forest)}
@media (max-width:575px){.dash-head h1{font-size:2rem}.stat{padding:15px}.stat-num{font-size:2.1rem}.feed-side .pill{display:none}}

@media (max-width:991px){
  .py-section{padding:60px 0}
  .hero-inner{padding-bottom:130px}
  .course-list{padding:14px 22px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.slide{transition:none}}
