:root {
  --primary: #1d8fe1;
  --dark: #101820;
  --light: #f5f8fc;
  --text: #22303c;
  --muted: #66788a;
  --white: #ffffff;
  --border: #d9e3ef;
  --sky: #2a82c8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { 
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}
.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border: 2px solid var(--white);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
}
.logo span { color: var(--primary); }

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
}

.nav { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: var(--white); opacity: .92; }

/* Dropdown styles */
.nav > li.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 0.4rem;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.2rem;
  color: var(--white);
  opacity: 0.92;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  border-left-color: #1d8fe1;
  padding-left: 1.5rem;
}

.hero {
  background: linear-gradient(120deg, var(--dark), #163e63);
  color: var(--white);
  padding: 5rem 0;
}
.hero-grid, .split { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr; align-items: center; }
.hero h1, .page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 1rem; }
.lead { font-size: 1.1rem; max-width: 58rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; color: #9fd2ff; font-weight: 700; }
.hero-card, .card, .stats-box, .message {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.hero-card { color: var(--text); }
.section { padding: 4rem 0; }
.alt { background: var(--light); }
.page-hero { padding: 3rem 0 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.card-grid { display: grid; gap: 1.2rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: .9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}
.btn-outline, .btn-light, .btn-outline-light {
  background: transparent;
  border: 2px solid currentColor;
}
.btn-outline { color: var(--primary); }
.btn-light, .btn-outline-light { color: var(--white); }
.cta-row, .cta-stack { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band { background: var(--primary); color: var(--white); }
.center { align-items: center; }
.stats-box { display: grid; gap: 1rem; }
.stats-box strong { display: block; font-size: 2rem; color: var(--primary); }
.muted { color: var(--muted); }
.narrow { max-width: 760px; }
.top-gap { margin-top: 1.2rem; }
.messages { padding-top: 1rem; }
.message { background: #eef8ee; border-color: #c8e7c8; }
 /* ── FOOTER ── */
  footer {
    background: #0a1f30;
    padding: 40px 0 24px;
    color: rgba(255,255,255,0.55);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
    align-items: flex-start;
  }
  .footer-brand .nav-logo { font-size: 1.25rem; display: block; margin-bottom: 12px; font-weight: 700; color: rgba(255,255,255,0.95); }
  .footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 240px; margin: 0 0 14px 0; }
  .social-links {
    display: flex;
    gap: 10px;
    margin-top: 0;
    flex-wrap: nowrap;
  }
  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(74, 144, 196, 0.12);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 196, 0.25);
    flex-shrink: 0;
  }
  .social-links a:hover {
    background: rgba(74, 144, 196, 0.3);
    color: #4A90C4;
    border-color: rgba(74, 144, 196, 0.5);
    transform: translateY(-2px);
  }
  .social-links svg {
    width: 18px;
    height: 18px;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
  }
  .footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin: 0 0 14px 0; }
  .footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
  .footer-col a:last-child { margin-bottom: 0; }
  .footer-col a:hover { color: var(--sky); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-bottom span {
    text-align: center;
  }
  .footer-bottom a { color: var(--sky); text-decoration: none; }

  /* ── ANIMATIONS ── */
  @keyframes riseIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-left > * { animation: riseIn 0.75s ease both; }
  .hero-left .hero-tag  { animation-delay: 0.1s; }
  .hero-left h1         { animation-delay: 0.25s; }
  .hero-left .hero-lead { animation-delay: 0.4s; }
  .hero-left .hero-btns { animation-delay: 0.55s; }
  .hero-card            { animation: riseIn 0.75s 0.6s ease both; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    section { padding: 72px 0; }
    .wrap { padding: 0 24px; }
    
    .menu-toggle {
      display: flex;
    }
    
    .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--dark);
      flex-direction: column;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu.active {
      max-height: 800px;
    }
    
    .nav {
      flex-direction: column;
      gap: 0;
      width: 100%;
      padding: 16px 0;
    }
    
    .nav li {
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav a {
      display: block;
      padding: 12px 24px;
      transition: background 0.2s;
    }
    
    .nav a:hover {
      background: rgba(255,255,255,0.05);
    }
    
    .dropdown > a {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
      overflow: hidden;
      transition: max-height 0.3s ease;
      box-shadow: none;
      border-radius: 0;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .dropdown.active .dropdown-menu {
      max-height: 600px;
    }

    .dropdown-menu li {
      margin: 0;
      padding: 0;
      border-bottom: 1px solid rgba(255,255,255,0.15);
      list-style: none;
    }

    .dropdown-menu li:last-child {
      border-bottom: none;
    }

    .dropdown-menu a {
      display: block;
      padding: 16px 48px;
      border-left: 3px solid var(--primary);
      font-size: 0.95rem;
      color: #ffffff;
      opacity: 1;
      touch-action: manipulation;
      background: rgba(255,255,255,0.02);
      transition: all 0.2s ease;
      margin-left: -3px;
    }

    .dropdown-menu a:active,
    .dropdown-menu a:focus {
      background: rgba(255,255,255,0.08);
      outline: none;
      padding-left: 52px;
    }
    
    .dropdown-toggle::after {
      content: '▼';
      font-size: 0.6rem;
      margin-left: 8px;
      display: inline-block;
      transition: transform 0.3s ease;
      opacity: 0.7;
    }
    
    .dropdown.active .dropdown-toggle::after {
      transform: rotate(180deg);
      opacity: 1;
    }
    
    .site-header {
      position: relative;
    }
    
    .hero-body { grid-template-columns: 1fr; padding: 120px 24px 80px; }
    .hero-card { display: none; }
    .pillars-grid, .programs-grid, .events-grid { grid-template-columns: 1fr 1fr; }
    .why-grid  { grid-template-columns: 1fr; }
    .why-photo-wrap { aspect-ratio: 16/9; }
    .cta-inner { grid-template-columns: 1fr; }
    .cta-btns  { flex-direction: row; }
    .footer-grid { grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr; gap: 24px; }
  }
  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  }
  @media (max-width: 700px) {
    .pillars-grid, .programs-grid, .events-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-cell:last-child { border-bottom: none; }
    .footer-grid { 
      grid-template-columns: 1fr; 
      gap: 32px; 
      margin-bottom: 32px; 
    }
    .footer-brand { 
      margin-bottom: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-brand .nav-logo { font-size: 1.15rem; margin-bottom: 12px; }
    .footer-brand p { font-size: 0.85rem; max-width: 100%; margin: 0 0 14px 0; }
    .social-links { gap: 10px; }
    .social-links a { width: 38px; height: 38px; }
    .footer-col { 
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-col:last-child { border-bottom: none; }
    .footer-col h4 { margin-bottom: 12px; font-size: 0.85rem; }
    .footer-col a { margin-bottom: 8px; font-size: 0.9rem; }
    .footer-bottom {
      flex-direction: column;
      gap: 12px;
      font-size: 0.8rem;
      padding-top: 24px;
      text-align: center;
    }
    footer {
      padding: 40px 0 24px;
    }
  }
  @media (max-width: 900px) and (min-width: 701px) {
    .footer-grid { 
      grid-template-columns: 1fr 1fr; 
      gap: 24px; 
      margin-bottom: 32px; 
    }
  }
  }