:root {
  --green: #0b4d2b;
  --green-dark: #063319;
  --green-light: #e9f3ec;
  --gold: #d4a017;
  --gold-light: #f6e7b8;
  --cream: #fbf7ec;
  --text: #1f2a24;
  --muted: #5a665f;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(6, 51, 25, 0.10);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 1000; }

/* Banner */
.banner { background: var(--cream); border-bottom: 4px solid var(--gold); }
.banner img { width: 100%; height: auto; }

/* Nav */
.nav { background: var(--green); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { color: var(--white); font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.menu { display: flex; gap: 6px; list-style: none; align-items: center; }
.menu a { color: var(--white); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; display: inline-block; }
.menu a:hover { background: rgba(255,255,255,.12); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; transition: .2s; }
.btn-primary { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.btn-primary:hover { background: #e5b530; }
.btn-outline { color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-nav { background: var(--gold) !important; color: var(--green-dark) !important; padding: 8px 18px !important; margin-left: 6px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #146b3a 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; border: 60px solid rgba(212,160,23,.18);
}
.hero-inner { max-width: 720px; position: relative; }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.lead { font-size: 1.1rem; opacity: .95; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Highlights */
.highlights { background: var(--gold); padding: 26px 0; }
.stat { text-align: center; color: var(--green-dark); }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; }
.stat-label { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--green-light); }
.section-title { font-size: 2rem; color: var(--green-dark); text-align: center; margin-bottom: 12px; }
.section-title::after { content: ""; display: block; width: 64px; height: 4px; background: var(--gold); margin: 12px auto 0; border-radius: 2px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.about-grid p + p { margin-top: 14px; }
.about-grid { align-items: start; }
.cards { display: grid; gap: 18px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.section .grid { margin-top: 32px; }
.section-sub + .grid { margin-top: 0; }

.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.card h3 { color: var(--green-dark); margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .97rem; }
.icon { font-size: 2rem; margin-bottom: 10px; }
.steps, .docs { padding-left: 20px; color: var(--muted); }
.steps li, .docs li { margin-bottom: 8px; }

/* Enquiry form */
.enquiry { margin-top: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 16px 0 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--green-dark); }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea { font-family: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid #cfd8d2; border-radius: 10px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-note { margin-top: 12px; color: var(--green); font-weight: 500; }

/* Gallery */
.gallery .tile { aspect-ratio: 4/3; border-radius: var(--radius); display: flex; align-items: flex-end; padding: 18px; color: #fff; font-weight: 600; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.gallery .tile span { position: relative; z-index: 1; }
.gallery .tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%); }
.t1 { background: linear-gradient(135deg, #0b4d2b, #2d8a54); }
.t2 { background: linear-gradient(135deg, #b8860b, #e8c247); }
.t3 { background: linear-gradient(135deg, #1e5a7a, #4aa3c9); }
.t4 { background: linear-gradient(135deg, #c2410c, #f97316); }
.t5 { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.t6 { background: linear-gradient(135deg, #9d174d, #ec4899); }

/* Contact */
.contact-card p + p { margin-top: 12px; }
.map-card { padding: 0; overflow: hidden; }
.map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Footer */
.footer { background: var(--green-dark); color: #d6e4da; padding: 28px 0; font-size: .9rem; text-align: center; border-top: 4px solid var(--gold); }
.footer p + p { margin-top: 6px; }

/* Login page */
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 32px 16px; }
.login-box { background: var(--white); border-radius: 18px; padding: 36px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,.35); border-top: 6px solid var(--gold); }
.login-box h1 { color: var(--green-dark); font-size: 1.5rem; text-align: center; margin-bottom: 4px; }
.login-box .sub { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.login-box label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--green-dark); margin-bottom: 16px; }
.login-box .btn { width: 100%; margin-top: 6px; }
.login-box .roles { display: flex; gap: 8px; margin-bottom: 18px; }
.login-box .roles button { flex: 1; padding: 9px; border-radius: 10px; border: 1.5px solid #cfd8d2; background: #fff; font-family: inherit; font-weight: 500; cursor: pointer; }
.login-box .roles button.active { background: var(--green); color: #fff; border-color: var(--green); }
.login-box .links { display: flex; justify-content: space-between; margin-top: 16px; font-size: .88rem; }
.login-box .error { color: #b91c1c; font-size: .9rem; margin-top: 10px; text-align: center; min-height: 1.2em; }
.login-logo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; object-position: 8% 50%; margin: 0 auto 14px; border: 3px solid var(--gold); }

/* Responsive */
@media (max-width: 1000px) {
  .menu a { padding: 8px 8px; font-size: .88rem; }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .menu { display: none; flex-direction: column; align-items: stretch; width: 100%; padding: 8px 0 14px; }
  .menu.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .menu a { display: block; }
  .btn-nav { margin-left: 0; text-align: center; }
  .hero { padding: 56px 0; }
  .section { padding: 52px 0; }
}

/* Hero photo background */
.hero { background-size: cover; background-position: center 35%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,51,25,.94) 0%, rgba(11,77,43,.85) 55%, rgba(11,77,43,.55) 100%); }
.hero::after { z-index: 1; }
.hero-inner { z-index: 2; }

/* Photo cards */
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-card .pc-body { padding: 18px 20px 22px; }

/* Gallery filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.filter { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--green); background: #fff; color: var(--green); font-family: inherit; font-weight: 500; cursor: pointer; font-size: .9rem; }
.filter.active, .filter:hover { background: var(--green); color: #fff; }

/* Gallery tiles with photos */
.gallery .tile { padding: 0; display: block; cursor: zoom-in; }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile span { position: absolute; left: 16px; bottom: 14px; color: #fff; z-index: 1; }
.gallery .tile.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 500; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(96vw, 1200px); max-height: 82vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 2.2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-caption { color: #fff; margin-top: 14px; font-weight: 500; }

/* About campus photo */
.about-photo { width: 100%; max-height: 420px; object-fit: cover; object-position: center 40%; border-radius: var(--radius); box-shadow: var(--shadow); margin: 8px 0 32px; border-bottom: 4px solid var(--gold); }
