/* ============================================
   UNITAS FLYING ACADEMY — Become a Pilot Page
   Design System v2.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0057B8;
  --color-secondary: #1E88E5;
  --color-navy: #0B1F3A;
  --color-sky: #EAF5FF;
  --color-white: #FFFFFF;
  --color-surface: #F8FAFC;
  --color-border: #DCE7F5;
  --color-text: #111827;
  --color-text-secondary: #6B7280;
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  --font-family: 'Manrope', 'Inter', sans-serif;
  --font-hero: clamp(40px, 5vw, 72px);
  --font-section: clamp(32px, 4vw, 48px);
  --font-card: clamp(22px, 2.5vw, 28px);
  --font-body: 18px;
  --font-small: 16px;
  --font-caption: 14px;
  --font-button: 16px;

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;

  --max-width: 1440px;
  --content-width: 1200px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 8px 32px rgba(11, 31, 58, 0.10);
  --shadow-xl: 0 16px 48px rgba(11, 31, 58, 0.12);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition-base); }
button { cursor: pointer; border: none; background: none; font-family: var(--font-family); }
ul, ol { list-style: none; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-24);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-16);
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.section-heading {
  font-size: var(--font-section);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--space-16);
}

.section-subheading {
  font-size: var(--font-body);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Header/nav styling now lives in assets/css/header.css (shared across all pages) */

/* ============================================
   VIDEO HERO
   ============================================ */
.video-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 31, 58, 0.4) 0%,
    rgba(11, 31, 58, 0.5) 40%,
    rgba(11, 31, 58, 0.8) 100%
  );
  z-index: 1;
}

.video-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-32);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-8) var(--space-24);
  border-radius: 100px;
  margin-bottom: var(--space-32);
}

.hero-badge svg {
  width: 16px; height: 16px;
  color: var(--color-white);
}

.hero-badge span {
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.video-hero-content h1 {
  font-size: var(--font-hero);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: var(--space-24);
}

.video-hero-content h1 span {
  display: block;
  background: linear-gradient(135deg, #5BA3E6 0%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-48);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-md);
  font-size: var(--font-button); font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 87, 184, 0.35);
  transition: all var(--transition-base);
}
.btn-primary:hover {
  background: #004a9e;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 87, 184, 0.45);
}
.btn-primary svg { width: 18px; height: 18px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: transparent;
  color: var(--color-white);
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-md);
  font-size: var(--font-button); font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.btn-outline svg { width: 18px; height: 18px; }

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-32);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes scrollWheel {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(8px); opacity: 0; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   YOUR JOURNEY SECTION
   ============================================ */
.journey-section {
  padding: var(--space-120) 0;
  background: var(--color-white);
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
}

.journey-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.journey-image-wrapper img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.journey-image-wrapper:hover img {
  transform: scale(1.02);
}

.journey-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-32);
  background: linear-gradient(to top, rgba(11, 31, 58, 0.85) 0%, transparent 100%);
}

.journey-image-stat {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.journey-image-stat svg {
  width: 24px; height: 24px;
  color: var(--color-white);
  flex-shrink: 0;
}

.journey-image-stat span {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
}

.journey-content h2 {
  font-size: var(--font-section);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--space-24);
}

.journey-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: var(--space-24);
}

.journey-text {
  font-size: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-24);
}

.journey-text:last-of-type {
  margin-bottom: var(--space-32);
}

/* ============================================
   PATHWAY STEPS
   ============================================ */
.pathway-section {
  padding: var(--space-120) 0;
  background: var(--color-surface);
}

.pathway-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-80);
}

.pathway-header .section-label { justify-content: center; }
.pathway-header .section-subheading { margin: 0 auto; }

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  position: relative;
}

/* Connector line */
.pathway-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.pathway-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-32) var(--space-24);
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-24);
  font-size: 20px; font-weight: 800;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.pathway-step:hover .step-number {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.pathway-step h3 {
  font-size: var(--font-small);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-12);
}

.pathway-step p {
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   PROGRAMMES OVERVIEW
   ============================================ */
.programmes-section {
  padding: var(--space-120) 0;
  background: var(--color-white);
}

.programmes-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-64);
}

.programmes-header .section-label { justify-content: center; }
.programmes-header .section-subheading { margin: 0 auto; }

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.programme-card {
  padding: var(--space-48) var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.programme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.programme-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.programme-card:hover::before { opacity: 1; }

.programme-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-sky);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-24);
}

.programme-icon svg {
  width: 28px; height: 28px;
  color: var(--color-primary);
}

.programme-card h3 {
  font-size: var(--font-card);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-12);
}

.programme-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-24);
}

.programme-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-base);
}

.programme-link:hover { gap: var(--space-12); }

.programme-link svg { width: 16px; height: 16px; }

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  padding: var(--space-120) 0;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 87, 184, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-64);
  position: relative;
  z-index: 1;
}

.why-header .section-label { justify-content: center; color: var(--color-secondary); }
.why-header .section-label::before { background: var(--color-secondary); }
.why-header .section-heading { color: var(--color-white); }
.why-header .section-subheading { color: rgba(255, 255, 255, 0.6); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  position: relative;
  z-index: 1;
}

.why-card {
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 87, 184, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-24);
}

.why-card-icon svg {
  width: 24px; height: 24px;
  color: var(--color-secondary);
}

.why-card h3 {
  font-size: var(--font-small);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-12);
}

.why-card p {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ============================================
   APPLY / CONTACT SECTION
   ============================================ */
.apply-section {
  padding: var(--space-120) 0;
  background: var(--color-surface);
}

.apply-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-64);
}

.apply-header .section-label { justify-content: center; }
.apply-header .section-subheading { margin: 0 auto; }

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
}

/* Contact Info Side */
.apply-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.contact-card {
  padding: var(--space-32);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-sky);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px; height: 22px;
  color: var(--color-primary);
}

.contact-card-header h3 {
  font-size: var(--font-small);
  font-weight: 700;
  color: var(--color-navy);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

.contact-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  min-width: 120px;
  flex-shrink: 0;
}

.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.5;
}

.contact-item-value a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition-base);
}

.contact-item-value a:hover {
  color: #004a9e;
}

.contact-divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-4) 0;
}

/* Form Side */
.apply-form-card,
#enquiry-form {
  padding: var(--space-48);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  scroll-margin-top: 100px;
}

.apply-form-card h3 {
  font-size: var(--font-card);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-8);
}

.apply-form-card > p {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-32);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--font-caption);
  font-weight: 600;
  color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
  background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-secondary);
  font-weight: 400;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  margin-top: var(--space-24);
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  padding: var(--space-16) var(--space-32);
}

.form-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: var(--space-16);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #060F1E;
  padding: var(--space-80) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-48);
  padding-bottom: var(--space-64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo { margin-bottom: var(--space-24); }
.footer-brand .logo-name { color: var(--color-white); }
.footer-brand .logo-tagline { color: rgba(255, 255, 255, 0.5); }

.footer-description {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: var(--space-24);
}

.footer-accreditation {
  display: inline-flex; align-items: center; gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  background: rgba(34, 197, 94, 0.1);
  border-radius: 100px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.footer-accreditation svg { width: 16px; height: 16px; color: var(--color-success); }
.footer-accreditation span { font-size: 13px; font-weight: 600; color: var(--color-success); }

.footer-column h4 {
  font-size: 15px; font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-24);
}

.footer-column ul { display: flex; flex-direction: column; gap: var(--space-12); }

.footer-column ul a {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
}
.footer-column ul a:hover { color: var(--color-white); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: var(--space-12);
}
.footer-contact-item svg {
  width: 16px; height: 16px;
  color: var(--color-primary);
  margin-top: 2px; flex-shrink: 0;
}
.footer-contact-item span {
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-24) 0;
}

.footer-copyright { font-size: 13px; color: rgba(255, 255, 255, 0.35); }

.footer-legal { display: flex; gap: var(--space-24); }
.footer-legal a {
  font-size: 13px; color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-base);
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  /* Mobile nav overlay styling now lives in assets/css/header.css */

  .journey-grid { grid-template-columns: 1fr; gap: var(--space-48); }
  .journey-image-wrapper img { height: 420px; }

  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pathway-grid::before { display: none; }

  .programmes-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-32); }
}

@media (max-width: 640px) {
  .video-hero { height: 85vh; min-height: 500px; }
  .video-hero-content { padding: 0 var(--space-16); }

  .hero-buttons { flex-direction: column; align-items: center; }

  .journey-section,
  .pathway-section,
  .programmes-section,
  .why-section,
  .apply-section {
    padding: var(--space-80) 0;
  }

  .journey-image-wrapper img { height: 320px; }

  .pathway-grid { grid-template-columns: 1fr; }
  .programmes-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .apply-form-card { padding: var(--space-24); }
  .contact-item { flex-direction: column; gap: var(--space-4); }
  .contact-item-label { min-width: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-32); }
  .footer-bottom {
    flex-direction: column; gap: var(--space-16); text-align: center;
  }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
