/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #f9fafb;
  line-height: 1.6;
}

/* ── Colour tokens ── */
:root {
  --green:  #1a6b3a;
  --green2: #228b4e;
  --gold:   #c9a227;
  --light:  #f0f7f3;
  --dark:   #0f2d1f;
  --text:   #2d2d2d;
  --muted:  #6b7280;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── Navbar ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--dark);
  flex-shrink: 0;
}
.nav-title { color: #fff; line-height: 1.2; }
.nav-title strong { display: block; font-size: 1rem; letter-spacing: .5px; }
.nav-title span { font-size: .75rem; color: #a0c8b0; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: #c8e6d4; text-decoration: none;
  font-size: .88rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* ── Hero (home) ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(15,45,31,.88) 0%, rgba(26,107,58,.72) 60%, rgba(201,162,39,.25) 100%),
    url('https://images.unsplash.com/photo-1562774053-701939374585?w=1600&q=80') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
}
.hero-content { max-width: 780px; }
.hero-badge {
  display: inline-block;
  background: var(--gold); color: var(--dark);
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff; font-weight: 800; line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  margin-bottom: 16px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: 1.1rem; color: #cde8d8;
  max-width: 560px; margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 13px 30px; border-radius: 8px; font-size: .95rem;
  font-weight: 600; cursor: pointer; text-decoration: none;
  border: 2px solid transparent; transition: all .25s;
  display: inline-block;
}
.btn-primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-primary:hover { background: #b8900f; border-color: #b8900f; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }

/* ── Page banner (inner pages) ── */
.page-banner {
  margin-top: 68px;
  padding: 70px 5% 50px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--green) 100%);
  text-align: center;
}
.page-banner .crumb {
  color: var(--gold); font-size: .8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.page-banner p { color: #a0d8bc; max-width: 560px; margin: 12px auto 0; font-size: .95rem; }

/* ── Stats strip ── */
.stats {
  background: var(--green);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
}
.stat {
  flex: 1 1 180px; text-align: center;
  padding: 32px 20px; border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child { border-right: none; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.stat .lbl { font-size: .85rem; color: #a0d8bc; margin-top: 4px; }

/* ── Section shared ── */
section { padding: 90px 5%; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green2); margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--dark); margin-bottom: 14px;
}
.section-title span { color: var(--green2); }
.section-desc { color: var(--muted); max-width: 580px; margin-bottom: 48px; }
.centered { text-align: center; }
.centered .section-desc { margin-left: auto; margin-right: auto; }

/* ── About ── */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  position: relative;
}
.about-img img { width: 100%; height: 400px; object-fit: cover; display: block; }
.about-img .img-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--gold); color: var(--dark);
  padding: 10px 18px; border-radius: 10px;
  font-weight: 700; font-size: .85rem;
}
.about-points { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.about-point {
  display: flex; gap: 14px; align-items: flex-start;
}
.point-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--light); color: var(--green2);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-point h4 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.about-point p { font-size: .87rem; color: var(--muted); }

.mv-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 20px;
}
.mv-card {
  background: var(--light); border-radius: 14px; padding: 30px 26px;
  border-top: 4px solid var(--green2);
}
.mv-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.mv-card p { font-size: .88rem; color: var(--muted); }

/* ── Programs ── */
.programs { background: var(--light); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.program-card {
  background: #fff; border-radius: 14px;
  padding: 32px 26px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border-top: 4px solid var(--green2);
  transition: transform .25s, box-shadow .25s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.13); }
.prog-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--light); color: var(--green2);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.program-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.program-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.prog-badge {
  display: inline-block; margin-top: 14px;
  background: var(--light); color: var(--green2);
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px;
}
.prog-badge.new { background: var(--gold); color: var(--dark); }
.program-card { cursor: pointer; }
.prog-hint {
  display: block; margin-top: 14px;
  font-size: .78rem; font-weight: 600; color: var(--green2);
}

/* ── Program detail modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1200;
  background: rgba(15,45,31,.65);
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 18px;
  max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--light); color: var(--dark);
  border: none; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: #e2e8e4; }
.modal-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--light); color: var(--green2);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.modal-box h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.modal-box .modal-badge {
  display: inline-block; background: var(--light); color: var(--green2);
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  margin-bottom: 18px;
}
.modal-box h3 {
  font-size: .85rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--green2); margin: 22px 0 12px;
}
.modal-subjects { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.modal-subjects li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--text);
}
.modal-subjects li::before {
  content: '✓'; color: var(--green2); font-weight: 800; flex-shrink: 0;
}
.modal-careers { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-careers span {
  background: var(--light); color: var(--dark);
  font-size: .8rem; padding: 6px 14px; border-radius: 20px;
}
.modal-note {
  margin-top: 22px; padding: 14px 16px; border-radius: 10px;
  background: var(--light); border-left: 4px solid var(--gold);
  font-size: .8rem; color: var(--muted);
}

/* ── Why us ── */
.why { background: #fff; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.why-card {
  background: var(--light); border-radius: 14px;
  padding: 28px 22px; text-align: center;
  transition: background .25s;
}
.why-card:hover { background: var(--green); }
.why-card:hover .why-icon,
.why-card:hover h3,
.why-card:hover p { color: #fff; }
.why-icon { font-size: 2rem; margin-bottom: 14px; color: var(--green2); display: block; }
.why-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: .83rem; color: var(--muted); }

/* ── Gallery ── */
.gallery { background: var(--light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 14px;
}
.gallery-item { border-radius: 12px; overflow: hidden; }
.gallery-item:first-child { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.gallery-full .gallery-item { height: 220px; }
.gallery-full .gallery-item img { height: 100%; }

/* ── Admission ── */
.admission {
  background: linear-gradient(135deg, var(--dark) 0%, var(--green) 100%);
  text-align: center;
}
.admission .section-title { color: #fff; }
.admission .section-label { color: var(--gold); }
.admission .section-desc { color: #a0d8bc; margin-left: auto; margin-right: auto; }
.admission-steps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 42px;
}
.step {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 24px 20px; width: 180px; text-align: center;
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--dark);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.step h4 { color: #fff; font-size: .9rem; font-weight: 600; }

.req-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; text-align: left; margin: 30px 0;
}
.req-card {
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.req-card h4 { color: var(--dark); font-size: .95rem; margin-bottom: 8px; }
.req-card p, .req-card ul { color: var(--muted); font-size: .85rem; }
.req-card ul { padding-left: 18px; }

/* ── Faculty ── */
.faculty { background: #fff; }
.faculty-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.faculty-card {
  background: var(--light); border-radius: 14px; padding: 28px 22px; text-align: center;
}
.faculty-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800;
  margin: 0 auto 16px;
}
.faculty-card h3 { font-size: .98rem; font-weight: 700; color: var(--dark); }
.faculty-card .role { font-size: .82rem; color: var(--green2); font-weight: 600; margin: 4px 0 8px; }
.faculty-card p { font-size: .82rem; color: var(--muted); }
.faculty-note {
  background: var(--light); border-left: 4px solid var(--gold);
  padding: 18px 22px; border-radius: 8px; margin-bottom: 40px;
  font-size: .88rem; color: var(--muted);
}

/* ── Contact ── */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--light); color: var(--green2);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item h4 { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.contact-item p { font-size: .87rem; color: var(--muted); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 13px 16px; border: 2px solid #e5e7eb; border-radius: 8px;
  font-size: .9rem; font-family: inherit; color: var(--text);
  outline: none; transition: border-color .2s; background: #fff;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--green2); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; text-align: center; border: none; }

.map-placeholder {
  margin-top: 60px; height: 320px; border-radius: 16px;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .9rem; text-align: center; border: 2px dashed #d1d5db;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  padding: 60px 5% 28px;
  color: #a0c8b0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-brand { }
.footer-logo {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); color: var(--dark);
  font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.footer-brand p { font-size: .87rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  color: #fff; font-size: .9rem; font-weight: 700;
  margin-bottom: 16px; letter-spacing: .5px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #a0c8b0; text-decoration: none; font-size: .87rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .82rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; width: 100%;
    background: var(--dark); padding: 20px 5%;
    gap: 18px;
  }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
