/* Core + gallery + forms */
:root{--bg:#fff;--text:#111;--muted:#666;--primary:#256741;--card:#f7f8f8;--alt:#fbfbfb;--ring:rgba(37,103,65,.25)}
*{box-sizing:border-box}
body{margin:0;font-family:"Noto Sans Devanagari","Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}
.container{width:min(1120px,92vw);margin-inline:auto}
/* Button base styling */
.button{
  /* Base button styling */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.8rem 1.2rem;
  border-radius:50px;
  text-decoration:none;
  font-weight:700;
  transition:.2s;
  cursor:pointer;
  color:var(--primary);
  background:transparent;
  border:1px solid var(--primary);
}
/* Primary (Volunteer) button with premium gradient */
.button.primary{
  /* Premium gradient inspired by the VMSS logo (blue to green) */
  background:linear-gradient(45deg,#1e88e5,#43a047);
  color:#fff;
  border:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
/* Hover effect for all buttons */
.button:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,0.15);} 
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.85);backdrop-filter:blur(8px);border-bottom:1px solid #eaeaea}
.header-inner{display:flex;align-items:center;gap:1rem;padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.6rem;color:inherit;text-decoration:none}
.brand img{
  /* Display the logo at its original aspect ratio without cropping */
  width:70px;
  height:auto;
  border-radius:0;
  object-fit:contain;
  /* Ensure no border or outline appears around the logo image */
  border:0;
  outline:none;
}
.brand-text span{font-size:.75rem;color:var(--muted)}
.nav{margin-left:auto}
.nav-toggle{display:none;background:none;border:0}
.nav-links{display:flex;gap:1rem;list-style:none;margin:0;padding:0}
.nav-links a{color:inherit;text-decoration:none;font-weight:700}
.actions{display:flex;gap:.5rem;margin-left:1rem}
/* Donate button with premium gradient */
.donate-btn{
  /* Premium gradient for donate button (warm red to orange) */
  background:linear-gradient(45deg,#d32f2f,#f57c00);
  color:#fff;
  border:none;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  /* Center the text within the donate button */
  justify-content:center;
  text-align:center;
}
.hero{min-height:56vh;display:grid;place-items:center;color:#fff;background:linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.55)), url('assets/hero.jpg') center/cover no-repeat}
.hero .container{padding-block:4rem}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:-2.2rem auto 2rem}
.stat{background:var(--card);border:1px solid #e4e4e4;border-radius:1rem;padding:1rem;text-align:center}
.stat .num{font-size:1.6rem;font-weight:800}
.section{padding:2.6rem 0}
.section.alt{background:var(--alt)}
.section h2{margin:.2rem 0 1rem}
.section-sub{color:var(--muted);margin:-.5rem 0 1.2rem}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.card{background:var(--card);border:1px solid #e4e4e4;border-radius:1rem;overflow:hidden}
.card img{
  width:100%;
  /* Reduce card image height so visuals don’t overpower the content */
  height:160px;
  object-fit:cover;
}
.card-body{padding:1rem}
.presence{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.presence-media img{
  width:100%;
  /* Reduce presence media (if used) height for improved balance */
  height:320px;
  object-fit:cover;
  border-radius:1rem;
  border:1px solid #e4e4e4;
}
.caption{font-size:.85rem;color:var(--muted)}
.districts{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.districts li{display:flex;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #e4e4e4;border-radius:.8rem;background:var(--card)}
.districts li span{color:var(--muted)}
.about-grid{
  /* Simplified about section layout when only text remains */
  display:block;
  margin-top:1.2rem;
}
.about-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;text-align:center}
.about-stats div{background:var(--card);border:1px solid #e4e4e4;padding:1rem;border-radius:.8rem}
.about-media img{
  width:100%;
  /* Reduce about section image height for improved balance */
  height:320px;
  object-fit:cover;
  border-radius:1rem;
  border:1px solid #e4e4e4;
}
/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gallery-grid img{
  width:100%;
  /* Smaller gallery images to better fit within the grid */
  height:200px;
  object-fit:cover;
  border-radius:.6rem;
  border:1px solid #e6e6e6;
}
.center{text-align:center;margin-top:1rem}
/* Forms */
.card.wide{padding:1.2rem}
.stepper{display:flex;gap:.6rem;margin:1rem 0}
.step{padding:.5rem .8rem;border-radius:999px;border:1px solid #ccc;font-weight:700;color:var(--muted)}
.step.active{border-color:var(--primary);color:var(--primary);background:#eaf4ef}
.q{margin:.9rem 0}
.q label{font-weight:700;display:block;margin-bottom:.3rem}
.opt{display:flex;align-items:center;gap:.5rem;margin:.25rem 0}
.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
input[type=text],input[type=email],input[type=tel],input[type=file],select,textarea{width:100%;padding:.7rem .8rem;border:1px solid #c9c9c9;background:transparent;border-radius:.6rem;color:inherit}
.quiz-result{margin-top:1rem;padding:.8rem;border-radius:.6rem;background:#eff8f2;border:1px solid #cfe7da}
.hidden{display:none}
.donate-box{display:flex;justify-content:space-between;align-items:center;gap:1rem}

/* Styles for bank account details shown in the donate section */
.bank-details{
  margin-top:0.5rem;
  font-size:0.9rem;
  color:var(--text);
  line-height:1.4;
}
.footer{
  padding:1.5rem 0;
  background:#f8f8f8;
  border-top:1px solid #e6e6e6;
}
.copy{
  text-align:center;
  color:var(--muted);
  font-size:0.9rem;
}
@media (max-width:1024px){.cards-grid{grid-template-columns:repeat(2,1fr)}.presence{grid-template-columns:1fr}.about-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.nav-toggle{display:inline-block}.nav-links{display:none;position:fixed;inset:56px 0 auto 0;background:#fff;padding:1rem;border-bottom:1px solid #eee;flex-direction:column}.nav-links.open{display:flex}.actions .button{display:none}.stats{grid-template-columns:1fr;margin:-2rem auto 1.2rem}.cards-grid{grid-template-columns:1fr}.presence-media img,.about-media img{height:240px}.contact-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr}}
