/* ============================================================
   Al-Imra International University
   Global Stylesheet  —  Green & White Theme
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --green-900: #0b3d2e;
  --green-800: #0f5132;
  --green-700: #15683f;
  --green-600: #1b8a53;
  --green-500: #22a866;
  --green-400: #43c184;
  --green-300: #7bd8a8;
  --green-100: #d8f3e5;
  --green-50:  #eefaf3;

  --gold: #d4af37;
  --gold-soft: #e7cf85;

  --ink: #12211b;
  --body: #33473f;
  --muted: #6b7d74;
  --line: #e2ebe6;

  --white: #ffffff;
  --off: #f6faf8;

  --shadow-sm: 0 2px 8px rgba(11, 61, 46, .06);
  --shadow-md: 0 10px 30px rgba(11, 61, 46, .10);
  --shadow-lg: 0 24px 60px rgba(11, 61, 46, .16);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  --container: 1200px;
  --header-h: 82px;

  --ff-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.15; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--tight { padding: 70px 0; }
.bg-soft { background: var(--off); }
.bg-mint { background: var(--green-50); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px;
  font-family: var(--ff-head); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 10px 24px rgba(27, 138, 83, .35); }
.btn--primary:hover { background: var(--green-700); box-shadow: 0 16px 30px rgba(27, 138, 83, .45); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-300); }
.btn--ghost:hover { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.btn--light { background: #fff; color: var(--green-700); }
.btn--light:hover { background: var(--green-50); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: #fff; color: var(--green-700); border-color: #fff; }

/* ---------- Section Heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 18px; }
.section-lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__crest {
  width: 48px; height: 48px; border-radius: 12px; flex: 0 0 48px;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.brand__crest svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.12rem; color: var(--green-800); }
.brand__tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: var(--body); transition: color .25s, background .25s;
}
.nav a:hover, .nav a.active { color: var(--green-700); background: var(--green-50); }
.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: none; background: var(--green-50);
  border-radius: 12px; cursor: pointer; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--green-800); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding-top: calc(var(--header-h) + 70px); padding-bottom: 110px;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(34,168,102,.14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(15,81,50,.10), transparent 55%),
    var(--off);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 50px;
  font-size: .82rem; font-weight: 600; color: var(--green-700); box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(34,168,102,.2); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green-600), var(--green-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: var(--body); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 42px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--ff-head); font-weight: 700; font-size: 1.9rem; color: var(--green-700); }
.hero__stat .lbl { font-size: .85rem; color: var(--muted); }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; position: relative;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
}
.hero__card-main img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero__badge {
  position: absolute; background: #fff; border-radius: 18px; padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.hero__badge .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700);
}
.hero__badge .ic svg { width: 22px; height: 22px; }
.hero__badge strong { display: block; font-family: var(--ff-head); color: var(--ink); font-size: 1.05rem; }
.hero__badge span { font-size: .78rem; color: var(--muted); }
.hero__badge--tl { top: 26px; left: -34px; }
.hero__badge--br { bottom: 30px; right: -30px; }
.hero__blob {
  position: absolute; width: 340px; height: 340px; z-index: -1;
  background: radial-gradient(circle, rgba(67,193,132,.28), transparent 70%);
  filter: blur(10px); top: -40px; right: -40px;
}
.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Trust bar */
.trustbar { border-top: 1px solid var(--line); background: #fff; }
.trustbar .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; padding: 26px 24px; }
.trustbar span.label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trustbar .logos { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.trustbar .logos b { font-family: var(--ff-head); color: var(--green-800); opacity: .55; font-size: 1rem; letter-spacing: .04em; }

/* ============================================================
   FEATURE / CARDS
   ============================================================ */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card__ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-700); margin-bottom: 22px;
}
.card__ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .97rem; }
.card__link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 600; font-size: .92rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .3s; }
.card:hover .card__link svg { transform: translateX(5px); }

/* ============================================================
   PROGRAMS
   ============================================================ */
.program {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
  display: flex; flex-direction: column;
}
.program:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.program__media { height: 190px; position: relative; overflow: hidden; }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.program:hover .program__media img { transform: scale(1.08); }
.program__badge {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94);
  color: var(--green-800); font-weight: 600; font-size: .74rem; padding: 6px 12px; border-radius: 50px;
}
.program__body { padding: 26px 24px; flex: 1; display: flex; flex-direction: column; }
.program__body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.program__body p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; flex: 1; }
.program__meta { display: flex; gap: 18px; font-size: .82rem; color: var(--green-700); font-weight: 600; border-top: 1px solid var(--line); padding-top: 16px; }
.program__meta span { display: inline-flex; align-items: center; gap: 6px; }
.program__meta svg { width: 15px; height: 15px; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  color: #fff; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 10% 0%, rgba(67,193,132,.25), transparent 60%),
              radial-gradient(600px 300px at 90% 100%, rgba(212,175,55,.12), transparent 60%);
}
.stats-band .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fff; }
.stat-item .num span { color: var(--gold-soft); }
.stat-item .lbl { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: 6px; }

/* ============================================================
   ABOUT / SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split__media .accent-box {
  position: absolute; bottom: -24px; right: -24px; background: var(--green-600); color: #fff;
  border-radius: 20px; padding: 24px 28px; box-shadow: var(--shadow-md); text-align: center;
}
.split__media .accent-box .n { font-family: var(--ff-head); font-weight: 700; font-size: 2rem; }
.split__media .accent-box .t { font-size: .82rem; opacity: .9; }
.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--green-50);
  color: var(--green-600); display: grid; place-items: center; margin-top: 3px;
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { color: var(--ink); font-family: var(--ff-head); }

/* ============================================================
   NEWS
   ============================================================ */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card__media { height: 200px; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__body { padding: 24px; }
.news-card__date { font-size: .8rem; color: var(--green-600); font-weight: 600; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.news-card__body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card__body p { color: var(--muted); font-size: .92rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; position: relative; }
.quote-card .mark { font-family: var(--ff-head); font-size: 4rem; line-height: .6; color: var(--green-100); position: absolute; top: 24px; right: 28px; }
.quote-card p { color: var(--body); font-size: 1.02rem; margin-bottom: 22px; }
.quote-card .who { display: flex; align-items: center; gap: 14px; }
.quote-card .who .av { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(145deg,var(--green-500),var(--green-800)); color:#fff; display:grid; place-items:center; font-family: var(--ff-head); font-weight: 700; }
.quote-card .who b { display: block; color: var(--ink); font-family: var(--ff-head); }
.quote-card .who span { font-size: .84rem; color: var(--muted); }

/* ============================================================
   CTA
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: linear-gradient(140deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-lg); padding: 66px 60px; color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 10%, rgba(212,175,55,.18), transparent 60%); }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-900); color: rgba(255,255,255,.72); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.5); }
.footer p.about { margin: 20px 0; font-size: .94rem; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: .94rem; transition: color .25s, padding .25s; }
.footer ul a:hover { color: var(--green-300); padding-left: 5px; }
.footer .social { display: flex; gap: 12px; margin-top: 4px; }
.footer .social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .3s; }
.footer .social a:hover { background: var(--green-600); transform: translateY(-3px); }
.footer .social svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; background: rgba(255,255,255,.08); padding: 6px; border-radius: 50px; }
.newsletter input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 0 16px; font-family: var(--ff-body); }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { border: none; background: var(--green-500); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: .3s; }
.newsletter button:hover { background: var(--green-400); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .94rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--green-400); flex: 0 0 18px; margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer__bottom a:hover { color: var(--green-300); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--header-h) + 80px); padding-bottom: 80px;
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(34,168,102,.16), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  color: #fff; position: relative; overflow: hidden; text-align: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .6;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; font-size: .88rem; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ============================================================
   VALUES / ICON LIST
   ============================================================ */
.value { display: flex; gap: 18px; }
.value__ic { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.value__ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2px; background: var(--green-100); }
.tl-item { position: relative; padding-left: 64px; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 10px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--green-500); z-index: 1; }
.tl-item .yr { font-family: var(--ff-head); font-weight: 700; color: var(--green-600); font-size: 1.1rem; }
.tl-item h3 { font-size: 1.15rem; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   FACULTY
   ============================================================ */
.faculty-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.faculty-card__media { height: 260px; background: var(--green-50); overflow: hidden; }
.faculty-card__media img { width: 100%; height: 100%; object-fit: cover; }
.faculty-card__body { padding: 22px; }
.faculty-card__body h3 { font-size: 1.12rem; }
.faculty-card__body .role { color: var(--green-600); font-weight: 600; font-size: .88rem; margin-top: 4px; }
.faculty-card__body .dept { color: var(--muted); font-size: .85rem; margin-top: 8px; }

/* ============================================================
   ADMISSIONS / STEPS
   ============================================================ */
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__n { font-family: var(--ff-head); font-weight: 700; font-size: 3rem; color: var(--green-100); line-height: 1; margin-bottom: 6px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Pricing / tuition */
.tuition-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.tuition-card.featured { border-color: var(--green-500); box-shadow: var(--shadow-md); position: relative; }
.tuition-card.featured::before { content: "Most Popular"; position: absolute; top: 20px; right: -34px; transform: rotate(45deg); background: var(--green-600); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 40px; }
.tuition-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tuition-card .plan { font-family: var(--ff-head); font-weight: 600; color: var(--green-700); }
.tuition-card .price { font-family: var(--ff-head); font-weight: 700; font-size: 2.6rem; color: var(--ink); margin: 10px 0; }
.tuition-card .price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.tuition-card ul { margin: 22px 0; display: grid; gap: 12px; }
.tuition-card ul li { display: flex; gap: 12px; font-size: .95rem; }
.tuition-card ul svg { width: 18px; height: 18px; color: var(--green-500); flex: 0 0 18px; margin-top: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 26px; font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { flex: 0 0 24px; transition: transform .3s; color: var(--green-600); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 26px 22px; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-info .item { display: flex; gap: 16px; }
.contact-info .item .ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.contact-info .item .ic svg { width: 24px; height: 24px; }
.contact-info .item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-info .item p { color: var(--muted); font-size: .95rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 8px; font-family: var(--ff-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size: .95rem; color: var(--ink); background: var(--off);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-400); box-shadow: 0 0 0 4px rgba(34,168,102,.12); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.form-success { display: none; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); padding: 16px; border-radius: var(--radius-sm); margin-top: 16px; font-weight: 500; }
.form-success.show { display: block; }

/* Map placeholder */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner p { margin: 0 auto; }
  .cta-actions { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 18px; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .4s var(--ease); z-index: 999;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { transform: translateY(0); display: flex; }
  .nav a { padding: 14px 16px; }
  .section { padding: 70px 0; }
  .hero__badge--tl { left: 10px; }
  .hero__badge--br { right: 10px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 44px 28px; }
  .hero__stats { gap: 26px; }
  .split__media .accent-box { right: 10px; bottom: -16px; padding: 18px 20px; }
}

/* ============================================================
   ADMIN PORTAL
   ============================================================ */
.admin-body { background: var(--off); min-height: 100vh; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px;
  background: radial-gradient(900px 500px at 80% -10%, rgba(34,168,102,.16), transparent 60%), var(--off); }
.login-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; width: 100%; max-width: 420px; box-shadow: var(--shadow-md); }
.login-card .brand { justify-content:center; margin-bottom: 24px; }
.login-card h1 { text-align:center; font-size: 1.5rem; margin-bottom: 6px; }
.login-card .sub { text-align:center; color: var(--muted); font-size:.92rem; margin-bottom: 26px; }
.login-card .field { margin-bottom: 16px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size:.9rem; margin-bottom: 18px; font-weight:500; }
.alert-error { background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; }
.alert-success { background: var(--green-50); border:1px solid var(--green-100); color: var(--green-800); }
.login-hint { text-align:center; font-size:.82rem; color: var(--muted); margin-top: 18px; }

.admin-shell { display:grid; grid-template-columns: 260px 1fr; min-height:100vh; }
.admin-side { background: var(--green-900); color:#fff; padding: 28px 22px; }
.admin-side .brand__name { color:#fff; }
.admin-side .brand__tag { color: rgba(255,255,255,.5); }
.admin-nav { margin-top: 34px; display:grid; gap:6px; }
.admin-nav a { display:flex; align-items:center; gap:12px; padding: 12px 16px; border-radius: 10px; color: rgba(255,255,255,.75); font-weight:500; transition:.25s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color:#fff; }
.admin-nav svg { width:18px; height:18px; }
.admin-main { padding: 34px 40px; }
.admin-topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom: 30px; flex-wrap:wrap; gap:14px; }
.admin-topbar h1 { font-size: 1.6rem; }
.admin-user { display:flex; align-items:center; gap:14px; font-size:.9rem; color: var(--muted); }
.stat-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-bottom: 32px; }
.stat-box { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat-box .n { font-family: var(--ff-head); font-weight:700; font-size:2.2rem; color: var(--green-700); }
.stat-box .l { color: var(--muted); font-size:.9rem; }
.table-wrap { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table { width:100%; border-collapse: collapse; font-size:.9rem; }
.data-table th { background: var(--green-50); text-align:left; padding: 14px 18px; font-family: var(--ff-head); color: var(--green-800); font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; }
.data-table td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--body); vertical-align: top; }
.data-table tr:hover td { background: var(--green-50); }
.badge-new { background: var(--green-100); color: var(--green-800); font-size:.72rem; font-weight:600; padding: 3px 10px; border-radius: 50px; }
.empty-state { padding: 60px; text-align:center; color: var(--muted); }
@media (max-width: 820px) { .admin-shell { grid-template-columns: 1fr; } .admin-side { display:none; } .stat-cards { grid-template-columns:1fr; } .admin-main { padding: 24px 18px; } .data-table { font-size:.82rem; } }

/* ---- Brand logo image ---- */
.brand__logo { border-radius: 50%; object-fit: contain; flex: 0 0 auto; display: block; background: transparent; }
.header .brand__logo { box-shadow: var(--shadow-sm); }
.footer .brand__logo { background: #fff; padding: 2px; }
.admin-side .brand__logo { background: #fff; padding: 2px; }
.stat-box { text-decoration: none; display: block; transition: transform .25s var(--ease), box-shadow .25s; }
a.stat-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---- Application status select ---- */
.status-select { border:1px solid var(--line); border-radius:50px; padding:6px 12px; font-family:var(--ff-head); font-weight:600; font-size:.78rem; cursor:pointer; background:#fff; color:var(--ink); appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7d74' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:28px; }
.status-select:focus { outline:none; border-color:var(--green-400); box-shadow:0 0 0 3px rgba(34,168,102,.15); }
.status-new       { background-color:var(--green-50);  color:var(--green-800); border-color:var(--green-100); }
.status-reviewing { background-color:#fff7e6; color:#a15c00; border-color:#ffe2a8; }
.status-accepted  { background-color:#e6f7ec; color:#0f7a37; border-color:#b6e6c6; }
.status-rejected  { background-color:#fdecec; color:#b91c1c; border-color:#f7c4c4; }

/* ============================================================
   RICH-TEXT EDITOR (admin)
   ============================================================ */
.rte { border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; background:#fff; }
.rte-toolbar { display:flex; flex-wrap:wrap; gap:4px; align-items:center; padding:8px; background:var(--green-50); border-bottom:1px solid var(--line); }
.rte-toolbar button { border:1px solid transparent; background:#fff; border-radius:8px; padding:6px 11px; font-family:var(--ff-head); font-size:.82rem; font-weight:600; color:var(--ink); cursor:pointer; transition:.2s; min-width:34px; }
.rte-toolbar button:hover { background:var(--green-600); color:#fff; }
.rte-sep { width:1px; height:20px; background:var(--line); margin:0 4px; }
.rte-area { min-height:200px; max-height:420px; overflow-y:auto; padding:16px 18px; font-family:var(--ff-body); font-size:.96rem; line-height:1.7; color:var(--body); outline:none; }
.rte-area:empty:before { content:attr(data-placeholder); color:var(--muted); }
.rte-area:focus { box-shadow:inset 0 0 0 2px rgba(34,168,102,.18); }
.rte-area h3 { font-size:1.2rem; margin:14px 0 8px; }
.rte-area ul, .rte-area ol { padding-left:22px; margin:10px 0; }
.rte-area blockquote { border-left:3px solid var(--green-400); margin:12px 0; padding:4px 16px; color:var(--muted); }
.rte-area a { color:var(--green-700); text-decoration:underline; }

/* ============================================================
   ARTICLE PROSE (public news detail)
   ============================================================ */
.prose { font-size:1.06rem; line-height:1.85; color:var(--body); }
.prose p { margin-bottom:20px; }
.prose h2, .prose h3, .prose h4 { color:var(--ink); margin:32px 0 14px; }
.prose h3 { font-size:1.5rem; }
.prose h4 { font-size:1.2rem; }
.prose ul, .prose ol { margin:0 0 20px; padding-left:26px; }
.prose li { margin-bottom:8px; }
.prose a { color:var(--green-700); text-decoration:underline; font-weight:500; }
.prose blockquote { border-left:4px solid var(--green-400); background:var(--green-50); margin:24px 0; padding:16px 24px; border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-style:italic; color:var(--green-900); }
.prose strong, .prose b { color:var(--ink); }

/* ============================================================
   Navy & Gold re-brand override (matches the new public site)
   ============================================================ */
:root {
  --green-900: #0B192C;
  --green-800: #102A43;
  --green-700: #16324F;
  --green-600: #1B3A5C;
  --green-500: #24476E;
  --green-400: #D4AF37;
  --green-300: #E0C25E;
  --green-100: #E9EEF5;
  --green-50:  #F4F7FB;
  --gold: #D4AF37;
  --gold-soft: #E7CF85;
  --ink: #0B192C;
  --body: #33415E;
  --muted: #6B7A94;
  --line: #E2E7EF;
  --off: #F6F8FB;
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, .06);
  --shadow-md: 0 10px 30px rgba(11, 25, 44, .10);
  --shadow-lg: 0 24px 60px rgba(11, 25, 44, .16);
}
