/* ==========================================================================
   Flying Angels for Mothers with Kids — modernized static stylesheet
   Rebuilt from the original design (navy #012e68 sidebar, Montserrat + Amiri).
   Hand-authored, dependency-free. No Bootstrap, no jQuery.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.woff2') format('woff2'),
       url('../fonts/fontawesome-webfont.woff') format('woff'),
       url('../fonts/fontawesome-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Design tokens -------------------------------------------------------- */
:root {
  --navy: #012e68;
  --blue: #034daf;
  --ink: #35373e;
  --body: #6f7377;
  --muted: #999999;
  --line: #e7e9ec;
  --bg: #ffffff;
  --bg-soft: #f1f4f5;
  --sidebar-w: 244px;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Amiri', Georgia, 'Times New Roman', serif;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--navy); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--blue); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--navy); color: #fff; }

/* --- FontAwesome subset --------------------------------------------------- */
.fa {
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
}
.fa-home::before      { content: '\f015'; }
.fa-trophy::before    { content: '\f091'; }
.fa-users::before     { content: '\f0c0'; }
.fa-handshake-o::before { content: '\f2b5'; }
.fa-envelope::before  { content: '\f0e0'; }
.fa-heart::before     { content: '\f004'; }
.fa-facebook::before  { content: '\f09a'; }
.fa-twitter::before   { content: '\f099'; }
.fa-bars::before      { content: '\f0c9'; }
.fa-times::before     { content: '\f00d'; }
.fa-angle-right::before { content: '\f105'; }
.fa-arrow-up::before  { content: '\f062'; }

/* --- App shell ------------------------------------------------------------ */
.layout { min-height: 100vh; }

/* --- Sidebar -------------------------------------------------------------- */
.sidebar {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar__brand {
  text-align: center;
  padding: 34px 24px 26px;
}
.sidebar__brand img { width: 118px; margin: 0 auto; }
.sidebar__nav { margin-top: 6px; flex: 1; }
.sidebar__nav ul { list-style: none; margin: 0; padding: 0; }
.sidebar__nav li { border-top: 1px dotted rgba(255,255,255,.22); }
.sidebar__nav li:last-child { border-bottom: 1px dotted rgba(255,255,255,.22); }
.sidebar__nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 26px;
  height: 52px;
  color: #c6cbd4;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.sidebar__nav a .fa { font-size: 15px; width: 18px; text-align: center; color: inherit; }
.sidebar__nav a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background .25s ease;
}
.sidebar__nav a:hover { color: #fff; }
.sidebar__nav li.is-active a { color: #fff; }
.sidebar__nav a:hover::before,
.sidebar__nav li.is-active a::before { background: #fff; }

.sidebar__foot {
  padding: 22px 26px 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.sidebar__social { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 18px; }
.sidebar__social a { color: #c6cbd4; font-size: 14px; }
.sidebar__social a:hover { color: #fff; }
.x-icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; }
.sidebar__copy {
  color: #9aa2af;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.7;
}

/* --- Mobile top bar ------------------------------------------------------- */
.topbar { display: none; }

/* --- Main content --------------------------------------------------------- */
.content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.content > main { flex: 1; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* accent top rule that appears above inner pages */
.pagerule { height: 12px; background: var(--navy); }

/* --- Home notice (announcement strip) ------------------------------------ */
.notice {
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 13px 24px;
  line-height: 1.5;
  border-bottom: 3px solid var(--navy);
}
.notice a { color: var(--blue); text-decoration: underline; }

/* --- Hero slider ---------------------------------------------------------- */
.hero { position: relative; height: min(74vh, 620px); overflow: hidden; background: #0b1f3d; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,46,104,.72) 0%, rgba(1,46,104,.32) 45%, rgba(1,46,104,0) 75%);
}
.hero__caption {
  position: absolute;
  z-index: 3;
  left: 0; bottom: 0; top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  max-width: 620px;
  color: #fff;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #cdd7e6;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 16px;
  line-height: 1.1;
}
.hero__text {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: #eef2f8;
  margin-bottom: 26px;
  max-width: 500px;
}
.hero__cta {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  padding: 12px 26px;
  transition: all .25s ease;
}
.hero__cta:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero__dots {
  position: absolute;
  z-index: 4;
  left: 60px; bottom: 26px;
  display: flex; gap: 10px;
}
.hero__dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  padding: 0; cursor: pointer;
  transition: background .25s ease;
}
.hero__dots button.is-active { background: #fff; }

/* --- Section titles (decorative underline, replaces kandN.png) ------------ */
.section-title {
  font-family: var(--sans);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 18px;
  margin: 0 0 26px;
}
.section-title--center {
  text-align: center;
  font-size: 21px;
  font-weight: 600;
}
.section-title--center::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 54px; height: 2px;
  transform: translateX(-50%);
  background: var(--navy);
}
.section-title--page {
  font-size: 26px;
  font-weight: 300;
}
.section-title--page.bold { font-weight: 700; font-size: 23px; }
.section-title--left::after,
.section-title--page::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 46px; height: 2px;
  background: var(--navy);
}

/* --- Home "we-are" -------------------------------------------------------- */
.we-are { padding: 96px 0 84px; }
.lede {
  text-align: center;
  color: var(--body);
  font-style: italic;
  font-size: 21px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 34px;
}
.we-are__body {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.we-are__body p { margin-bottom: 1.3em; }

/* --- Inner page shell (supersized-style split image) ---------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 12px); }
.split__media {
  position: sticky; top: 0;
  height: 100vh;
  background-size: cover;
  background-position: center;
}
.split__body { padding: 60px 60px 70px; }
.split--full .split__body { max-width: 900px; }

.page { padding: 46px 0 80px; }

/* generic prose */
.prose { font-size: 17px; color: var(--body); }
.prose strong { color: var(--ink); }
.prose em { color: inherit; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--muted);
}
.prose ul li::before {
  content: '';
  position: absolute; left: 2px; top: 11px;
  width: 8px; height: 8px;
  background: var(--navy);
  transform: rotate(45deg);
}
.prose h2, .prose h3 { color: var(--ink); font-family: var(--sans); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 22px; }

/* --- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--body);
  padding: 4px 0 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs a { color: var(--body); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { color: #c3c7cc; }

/* --- Card grid (team / partners) ------------------------------------------ */
.card-grid {
  display: grid;
  gap: 26px;
  margin-top: 10px;
}
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  box-shadow: 0 2px 14px rgba(20,30,45,.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover { box-shadow: 0 12px 30px rgba(20,30,45,.16); transform: translateY(-3px); }
.card__media { overflow: hidden; }
.card__media img { width: 100%; transition: transform 1s ease, opacity .4s ease; }
.card:hover .card__media img { transform: scale(1.05); opacity: .92; }
.card__body { padding: 22px 22px 24px; }
.card__name {
  font-family: var(--serif);
  color: var(--body);
  font-style: italic;
  font-size: 20px;
  margin: 0 0 6px;
}
.card__name.center { text-align: center; }
.card__role {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.card__body p { font-size: 15.5px; }
.card__foot { margin-top: 16px; }
.card__foot a { color: var(--ink); font-size: 20px; }
.card__foot a:hover { color: var(--navy); }
.card--partner .card__body { padding: 20px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--navy { border-color: var(--navy); background: var(--navy); }
.btn--navy:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* --- Forms ---------------------------------------------------------------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #b7bdc4;
  box-shadow: 0 0 0 3px rgba(1,46,104,.08);
}
.field textarea { resize: vertical; min-height: 190px; }

/* --- Contact address / stamp --------------------------------------------- */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 8px 0 30px; }
.address b { color: var(--ink); }
.uc { text-transform: uppercase; letter-spacing: .5px; }
.stamp img { margin: 0 auto; }

/* --- Donate --------------------------------------------------------------- */
.callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--navy);
  padding: 22px 26px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 16.5px;
}
.wire { font-size: 16px; }
.wire div { margin-bottom: 4px; }
.wire b { color: var(--ink); }
.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 26px 0 6px;
}

/* --- Footer --------------------------------------------------------------- */
.prefooter {
  background: var(--blue);
  color: #e6ebf3;
  padding: 74px 0 66px;
}
.prefooter__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .8fr 1.2fr;
  gap: 40px;
}
.prefooter h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
  padding-bottom: 12px;
  position: relative;
}
.prefooter h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: rgba(255,255,255,.55);
}
.prefooter p { font-size: 15px; line-height: 1.6; }
.prefooter a { color: #e6ebf3; }
.prefooter a:hover { color: #fff; text-decoration: underline; }

.foot-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.foot-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  font-size: 13px;
  color: #eef1f6;
}
.foot-social a:hover { background: #fff; color: var(--ink); text-decoration: none; }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { margin-bottom: 10px; }

.logo-list { list-style: none; margin: 0; padding: 0; }
.logo-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.logo-list li img { width: 26px; height: auto; flex: 0 0 26px; }

.copyright-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 26px 20px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.9;
}
.copyright-bar p { margin: 0; }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* --- Back to top ---------------------------------------------------------- */
.totop {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
  z-index: 90;
}
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--blue); }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .prefooter__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { position: relative; height: 44vh; }
  .split__body { padding: 40px 30px 56px; }
  .contact-cols { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    transition: transform .3s ease;
    box-shadow: 0 0 40px rgba(0,0,0,.3);
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  .scrim {
    position: fixed; inset: 0;
    background: rgba(1,20,46,.5);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
    z-index: 95;
  }
  .content { margin-left: 0; }
  .topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--navy);
    padding: 12px 18px;
    position: sticky; top: 0;
    z-index: 60;
  }
  .topbar img { width: 42px; }
  .topbar__title {
    color: #fff;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
  }
  .topbar__toggle {
    margin-left: auto;
    background: #fff;
    color: var(--navy);
    border: none;
    width: 42px; height: 42px;
    font-size: 18px;
    cursor: pointer;
  }
  .notice { font-size: 11px; padding: 11px 18px; }
  .hero__caption, .hero__dots { padding-left: 30px; padding-right: 30px; }
  .hero__dots { left: 30px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .prefooter__grid { grid-template-columns: 1fr; }
  .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .we-are { padding: 60px 0 54px; }
  .hero { height: 62vh; }
  .hero__text { font-size: 18px; }
}
