@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --navy:   #002866;
  --blue:   #0C51BD;
  --gold:   #C8973A;
  --light:  #F5F8FF;
  --muted:  #4D6995;
  --white:  #ffffff;
  --border: #DDE4F0;
  --text:   #1a2540;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 6px 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.75); transition: color .2s; }
.topbar a:hover { color: var(--gold); }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,40,102,0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.logo-text .org { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.logo-text .name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--light);
  color: var(--blue);
}
.nav-donate {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 6px;
  padding: 8px 18px !important;
  font-weight: 600 !important;
}
.nav-donate:hover { background: #b5822e !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a3880 60%, #0C51BD 100%);
  color: var(--white);
  padding: 90px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-block;
  background: rgba(200,151,58,0.25);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-quote {
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.7;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 32px;
}
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all .2s;
  display: inline-block;
}
.btn-primary:hover { background: #b5822e; transform: translateY(-2px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* Hero donation card */
.donate-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.donate-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.donate-card .sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 6px; }
.progress-label .raised { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.progress-label .goal { color: var(--muted); }
.progress-bar { background: var(--border); border-radius: 999px; height: 10px; margin-bottom: 20px; }
.progress-fill { background: linear-gradient(90deg, var(--gold), #e8a930); border-radius: 999px; height: 100%; width: 68%; }
.bank-details {
  background: var(--light);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}
.bank-details h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.bank-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid var(--border); }
.bank-row:last-child { border-bottom: none; }
.bank-row strong { color: var(--navy); }
.donate-card .btn-primary { width: 100%; text-align: center; }

/* ── SECTION ── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: auto; }
.section-alt { background: var(--light); }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.centered { text-align: center; }
.centered .section-lead { margin-left: auto; margin-right: auto; }

/* ── MISSION PILLARS ── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: all .3s;
  text-align: center;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(12,81,189,0.12); border-color: var(--blue); }
.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.pillar h4 { font-weight: 600; font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.pillar p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── ABOUT GRID ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.about-content p { color: var(--muted); margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem; }
.about-content ul { padding-left: 20px; color: var(--muted); font-size: 0.95rem; line-height: 2; }
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box {
  background: var(--light);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--gold);
}
.stat-box .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-box .label { font-size: 0.82rem; color: var(--muted); }

/* ── FAQ ── */
.faq-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.faq-tab {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--muted);
  transition: all .2s;
}
.faq-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  background: #F5F5F5;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--muted); }
.faq-q.open { color: var(--blue); }
.faq-q.open::after { content: '−'; color: var(--blue); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all .3s;
  font-size: 0.92rem;
  color: var(--muted);
  background: #FAFAFA;
  line-height: 1.75;
}
.faq-a.open { max-height: 400px; padding: 16px 24px; }
.faq-a ul { padding-left: 18px; margin-top: 8px; }
.faq-a li { margin-bottom: 4px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text .ctitle { font-weight: 600; color: var(--navy); font-size: 0.88rem; margin-bottom: 2px; }
.contact-item-text p { font-size: 0.88rem; color: var(--muted); }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
}
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,40,102,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  color: var(--white);
  font-size: 1.5rem;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #0a3880);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.page-hero p { opacity: 0.75; font-size: 0.95rem; }
.breadcrumb { font-size: 0.8rem; opacity: 0.6; margin-top: 12px; }
.breadcrumb a { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.footer-col p { font-size: 0.85rem; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bank {
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px;
  font-size: 0.8rem;
}
.footer-bank h5 { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.footer-bank p { margin-bottom: 4px; }
.footer-bank strong { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ── UTILS ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.gold { color: var(--gold); }
.navy { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .donate-card { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
  .hero h1 { font-size: 1.9rem; }
}
