:root {
  --green: #1F5D3A;
  --green-dark: #164529;
  --green-light: #2c7a4d;
  --mustard: #E6A817;
  --cream: #FBF7EE;
  --ink: #23302a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 28px 16px; }
.center { text-align: center; }
.small { font-size: 15px; opacity: .8; }

h1, h2, h3 { line-height: 1.3; color: var(--green); margin: 0 0 12px; }
h1 { font-size: 2.6rem; color: #fff; font-weight: 800; margin-bottom: 6px; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.3rem; font-weight: 700; color: var(--green); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green) 55%, var(--green-light));
  padding-top: 24px;
}
.blob {
  position: absolute; border-radius: 50%; background: var(--mustard);
  opacity: .15; filter: blur(8px); animation: float 9s ease-in-out infinite;
}
.b1 { width: 220px; height: 220px; top: -60px; left: -50px; }
.b2 { width: 160px; height: 160px; top: 40%; right: -40px; animation-delay: -3s; }
.b3 { width: 120px; height: 120px; bottom: 80px; left: 30%; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.08); }
}

.hero-inner {
  position: relative; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 22px;
}
.photo-wrap { position: relative; width: 190px; height: 190px; flex: none; }
.photo, .ring { position: absolute; inset: 0; border-radius: 50%; }
.photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  border: 5px solid var(--mustard); background: var(--green-dark);
}
.ring {
  inset: -12px; border: 3px dashed var(--mustard);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.namaste { margin: 0; color: var(--mustard); font-weight: 600; }
.namebox { display: inline-block; }
.tagline { display: flex; gap: 6px; width: 100%; margin: 10px 0 0; }
.tagline span {
  flex: 1; text-align: center; white-space: nowrap;
  padding: 4px 6px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: var(--mustard); color: var(--green-dark);
}
.role { margin: 0; font-size: 1.1rem; }

.w { display: inline-block; opacity: 0; transform: translateY(24px); animation: rise .8s ease forwards; }
.w1 { animation-delay: .2s; }
.w2 { animation-delay: .5s; }
.namaste, .tagline, .role, .btns { animation: fade 1s ease both; }
.namaste { animation-delay: 0s; }
.tagline { animation-delay: .9s; }
.role { animation-delay: .8s; }
.btns { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- countdown ---------- */
.countdown { position: relative; text-align: center; padding: 22px 16px 70px; }
.cd-title { margin: 0 0 8px; color: var(--mustard); font-weight: 700; }
.cd-row { display: flex; justify-content: center; gap: 12px; }
.cd-row div {
  min-width: 78px; padding: 10px 6px; border-radius: 14px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
}
.cd-row[hidden] { display: none; }
.cd-row b { display: block; font-size: 2rem; line-height: 1.1; }
.cd-row span { font-size: .9rem; opacity: .85; }
.cd-date { margin: 8px 0 0; font-size: .95rem; opacity: .85; }
.cd-msg { font-size: 1.4rem; font-weight: 800; color: var(--mustard); margin: 0; }

.wave { position: absolute; left: 0; width: 100%; height: 60px; display: block; }
.hero .wave { bottom: -1px; }
.wave-top { top: -1px; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  background: var(--mustard); color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.btn:active { transform: scale(.95); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; box-shadow: none; }
.btn-ghost-dark { background: transparent; color: var(--green); border: 2px solid var(--green); box-shadow: none; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230,168,23,.6); }
  70% { box-shadow: 0 0 0 16px rgba(230,168,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,168,23,0); }
}

/* ---------- cards ---------- */
.cards { display: grid; gap: 18px; }
.card, .appeal, .form-box {
  position: relative; background: #fff; border-radius: 16px; padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card { border-top: 6px solid var(--mustard); padding-top: 34px; }
.card:hover, .pledge:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(31,93,58,.18); }
.num {
  position: absolute; top: -22px; left: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--mustard); font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--cream);
}
.appeal { margin-bottom: 18px; border-left: 6px solid var(--mustard); }
.form-box { text-align: center; border-top: 6px solid var(--mustard); }

/* ---------- pledges ---------- */
.pledges { display: grid; gap: 14px; margin-top: 16px; }
.pledge {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  padding: 16px; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pledge p { margin: 0; }
.pn {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--mustard); color: var(--green-dark); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.note { background: #fff3d0; padding: 14px 16px; border-radius: 12px; margin-top: 18px; }

/* ---------- footer ---------- */
footer { position: relative; background: var(--green-dark); color: #fff; padding: 50px 0 80px; margin-top: 30px; }
.sign { font-size: 1.6rem; font-weight: 800; color: var(--mustard); margin: 0; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-top .photo-wrap { width: 150px; height: 150px; }
footer .namebox p { margin: 0; }
.call-line { margin: 14px 0 0; font-weight: 700; font-size: 1.15rem; }
.call-line a { color: var(--mustard); text-decoration: none; }
footer .namebox .tagline { margin-top: 12px; }
.social { display: flex; gap: 14px; justify-content: center; margin-top: 16px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; background: var(--mustard);
  color: var(--green-dark); display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.social a:hover { transform: translateY(-4px) rotate(8deg); }
.social svg, .fab svg { width: 24px; height: 24px; }

/* ---------- floating whatsapp ---------- */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 10;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3); animation: fabpulse 2.4s infinite;
}
.fab svg { width: 30px; height: 30px; }
.fab[aria-disabled="true"] { display: none; }
@keyframes fabpulse {
  0% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.6); }
  70% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 18px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover, .js .pledge.reveal.in:hover { transform: translateY(-6px); }

@media (min-width: 700px) {
  h1 { font-size: 3.4rem; }
  .hero-inner { flex-direction: row; gap: 40px; padding-top: 30px; }
  .footer-top { flex-direction: row; justify-content: center; gap: 40px; }
  .photo-wrap { width: 230px; height: 230px; }
  .cards { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
  .pledges { grid-template-columns: repeat(2, 1fr); }
  .wrap:has(.cards) { max-width: 1100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
