/* ─── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

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

:root {
  --navy:      #0b2447;
  --blue:      #19376d;
  --sky:       #2f6dba;
  --gold:      #f0a500;
  --gold-lt:   #ffd166;
  --light:     #f0f4fb;
  --white:     #ffffff;
  --text:      #1e293b;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(11,36,71,0.07);
  --shadow-md: 0 8px 30px rgba(11,36,71,0.12);
  --shadow-lg: 0 20px 60px rgba(11,36,71,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  /* Prevent iOS text size auto-adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Remove tap highlight on iOS */
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── Top Bar ───────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  -webkit-align-items: center;
  align-items: center;
  padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0.025em;
  color: #94b4da;
}
.top-bar a {
  color: #c8d8ea;
  font-weight: 600;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  /* Use margin instead of gap for iOS < 14.5 flex support */
  padding: 0.65rem 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), color var(--transition);
  /* Minimum tap target 44px for iOS */
  min-height: 44px;
}
.top-bar a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
  margin-right: 0.5rem; /* replaces gap for older Safari */
}
.top-bar a:first-child { border-left: none; }
.top-bar a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold);
}
.top-bar a:hover svg { opacity: 1; }

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  /* Prefixed backdrop-filter for Safari */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 1.1rem 2.5rem;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(11,36,71,0.06);
  /* Both sticky syntaxes for full Safari support */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  /* Prevent logo from shrinking on small screens */
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

.nav-links {
  display: -webkit-flex;
  display: flex;
  /* margin-based spacing instead of gap */
}
.nav-links li { margin-left: 0.25rem; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  display: block;
  /* Minimum tap target */
  min-height: 44px;
  line-height: 34px;
}
.nav-links a:hover { background: var(--light); color: var(--navy); }
.nav-links a.active {
  background: var(--navy);
  color: var(--white);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none !important;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  /* Remove iOS default button/input appearance */
  -webkit-appearance: none;
  appearance: none;
  /* Minimum tap target */
  min-height: 44px;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(240,165,0,0.35);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--sky);
  border-color: var(--sky);
}
.btn-ghost:hover {
  background: var(--sky);
  color: var(--white);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
.btn-sm   { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #071830 0%, var(--navy) 40%, var(--blue) 80%, #1a5fa8 100%);
  color: var(--white);
  padding: 8rem 2.5rem 6rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  /* Expanded longhand for iOS < 14.1 (no inset shorthand) */
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 900px 600px at 50% 40%, rgba(47,109,186,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 80%, rgba(240,165,0,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-shapes {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--gold);
}
.hero-shapes span:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -150px; }
.hero-shapes span:nth-child(2) { width: 300px; height: 300px; bottom: -80px; left: -80px; }
.hero-shapes span:nth-child(3) { width: 150px; height: 150px; top: 30%; left: 10%; opacity: 0.05; }

.hero-badge {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  /* Prefixed for Safari */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-lt);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}
.hero-badge-text { margin-left: 0.5rem; }

.hero-content { position: relative; max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  /* clamp() supported iOS 13.4+; safe fallback given */
  font-size: 2.6rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  font-size: 1.12rem;
  opacity: 0.82;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}
.hero-btns {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.hero-btns .btn { margin: 0.4rem; }

.hero-stat-row {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; margin: 0.5rem 1.5rem; }
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}
.hero-stat span { font-size: 0.8rem; opacity: 0.7; letter-spacing: 0.05em; text-transform: uppercase; }

/* ─── Section Label ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(47,109,186,0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.section-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Highlights (Home cards) ───────────────────────────────── */
.highlights {
  padding: 6rem 2.5rem;
  background: var(--white);
}
.highlights-inner { max-width: 1100px; margin: 0 auto; }
.cards-grid {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -1rem;
}
.card {
  -webkit-flex: 1 1 260px;
  flex: 1 1 260px;
  margin: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: -webkit-transform var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: -webkit-linear-gradient(left, var(--navy), var(--sky));
  background: linear-gradient(90deg, var(--navy), var(--sky));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover { -webkit-transform: translateY(-6px); transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 64px;
  height: 64px;
  background: -webkit-linear-gradient(315deg, var(--navy) 0%, var(--sky) 100%);
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  border-radius: 18px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 20px rgba(11,36,71,0.2);
}
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ─── Mission Band ──────────────────────────────────────────── */
.mission-band {
  background: -webkit-linear-gradient(315deg, var(--navy) 0%, var(--blue) 100%);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mission-band::after {
  content: '\201C';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  top: -4rem;
  left: 2rem;
  line-height: 1;
  pointer-events: none;
}
.mission-band blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}
.mission-band cite {
  display: block;
  margin-top: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ─── Contact Strip ─────────────────────────────────────────── */
.contact-strip {
  background: var(--light);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
}
.contact-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.contact-strip > p { color: var(--muted); margin-bottom: 2rem; }
.contact-strip-links {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.contact-pill {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  background: var(--navy);
  color: var(--gold) !important;
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(11,36,71,0.2);
  transition: all var(--transition);
  letter-spacing: 0.01em;
  margin: 0.4rem;
  /* Min tap target */
  min-height: 44px;
}
.contact-pill svg { margin-right: 0.5rem; width: 16px; height: 16px; }
.contact-pill:hover {
  background: var(--blue);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,36,71,0.28);
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: #060f1f;
  color: #8faabf;
  font-size: 0.88rem;
}
.footer-top {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 4rem 2.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand { -webkit-flex: 2 1 240px; flex: 2 1 240px; margin-right: 3rem; margin-bottom: 2rem; }
.footer-links { -webkit-flex: 1 1 150px; flex: 1 1 150px; margin-right: 3rem; margin-bottom: 2rem; }
.footer-contact { -webkit-flex: 1 1 150px; flex: 1 1 150px; margin-bottom: 2rem; }

.footer-brand .logo { font-size: 1.4rem; margin-bottom: 0.9rem; }
.footer-brand p {
  line-height: 1.9;
  opacity: 0.65;
  font-size: 0.85rem;
  max-width: 280px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer ul li { margin-bottom: 0.6rem; }
.footer a {
  color: #7a9fc0;
  transition: color var(--transition);
}
.footer a:hover { color: var(--gold); }
.footer-contact .footer-contact-link {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  font-weight: 600;
  color: var(--gold) !important;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
  min-height: 44px;
}
.footer-contact .footer-contact-link svg { margin-right: 0.5rem; }
.footer-contact .footer-contact-link:hover { color: var(--gold-lt) !important; }
.footer-bottom {
  text-align: center;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: #4a6882;
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  background: -webkit-linear-gradient(315deg, #071830 0%, var(--navy) 50%, var(--blue) 100%);
  background: linear-gradient(145deg, #071830 0%, var(--navy) 50%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 5.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 100%, rgba(47,109,186,0.2), transparent);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  position: relative;
}
.page-hero p { font-size: 1rem; opacity: 0.78; position: relative; }
.breadcrumb {
  font-size: 0.75rem;
  opacity: 0.55;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  position: relative;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--gold-lt); }

/* ─── About Page ────────────────────────────────────────────── */
.about-intro {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
  -webkit-align-items: start;
  align-items: start;
}
.about-text { -webkit-flex: 1 1 340px; flex: 1 1 340px; margin-right: 5rem; }
.about-visual { -webkit-flex: 1 1 260px; flex: 1 1 260px; }

.about-text h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.about-text p {
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.values-list {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  margin-top: 0.5rem;
}
.values-list li {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  background: var(--light);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.values-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.75rem;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  margin-top: 3px;
  margin-right: 0.8rem;
}
.about-visual {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.about-stat-card {
  background: -webkit-linear-gradient(315deg, var(--navy) 0%, var(--blue) 100%);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.2rem;
}
.about-stat-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
}
.about-stat-card span { font-size: 0.82rem; opacity: 0.75; letter-spacing: 0.06em; text-transform: uppercase; }
.about-quote {
  background: var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.org-info {
  background: var(--light);
  padding: 5rem 2.5rem;
  text-align: center;
}
.org-info .section-header { margin-bottom: 3rem; }
.info-grid {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: -0.6rem auto;
}
.info-item {
  -webkit-flex: 1 1 200px;
  flex: 1 1 200px;
  margin: 0.6rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.info-item:hover { box-shadow: var(--shadow-md); }
.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: block;
}
.info-value { font-size: 1rem; font-weight: 700; color: var(--navy); }
.info-value a { color: var(--sky); }
.info-value a:hover { color: var(--gold); }

/* ─── Programs Page ─────────────────────────────────────────── */
.programs-section {
  padding: 6rem 2.5rem;
  background: var(--light);
}
.programs-inner { max-width: 1100px; margin: 0 auto; }
.programs-grid {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -1rem;
}
.program-card {
  -webkit-flex: 1 1 300px;
  flex: 1 1 300px;
  margin: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: -webkit-transform var(--transition), transform var(--transition), box-shadow var(--transition);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.program-card:hover { -webkit-transform: translateY(-5px); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.program-icon {
  width: 56px;
  height: 56px;
  background: -webkit-linear-gradient(315deg, var(--navy) 0%, var(--sky) 100%);
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  border-radius: 16px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(11,36,71,0.18);
}
.program-body { -webkit-flex: 1; flex: 1; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.program-body h3 { color: var(--navy); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.7rem; }
.program-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; -webkit-flex: 1; flex: 1; }

/* ─── Contact Page ──────────────────────────────────────────── */
.contact-section {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1060px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.contact-info { -webkit-flex: 1 1 280px; flex: 1 1 280px; margin-right: 3rem; margin-bottom: 2rem; }
.contact-form-wrap { -webkit-flex: 1.4 1 320px; flex: 1.4 1 320px; }

.contact-info h2,
.contact-form-wrap h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 1.6rem;
}

.contact-block {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition);
}
.contact-block:hover { box-shadow: var(--shadow-sm); }
.contact-block.highlight-contact {
  background: -webkit-linear-gradient(315deg, var(--navy) 0%, var(--blue) 100%);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(11,36,71,0.22);
}
.contact-block.highlight-contact .contact-label { color: #94b4da; }
.contact-block.highlight-contact .contact-value { color: var(--gold); font-size: 1.05rem; }
.contact-block.highlight-contact a { color: var(--gold); font-weight: 700; }
.contact-block.highlight-contact a:hover { color: var(--gold-lt); }

.contact-icon { font-size: 1.4rem; -webkit-flex-shrink: 0; flex-shrink: 0; margin-top: 2px; margin-right: 1rem; }
.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0.2rem;
  display: block;
}
.contact-value { font-size: 0.97rem; font-weight: 600; color: var(--navy); line-height: 1.5; }
.contact-value a { color: var(--sky); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form .form-group { margin-bottom: 1.3rem; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem; /* 16px minimum prevents iOS auto-zoom */
  font-family: inherit;
  color: var(--text);
  background: var(--light);
  transition: border-color var(--transition), box-shadow var(--transition);
  /* Remove iOS native input chrome */
  -webkit-appearance: none;
  appearance: none;
  /* Min height for comfortable touch */
  min-height: 44px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(47,109,186,0.1);
  background: var(--white);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .navbar { padding: 0.9rem 1.2rem; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .nav-links { -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: center; justify-content: center; }
  .nav-links li { margin: 0.2rem; }
  .nav-links a { line-height: 1.5; padding: 0.55rem 0.85rem; font-size: 0.82rem; }
  .top-bar { -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .top-bar a { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; -webkit-justify-content: center; justify-content: center; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-stat-row { margin-top: 2.5rem; padding-top: 2rem; }
  .highlights { padding: 4rem 1.5rem; }
  .programs-section { padding: 4rem 1.5rem; }
  .org-info { padding: 4rem 1.5rem; }
  .about-intro { padding: 4rem 1.5rem; }
  .about-text { margin-right: 0; }
  .contact-section { padding: 3rem 1.5rem; }
  .contact-info { margin-right: 0; }
  .contact-form-wrap { padding: 1.5rem; }
  .mission-band { padding: 4rem 1.5rem; }
}
