/* === DESIGN TOKENS === */
:root {
  --color-primary: #c2410c;
  --color-primary-dark: #9a3412;
  --color-primary-light: #fff7ed;
  --color-secondary: #166534;
  --color-secondary-dark: #14532d;
  --color-accent-gold: #f59e0b;
  --color-accent-gold-dark: #d97706;
  --color-bg: #f0f7ff;
  --color-surface: #ffffff;
  --color-text-primary: #1c1917;
  --color-text-secondary: #6b7280;
  --color-border: #e5e7eb;

  --font-base: 'Noto Sans Devanagari', sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 220ms;
  --duration-slow: 350ms;

  --focus-ring: 0 0 0 3px rgba(194,65,12,0.28);
  --scroll-offset: 80px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--scroll-offset); }
body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-base); touch-action: manipulation; }
a { text-decoration: none; color: inherit; }

/* Focus visible — keyboard accessibility */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

/* Section scroll offset for sticky nav */
section[id], div[id="hero"], div[id="donate"] {
  scroll-margin-top: var(--scroll-offset);
}

/* === UTILITY === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 34px; font-weight: 800; color: var(--color-text-primary); margin-bottom: 8px; }
.section-title h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-gold));
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-title p { font-size: 16px; color: var(--color-text-secondary); max-width: 640px; margin: 16px auto 0; line-height: 1.75; }

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-dark) 100%);
  color: #1c0a00;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35), 0 1px 4px rgba(0,0,0,0.1);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,0.45), 0 2px 6px rgba(0,0,0,0.1); }
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: 0 2px 8px rgba(245,158,11,0.3); }

.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  transition: background var(--duration-fast), border-color var(--duration-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover  { background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.5); }
.btn-secondary:active { transform: scale(0.97); }

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline:hover  { background: var(--color-primary); color: #fff; }
.btn-outline:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-dark) 100%);
  color: #1c0a00;
  border: none;
  border-radius: 50px;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  letter-spacing: 0.3px;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}
.btn-gold:hover  { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,0.45); }
.btn-gold:active { transform: scale(0.97); }

/* === NAVBAR === */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--duration-normal);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 17px; font-weight: 700; color: #7c2d12; }
.logo-tagline { font-size: 10px; color: #92400e; font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color var(--duration-fast), background var(--duration-fast);
  position: relative;
}
.nav-links a:hover { color: var(--color-primary); background: #fff7ed; }
.nav-links a.active {
  color: var(--color-primary);
  font-weight: 600;
  background: #fff7ed;
}
.btn-nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(194,65,12,0.3);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-nav-cta:hover  { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(194,65,12,0.4); }
.btn-nav-cta:active { transform: scale(0.97); }

/* === HERO IMAGE SLIDER === */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 420px;
  overflow: hidden;
  background: #1c1917;
}
.hero-slider[hidden] { display: none; }
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slider-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.slider-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
}
.slider-slide-content {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 520px;
  z-index: 2;
}
.slider-slide-content h2 {
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.slider-slide-content p {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.65;
  margin-bottom: 24px;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.slider-slide-btn {
  display: inline-block;
  background: var(--color-accent-gold);
  color: #1c0a00;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.slider-slide-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.32); transform: translateY(-50%) scale(1.08); }
.slider-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slider-dot.active { background: #fff; transform: scale(1.3); }
@media (max-width: 768px) {
  .hero-slider { height: 60vw; min-height: 300px; }
  .slider-slide-content { left: 5%; max-width: 85%; }
  .slider-arrow { width: 36px; height: 36px; }
}

/* === HERO === */
.hero {
  background: linear-gradient(150deg, #6b1a07 0%, #92290f 40%, #14532d 100%);
  padding: 88px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 640px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,191,36,0.15);
  border: 1px solid rgba(251,191,36,0.4);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  letter-spacing: -0.3px;
}
.hero-highlight { color: #fbbf24; }
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === STATS BAR === */
.stats-bar {
  padding: 24px;
  background: var(--color-bg);
}
.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(217,119,6,0.35);
}
.stat {
  flex: 1;
  text-align: center;
  padding: 36px 16px;
  border-right: 1px solid rgba(255,255,255,0.25);
  position: relative;
  transition: background 0.2s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(255,255,255,0.1); }
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  opacity: 0.95;
}
.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .stats-inner { border-radius: 14px; }
  .stat { padding: 24px 8px; }
  .stat-number { font-size: 24px; }
  .stat-icon svg { width: 24px; height: 24px; }
}

/* === ABOUT === */
.about {
  padding: 80px 0;
  background: #e8f2ff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}
.about-text p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.why-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.why-list li:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 16px rgba(22,101,52,0.10);
}
.why-icon {
  width: 40px;
  height: 40px;
  background: #f0fdf4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-list strong { display: block; font-size: 14px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 2px; }
.why-list p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.5; margin: 0; }

/* === DONATION === */
.donation {
  background: #f0f7ff;
  padding: 80px 0;
}
.donation > .container {
  max-width: 1200px;
}
.donation-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(212,87,10,0.12), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #fed7aa;
  /* remove old padding — now handled by .donation-card-body */
}
.donation-card-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.donation-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.donation-card-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}
.donation-card-body { padding: 28px; }
.amount-label { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 12px; }
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.amount-btn {
  padding: 12px 8px;
  border: 2px solid #e7e5e4;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  transition: all 0.15s;
  min-height: 44px;
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fff7ed;
}
.custom-btn { font-size: 12px; color: #92400e; }
.custom-amount-input {
  width: 100%;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font-base);
  margin-bottom: 12px;
  outline: none;
}
.impact-note {
  font-size: 12px;
  color: #92400e;
  background: #fff7ed;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.upi-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.upi-label { font-size: 10px; color: #166534; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.upi-id { font-size: 15px; font-weight: 700; color: #14532d; font-family: monospace; }
.upi-copy-btn {
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  min-height: 44px;
  transition: background 0.15s;
}
.upi-copy-btn:hover { background: #14532d; }
.bank-details { margin-bottom: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.bank-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  background: #eff6ff;
  user-select: none;
  min-height: 44px;
}
.bank-toggle:hover { background: #dbeafe; }
.toggle-arrow { transition: transform 0.2s; }
.bank-toggle[aria-expanded="true"] .toggle-arrow { transform: rotate(180deg); }
.bank-info { padding: 16px; border-top: 1px solid var(--color-border); }
.bank-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.bank-row span { color: var(--color-text-secondary); }
.bank-row strong { color: var(--color-text-primary); }
.donate-btn-full {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(212,87,10,0.3);
  transition: transform 0.15s;
}
.donate-btn-full:hover { transform: translateY(-1px); }
.trust-note { text-align: center; font-size: 11px; color: #a8a29e; }

/* === COW STORIES === */
.stories { background: var(--color-surface); padding: 88px 0; }
.cow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cow-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
  cursor: pointer;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.cow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(194,65,12,0.14), 0 4px 12px rgba(0,0,0,0.06);
  border-color: #fdba74;
}
.cow-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cow-img--green { background: linear-gradient(135deg, #d1fae5 0%, #6ee7b7 100%); }
.cow-img--amber { background: linear-gradient(135deg, #fed7aa 0%, #fcd34d 100%); }
.cow-img--blue  { background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%); }
.cow-body { padding: 18px 16px 16px; }
.cow-name { font-size: 17px; font-weight: 800; color: var(--color-text-primary); margin-bottom: 8px; }
.cow-story { font-size: 13px; color: var(--color-text-secondary); line-height: 1.65; margin-bottom: 12px; }
.cow-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.2px; }
.cow-tag--healthy { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.cow-tag--gold    { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }
.cow-tag--purple  { background: #ede9fe; color: #4c1d95; border: 1px solid #ddd6fe; }
.see-all-row { text-align: center; margin-top: 36px; }

/* Cow prev/next navigation */
.cow-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.cow-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.cow-nav-btn:hover:not(:disabled) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.08);
}
.cow-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cow-nav-counter {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  min-width: 48px;
  text-align: center;
}

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  width: 100%;
  padding: 10px 20px;
  background: #d4570a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.5;
}
.announcement-bar[hidden] { display: none; }
.announcement-close {
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.announcement-close:hover { background: rgba(255,255,255,0.4); }

/* === GALLERY === */
.gallery { background: #e8f2ff; padding: 80px 0; border-top: 1px solid var(--color-border); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 160px 160px;
  gap: 12px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.gallery-item:focus { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.gallery-item--tall { grid-row: span 2; }
.gallery-placeholder { font-size: 40px; }
.gallery-item--1 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.gallery-item--2 { background: linear-gradient(135deg, #fed7aa, #fdba74); }
.gallery-item--3 { background: linear-gradient(135deg, #fde68a, #fcd34d); }
.gallery-item--4 { background: linear-gradient(135deg, #bfdbfe, #93c5fd); }
.gallery-item--5 { background: linear-gradient(135deg, #f0abfc, #e879f9); }
.gallery-item--6 { background: linear-gradient(135deg, #99f6e4, #5eead4); }
.gallery-note { text-align: center; font-size: 12px; color: #a8a29e; margin-top: 12px; font-style: italic; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* === VOLUNTEER === */
.volunteer {
  background: #f0f7ff;
  padding: 72px 0;
  text-align: center;
  color: var(--color-text-primary);
}
.volunteer h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; color: var(--color-text-primary); }
.volunteer > .container > p { font-size: 15px; color: var(--color-text-secondary); max-width: 480px; margin: 0 auto 36px; line-height: 1.7; }
.volunteer-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  box-shadow: 0 4px 24px rgba(59,130,246,0.10), 0 1px 4px rgba(0,0,0,0.05);
}
.form-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; text-align: left; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--color-text-primary); }
.required { color: #fbbf24; }
.form-input {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: var(--font-base);
  min-height: 44px;
  transition: border-color 0.15s;
  outline: none;
}
.form-input::placeholder { color: #c4b5a0; }
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(212,87,10,0.08); }
.form-input.error { border-color: #ef4444; }
.field-error { font-size: 12px; color: #ef4444; min-height: 16px; }
.form-success {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--color-text-primary); }
.form-success p { font-size: 15px; color: var(--color-text-secondary); }

/* === DONATION MAIN GRID — 3 columns side by side === */
.donation-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 960px) {
  .donation-main-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .donation-main-grid { grid-template-columns: 1fr; }
}

/* === UPI + BANK SECTION === */
.upi-bank-section {
  background: #ffffff;
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
}
.ub-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: start;
}
.ub-card {
  background: #f9fafb;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.ub-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #166534;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #dcfce7;
}

/* QR Card */
.ub-qr-card { text-align: center; }
.ub-qr-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.ub-qr-img { width: 100%; height: 100%; object-fit: contain; }
.ub-qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; }
.ub-qr-placeholder p { font-size: 11px; color: var(--color-text-secondary); line-height: 1.4; }
.ub-upi-id-box {
  background: #fff;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.ub-upi-label { font-size: 11px; font-weight: 700; color: #166534; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.ub-upi-val { font-size: 15px; font-weight: 700; color: var(--color-text-primary); word-break: break-all; }
.ub-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-base);
}
.ub-copy-btn:hover  { background: #14532d; }
.ub-copy-btn:active { transform: scale(0.97); }

/* Bank Table */
.ub-table { width: 100%; border-collapse: collapse; }
.ub-table tr { border-bottom: 1px solid var(--color-border); }
.ub-table tr:last-child { border-bottom: none; }
.ub-th {
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
  background: #f1f5f9;
  width: 42%;
  vertical-align: middle;
}
.ub-td {
  padding: 13px 14px;
  font-size: 14px;
  color: var(--color-text-primary);
  font-weight: 500;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .ub-grid { grid-template-columns: 1fr; }
  .ub-qr-wrap { width: 140px; height: 140px; }
}

/* === MAP SECTION === */
.map-section {
  width: 100%;
  line-height: 0;
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}
.map-section[hidden] { display: none; }

/* === FOOTER === */
.footer { background: #150700; color: #d6d3d1; padding: 56px 0 0; border-top: 4px solid var(--color-primary); }
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-name {
  font-size: 20px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; color: #a8a29e; margin-bottom: 20px; }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #a8a29e; }
.footer-contact div { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { color: var(--color-primary); flex-shrink: 0; }
.footer-links h4 {
  font-size: 10px;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: #a8a29e; transition: color 0.15s, padding-left 0.15s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fbbf24; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: #57534e;
  background: rgba(0,0,0,0.2);
}

/* === TYPING ANIMATION === */
.hero-typed {
  color: #fbbf24;
  transition: color 0.3s ease;
  border-right: 3px solid #fbbf24;
  padding-right: 4px;
  animation: cursorBlink 0.75s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { border-color: currentColor; }
  50%       { border-color: transparent; }
}

/* === CARD HOVER — Simple clean effect === */
.cow-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(212,87,10,0.15), var(--shadow-lg);
}

.donation-card {
  border: 2px solid var(--color-border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.donation-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(212,87,10,0.12), var(--shadow-md);
}

/* === NAV ENHANCEMENTS === */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-link.active { color: var(--color-primary) !important; font-weight: 600; }
.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.10); }

/* === HAMBURGER BUTTON === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--color-primary); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE MENU === */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mobile-menu-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  z-index: 95;
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul { list-style: none; padding: 8px 0 16px; }
.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s, color 0.15s;
  min-height: 52px;
  display: flex;
  align-items: center;
}
.mobile-nav-link:hover { background: #fff7ed; color: var(--color-primary); }
.mobile-menu ul li:last-child .mobile-nav-link,
.mobile-menu ul li:last-child .mobile-nav-donate { border-bottom: none; }
.mobile-nav-donate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 16px 4px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  min-height: 52px;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212,87,10,0.3);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 92px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #1fb855);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.1);
  z-index: 80;
  transition: transform var(--duration-fast) var(--ease-spring), box-shadow var(--duration-fast);
}
.whatsapp-float:hover  { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.55), 0 4px 10px rgba(0,0,0,0.1); }
.whatsapp-float:active { transform: scale(0.95); }

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 92px;
  left: 20px;
  width: 46px;
  height: 46px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-fast);
  cursor: pointer;
}
.scroll-top:hover  { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.scroll-top:active { transform: scale(0.95); }
.scroll-top[hidden] { display: none; }

/* === MOBILE STICKY DONATE BAR === */
.mobile-donate-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 85;
  padding: 10px 16px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212,87,10,0.35);
}

/* === SCROLL ANIMATIONS === */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* === HERO BUTTON FIX === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* === TRUST NOTE FIX === */
.trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ===== GAUSHALA NIRMAN CAMPAIGN ===== */
.nirman {
  position: relative;
  background: linear-gradient(160deg, #1c0a00 0%, #2d1200 45%, #0f1a0a 100%);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.nirman-bg-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(212,87,10,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(22,101,52,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.nirman-urgency-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,38,38,0.15);
  border: 1.5px solid rgba(220,38,38,0.5);
  color: #fca5a5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.nirman-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Left Story ── */
.nirman-heading {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
}
.nirman-heading::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d4570a);
  border-radius: 2px;
  margin-top: 14px;
}

.nirman-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 28px;
}

.nirman-problems {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.nirman-problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.nirman-problem-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nirman-icon-rain  { background: rgba(96,165,250,0.2);  color: #93c5fd; }
.nirman-icon-sun   { background: rgba(251,191,36,0.2);  color: #fde68a; }
.nirman-icon-cold  { background: rgba(167,243,208,0.15); color: #6ee7b7; }
.nirman-problem-item strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.nirman-problem-item p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.5; }

.nirman-quote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid #f59e0b;
  padding: 12px 16px;
  background: rgba(245,158,11,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.nirman-quote blockquote {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ── Right Fundraiser Card ── */
.nirman-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: sticky;
  top: 80px;
}
.nirman-card-header {
  background: linear-gradient(135deg, #d4570a, #ea580c);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.nirman-card-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.nirman-card-header p  { font-size: 12px; opacity: 0.85; margin: 0; }

.nirman-card-body { padding: 24px; }

.nirman-amounts {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.nirman-raised { text-align: left; }
.nirman-goal   { text-align: right; }
.nirman-amount-number {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}
.nirman-goal-num { font-size: 18px; color: var(--color-text-secondary); }
.nirman-amount-label { font-size: 11px; color: var(--color-text-secondary); font-weight: 500; }

.nirman-bar-wrap { margin-bottom: 12px; }
.nirman-bar-track {
  height: 14px;
  background: #f0e6d3;
  border-radius: 99px;
  overflow: hidden;
}
.nirman-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4570a, #f59e0b);
  border-radius: 99px;
  position: relative;
  transition: width 1.2s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nirman-bar-pct {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding-right: 6px;
  white-space: nowrap;
}

.nirman-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.nirman-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-text-secondary);
}
.nirman-urgent-text { color: #dc2626; font-weight: 700; }

.nirman-milestones { margin-bottom: 20px; }
.nirman-milestone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}
.nirman-milestone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid #f5f0ea;
}
.nirman-milestone:last-child { border-bottom: none; }
.nirman-milestone--done    { color: #166534; }
.nirman-milestone--done svg { stroke: #166534; }
.nirman-milestone--active  { color: #d4570a; font-weight: 700; }
.nirman-milestone--active svg { stroke: #d4570a; }
.nirman-milestone--pending { color: var(--color-text-secondary); }
.nirman-milestone--pending svg { stroke: #c4b5a0; }

.nirman-donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}
.nirman-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,87,10,0.4);
  color: #fff;
}

.nirman-share-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-text-secondary);
  text-align: center;
}

/* ===== END NIRMAN ===== */

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .logo-tagline { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .nirman-grid { grid-template-columns: 1fr; gap: 36px; }
  .nirman-heading { font-size: 26px; }
  .nirman-card { position: static; }
  .cow-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mobile-donate-bar { display: block; }
  .whatsapp-float { bottom: 82px; }
  .scroll-top { bottom: 82px; left: 12px; }
  body { padding-bottom: 70px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .hero { padding: 60px 20px 48px; }
  .stats-inner { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--color-border); padding: 20px 8px; }
  .stat:last-child, .stat:nth-child(3) { border-bottom: none; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item--tall { grid-row: span 1; }
}

/* === REDUCED MOTION — accessibility === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .slider-track { transition: none !important; }
}

/* === PROFESSIONAL POLISH === */

/* Cow card body */
.cow-body { padding: 20px; }
.cow-name { font-size: 17px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 8px; }
.cow-story { font-size: 14px; color: var(--color-text-secondary); line-height: 1.65; margin-bottom: 14px; }
.cow-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Section consistent padding */
.about   { padding: 88px 0; }
.gallery { background: #e8f2ff; padding: 88px 0; border-top: 1px solid var(--color-border); }
.stories { padding: 88px 0; }

/* Gallery item hover */
.gallery-item {
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); z-index: 2; }

/* Input focus states */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: var(--focus-ring);
}

/* Mobile nav donate button pill */
.mobile-nav-donate { border-radius: 50px; }

/* Section title larger */
.section-title h2 { font-size: 32px; }

/* Donation card hover effect */
.donation-card {
  border: 1.5px solid var(--color-border);
  transition: box-shadow var(--duration-normal);
}
.donation-card:hover { box-shadow: var(--shadow-xl); }

/* Footer link hover */
.footer-links a { border-radius: 6px; padding: 2px 4px; }

/* Volunteer input */
.volunteer-input, .volunteer-textarea {
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

/* Amount button active */
.amount-btn:active { transform: scale(0.96); }
