:root {
    --green: #14532d;
    --green-dark: #0b3a1f;
    --leaf: #2f855a;
    --marigold: #f59e0b;
    --saffron: #ea580c;
    --cream: #fffaf0;
    --sand: #fdf1dc;
    --text: #1d2a21;
    --muted: #5b6b60;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(11, 58, 31, .08);
    --shadow-lg: 0 24px 60px rgba(11, 58, 31, .18);
    --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Manrope', system-ui, sans-serif; color: var(--text); line-height: 1.65; background: #fff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; line-height: 1.12; color: var(--green-dark); }
h1 em, h2 em { color: var(--saffron); font-style: italic; font-weight: 600; }
h3 { font-size: 1.1rem; color: var(--green-dark); }
p { color: var(--muted); }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.7rem; border-radius: 50px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--marigold), var(--saffron)); color: #fff; box-shadow: 0 10px 24px rgba(234, 88, 12, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(234, 88, 12, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 1rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(11, 58, 31, .08); padding: .6rem 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--leaf), var(--green)); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(20, 83, 45, .35); flex-shrink: 0; }
.logo-mark svg { width: 30px; height: 30px; }
.lm-flame { fill: var(--marigold); }
.lm-hands { fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--green-dark); }
.logo-text small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); font-weight: 800; }
.site-header:not(.scrolled) .logo-text strong { color: #fff; }
.site-header:not(.scrolled) .logo-text small { color: var(--marigold); }
.logo.light strong { color: #fff; }
.logo.light small { color: var(--marigold); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--marigold); border-radius: 2px; transition: width .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav-cta { background: linear-gradient(135deg, var(--marigold), var(--saffron)); color: #fff; padding: .55rem 1.3rem; border-radius: 50px; box-shadow: 0 6px 16px rgba(234, 88, 12, .3); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; z-index: 101; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-header:not(.scrolled) .burger:not(.open) span { background: #fff; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 861px) {
    .site-header:not(.scrolled) .nav a:not(.nav-cta) { color: #fff; }
}

/* Hero */
.hero { position: relative; padding: 9.5rem 0 7rem; background: radial-gradient(circle at 80% 20%, #1f7a45 0%, var(--green) 45%, var(--green-dark) 100%); overflow: hidden; color: #fff; }
.hero-pattern { position: absolute; inset: 0; opacity: .08; background-image: radial-gradient(circle, #fff 1.5px, transparent 1.6px); background-size: 26px 26px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: .45rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); animation: ping 1.8s infinite; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 1.3rem 0 1.2rem; }
.hero h1 em { color: var(--marigold); }
.lead { font-size: 1.1rem; max-width: 540px; color: rgba(255, 255, 255, .85); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.sun { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .55), rgba(245, 158, 11, 0) 70%); animation: glow 4s ease-in-out infinite; }
.hero-diya { position: relative; font-size: 6rem; filter: drop-shadow(0 10px 30px rgba(245, 158, 11, .6)); animation: float 5s ease-in-out infinite; }
.orbit { position: absolute; inset: 0; }
.o-card { position: absolute; display: flex; align-items: center; gap: .55rem; background: #fff; color: var(--green-dark); font-weight: 700; font-size: .92rem; padding: .7rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.o-card span { font-size: 1.4rem; }
.oc1 { top: 8%; left: 6%; }
.oc2 { top: 14%; right: 4%; animation-delay: -1.5s; }
.oc3 { bottom: 14%; left: 0; animation-delay: -3s; }
.oc4 { bottom: 6%; right: 10%; animation-delay: -4.5s; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: #fff; }

/* Sections */
.section { padding: 6rem 0; }
.tint { background: var(--cream); }
.kicker { display: inline-block; font-weight: 800; color: var(--saffron); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: .8rem; }
.head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.head h2, .about-grid h2, .donate-grid h2, .contact-grid h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.head.light h2 { color: #fff; }
.head.light .kicker { color: var(--marigold); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
.about-grid > div > p { margin-bottom: 1rem; }
.about-media { position: relative; }
.about-card { position: relative; background: linear-gradient(150deg, var(--green), var(--green-dark)); border-radius: 28px; padding: 3.5rem 2.5rem; color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.about-card::after { content: '🪔'; position: absolute; right: -10px; bottom: -20px; font-size: 9rem; opacity: .12; }
.big-quote { font-family: 'Fraunces', serif; font-size: 6rem; line-height: .6; color: var(--marigold); display: block; margin-bottom: 1rem; }
.about-card p { color: #fff; font-family: 'Fraunces', serif; font-size: 1.45rem; line-height: 1.45; }
.about-card p em { color: var(--marigold); }
.about-card small { display: block; margin-top: 1.4rem; color: rgba(255, 255, 255, .7); font-weight: 600; }
.about-badge { position: absolute; right: -1.2rem; bottom: -1.6rem; display: flex; align-items: center; gap: .7rem; background: #fff; padding: 1rem 1.3rem; border-radius: 18px; box-shadow: var(--shadow-lg); font-weight: 700; line-height: 1.3; color: var(--green-dark); font-size: .9rem; }
.about-badge strong { font-size: 1.6rem; }
.mv { display: grid; gap: 1rem; margin-top: 1.8rem; }
.mv-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border-radius: 16px; padding: 1.1rem 1.3rem; }
.mv-item > span { font-size: 1.6rem; }
.mv-item p { font-size: .93rem; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.work { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.work::before { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--marigold), var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.work:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work:hover::before { transform: scaleX(1); }
.w-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: var(--sand); margin-bottom: 1.2rem; transition: transform .4s var(--ease); }
.work:hover .w-ic { transform: rotate(-8deg) scale(1.1); }
.work h3 { margin-bottom: .4rem; }
.work p { font-size: .92rem; }
.work-cta { background: linear-gradient(150deg, var(--green), var(--green-dark)); }
.work-cta h3 { color: #fff; }
.work-cta p { color: rgba(255, 255, 255, .8); }
.work-cta .w-ic { background: rgba(255, 255, 255, .12); }
.link { display: inline-block; margin-top: .8rem; font-weight: 800; color: var(--marigold); }

/* Steps */
.steps-sec { padding: 6rem 0; background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 2rem 1.6rem; transition: background .3s, transform .4s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .12); transform: translateY(-6px); }
.num { font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--marigold); line-height: 1; }
.step h3 { color: #fff; margin: .8rem 0 .4rem; }
.step p { color: rgba(255, 255, 255, .75); font-size: .93rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.member { background: #fff; border: 1px solid #eee3cf; border-radius: var(--radius); padding: 2.2rem 1.4rem; text-align: center; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.m-ph { width: 100px; height: 100px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, var(--leaf), var(--green)); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--sand); }
.role { display: inline-block; margin-top: .5rem; background: var(--sand); color: var(--saffron); font-size: .82rem; font-weight: 800; padding: .2rem .85rem; border-radius: 50px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 1.2rem; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: linear-gradient(135deg, #e8f3ec, var(--sand)); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.g-item:nth-child(even) { background: linear-gradient(135deg, var(--sand), #f6e3c4); }
.g-item:hover { transform: scale(1.02); }
.g-item span { font-size: 3.2rem; animation: float 6s ease-in-out infinite; }
.g-item p { font-weight: 700; color: var(--green-dark); }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* Donate */
.donate-sec { background: linear-gradient(180deg, #fff, var(--sand)); }
.donate-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; }
.impact { list-style: none; display: grid; gap: .8rem; margin-top: 1.8rem; }
.impact li { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 14px; padding: .9rem 1.2rem; box-shadow: var(--shadow); }
.impact strong { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--saffron); min-width: 90px; }
.impact span { font-weight: 600; color: var(--text); }
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.pay-card { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-lg); }
.pay-card h3 { margin-bottom: 1.2rem; }
.qr { aspect-ratio: 1; max-width: 190px; margin: 0 auto 1.2rem; border-radius: 16px; border: 2px dashed #d9c9a8; display: grid; place-items: center; text-align: center; font-weight: 700; color: var(--muted); background: var(--cream); }
.qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--cream); border-radius: 12px; padding: .5rem .5rem .5rem .9rem; margin-bottom: 1rem; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .92rem; color: var(--green-dark); font-weight: 600; word-break: break-all; }
.copy { border: 0; cursor: pointer; background: var(--green); color: #fff; font-family: inherit; font-weight: 700; font-size: .78rem; padding: .35rem .8rem; border-radius: 50px; transition: background .3s; }
.copy:hover { background: var(--leaf); }
.copy.done { background: var(--saffron); }
.bank { display: grid; gap: .3rem; }
.bank dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--saffron); font-weight: 800; margin-top: .6rem; }
.bank dd { font-weight: 600; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.c-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.c-item { display: flex; align-items: center; gap: 1rem; background: #fff; padding: 1.1rem 1.3rem; border-radius: 16px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.c-item:hover { transform: translateX(6px); }
.c-item > span { font-size: 1.4rem; width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: var(--sand); display: grid; place-items: center; }
.c-item p { font-size: .92rem; }
.c-form { background: #fff; border-radius: 24px; padding: 2.2rem; box-shadow: var(--shadow-lg); display: grid; gap: 1rem; border-top: 5px solid var(--marigold); }
.c-form h3 { font-family: 'Fraunces', serif; font-size: 1.5rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.c-form label { display: grid; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--green-dark); }
.c-form input, .c-form select, .c-form textarea { width: 100%; font: inherit; font-weight: 500; padding: .8rem 1rem; border: 1.5px solid #e6dcc8; border-radius: 12px; background: var(--cream); color: var(--text); transition: border-color .3s, box-shadow .3s; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(47, 133, 90, .15); }
.map { margin-top: 3.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* Footer */
.footer { background: var(--green-dark); color: rgba(255, 255, 255, .75); padding: 4.5rem 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.footer p { color: rgba(255, 255, 255, .65); margin-top: 1.2rem; max-width: 340px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.foot-grid > div:not(:first-child) a { display: block; margin-bottom: .6rem; transition: color .3s; }
.foot-grid a:hover { color: var(--marigold); }
.copy-bar { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 1.3rem 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* Floating buttons */
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.1); }
.fab-wa { background: #25d366; animation: ring 2.4s infinite; }
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }
.to-top { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .7); } 100% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .donate-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 360px; }
    .work-grid, .steps, .team { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 3.5rem; }
}
@media (max-width: 860px) {
    .burger { display: block; }
    .nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80%); flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: 6rem 2rem 2rem; background: #fff; box-shadow: -10px 0 40px rgba(11, 58, 31, .15); transform: translateX(100%); transition: transform .4s var(--ease); }
    .nav.open { transform: none; }
    .foot-grid { grid-template-columns: 1fr; }
    .about-badge { right: .6rem; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
    .hero { padding: 7.5rem 0 5.5rem; }
    .hero-visual { min-height: 300px; }
    .hero-diya { font-size: 4.5rem; }
    .o-card { font-size: .8rem; padding: .5rem .8rem; }
    .o-card span { font-size: 1.1rem; }
    .section, .steps-sec { padding: 4.5rem 0; }
    .work-grid, .steps, .row, .pay-cards { grid-template-columns: 1fr; }
    .team { gap: .9rem; }
    .member { padding: 1.5rem .8rem; }
    .m-ph { width: 70px; height: 70px; font-size: 1.6rem; }
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .g-wide { grid-column: auto; }
    .about-card { padding: 2.6rem 1.8rem; }
    .about-card p { font-size: 1.2rem; }
    .c-form { padding: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
