/* ============================================================
   IIAS — Imperial Institute of Applied Studies
   Shared stylesheet (all pages)
   Brand: deep teal-green + emerald, gold accent
   Ref: N360-IIAS-2026-001
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --green-primary: #0F5E5C;   /* deep teal-green (matches logo "II") */
  --green-deep:    #0A4544;   /* darkest — footer / overlays */
  --green-light:   #1FA06A;   /* emerald (matches logo "AS") */
  --green-pale:    #EAF4F0;   /* alternating section bg */
  --gold-accent:   #F4A822;   /* CTAs, highlights */
  --gold-hover:    #D4911A;   /* button hover */
  --white:         #FFFFFF;
  --off-white:     #F8FAF9;   /* page bg */
  --text-dark:     #1C2B26;   /* body copy */
  --text-muted:    #5A7268;   /* secondary text */
  --border:        #D4E6DD;

  --shadow-card:   0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover:  0 6px 28px rgba(15,94,92,0.16);

  --radius-card:   12px;
  --radius-btn:    6px;
  --radius-pill:   999px;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--green-primary); line-height: 1.25; }
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--text-dark); }

p { color: var(--text-muted); }

.label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-light);
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--pale { background: var(--green-pale); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { margin: 8px 0 12px; }
.section-head p { font-size: 1.05rem; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.975rem; padding: 13px 30px; border-radius: var(--radius-btn);
  cursor: pointer; border: 2px solid transparent; transition: all 0.22s ease;
  text-align: center;
}
.btn--primary { background: var(--gold-accent); color: #3a2c05; }
.btn--primary:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,145,26,0.32); }
.btn--secondary { border-color: var(--green-primary); color: var(--green-primary); background: transparent; }
.btn--secondary:hover { background: var(--green-pale); }
.btn--ghost-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); }
.btn--sm { padding: 9px 20px; font-size: 0.875rem; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-block; padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.pill--green { background: var(--green-pale); color: var(--green-primary); }
.pill--gold  { background: rgba(244,168,34,0.16); color: #946008; }
.pill--country { background: var(--green-primary); color: #fff; }

/* ============================================================
   TOP TICKER BAR
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 38px; z-index: 1100;
  background: var(--green-deep); color: #cfe3db; overflow: hidden;
  display: flex; align-items: center;
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.topbar.topbar--hide { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.topbar__track {
  display: flex; align-items: center; gap: 48px; width: max-content;
  padding-left: 24px; white-space: nowrap; animation: topbarScroll 22s linear infinite;
}
.topbar:hover .topbar__track { animation-play-state: paused; }
@keyframes topbarScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 500; }
.topbar__item i { color: var(--gold-accent); }
.topbar__item a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.topbar__item a:hover { color: var(--gold-accent); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 38px; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, top 0.3s ease;
  padding: 18px 0;
}
.site-header.topbar-hidden { top: 0; }
.site-header.solid {
  background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,0.08); padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 52px; width: auto; transition: height 0.3s ease; }
.site-header.solid .nav__logo img { height: 44px; }

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-weight: 500; font-size: 0.95rem; color: var(--text-dark);
  position: relative; padding: 4px 0; transition: color 0.2s;
}
/* On transparent header over hero, links are white */
.site-header:not(.solid) .nav__link,
.site-header:not(.solid) .nav__logo + * { color: #fff; }
.site-header:not(.solid) .nav__link { color: #f3fbf7; }
.nav__link:hover, .nav__link.active { color: var(--gold-accent); }
.nav__link.active::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: var(--gold-accent);
}

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: 140%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,0.14);
  padding: 10px; min-width: 230px; opacity: 0; visibility: hidden; transition: all 0.22s ease;
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown a {
  display: block; padding: 9px 14px; border-radius: 6px; font-size: 0.9rem;
  color: var(--text-dark); font-weight: 500;
}
.nav__dropdown a:hover { background: var(--green-pale); color: var(--green-primary); }

.nav__cta { white-space: nowrap; }

/* Hamburger */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--green-primary); border-radius: 3px; transition: 0.3s; }
.site-header:not(.solid) .nav__toggle span { background: #fff; }

/* ============================================================
   HERO (home) — split layout: text left, student photo right
   ============================================================ */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--off-white) 100%);
  overflow: hidden; padding-top: 128px; padding-bottom: 40px;
}
.hero__shape {
  position: absolute; top: -10%; right: -8%; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--green-light), var(--green-primary));
  opacity: 0.12; z-index: 0;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
.hero__content { max-width: 560px; }
.hero__content .label { color: var(--green-light); }
.hero h1 { color: var(--green-primary); font-size: 3rem; margin: 14px 0 18px; }
.hero p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media { position: relative; display: flex; justify-content: center; }
.hero__media img {
  max-height: 540px; width: auto; object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(15,94,92,0.18));
}
.hero__media .img-fallback {
  width: 100%; max-width: 440px; aspect-ratio: 4/5; border-radius: var(--radius-card);
  background: linear-gradient(150deg, var(--green-primary), var(--green-light));
  display: flex; align-items: center; justify-content: center; color: #fff;
  text-align: center; padding: 30px; box-shadow: var(--shadow-card);
}
.hero__badge {
  position: absolute; bottom: 50px; left: -16px; background: #fff; border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover); padding: 14px 20px; display: flex; align-items: center; gap: 12px; z-index: 2;
}
.hero__badge i { color: var(--gold-accent); font-size: 1.6rem; }
.hero__badge strong { display: block; color: var(--green-primary); font-size: 1.1rem; }
.hero__badge span { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  position: relative; min-height: 46vh; display: flex; align-items: center;
  color: #fff; text-align: center; overflow: hidden;
}
.page-banner__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../images/inner-banner.jpg') center/cover no-repeat;
}
.page-banner__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(10,69,68,0.93), rgba(15,94,92,0.82) 60%, rgba(31,160,106,0.7));
  mix-blend-mode: multiply;
}
.page-banner::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8,50,48,0.45);
}
.page-banner__content { width: 100%; padding-top: 108px; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #e9f5ef; margin-top: 10px; font-size: 1.1rem; }
.breadcrumb { color: var(--gold-accent); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }

/* ============================================================
   PARTNER LOGO STRIP
   ============================================================ */
.logo-strip { background: #fff; }
.logo-marquee {
  margin-top: 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
}
.logo-track {
  display: flex; align-items: center; gap: 44px; width: max-content;
  animation: logoScroll 32s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.uni-logo {
  display: flex; align-items: center; justify-content: center;
  height: 92px; min-width: 160px; padding: 10px 16px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-card); overflow: hidden;
  opacity: 0.96; transition: all 0.25s ease; cursor: pointer;
}
.uni-logo:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--green-light); }
.uni-logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; border-radius: 6px; pointer-events: none; }
/* Auto-upgrading text fallback (shows until real logo file is added) */
.uni-logo-fallback {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-weight: 700; color: var(--green-primary); line-height: 1.15;
  font-size: 0.95rem; border: 2px dashed var(--border); border-radius: 10px;
  padding: 12px 18px; min-width: 150px; min-height: 70px; background: var(--green-pale);
}

/* ============================================================
   FEATURE CARDS — Why Choose IIAS
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 30px; box-shadow: var(--shadow-card); transition: all 0.25s ease;
  display: flex; gap: 18px; align-items: flex-start;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--green-light); }
.feature-card__icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  color: var(--green-light);
}
.feature-card__icon i { font-size: 1.5rem; }
.feature-card h3 { margin-bottom: 6px; color: var(--green-primary); }
.feature-card p { font-size: 0.95rem; }

/* ============================================================
   PROGRAM CARDS
   ============================================================ */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 24px; box-shadow: var(--shadow-card); transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.program-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.program-card__uni { font-size: 0.8rem; font-weight: 700; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.program-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-primary); margin-bottom: 12px; line-height: 1.35; }
.program-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.program-card__desc { font-size: 0.9rem; margin-bottom: 18px; flex-grow: 1; }
.program-card .btn { margin-top: auto; }

.badge-mode {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px;
  border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 600;
}
.badge-mode--online { background: rgba(31,160,106,0.14); color: var(--green-light); }
.badge-mode--campus { background: rgba(244,168,34,0.16); color: #946008; }
.badge-duration { background: var(--green-pale); color: var(--green-primary); padding: 4px 11px; border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 600; }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-tab {
  padding: 9px 20px; border-radius: var(--radius-pill); border: 2px solid var(--border);
  background: #fff; color: var(--text-muted); font-weight: 600; font-size: 0.875rem;
  cursor: pointer; transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--green-light); color: var(--green-primary); }
.filter-tab.active { background: var(--green-primary); border-color: var(--green-primary); color: #fff; }
.program-card.is-hidden { display: none; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: linear-gradient(120deg, var(--green-deep), var(--green-primary)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold-accent); }
.stat__label { font-size: 0.95rem; color: #d9ece4; margin-top: 4px; letter-spacing: 0.02em; }

/* ============================================================
   FEATURED PROGRAMS strip uses .program-grid
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--green-primary), var(--green-light));
  color: #fff; text-align: center; padding: 70px 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 18px; }
.cta-banner p { color: #e9f5ef; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ============================================================
   WHY CHOOSE — split photo + stacked list (home)
   ============================================================ */
.why-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.why-split__img img {
  border-radius: var(--radius-card); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; aspect-ratio: 4/5;
}
.why-split__img .img-fallback {
  border-radius: var(--radius-card); background: linear-gradient(150deg, var(--green-primary), var(--green-light));
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: #fff;
  text-align: center; padding: 30px; box-shadow: var(--shadow-card);
}
.why-list { display: grid; gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 22px; box-shadow: var(--shadow-card); transition: all 0.25s ease; }
.why-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--green-light); }
.why-item__icon {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green-light);
}
.why-item__icon i { font-size: 1.35rem; }
.why-item h3 { color: var(--green-primary); margin-bottom: 4px; }
.why-item p { font-size: 0.92rem; }

/* ============================================================
   EXPLORE PATHWAYS — tabbed university selector (home)
   ============================================================ */
.pathway-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.pathway-tab {
  padding: 10px 22px; border-radius: var(--radius-pill); border: 2px solid var(--border);
  background: #fff; color: var(--text-muted); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.pathway-tab i { color: var(--green-light); }
.pathway-tab:hover { border-color: var(--green-light); color: var(--green-primary); }
.pathway-tab.active { background: var(--green-primary); border-color: var(--green-primary); color: #fff; }
.pathway-tab.active i { color: var(--gold-accent); }
.pathway-panel { display: none; }
.pathway-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pathway-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 22px; box-shadow: var(--shadow-card); transition: all 0.25s ease;
}
.pathway-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.pathway-card__icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green-pale);
  display: flex; align-items: center; justify-content: center; color: var(--green-light); margin-bottom: 14px;
}
.pathway-card h4 { font-size: 1.02rem; color: var(--green-primary); margin-bottom: 6px; }
.pathway-card p { font-size: 0.88rem; }

/* ============================================================
   PATHWAY TIER CARDS — "Choose Your Pathway" (home)
   ============================================================ */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 36px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  text-align: center; transition: all 0.25s ease;
}
.tier-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.tier-card--featured { background: linear-gradient(150deg, var(--green-primary), var(--green-deep)); color: #fff; border-color: var(--green-primary); transform: scale(1.03); }
.tier-card--featured h3, .tier-card--featured .tier-card__level { color: #fff; }
.tier-card--featured p { color: #d9ece4; }
.tier-card--featured .tier-card__list li { color: #e9f5ef; }
.tier-card--featured .tier-card__list i { color: var(--gold-accent); }
.tier-card__level { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-light); margin-bottom: 8px; }
.tier-card h3 { margin-bottom: 10px; }
.tier-card__list { display: grid; gap: 10px; margin: 18px 0 26px; text-align: left; flex-grow: 1; }
.tier-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.tier-card__list i { color: var(--green-light); margin-top: 3px; }
.tier-card--featured .btn--secondary { border-color: #fff; color: #fff; }
.tier-card--featured .btn--secondary:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   ENQUIRY SPLIT — "Reserve Your Seat" form + photo (home)
   ============================================================ */
.enquiry-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.enquiry-split__media { position: relative; }
.enquiry-split__media img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.enquiry-split__media .img-fallback {
  border-radius: var(--radius-card); background: linear-gradient(150deg, var(--green-primary), var(--green-light));
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: #fff;
  text-align: center; padding: 30px; box-shadow: var(--shadow-card);
}
.enquiry-form .form-grid { margin-bottom: 6px; }

/* ============================================================
   NEWS & EVENTS (home)
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: all 0.25s ease; }
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--green-pale); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media .img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--green-light); background: var(--green-pale); }
.news-card__body { padding: 20px 22px 24px; }
.news-card__date { font-size: 0.78rem; font-weight: 700; color: var(--green-light); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.news-card h3 { font-size: 1.05rem; color: var(--green-primary); margin-bottom: 8px; line-height: 1.35; }
.news-card p { font-size: 0.9rem; margin-bottom: 14px; }
.news-card__link { font-size: 0.85rem; font-weight: 600; color: var(--green-primary); display: inline-flex; align-items: center; gap: 6px; }
.news-card__link i { font-size: 0.75rem; transition: transform 0.2s; }
.news-card__link:hover i { transform: translateX(3px); }

/* ============================================================
   PARTNER UNIVERSITY SECTIONS (partners.html)
   ============================================================ */
.uni-block {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 36px; box-shadow: var(--shadow-card); margin-bottom: 28px;
}
.uni-block:nth-child(even) { grid-template-columns: 1fr 280px; }
.uni-block:nth-child(even) .uni-block__media { order: 2; }
.uni-block__media {
  display: flex; align-items: center; justify-content: center; min-height: 160px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.uni-block__media img { max-height: 120px; max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.uni-block__media .uni-logo-fallback { font-size: 1.15rem; min-height: 100px; min-width: 180px; }
.uni-block h2 { font-size: 1.7rem; margin: 6px 0 10px; }
.uni-block__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.uni-block__programs { margin-top: 14px; font-size: 0.92rem; color: var(--green-primary); font-weight: 600; }
.uni-block__programs i { color: var(--gold-accent); margin-right: 6px; }

/* ============================================================
   ABOUT page
   ============================================================ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-intro__img img { border-radius: var(--radius-card); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; }
.about-intro__img .img-fallback {
  border-radius: var(--radius-card); background: linear-gradient(120deg, var(--green-primary), var(--green-light));
  min-height: 360px; display: flex; align-items: center; justify-content: center; color: #fff;
  text-align: center; padding: 30px; box-shadow: var(--shadow-card);
}
.offer-list { display: grid; gap: 22px; }
.offer-item { display: flex; gap: 18px; align-items: flex-start; }
.offer-item__num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--green-primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem;
}
.offer-item h3 { color: var(--green-primary); margin-bottom: 4px; }
.offer-item p { font-size: 0.95rem; }

/* ============================================================
   ADMISSIONS — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step {
  text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-card); position: relative;
}
.step__num {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--gold-accent); color: #3a2c05; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.step h3 { font-size: 1rem; color: var(--green-primary); }
.step p { font-size: 0.85rem; margin-top: 6px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 36px; box-shadow: var(--shadow-card);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.form-group label .req { color: #c0392b; }
.form-group input, .form-group select, .form-group textarea {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-btn);
  background: var(--off-white); color: var(--text-dark); transition: border 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(31,160,106,0.14); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Contact split */
.contact-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--green-pale);
  display: flex; align-items: center; justify-content: center; color: var(--green-light); font-size: 1.2rem;
}
.contact-info__item h3 { font-size: 1rem; color: var(--green-primary); margin-bottom: 2px; }
.contact-info__item p { font-size: 0.95rem; }
.map-embed { margin-top: 30px; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.map-embed iframe, .map-placeholder { width: 100%; height: 300px; border: 0; }
.map-placeholder {
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  color: var(--green-primary); font-weight: 600; text-align: center; padding: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-deep); color: #cfe3db; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #a9cabe; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: 'Inter', sans-serif; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: #b8d4c9; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--gold-accent); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.2s;
}
.footer-social a:hover { background: var(--gold-accent); color: #3a2c05; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding: 22px 0; text-align: center; font-size: 0.86rem; color: #93b6a9; }
.footer-credit { display: block; margin-top: 6px; font-size: 0.78rem; color: #6f9387; }
.footer-credit a { color: #b8d4c9; font-weight: 600; transition: color 0.2s; }
.footer-credit a:hover { color: var(--gold-accent); }

/* ============================================================
   Scroll-reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img, .hero__media .img-fallback { max-width: 360px; }
  .why-split { grid-template-columns: 1fr; }
  .why-split__img { max-width: 420px; margin: 0 auto; }
  .pathway-panel.active { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .tier-card--featured { transform: none; }
  .enquiry-split { grid-template-columns: 1fr; }
  .enquiry-split__media { max-width: 420px; margin: 0 auto; order: -1; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 56px 0; }

  /* Mobile nav */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 90px 30px 30px; gap: 6px; box-shadow: -8px 0 30px rgba(0,0,0,0.16);
    transition: right 0.32s ease; z-index: 1100;
  }
  .nav__menu.open { right: 0; }
  .nav__menu .nav__link { color: var(--text-dark) !important; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav__dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 14px; min-width: 0; display: none; }
  .nav__item.open .nav__dropdown { display: block; }
  .nav__cta { margin-top: 12px; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1050; opacity: 0; visibility: hidden; transition: 0.3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .features-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .about-intro { grid-template-columns: 1fr; gap: 30px; }
  .uni-block, .uni-block:nth-child(even) { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .uni-block:nth-child(even) .uni-block__media { order: 0; }
  .uni-block__badges { justify-content: center; }
  .logo-track { animation-duration: 22s; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__badge { position: static; margin-top: 16px; }
  .pathway-panel.active { grid-template-columns: 1fr; }
}
