/* ANZA SCHOLARS AFRICA – Professional World-Class Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  /* Brand: Refined navy & blue – Trust, clarity, professionalism */
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-darker: #1e3a8a;
  --primary-light: #2563eb;
  /* Accent: Sophisticated teal – Growth & hope, modern */
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --accent-light: #14b8a6;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #475569;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
  --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Open Sans', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  /* Typography scale – large and readable */
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.25rem;
  --text-5xl: 4rem;
  /* Spacing */
  --space-section: 4rem;
  --space-block: 2rem;
  --space-inline: 1.5rem;
  --container: min(1280px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  z-index: 100;
  transition: top 0.2s;
  font-size: var(--text-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header – clean, prominent */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  color: var(--primary);
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.logo a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 1.75rem;
  color: var(--primary);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  text-decoration: none;
}

.nav-item.has-dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-item.has-dropdown:hover ul,
.nav-item.has-dropdown:focus-within ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.has-dropdown ul a {
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
}

/* Main content container */
.main-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-section) 2rem;
  min-height: 50vh;
}

.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 4px solid var(--primary);
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: var(--text-3xl);
  color: var(--primary-dark);
}

.page-header .subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-lg);
}

/* Hero – large, impactful */
.hero {
  position: relative;
  color: var(--white);
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 2rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Fallback: first slide image so no white shows during transitions */
  background-image: url(../pexels-illustrate-digital-ug-924569584-19982406.jpg);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroRotate 30s steps(1, end) infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-name: heroRotate2; }
.hero-slide:nth-child(3) { animation-name: heroRotate3; }
.hero-slide:nth-child(4) { animation-name: heroRotate4; }
.hero-slide:nth-child(5) { animation-name: heroRotate5; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

/* Instant cuts – one image always visible, no white gaps (5 slides) */
@keyframes heroRotate {
  0%, 20% { opacity: 1; }
  20.01%, 100% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroRotate2 {
  0%, 20% { opacity: 0; }
  20.01%, 40% { opacity: 1; }
  40.01%, 100% { opacity: 0; }
}

@keyframes heroRotate3 {
  0%, 40% { opacity: 0; }
  40.01%, 60% { opacity: 1; }
  60.01%, 100% { opacity: 0; }
}

@keyframes heroRotate4 {
  0%, 60% { opacity: 0; }
  60.01%, 80% { opacity: 1; }
  80.01%, 100% { opacity: 0; }
}

@keyframes heroRotate5 {
  0%, 80% { opacity: 0; }
  80.01%, 99.99% { opacity: 1; }
  100% { opacity: 0; }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.6;
  opacity: 0.98;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

/* Buttons – large, clear */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Sections – clear hierarchy */
.section {
  margin-bottom: var(--space-section);
}

.section h2 {
  font-size: var(--text-2xl);
  color: var(--primary-dark);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.alumni-hero-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.alumni-hero-image .card-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 35%;
}

/* Cards – prominent, readable */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-block);
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
  object-fit: cover;
  object-position: center 35%;
  background: var(--bg);
}

.card-body {
  padding: 2rem;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

.card a {
  margin-top: 1.25rem;
  display: inline-block;
  font-weight: 700;
  font-size: var(--text-sm);
}

/* Quick links – large, easy to tap */
.sub-nav {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sub-nav a {
  display: block;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
}

.sub-nav a:hover,
.sub-nav a.active {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

/* Lists */
.objectives-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.objectives-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: var(--text-base);
}

.objectives-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.numbered-list {
  list-style: decimal;
  padding-left: 1.5rem;
}

.numbered-list li {
  padding-left: 0.5rem;
  font-size: var(--text-base);
}

.numbered-list li::before {
  content: none;
}

/* Tables – scroll on small screens */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0 2rem;
}

.fee-table {
  width: 100%;
  min-width: 280px;
  max-width: 520px;
  border-collapse: collapse;
  margin: 0;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: var(--text-base);
}

.fee-table th,
.fee-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.fee-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-sm);
}

.fee-table tr:last-child td {
  border-bottom: 0;
}

.fee-table tbody tr:nth-child(even) {
  background: var(--bg);
}

/* Social icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
}

/* Footer – professional, readable */
.site-footer {
  background: var(--primary-darker);
  color: var(--white);
  margin-top: var(--space-section);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.site-footer h4 {
  margin: 0 0 1.25rem;
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 1;
}

.site-footer p {
  font-size: var(--text-base);
  line-height: 1.6;
  opacity: 0.9;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 0.75rem;
}

.site-footer ul a {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.9);
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: none;
}

.site-footer .social-icons a {
  background: rgba(255,255,255,0.2);
}

.site-footer .social-icons a:hover {
  background: rgba(255,255,255,0.4);
}

.footer-bottom {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: var(--text-base);
  opacity: 0.9;
}

.footer-bottom p {
  margin: 0.35rem 0;
}

.footer-bottom .footer-credit {
  margin-top: 0.75rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom .footer-credit a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom .footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: var(--text-base);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

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

.form-note {
  margin: 0 0 1rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Consent & confirmation cards – world-class application style */
.form-consent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-consent-card:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.form-consent-card .consent-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.form-consent-card .consent-heading .consent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  font-size: 1rem;
}

.form-consent-card .consent-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  padding: 0.25rem 0;
}

.form-consent-card .consent-item input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--primary);
  cursor: pointer;
  border-radius: 6px;
}

.form-consent-card .consent-item input[type="checkbox"]:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-consent-card .consent-item .consent-text {
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text);
}

.form-consent-card .consent-item .consent-text a {
  font-weight: 600;
  text-underline-offset: 2px;
}

.form-submit-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-submit-wrap .btn {
  min-width: 200px;
  padding: 1rem 1.75rem;
  font-size: var(--text-base);
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Reduced motion – respect user preference (iOS, Android, desktop) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slide,
  .card:hover,
  .btn:hover,
  .nav-item.has-dropdown ul,
  .social-icons a:hover {
    animation: none;
    transition: none;
  }
  .card:hover {
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* Tablet: 769px – 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-nav ul {
    display: flex !important;
  }

  :root {
    --container: min(100%, 96vw);
  }

  .header-inner {
    padding: 1rem 1.5rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3.5rem 1.5rem 4.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .main-content {
    padding: 3rem 1.5rem;
  }

  .footer-inner {
    gap: 2rem;
  }
}

/* Mobile: up to 768px (phones, portrait tablets) */
@media (max-width: 768px) {
  :root {
    --text-4xl: 2.5rem;
    --text-3xl: 2rem;
    --text-2xl: 1.75rem;
    --container: min(100%, 94vw);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    align-items: stretch;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    font-size: var(--text-base);
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .nav-item.has-dropdown ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg);
    margin: 0.25rem 0 0 0.75rem;
    padding: 0.5rem 0;
    min-width: 0;
  }

  .nav-item.has-dropdown ul a {
    padding: 0.65rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: 65vh;
    padding: 3rem 1.25rem 4rem;
    padding-top: max(3rem, env(safe-area-inset-top));
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero p {
    font-size: var(--text-base);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-cta .btn {
    padding: 0.9rem 1.5rem;
    font-size: var(--text-base);
    min-height: 48px;
    min-width: 200px;
    justify-content: center;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .section h2 {
    font-size: var(--text-2xl);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .card h3 {
    font-size: var(--text-lg);
  }

  .card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: var(--text-2xl);
  }

  .header-inner {
    padding: 1rem 1.25rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .main-content {
    padding: 2.5rem 1.25rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .sub-nav {
    flex-direction: column;
  }

  .sub-nav a {
    font-size: var(--text-base);
    padding: 1rem 1.25rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Forms: 16px prevents iOS zoom on focus */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: 0.9rem 1rem;
  }

  .fee-table th,
  .fee-table td {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .site-footer {
    padding: 2.5rem 1.25rem 2rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo-img {
    height: 48px;
  }
}

/* Small phones: up to 480px (iPhone SE, narrow Android) */
@media (max-width: 480px) {
  :root {
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
    --container: min(100%, 92vw);
  }

  .hero {
    min-height: 60vh;
    padding: 2.5rem 1rem 3.5rem;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-cta .btn {
    min-width: 100%;
    padding: 1rem;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .main-content {
    padding: 2rem 1rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .section-lead {
    font-size: var(--text-base);
  }

  .btn {
    padding: 0.9rem 1.25rem;
    font-size: var(--text-base);
  }

  .social-icons a {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* Desktop: show nav, hide toggle */
@media (min-width: 769px) {
  .main-nav ul {
    display: flex !important;
  }
}
