:root {
  --navy: #12294f;
  --navy-deep: #0b1c38;
  --gold: #d3a13a;
  --gold-light: #e8c273;
  --cream: #faf7f0;
  --ink: #1c2530;
  --muted: #5c6675;
  --border: #e7e1d4;
  --font-head: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0 0 16px; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 16px; color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 10px;
}
.center { text-align: center; }
.section-lead.center { max-width: 620px; margin: 0 auto 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(211,161,58,0.35); }
.btn-ghost { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,240,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.05rem; }
.brand-text em { display: block; font-style: normal; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.04em; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { padding: 70px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-lead { font-size: 1.08rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero-actions.center { justify-content: center; }

.hero-visual { display: flex; justify-content: center; }
.hero-emblem { width: 100%; max-width: 380px; }
.emblem-ring { fill: none; stroke: var(--navy); stroke-width: 3; opacity: 0.5; }
.emblem-ring-inner { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0.6; }
.emblem-rays line { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.emblem-heart { fill: var(--navy); opacity: 0.15; }
.emblem-shield { fill: var(--navy); opacity: 0.85; }

/* Banner strip */
.banner-strip { background: var(--navy); color: #fff; padding: 16px 0; }
.banner-inner p { color: #f0e6cf; margin: 0; text-align: center; font-size: 0.95rem; }
.banner-inner strong { color: var(--gold-light); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--navy-deep); color: #fff; text-align: center; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #cdd6e5; max-width: 620px; margin-left: auto; margin-right: auto; }
.involved-note { font-size: 0.85rem; opacity: 0.75; margin-top: 18px; }

.about-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 48px; align-items: start; }
.quote-card {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 36px;
}
.quote-card .gurmukhi { font-family: var(--font-head); font-size: 2rem; color: var(--gold-light); margin-bottom: 12px; }
.quote-card p { color: #d8dfec; margin: 0; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.vm-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
.vm-card p:last-child { margin: 0; font-size: 0.97rem; }

.timeline { margin-top: 56px; display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--border); padding-left: 28px; }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--cream); }
.timeline-current .timeline-dot { background: var(--navy); }
.timeline-date { font-weight: 700; color: var(--navy); margin: 0 0 4px; font-size: 0.9rem; }
.timeline-label { margin: 0; font-size: 0.95rem; }

.chairman-card {
  margin-top: 48px;
  background: var(--navy);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.chairman-avatar {
  flex-shrink: 0;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.chairman-quote { color: #e6ebf3; font-style: italic; font-size: 1.05rem; margin: 0 0 16px; }
.chairman-name { color: #fff; font-weight: 600; margin: 0; }
.chairman-role { color: var(--gold-light); font-size: 0.85rem; margin: 0; }

.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.cause-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.cause-icon { font-size: 1.8rem; margin-bottom: 14px; }
.cause-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cause-card p { margin: 0; font-size: 0.95rem; }

.trustee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.trustee-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px 20px; }
.trustee-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  margin: 0 auto 16px;
}
.trustee-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.trustee-card p { margin: 0; font-size: 0.9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list strong { color: var(--navy); display: block; margin-bottom: 4px; }
.contact-list a { text-decoration: none; color: var(--muted); }
.contact-list a:hover { color: var(--gold); }
.map-placeholder { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); min-height: 320px; }
.map-placeholder iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Donate page */
.donate-hero { padding-bottom: 20px; }
.donate-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.donate-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; }
.donate-card h2 { margin-bottom: 6px; }
.donate-note-top { margin-bottom: 20px; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.amount-btn {
  padding: 14px 8px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  border-radius: 10px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.95rem;
}
.amount-btn.active { border-color: var(--gold); background: rgba(211,161,58,0.12); }
.custom-amount-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.custom-amount-input, .donor-fields input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 14px;
  background: var(--cream);
}
.donor-fields { margin-top: 22px; }
.btn-full { width: 100%; margin-top: 6px; }
.pay-status { margin-top: 14px; font-size: 0.88rem; min-height: 20px; }
.donate-side { display: flex; flex-direction: column; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.side-card p { margin: 0; font-size: 0.92rem; }

@media (max-width: 900px) {
  .donate-grid { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Legal pages */
.legal-section { padding-top: 60px; }
.legal-content { max-width: 720px; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 32px; }
.legal-content h2 { font-size: 1.25rem; margin-top: 36px; }
.legal-content ul { color: var(--muted); padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--navy); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #cdd6e5; padding: 48px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 44px; height: 44px; }
.footer-brand p { margin: 0; font-size: 0.85rem; color: #9aa7bd; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: #cdd6e5; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 18px 0; text-align: center; font-size: 0.8rem; color: #7d8aa1; }

@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid, .vm-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 160px; margin: 0 auto; }
  .hero { padding: 40px 0 30px; }
  .cause-grid, .trustee-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .chairman-card { flex-direction: column; padding: 28px; }
}
@media (max-width: 560px) {
  .cause-grid, .trustee-grid { grid-template-columns: 1fr; }
  .header-actions .btn.btn-primary { padding: 9px 16px; font-size: 0.85rem; }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
