/* =====================================================
   LIFT RICHMOND PARK — style.css
   Modern, responsive, professional school website
   ===================================================== */

:root {
  --primary: #0f4c9e;
  --primary-dark: #0a3470;
  --primary-light: #1a6bd4;
  --accent: #0ea5e9;
  --accent2: #06b6d4;
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --purple: #8b5cf6;
  --bg: #f8fafc;
  --bg-light: #f1f5f9;
  --bg-white: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
  --topbar-h: 40px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

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

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  position: relative;
  z-index: 200;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 100%;
}
.topbar-inner span { display: flex; align-items: center; gap: 0.4rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(15,76,158,0.3);
}
.logo-icon.small { width: 36px; height: 36px; font-size: 0.75rem; }
.logo-text strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-text small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: block;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(15,76,158,0.06);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 500;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-weight: 500;
  cursor: pointer;
}
.dropdown-menu a:hover { background: rgba(15,76,158,0.06); color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg-light); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MAIN CONTENT ===== */
#mainContent { min-height: calc(100vh - var(--nav-h) - var(--topbar-h)); }

.page { display: none; }
.page.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--nav-h) - var(--topbar-h));
  background: linear-gradient(135deg, #0a3470 0%, #0f4c9e 40%, #1a6bd4 70%, #0ea5e9 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 4rem;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: white;
  animation: float 8s ease-in-out infinite;
}
.shape1 { width: 600px; height: 600px; top: -200px; right: -150px; animation-delay: 0s; }
.shape2 { width: 300px; height: 300px; bottom: -100px; left: -50px; animation-delay: 3s; }
.shape3 { width: 200px; height: 200px; top: 50%; right: 20%; animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content { color: white; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}
.hero h1 .highlight {
  display: block;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
}
.btn-primary:hover { background: #d97706; border-color: #d97706; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,0.4); color: white; }
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; transform: translateY(-2px); }
.btn-secondary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: white; }

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.75rem; font-weight: 900; color: white; line-height: 1; }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; font-weight: 500; }

.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 360px;
}
.hcard {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition);
  animation: floatCard 4s ease-in-out infinite;
}
.hcard:hover { transform: scale(1.05); }
.hcard-icon { font-size: 2rem; }
.hcard1 { animation-delay: 0s; }
.hcard2 { animation-delay: 1s; }
.hcard3 { animation-delay: 2s; }
.hcard4 { animation-delay: 3s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--primary);
  color: white;
  padding: 0.75rem 0;
  overflow: hidden;
}
.announcement-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ann-label {
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.ann-ticker {
  overflow: hidden;
  flex: 1;
  height: 1.5rem;
  position: relative;
}
.ann-ticker span {
  position: absolute;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
}
.ann-ticker span.visible { opacity: 1; transform: translateY(0); }
.ann-ticker span.exit { opacity: 0; transform: translateY(-100%); }

/* ===== SECTION BLOCKS ===== */
.section-block { padding: 5rem 0; }
.section-block.bg-light { background: var(--bg-light); }
.section-block.bg-white { background: var(--bg-white); }
.section-block.bg-accent {
  background: linear-gradient(135deg, #0a3470 0%, #0f4c9e 50%, #1a6bd4 100%);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.section-header.light h2 { color: white; }
.section-header p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.section-header.light p { color: rgba(255,255,255,0.8); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15,76,158,0.08);
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.col-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.25;
  color: var(--text);
}
.col-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }

/* ===== QUOTE CARD ===== */
.quote-card {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.quote-mark { font-size: 4rem; line-height: 0.5; color: rgba(255,255,255,0.3); font-family: Georgia, serif; margin-bottom: 1rem; }
.quote-card p { color: rgba(255,255,255,0.9); font-size: 1.1rem; font-style: italic; line-height: 1.7; }
.quote-author { margin-top: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 600; }

/* ===== INFO PILLS ===== */
.info-pills { display: flex; flex-direction: column; gap: 0.75rem; }
.pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.pill:hover { border-color: var(--primary); background: rgba(15,76,158,0.05); transform: translateX(4px); }

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.fc-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 0.925rem; line-height: 1.65; }

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(15,76,158,0.08);
  color: var(--primary);
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}
.news-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); line-height: 1.35; }
.news-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }
.news-date { margin-top: 1rem; font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* ===== VALUES ===== */
.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.value-item { text-align: center; }
.val-num { font-size: 2.5rem; font-weight: 900; color: rgba(255,255,255,0.2); line-height: 1; margin-bottom: 0.5rem; }
.value-item h3 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.value-item p { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* ===== QUICK LINKS ===== */
.quicklinks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ql-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.ql-card:hover { border-color: var(--primary); background: rgba(15,76,158,0.04); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--primary); }
.ql-icon { font-size: 2rem; }

/* ===== CENTER CTA ===== */
.center-cta { text-align: center; margin-top: 1rem; }

/* ===== PAGE HERO (MINI) ===== */
.page-hero.mini {
  background: linear-gradient(135deg, #0a3470 0%, #0f4c9e 60%, #1a6bd4 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero.mini::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.safeguarding-hero { background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 60%, #0f4c9e 100%) !important; }
.ph-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.ph-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  margin: 0.5rem 0 1rem;
  line-height: 1.15;
}
.ph-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.ph-content .section-label { background: rgba(255,255,255,0.2); color: white; border-radius: 99px; }

/* ===== BODY WIDE TEXT ===== */
.body-wide {
  max-width: 820px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* ===== ABOUT STATS GRID ===== */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.asg-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.asg-item strong { display: block; font-size: 1.75rem; font-weight: 900; color: var(--primary); }
.asg-item span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 0.25rem; display: block; }

/* ===== VM CARDS ===== */
.vm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vm-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--primary); }
.vm-card p { color: var(--text-muted); line-height: 1.65; font-size: 0.95rem; }

/* ===== PARTNER STRIP ===== */
.partner-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.partner-badge {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* ===== ETHOS LIST ===== */
.ethos-list { display: flex; flex-direction: column; gap: 1.25rem; max-width: 800px; }
.ethos-item { display: flex; gap: 1rem; align-items: flex-start; }
.ethos-num { font-size: 1.25rem; color: var(--gold); font-weight: 900; min-width: 1.5rem; }
.ethos-item p { color: rgba(255,255,255,0.85); line-height: 1.65; }
.ethos-item strong { color: white; }

/* ===== SUBJECT GRID ===== */
.subject-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.subject-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.subject-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-2px); }
.subj-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.subject-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.subject-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.55; }

/* ===== STYLED TABLE ===== */
.gcse-table-wrap, .careers-table-wrap, .gov-table-wrap, .hod-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.styled-table { width: 100%; border-collapse: collapse; background: white; }
.styled-table thead tr { background: var(--primary); color: white; }
.styled-table th { padding: 1rem 1.25rem; text-align: left; font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.styled-table td { padding: 0.875rem 1.25rem; font-size: 0.9rem; color: var(--text); border-bottom: 1px solid var(--border); }
.styled-table tbody tr:last-child td { border-bottom: none; }
.styled-table tbody tr:hover td { background: rgba(15,76,158,0.03); }
.styled-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.styled-table tbody tr:nth-child(even):hover td { background: rgba(15,76,158,0.05); }

/* ===== SUPPORT LIST ===== */
.support-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sl-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.sl-item:hover { border-color: var(--green); color: var(--green); transform: translateX(4px); }

/* ===== ADMISSIONS TIMELINE ===== */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 99px;
}
.tl-item { position: relative; margin-bottom: 2.5rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -2.1rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15,76,158,0.1);
}
.tl-content h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.tl-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ===== CRITERIA LIST ===== */
.criteria-list { display: flex; flex-direction: column; gap: 1.25rem; }
.criteria-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.criteria-item:hover { box-shadow: var(--shadow); transform: translateX(4px); border-left: 4px solid var(--primary); }
.ci-num {
  min-width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.criteria-item strong { font-size: 0.95rem; color: var(--text); display: block; margin-bottom: 0.25rem; }
.criteria-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ===== CONTACT BOX ===== */
.contact-box {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.contact-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; color: white; }
.contact-box p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 0.75rem; line-height: 1.5; }

/* ===== SIXTH FORM HIGHLIGHTS ===== */
.sf-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sfh-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.sfh-item:hover { border-color: var(--primary); background: rgba(15,76,158,0.04); }
.sfh-item strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.sfh-item span { font-size: 0.78rem; color: var(--text-muted); display: block; margin-top: 0.2rem; }

/* ===== A-LEVEL GRID ===== */
.alevel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.al-category { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.al-category h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(15,76,158,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.al-category ul { list-style: none; }
.al-category ul li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.al-category ul li:last-child { border-bottom: none; }
.al-category ul li::before { content: '→'; color: var(--primary); font-size: 0.7rem; }

/* ===== ENTRY REQS ===== */
.entry-reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.er-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}
.er-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.er-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== UNI GRID ===== */
.uni-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.uni-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.uni-badge:hover { background: rgba(255,255,255,0.25); transform: scale(1.03); }

/* ===== ENRICH GRID ===== */
.enrich-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.enrich-cat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.enrich-cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ec-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.enrich-cat ul { padding: 1rem 1.25rem; }
.enrich-cat ul li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.enrich-cat ul li:last-child { border-bottom: none; }
.enrich-cat ul li::before { content: '◆'; color: var(--accent); font-size: 0.5rem; }

/* ===== DOFE CARDS ===== */
.dofe-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.dofe-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.dofe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dofe-card.bronze { background: linear-gradient(135deg, #cd7f32, #a05c22); color: white; }
.dofe-card.silver { background: linear-gradient(135deg, #9da0a8, #6b7280); color: white; }
.dofe-card.gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.dofe-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.dofe-card p { font-size: 0.9rem; opacity: 0.9; line-height: 1.6; }

/* ===== TRIPS LIST ===== */
.trips-list { display: flex; flex-direction: column; gap: 1.25rem; }
.trip-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.trip-item:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.trip-icon { font-size: 2rem; min-width: 2.5rem; }
.trip-item strong { font-size: 0.95rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 0.35rem; }
.trip-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ===== GATSBY GRID ===== */
.gatsby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.gatsby-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
}
.gatsby-item:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.gi-num {
  min-width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.gatsby-item strong { font-size: 0.9rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 0.35rem; }
.gatsby-item p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.55; }

/* ===== EMPLOYER STRIP ===== */
.employer-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.emp-badge {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.emp-badge:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== NEWS PAGE ===== */
.news-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.nf-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  transition: all var(--transition);
  cursor: pointer;
  font-family: inherit;
}
.nf-btn:hover, .nf-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.big-news-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.big-news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
}
.big-news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.bnc-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(15,76,158,0.08);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.big-news-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; line-height: 1.35; }
.big-news-card p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.75rem; font-size: 0.95rem; }
.bnc-meta { display: flex; gap: 1.5rem; font-size: 0.8rem; color: var(--text-light); margin-top: 1rem; font-weight: 500; }

/* ===== EVENTS LIST ===== */
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.event-item:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.ev-date {
  min-width: 60px;
  text-align: center;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ev-date span { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.ev-date small { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.8); }
.ev-detail h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.ev-detail p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ===== TERM DATES ===== */
.term-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.term-block { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.term-header {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}
.term-header.autumn { background: linear-gradient(135deg, #b45309, #d97706); }
.term-header.spring { background: linear-gradient(135deg, #059669, #10b981); }
.term-header.summer { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.term-block .styled-table { border-radius: 0; }
.td-notes {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.td-notes h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.td-notes p { color: var(--text-muted); line-height: 1.75; }

/* ===== POLICIES ===== */
.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.policy-cat { }
.policy-cat h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(15,76,158,0.15);
}
.policy-list li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color var(--transition);
}
.policy-list li:hover { color: var(--primary); }
.policy-list li::before { content: '📄'; font-size: 0.75rem; }
.policy-list li:last-child { border-bottom: none; }

/* ===== SAFEGUARDING ===== */
.safeguarding-alert {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-lg);
}
.sa-icon { font-size: 3rem; flex-shrink: 0; }
.sa-text h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.sa-text p { font-size: 0.95rem; color: rgba(255,255,255,0.9); line-height: 1.6; }

.dsl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.dsl-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.dsl-card:hover { border-color: var(--purple); box-shadow: var(--shadow); transform: translateY(-3px); }
.dsl-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(124,58,237,0.08);
  color: var(--purple);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.dsl-name { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.dsl-title { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.dsl-contact { font-size: 0.85rem; color: var(--text); margin-bottom: 0.35rem; font-weight: 500; }

.safeguarding-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.sig-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--purple);
}
.sig-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.sig-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

.sg-useful { background: var(--bg-light); border-radius: var(--radius); padding: 2rem; }
.sg-useful h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text); }
.sg-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.75rem; }
.sgl-item { font-size: 0.9rem; color: var(--text-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.sgl-item strong { color: var(--text); }

/* ===== GOVERNANCE ===== */
.gov-committees { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.gc-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 4px solid var(--primary);
  transition: all var(--transition);
}
.gc-item:hover { box-shadow: var(--shadow); }
.gc-item h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.gc-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }

/* ===== STAFF ===== */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 1rem; }
.staff-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.staff-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.staff-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(15,76,158,0.25);
}
.staff-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.staff-card p { color: var(--primary); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.25rem; }
.staff-card small { color: var(--text-light); font-size: 0.72rem; }

.vacancies-box { background: var(--bg-light); border-radius: var(--radius-lg); padding: 2rem; margin-top: 2rem; border: 1px solid var(--border); }
.vacancies-box h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 1.5rem; }
.vac-item { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.vac-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.vac-item strong { font-size: 0.95rem; color: var(--text); display: block; margin-bottom: 0.35rem; }
.vac-item p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; }
.contact-info-panel h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text);
}
.ci-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.ci-icon { font-size: 1.25rem; min-width: 1.5rem; margin-top: 0.1rem; }
.ci-item strong { font-size: 0.85rem; font-weight: 700; color: var(--text); display: block; margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.ci-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.dept-contacts { margin-top: 2rem; }
.dept-contacts h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.dc-list { display: flex; flex-direction: column; gap: 0.5rem; }
.dc-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.825rem; color: var(--text-muted); }
.dc-item span:first-child { font-weight: 600; color: var(--text); min-width: 80px; }

.contact-form-panel h3 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 1.75rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,158,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-group { flex-direction: row !important; align-items: flex-start !important; gap: 0.75rem !important; }
.checkbox-group input[type="checkbox"] { width: auto; margin-top: 0.2rem; accent-color: var(--primary); }
.checkbox-group label { font-size: 0.8rem !important; font-weight: 400 !important; color: var(--text-muted) !important; }
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 600;
}

.map-placeholder {
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-inner { text-align: center; }
.map-pin { font-size: 3rem; margin-bottom: 0.75rem; }
.map-inner h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.map-inner p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); }
.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
}
.footer-col { }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-col.brand-col p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 1rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badges span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.footer-col h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.footer-col ul li a:hover { color: white; }
.footer-col p { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; line-height: 1.5; }
.social-links { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: rgba(255,255,255,0.2); color: white; }

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: unset;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.5); cursor: pointer; transition: color var(--transition); text-decoration: none; }
.footer-legal a:hover { color: white; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 1000;
  border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px) scale(1.05); }

/* ===== ANIMATE CARD ===== */
.animate-card { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-card.in-view { opacity: 1; transform: translateY(0); }

/* ===== ANIMATE IN ===== */
.animate-in { animation: slideInLeft 0.8s ease forwards; }
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 4rem 2rem; min-height: auto; }
  .hero-visual { display: none; }
  .values-row { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom .footer-inner { grid-template-columns: unset; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
    z-index: 200;
  }
  .nav-links.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
  }
  .hamburger { display: flex; }
  .navbar { position: sticky; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .vm-cards { grid-template-columns: 1fr; }
  .dofe-cards { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr 1fr; }
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.72rem; }
  .topbar-inner span:nth-child(3) { display: none; }
  .hero { padding: 3rem 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .section-block { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .values-row { grid-template-columns: 1fr; }
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .dofe-cards { grid-template-columns: 1fr; }
  .sf-highlights { grid-template-columns: 1fr 1fr; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.25rem; }
}
