:root {
  --saffron: #f7b85c;
  --deep-saffron: #d96d1f;
  --gold: #d9b674;
  --cream: #fff8ef;
  --sand: #f7ecda;
  --text: #23160e;
  --muted: #6b5948;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.22);
}

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

body {
  font-family: 'Poppins', 'Noto Sans', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 18%, #fff5df 0, #fffaf3 26%, #ffffff 52%),
    linear-gradient(135deg, #fff3e0 0%, #ffe9d1 24%, #fff8ef 58%, #ffffff);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 500;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: #b34c2f;
  background: rgba(242, 178, 61, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  border-color: var(--deep-saffron);
  color: var(--deep-saffron);
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.primary {
  background: linear-gradient(135deg, #f7b85c, #f3a341 40%, #e1782e 100%);
  color: #2b1a10;
  box-shadow: 0 14px 34px rgba(224, 122, 34, 0.35);
}

.btn.secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.btn.ghost {
  background: rgba(242, 178, 61, 0.16);
  color: var(--deep-saffron);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(248, 184, 92, 0.35), rgba(39, 24, 10, 0.65));
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 32%, rgba(255, 238, 209, 0.45), transparent 45%),
    radial-gradient(circle at 78% 22%, rgba(255, 185, 120, 0.25), transparent 35%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.58));
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  filter: blur(60px);
  opacity: 0.55;
}

.hero::before { top: -40px; left: -60px; }
.hero::after { bottom: -60px; right: -20px; }

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 6vh 0 8vh;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  margin: 14px 0;
}

h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 10px;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.lead {
  font-size: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin: 26px 0 30px;
}

.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.counter-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.18); }

.counter-number {
  font-size: 34px;
  font-weight: 700;
  color: #ffe9b0;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.scroll-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  animation: bounce 1.6s infinite ease-in-out;
}

.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.55; }
  40% { transform: translateY(-8px); opacity: 1; }
}

.section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--cream));
  position: relative;
  overflow: hidden;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, #fff, #fff4e6);
}

.section-head {
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
}

.section-lead {
  color: var(--muted);
  max-width: 780px;
}

.center-text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(255, 185, 92, 0.35);
  border-radius: 18px;
  padding: 18px 18px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,0.15); }

.glass-card i {
  font-size: 22px;
  color: var(--deep-saffron);
  margin-bottom: 8px;
}

.projects, .services {
  position: relative;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.project-card {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover { transform: translateY(-6px); box-shadow: 0 26px 48px rgba(0,0,0,0.14); }

.project-thumb {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(242, 178, 61, 0.18);
  display: grid;
  place-items: center;
  color: var(--deep-saffron);
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(242, 178, 61, 0.16);
  color: var(--deep-saffron);
  font-weight: 600;
  font-size: 12px;
}

.services-grid .service-card {
  background: linear-gradient(145deg, #fffdf8, #fff7eb);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-grid .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.services-grid i {
  color: var(--deep-saffron);
  font-size: 22px;
  margin-bottom: 8px;
}

.gallery {
  background: linear-gradient(180deg, #fff, #fff3d9);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
}

.cta {
  background: linear-gradient(120deg, #fff1dd, #ffe2b9);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 243, 224, 0.95));
  border-radius: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  gap: 12px;
}

.join-form-section {
  background: linear-gradient(145deg, #fff5e7, #ffedd2);
}

.join-form {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: #5f4430;
}

.field input,
.field textarea,
.field select {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  background: #fffdf8;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--deep-saffron);
  box-shadow: 0 0 0 3px rgba(217, 109, 31, 0.15);
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}

.form-status {
  margin-top: 10px;
  font-weight: 600;
  color: #2f7d44;
  min-height: 22px;
}

.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 90px 0 40px;
  color: #fff;
  background: linear-gradient(135deg, rgba(242, 140, 59, 0.48), rgba(31, 21, 15, 0.75)),
    url('3.jpeg') center/cover no-repeat;
}

.cert-grid,
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.certificate-card,
.member-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.certificate-card img,
.member-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.cert-content,
.member-content {
  padding: 16px;
}

.member-meta {
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow);
}

.contact-card i {
  color: var(--deep-saffron);
  margin-bottom: 8px;
}

.footer {
  background: #1f1a18;
  color: #f5e7c5;
  padding: 32px 0 16px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  width: min(1180px, 92vw);
  margin: 0 auto 18px;
}

.footer-links a {
  display: block;
  color: #f1dca2;
  margin-bottom: 8px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #f7d992;
}

.sub-footer {
  text-align: center;
  color: rgba(245, 231, 197, 0.7);
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  padding: 16px;
}

.modal.active { display: flex; }

.modal-content {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  width: min(420px, 94vw);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-close, .lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

.qr-placeholder {
  margin: 14px auto;
  width: min(240px, 100%);
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: #fff6ea;
  padding: 22px 14px;
  color: #8b4d1f;
  text-align: center;
}

.qr-placeholder i {
  font-size: 40px;
  margin-bottom: 10px;
}

.upi {
  font-weight: 700;
  margin-bottom: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  padding: 16px;
}

.lightbox.active { display: flex; }

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-content p {
  margin-top: 10px;
  color: #f8e7c6;
}

.floating-donate {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: linear-gradient(135deg, var(--deep-saffron), #f7c66c);
  color: #2b1a10;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 18px 36px rgba(224, 138, 30, 0.35);
  cursor: pointer;
  z-index: 1200;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  z-index: 1200;
}

.floating-whatsapp:hover { transform: translateY(-2px); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 1050;
}

.nav-overlay.show { display: block; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed;
    top: 70px;
    right: 16px;
    background: #fff;
    padding: 14px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    min-width: 210px;
    display: none;
    z-index: 1100;
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav a:last-child { border-bottom: none; }
  .header { justify-content: space-between; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .floating-donate { left: 16px; bottom: 16px; }
  .floating-whatsapp { right: 16px; bottom: 16px; }
}
