@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --black: #0a0a0a;
  --off-black: #1a1a1a;
  --dark-grey: #2c2c2c;
  --mid-grey: #555;
  --light-grey: #999;
  --pale-grey: #e8e8e8;
  --off-white: #f5f5f3;
  --white: #ffffff;
  --gold: #c9a84c;
  --radius: 6px;
  --radius-lg: 12px;
}

/* PAGE TRANSITIONS */
@keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutLeft  { to { opacity: 0; transform: translateX(-50px); } }
@keyframes slideOutRight { to { opacity: 0; transform: translateX(50px); } }
@keyframes slideInDown  { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInUp    { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideOutUp   { to { opacity: 0; transform: translateY(-40px); } }
@keyframes slideOutDown { to { opacity: 0; transform: translateY(40px); } }
body { font-family: 'Inter', sans-serif; color: var(--off-black); background: var(--white); min-height: 100vh; }
body.slide-from-right { animation: slideInRight 0.35s ease; }
body.slide-from-left  { animation: slideInLeft  0.35s ease; }
body.slide-from-down  { animation: slideInDown  0.35s ease; }
body.slide-from-up    { animation: slideInUp    0.35s ease; }
.page-out-left  { animation: slideOutLeft  0.28s ease forwards; }
.page-out-right { animation: slideOutRight 0.28s ease forwards; }
.page-out-up    { animation: slideOutUp    0.28s ease forwards; }
.page-out-down  { animation: slideOutDown  0.28s ease forwards; }

/* NAV */
nav {
  display: flex; align-items: center;
  padding: 0 48px; background: var(--white);
  border-bottom: 1px solid var(--pale-grey);
  position: sticky; top: 0; z-index: 100;
  gap: 0; overflow: hidden;
}

.nav-links { display: none; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; order: 1; }
.logo img { height: 128px; width: auto; display: block; }

/* DESKTOP NAV TRIGGER */
.nav-trigger { display: flex; align-items: center; gap: 10px; order: 3; flex-shrink: 0; cursor: pointer; background: none; border: 1.5px solid var(--pale-grey); border-radius: var(--radius); padding: 10px 16px; transition: border-color 0.2s, background 0.2s; }
.nav-trigger:hover { border-color: var(--black); background: var(--off-white); }
.nav-trigger-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black); }
.nav-trigger .hamburger-icon { display: flex; flex-direction: column; gap: 5px; }
.nav-trigger .hamburger-icon span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s ease; }
.nav-trigger.open .hamburger-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-trigger.open .hamburger-icon span:nth-child(2) { opacity: 0; }
.nav-trigger.open .hamburger-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* DESKTOP DROPDOWN */
.desktop-nav {
  display: none; position: fixed; top: 148px; right: 48px;
  background: var(--white); border: 1px solid var(--pale-grey);
  border-radius: var(--radius-lg); z-index: 99; min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  flex-direction: column; padding: 8px 0;
  animation: dropDown 0.2s ease;
}
.desktop-nav.open { display: flex; }
.desktop-nav a {
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mid-grey); text-decoration: none; padding: 14px 24px;
  border-bottom: 1px solid var(--pale-grey); transition: color 0.2s, background 0.2s;
}
.desktop-nav a:last-child { border-bottom: none; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--black); background: var(--off-white); }
.desktop-nav a.nav-cta { background: var(--black); color: var(--white); margin: 10px 16px 4px; border-radius: var(--radius); text-align: center; border-bottom: none; }
.desktop-nav a.nav-cta:hover { background: var(--dark-grey); }

.nav-cta { background: var(--black) !important; color: var(--white) !important; padding: 10px 22px; border-radius: var(--radius); }
.nav-cta:hover { background: var(--dark-grey) !important; }

/* HERO */
.hero {
  background: var(--black); color: var(--white);
  padding: 100px 48px 80px; position: relative; overflow: hidden;
}
.hero-fullpage { min-height: calc(100vh - 148px); display: flex; flex-direction: column; justify-content: center; }
.hero::before {
  content: 'ਪੰਜਾਬੀ';
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-family: 'Playfair Display', serif; font-size: 200px; font-weight: 900;
  color: rgba(255,255,255,0.035); line-height: 1; pointer-events: none; white-space: nowrap;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
}
.hero-tag::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: 76px; font-weight: 900;
  line-height: 1.05; margin-bottom: 24px; max-width: 760px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.65);
  max-width: 520px; line-height: 1.85; margin-bottom: 40px;
}
.hero-meta {
  display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 52px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.meta-item { display: flex; flex-direction: column; gap: 5px; }
.meta-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.meta-value { font-size: 16px; color: rgba(255,255,255,0.85); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius); border: none; cursor: pointer;
  text-decoration: none; transition: all 0.2s;
}
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--off-white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { border-color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--dark-grey); }
.btn-outline-black { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline-black:hover { background: var(--black); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { opacity: 0.9; }

/* STATS BAR */
.stats-bar {
  background: var(--off-white); padding: 40px 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--pale-grey);
}
.stat-item { padding: 0 32px; border-right: 1px solid var(--pale-grey); text-align: center; }
.stat-item:first-child { padding-left: 0; text-align: left; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: var(--black); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--mid-grey); }

/* SECTIONS */
.section { padding: 80px 48px; }
.section-white { background: var(--white); }
.section-off { background: var(--off-white); }
.section-black { background: var(--black); color: var(--white); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--light-grey); margin-bottom: 16px;
}
.section-label::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; }
.section-label-gold { color: var(--gold); }
.section-label-gold::before { background: var(--gold); }

.section-title {
  font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900;
  line-height: 1.08; margin-bottom: 16px;
}
.section-title-white { color: var(--white); }
.section-sub { font-size: 17px; color: var(--mid-grey); line-height: 1.85; max-width: 560px; margin-bottom: 56px; font-weight: 300; }
.section-sub-white { color: rgba(255,255,255,0.55); }

/* OFFER GRID */
.offer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--pale-grey); border-radius: var(--radius-lg); overflow: hidden;
}
.offer-card {
  padding: 40px 30px; border-right: 1px solid var(--pale-grey);
  background: var(--white); transition: background 0.3s;
}
.offer-card:last-child { border-right: none; }
.offer-card:hover { background: var(--black); }
.offer-card:hover .offer-icon { background: rgba(255,255,255,0.08); }
.offer-card:hover .offer-icon svg { stroke: var(--white); }
.offer-card:hover h3, .offer-card:hover p { color: rgba(255,255,255,0.85); }
.offer-card:hover p { color: rgba(255,255,255,0.5); }
.offer-icon {
  width: 50px; height: 50px; border-radius: 10px; background: var(--off-white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background 0.3s;
}
.offer-icon svg { width: 22px; height: 22px; stroke: var(--black); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.offer-card h3 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; margin-bottom: 10px; color: var(--black); transition: color 0.3s; }
.offer-card p { font-size: 14px; color: var(--mid-grey); line-height: 1.75; transition: color 0.3s; }

/* LEVELS */
.levels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 0; }
.level-card {
  border: 1px solid var(--pale-grey); border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.level-card:hover { border-color: var(--black); }
.level-num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 900; color: var(--pale-grey); line-height: 1; margin-bottom: 14px; }
.level-name { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.level-desc { font-size: 13px; color: var(--mid-grey); line-height: 1.65; }

/* WHY SECTION */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-list { list-style: none; margin-top: 40px; }
.why-list li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.07); align-items: flex-start; }
.why-list li:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.why-num { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: var(--gold); min-width: 32px; line-height: 1; margin-top: 2px; }
.why-text h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.why-text p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; }
.why-panel { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 48px 40px; }
.why-panel-quote { font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; color: var(--white); line-height: 1.65; margin-bottom: 16px; }
.why-panel-attr { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 32px; }
.why-panel-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.1); margin: 28px 0; }
.why-panel-fact { display: flex; flex-direction: column; gap: 4px; }
.why-panel-fact-num { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 900; color: var(--white); line-height: 1; }
.why-panel-fact-label { font-size: 13px; color: rgba(255,255,255,0.4); }

/* LOCATION */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.location-detail { display: flex; flex-direction: column; gap: 28px; }
.location-block-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light-grey); margin-bottom: 6px; }
.location-block-value { font-size: 16px; color: var(--off-black); line-height: 1.8; }
.map-box {
  background: var(--off-white); border-radius: var(--radius-lg); border: 1px solid var(--pale-grey);
  height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--light-grey); font-size: 14px;
}
.map-box svg { width: 36px; height: 36px; stroke: var(--pale-grey); fill: none; stroke-width: 1.5; stroke-linecap: round; }

/* CTA BANNER */
.cta-banner {
  background: var(--gold); padding: 64px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; color: var(--black); line-height: 1.15; }
.cta-banner p { font-size: 16px; color: rgba(0,0,0,0.55); margin-top: 8px; font-weight: 300; }

/* FOOTER */
footer { background: var(--off-black); color: rgba(255,255,255,0.45); padding: 60px 48px 32px; font-size: 14px; line-height: 1.9; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.6; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.85; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,0.4); text-decoration: none; font-size: 14px; transition: color 0.2s; margin-bottom: 4px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.2); }

/* FORM PAGES */
.page-header { background: var(--black); color: var(--white); padding: 72px 48px 60px; }
.page-header .section-title { color: var(--white); margin-bottom: 12px; }
.page-header .section-sub { color: rgba(255,255,255,0.5); margin-bottom: 0; }
.form-section { padding: 64px 48px; background: var(--off-white); min-height: 60vh; display: flex; justify-content: center; }
.form-wrap { max-width: 860px; width: 100%; }
.form-card { background: var(--white); border: 1px solid var(--pale-grey); border-radius: var(--radius-lg); padding: 52px 56px; }
.form-section-label { font-size: 11px; font-weight: 700; color: var(--light-grey); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 22px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 22px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--off-black); margin-bottom: 8px; letter-spacing: 0.01em; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font-family: 'Inter', sans-serif; font-size: 15px; padding: 12px 14px;
  border: 1.5px solid var(--pale-grey); border-radius: var(--radius);
  background: var(--white); color: var(--off-black); transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); }
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-divider { border: none; border-top: 1px solid var(--pale-grey); margin: 28px 0; }
.form-note { font-size: 13px; color: var(--light-grey); margin-top: 18px; line-height: 1.7; }
.success-box { display: none; background: var(--off-white); border: 2px solid var(--black); border-radius: var(--radius); padding: 22px 26px; margin-top: 22px; }
.success-box p { font-size: 15px; color: var(--off-black); font-weight: 600; }

/* NEWS TICKER */
.news-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 40px;
  position: relative;
  order: 2;
}

.news-ticker::before,
.news-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.news-ticker::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.news-ticker::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }

.news-track {
  display: inline-flex;
  animation: ticker 40s linear infinite;
  will-change: transform;
}

.news-track:hover { animation-play-state: paused; }

.news-item {
  font-size: 20px;
  font-weight: 500;
  color: var(--mid-grey);
  letter-spacing: 0.02em;
  padding: 0 32px;
  flex-shrink: 0;
}

.news-item::after {
  content: '◆';
  margin-left: 32px;
  opacity: 0.3;
  font-size: 7px;
  vertical-align: middle;
  color: var(--black);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@media (max-width: 600px) {
  .news-ticker { display: flex; margin: 0 12px; }
  .news-item { font-size: 11px; padding: 0 20px; }
  .news-item::after { margin-left: 20px; }
  .news-track { animation-duration: 30s; }
}
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 200; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--pale-grey);
  z-index: 99; flex-direction: column; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  animation: dropDown 0.25s ease;
}
@keyframes dropDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mid-grey); text-decoration: none; padding: 15px 24px;
  border-bottom: 1px solid var(--pale-grey); transition: color 0.2s, background 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--black); background: var(--off-white); }
.mobile-nav a.nav-cta { background: var(--black); color: var(--white); margin: 10px 16px 4px; border-radius: var(--radius); border: none; text-align: center; }
.mobile-nav a.nav-cta:hover { background: var(--dark-grey); }

/* RESPONSIVE — TABLET */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .hero { padding: 64px 24px 56px; }
  .hero h1 { font-size: 52px; }
  .hero-meta { gap: 28px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; gap: 24px; }
  .stat-item { border-right: none; text-align: left; padding: 0; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card:nth-child(2) { border-right: none; }
  .offer-card:nth-child(3), .offer-card:nth-child(4) { border-top: 1px solid var(--pale-grey); }
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .location-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 24px; }
  .section-title { font-size: 36px; }
  .section-sub { font-size: 15px; }
  .cta-banner { padding: 48px 24px; flex-direction: column; gap: 24px; }
  .cta-banner h2 { font-size: 34px; }
  .page-header { padding: 56px 24px 48px; }
  .form-section { padding: 48px 24px; display: flex; justify-content: center; }
  .form-card { padding: 28px 24px; }
  .why-panel { margin-top: 32px; }
}

/* RESPONSIVE — MOBILE */
@media (max-width: 600px) {
  /* NAV */
  nav { padding: 0 16px; overflow: hidden; }
  .logo img { height: 64px; }
  .logo { order: 1; }
  .news-ticker { order: 2; margin: 0 12px; }
  .nav-links { display: none; }
  .nav-trigger { order: 3; flex-shrink: 0; padding: 8px; border: none; background: none; }
  .nav-trigger-label { display: none; }
  .desktop-nav { display: none !important; }

  /* HERO — centred on mobile */
  .hero { padding: 48px 20px 44px; text-align: center; }
  .hero-fullpage { min-height: calc(100vh - 80px); }
  .hero-tag { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-meta { justify-content: center; }
  .hero-actions { align-items: center; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-meta { gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
  .meta-label { font-size: 10px; }
  .meta-value { font-size: 14px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { text-align: center; width: 100%; max-width: 280px; }

  /* STATS */
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; gap: 20px; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 12px; }

  /* SECTIONS */
  .section { padding: 40px 20px; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }

  /* OFFER CARDS */
  .offer-grid { grid-template-columns: 1fr; border: none; gap: 12px; }
  .offer-card { border: 1px solid var(--pale-grey); border-radius: var(--radius-lg); }
  .offer-card:nth-child(3), .offer-card:nth-child(4) { border-top: 1px solid var(--pale-grey); }

  /* LEVELS */
  .levels-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .level-num { font-size: 40px; }
  .level-name { font-size: 13px; }
  .level-desc { font-size: 12px; }

  /* WHY SECTION */
  .why-grid { gap: 32px; }
  .why-list li { gap: 14px; padding: 18px 0; }
  .why-num { font-size: 18px; }
  .why-text h4 { font-size: 14px; }
  .why-text p { font-size: 13px; }
  .why-panel { padding: 28px 24px; }
  .why-panel-quote { font-size: 17px; }
  .why-panel-fact-num { font-size: 36px; }

  /* LOCATION */
  .location-grid { gap: 28px; }
  .location-block-value { font-size: 15px; }

  /* CTA BANNER */
  .cta-banner { padding: 40px 20px; flex-direction: column; gap: 20px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner p { font-size: 14px; }
  .cta-banner .btn { width: 100%; text-align: center; }

  /* PAGE HEADER */
  .page-header { padding: 44px 20px 36px; }
  .page-header .section-title { font-size: 30px; }
  .page-header .section-sub { font-size: 14px; }

  /* FORMS */
  .form-section { padding: 28px 16px; }
  .form-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { width: 100%; }

  /* INFO CARDS at bottom */
  div[style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* MAP */
  div[style*="height:420px"] { height: 260px !important; }
  div[style*="height:340px"] { height: 240px !important; }
}

/* TERM DATES TABLE */
.termdates-wrap { max-width: 760px; margin: 0 auto; }
.term-heading { font-family:'Playfair Display',serif; font-size:28px; font-weight:900; margin-bottom:24px; }
.term-table { border: 1px solid var(--pale-grey); border-radius: var(--radius-lg); overflow: hidden; }
.term-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--pale-grey); align-items: center; font-size: 14px; }
.term-row:last-child { border-bottom: none; }
.term-row-header { background: var(--black); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 20px; }
.term-row-closed { background: var(--off-white); }
.status-open { color: #1a7a4a; font-weight: 600; font-size: 13px; white-space: nowrap; }
.status-closed { color: #888; font-weight: 500; font-size: 13px; white-space: nowrap; }

@media (max-width: 600px) {
  .term-row { grid-template-columns: 1fr; gap: 4px; }
  .term-row-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
}

/* YEAR TABS */
.year-tabs { display: flex; gap: 8px; margin-bottom: 36px; }
.year-tab { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 12px 28px; border-radius: var(--radius); border: 1.5px solid var(--pale-grey); background: var(--white); color: var(--mid-grey); cursor: pointer; transition: all 0.2s; }
.year-tab:hover { border-color: var(--black); color: var(--black); }
.year-tab.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* SHRINKING NAV ON SCROLL — controlled by JS based on scroll position */
nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

/* DESKTOP DROPDOWN — position set dynamically by JS */

/* ALERT POPUP */
.alert-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.alert-overlay.hiding { animation: fadeOut 0.3s ease forwards; }
@keyframes fadeOut { to { opacity: 0; } }

.alert-box {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 480px; width: 100%; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.alert-header {
  background: var(--black); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.alert-header-left { display: flex; align-items: center; gap: 12px; }
.alert-badge {
  background: var(--gold); color: var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.alert-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--white); font-weight: 700; }
.alert-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); font-size: 22px; line-height: 1;
  padding: 0; transition: color 0.2s;
}
.alert-close:hover { color: var(--white); }

.alert-body { padding: 24px; }
.alert-message {
  font-size: 15px; color: var(--off-black); line-height: 1.8;
  margin-bottom: 20px;
}
.alert-footer {
  display: flex; align-items: center; justify-content: flex-end;
  padding-top: 16px; border-top: 1px solid var(--pale-grey);
}
.alert-dismiss { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 10px 24px; background: var(--black); color: var(--white); border: none; border-radius: var(--radius); cursor: pointer; transition: background 0.2s; }
.alert-dismiss:hover { background: var(--dark-grey); }

@media (max-width: 600px) {
  .alert-box { max-width: 100%; }
  .alert-title { font-size: 16px; }
  .alert-message { font-size: 14px; }
}

/* RESOURCE CARDS */
.resource-grid { display: flex; flex-direction: column; gap: 12px; }
.resource-card {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; border: 1px solid var(--pale-grey);
  border-radius: var(--radius-lg); text-decoration: none;
  background: var(--white); transition: border-color 0.2s, background 0.2s;
}
.resource-card:hover { border-color: var(--black); background: var(--off-white); }
.resource-card-icon {
  width: 44px; height: 44px; background: var(--off-white);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; color: var(--black);
}
.resource-card-icon svg { width: 20px; height: 20px; }
.resource-card-body { flex: 1; }
.resource-card-label { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 3px; }
.resource-card-sub { font-size: 13px; color: var(--light-grey); }
.resource-card-arrow { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--light-grey); flex-shrink: 0; }
.resource-card-arrow svg { width: 18px; height: 18px; }
.resource-card:hover .resource-card-arrow { color: var(--black); }
.resource-card:hover .resource-card-icon { background: var(--black); color: var(--white); }

@media (max-width: 600px) {
  .resource-card { padding: 16px; gap: 14px; }
  .resource-card-label { font-size: 16px; }
}

/* NAV DROPDOWN HEADING */
.nav-heading {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--light-grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px 8px;
  border-bottom: 1px solid var(--pale-grey);
  margin-bottom: 4px;
}
