/* Guardian Angels Foundation — site styles
   Brand: deep royal blue #0a008d · Yantramanav · white/soft-gray surfaces */

:root {
  --blue: #0a008d;
  --blue-bright: #0e00c0;
  --blue-deep: #06004d;
  --navy: #040127;
  --ink: #1b1b1b;
  --body: #3c4152;
  --muted: #6b7186;
  --gold: #e8a33d;
  --gold-dark: #c9860f;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --line: #e4e6f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(4, 1, 39, 0.10);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Yantramanav', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 700; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-bright); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title { font-size: 40px; margin-bottom: 16px; }
.section-lead { max-width: 720px; font-size: 18px; color: var(--muted); }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(232,163,61,.35); }
.btn-gold:hover { background: #f2b354; color: var(--navy); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(10,0,141,.25); }
.btn-blue:hover { background: var(--blue-bright); color: #fff; }

.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--blue); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  box-shadow: 0 2px 14px rgba(4,1,39,.25);
}
.nav {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; gap: 24px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a, .nav-trigger {
  color: #e6e8ff; font-size: 15px; font-weight: 500; letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-trigger { cursor: default; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.nav-links .btn { padding: 10px 24px; }
.nav-links a.btn-gold, .nav-links a.btn-gold:hover { color: var(--navy); }
.nav-social { display: flex; align-items: center; gap: 10px; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #e6e8ff;
  transition: background .15s, color .15s;
}
.nav-social a:hover { background: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; }

.nav-item { position: relative; }
.nav-item.has-dropdown > a::after, .nav-item.has-dropdown > .nav-trigger::after { content: " \25be"; font-size: 11px; }
.nav-item.current-section > a, .nav-item.current-section > .nav-trigger { border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 14px;
  background: var(--blue-deep); min-width: 200px; padding: 10px 0;
  border-radius: 10px; box-shadow: 0 14px 24px rgba(4,1,39,.35); list-style: none; z-index: 60;
}
.nav-dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 10px 20px; font-size: 15px; }
.nav-dropdown a[aria-current="page"] { border-bottom: 0; background: rgba(255,255,255,.08); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 620px;
  display: flex; align-items: center;
  color: #fff;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.6s ease;
}
.hero-slides img.active { opacity: 1; }
.hero-inner { position: relative; z-index: 2; padding: 110px 0; }
.hero-eyebrow { display: inline-block; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: rgba(4,1,39,.55); border: 1px solid rgba(255,196,73,.5); border-radius: 999px; padding: 8px 20px; margin-bottom: 6px; }
.hero h1 { color: #fff; font-size: 74px; font-weight: 900; letter-spacing: .01em; margin: 14px 0 18px; }
.hero p { max-width: 640px; font-size: 20px; font-weight: 300; color: #dfe3ff; margin-bottom: 34px; }
.hero .btn + .btn { margin-left: 14px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background-image: linear-gradient(115deg, var(--navy) 0%, var(--blue) 70%, var(--blue-bright) 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  color: #fff; padding: 84px 0 72px;
}
.page-hero h1 { color: #fff; font-size: 52px; font-weight: 900; }
.page-hero p { max-width: 680px; color: #d9ddff; font-size: 19px; font-weight: 300; margin-top: 12px; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img.card-img { height: 220px; width: 100%; object-fit: cover; }
.card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-body > img { align-self: flex-start; max-width: none; }
.card-body h3 { font-size: 22px; color: var(--blue); }
.card-body p { font-size: 15.5px; color: var(--body); flex: 1; }
.card-body .btn { align-self: flex-start; padding: 11px 24px; font-size: 14px; }

.pillar { text-align: center; padding: 36px 28px; }
.pillar h3 { color: var(--blue); }
.pillar img { height: 84px; margin: 0 auto 18px; }

/* ---------- Mission band ---------- */
.band {
  background: linear-gradient(115deg, var(--navy), var(--blue));
  color: #fff;
}
.band .section-title, .band h2, .band h3 { color: #fff; }
.band p { color: #d9ddff; }
.band .eyebrow { color: var(--gold); }
.band .card-body h3 { color: var(--blue); }
.band .card-body p { color: var(--body); }
.verse { font-size: 22px; font-style: italic; font-weight: 300; color: #fff; max-width: 760px; margin: 22px auto 6px; }
.verse-ref { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
#mission:not(.band) .verse { color: var(--ink); }

/* ---------- Progress / causes ---------- */
.progress { background: var(--bg-soft); border-radius: 999px; height: 12px; overflow: hidden; margin: 10px 0 6px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 999px; }
.progress-meta { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- Program rows ---------- */
.program-row {
  display: grid; grid-template-columns: 440px 1fr; gap: 48px; align-items: center;
  padding: 52px 0; border-bottom: 1px solid var(--line);
}
.program-row:last-child { border-bottom: 0; }
.program-row img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 330px; }
.program-row.flip { grid-template-columns: 1fr 440px; }
.program-row.flip img { order: 2; }
.program-row h3 { font-size: 28px; margin-bottom: 12px; }
.program-row .copy-link { display: block; margin: -8px 0 14px; background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.program-row .copy-link:hover { color: var(--blue); }
.program-row .copy-link.copied { color: var(--blue); text-decoration: none; }
.program-row ul { margin: 12px 0 12px 20px; font-size: 15.5px; }
.program-row .btn { margin-top: 14px; }
.price-tag { display: inline-block; background: var(--bg-soft); color: var(--blue); border: 1px solid var(--line); font-weight: 700; border-radius: 8px; padding: 5px 14px; font-size: 14.5px; margin: 6px 0; }

.country-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.country-tags span { display: inline-block; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--blue); color: var(--blue); background: transparent;
  border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px;
  transition: background .15s, color .15s;
}
.social-links a:hover { background: var(--blue); color: #fff; }
.social-links a:visited { color: #0a008d; border-color: #0a008d; }
.social-links a:visited:hover { color: #fff; }

/* ---------- Tiers (sponsorship) ---------- */
.tier { position: relative; }
.tier .card-body { text-align: center; align-items: center; }
.tier .price { font-size: 30px; font-weight: 900; color: var(--blue); }
.tier .price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.tier ul { margin: 14px 0 0 20px; font-size: 15px; }
.tier-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.tier.featured { border: 2px solid var(--gold); box-shadow: 0 10px 28px rgba(232,163,61,.25); }
.tier-badge { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 14px; margin-bottom: 10px; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 34px 30px; }
.quote-card .mark { font-size: 44px; color: var(--gold); line-height: 1; font-weight: 900; }
.quote-card p { font-size: 15.5px; font-style: italic; margin: 8px 0 18px; }
.quote-card cite { font-style: normal; font-weight: 700; color: var(--blue); }

.page-quote { max-width: 700px; margin: 0 auto; }
.page-quote .mark { display: block; font-size: 54px; color: var(--gold); line-height: 1; font-weight: 900; }
.page-quote p { font-size: 26px; font-weight: 700; font-style: italic; color: var(--ink); margin: 6px 0 14px; }
.page-quote cite { font-style: normal; font-weight: 600; color: var(--blue); }

/* ---------- Recent activity (homepage) ---------- */
.card.recent-card { text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card.recent-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(10,0,141,.14); }
.recent-card .card-body time { color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.recent-card .card-body h3 { font-size: 18px; font-weight: 500; color: var(--blue); }

/* ---------- Photo gallery & lightbox ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.photo-grid button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; aspect-ratio: 1; display: block; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; transition: transform .2s; }
.photo-grid button:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; background: rgba(4,1,39,.92); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 28px;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .8; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 20px; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ---------- News ---------- */
.news-item {
  display: flex; flex-direction: column;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.news-item h3 { order: 1; font-size: 19px; font-weight: 500; color: var(--blue); }
.news-item time { order: 2; margin-top: 6px; color: var(--blue); font-weight: 700; font-size: 15px; }
.news-item img { order: 3; margin-top: 14px; width: 100%; max-width: 460px; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.news-item video { order: 3; margin-top: 14px; width: 100%; max-width: 460px; border-radius: var(--radius); box-shadow: var(--shadow); display: block; background: #000; }
.news-item video.portrait { max-width: 260px; }
.news-item .caption { order: 4; margin-top: 10px; max-width: 460px; font-size: 14px; font-style: italic; color: var(--muted); }
.news-item .copy-link { order: 2; align-self: flex-start; margin-top: 4px; background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.news-item .copy-link:hover { color: var(--blue); }
.news-item .copy-link.copied { color: var(--blue); text-decoration: none; }
.news-gallery { order: 3; display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.news-gallery img { flex: 1 1 200px; max-width: 224px; height: 180px; object-fit: cover; margin-top: 0; }

/* ---------- Seals & partners ---------- */
.seals { display: flex; align-items: center; justify-content: center; gap: 54px; flex-wrap: wrap; }
.seals img { height: 96px; width: auto; }
.partners { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.partners img { height: 64px; width: auto; filter: grayscale(35%); opacity: .85; transition: .2s; }
.partners img:hover { filter: none; opacity: 1; }

/* ---------- Contact ---------- */
.contact-card { text-align: center; padding: 38px 28px; }
.contact-card .ic { font-size: 34px; margin-bottom: 10px; }
.contact-card h3 { font-size: 19px; margin-bottom: 6px; }
.contact-card a { font-weight: 700; }

/* ---------- Volunteer form ---------- */
.vform { max-width: 760px; margin: 0 auto; }
.vform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.vform-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.vform-field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.vform-field label em { color: var(--gold-dark); font-style: normal; }
.vform-radio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.vform-radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.vform-radio-row input[type="text"] { width: auto; flex: 1; min-width: 200px; }
.vform-phone-row { display: flex; gap: 12px; }
.vform-name-row { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 12px; }
.vform input[type="text"], .vform input[type="email"], .vform input[type="tel"],
.vform input[type="time"], .vform input[type="date"], .vform select, .vform textarea {
  font: inherit; width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink);
}
.vform input:focus, .vform select:focus, .vform textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.vform textarea { resize: vertical; min-height: 100px; }
.vform-days { display: flex; flex-wrap: wrap; gap: 12px 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.vform-days label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.vform-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.vform-agree input { margin-top: 4px; }
.vform-error { color: #b3261e; font-size: 14px; margin-top: 8px; }
.vform-success {
  display: none; background: #e9f8ee; border: 1px solid #b7e4c7; color: #1e6b3a;
  border-radius: var(--radius); padding: 20px 24px; font-weight: 600; margin-bottom: 30px; text-align: center;
}
.vform-success.show { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--blue) 0%, var(--blue-bright) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: 38px; margin-bottom: 12px; }
.cta-band p { color: #d9ddff; max-width: 640px; margin: 0 auto 30px; }
.cta-band .btn { margin: 8px 6px 0; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #aab0d6; padding: 48px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; }
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #aab0d6; }
.footer-grid a:hover { color: #fff; }
.footer-grid a.btn-gold, .footer-grid a.btn-gold:hover { color: var(--navy); }
.footer-logo img { height: 62px; width: auto; max-width: none; margin-bottom: 16px; }
.footer-seals { display: flex; gap: 22px; align-items: center; margin-top: 18px; }
.footer-seals img { height: 74px; width: auto; max-width: none; flex-shrink: 0; }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #aab0d6;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 13.5px; color: #7d84ad; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero h1 { font-size: 52px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .program-row, .program-row.flip { grid-template-columns: 1fr; gap: 24px; }
  .program-row.flip img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 40px 0; }
  .section-title { font-size: 31px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 40px; }
  .hero .btn + .btn { margin-left: 0; margin-top: 12px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .vform-row { grid-template-columns: 1fr; gap: 0; }
  .vform-name-row { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--blue-deep); padding: 22px 28px;
    gap: 18px; align-items: flex-start; box-shadow: 0 14px 24px rgba(4,1,39,.35);
  }
  .nav-links.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item.has-dropdown > a::after, .nav-item.has-dropdown > .nav-trigger::after { content: ""; }
  .nav-dropdown {
    display: block; position: static; background: none; box-shadow: none;
    margin: 10px 0 0; padding: 0; padding-left: 16px;
  }
  .nav-dropdown a { padding: 8px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
