/* ==========================================================================
   Ansh Charitable Trust - Master Design System
   Modern, Clean, Responsive & Emotionally Inspiring NGO Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary-900: #064e3b;
  --primary-800: #065f46;
  --primary-700: #047857;
  --primary-600: #059669;
  --primary-500: #10b981;
  --primary-50: #ecfdf5;

  --accent-amber: #d97706;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --accent-yellow: #f59e0b;

  /* Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(234, 88, 12, 0.35);

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background-color: #fcfdfd;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
  background: linear-gradient(90deg, #064e3b 0%, #065f46 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar a:hover {
  color: #fde047;
}

.top-tagline-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

/* Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 0.2px;
}

.brand-location {
  font-size: 0.72rem;
  color: var(--slate-500);
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate-700);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--primary-600);
  border-radius: var(--radius-full);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate-800);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border-color: var(--primary-600);
}

.btn-outline:hover {
  background: var(--primary-50);
  color: var(--primary-800);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.btn-row .btn {
  flex: 1;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .btn-row {
    flex-direction: column;
    gap: 10px;
  }
  .btn-row .btn {
    width: 100%;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-green {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-amber {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.94) 0%, rgba(6, 95, 70, 0.88) 100%),
              url('../images/hero_children_education.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-title {
  font-size: 3.1rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-title span {
  color: #fde047;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Quick Donation Card */
.hero-donate-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
}

.donate-card-badge {
  position: absolute;
  top: -14px;
  right: 25px;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

.donate-card-title {
  font-size: 1.4rem;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.donate-card-subtitle {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}

/* Preset Amount Chips */
.amount-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.amount-chip {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.amount-chip:hover {
  border-color: var(--primary-600);
  background: var(--primary-50);
  color: var(--primary-800);
}

.amount-chip.active {
  background: var(--primary-600);
  border-color: var(--primary-700);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 18px;
}

.currency-symbol {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-500);
}

.custom-amount-input {
  width: 100%;
  padding: 12px 14px 12px 34px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  outline: none;
  transition: var(--transition-smooth);
}

.custom-amount-input:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.upi-scan-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-50);
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--slate-600);
}

.upi-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--slate-700);
}

/* ==========================================================================
   Impact Metrics Bar
   ========================================================================== */

.metrics-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.metric-item {
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--slate-100);
}

.metric-item:last-child {
  border-right: none;
}

.metric-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.metric-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--slate-600);
  font-weight: 500;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */

.section {
  padding: 80px 0;
}

.section-bg-light {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
  color: var(--slate-900);
  font-weight: 800;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Urgent Cause Banner
   ========================================================================== */

.urgent-appeal-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-xl);
  padding: 35px 40px;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.02); }
}

.urgent-title {
  font-size: 1.7rem;
  color: #78350f;
  margin-bottom: 10px;
}

.urgent-desc {
  color: #92400e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.progress-wrap {
  margin: 18px 0 10px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 8px;
}

.progress-bar-bg {
  background: #fde68a;
  height: 12px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

/* ==========================================================================
   Causes Cards Grid
   ========================================================================== */

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cause-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.cause-thumb-wrap {
  height: 230px;
  overflow: hidden;
}

.cause-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cause-card:hover .cause-thumb {
  transform: scale(1.06);
}

.cause-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cause-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.cause-title a {
  color: var(--slate-900);
}

.cause-title a:hover {
  color: var(--primary-700);
}

.cause-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 18px;
  line-height: 1.55;
  flex-grow: 1;
}

.cause-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.85rem;
}

.stat-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.stat-item strong {
  font-size: 1rem;
  color: var(--slate-900);
}

.cause-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Real Ground Activity Showcase (Marhi, Kerakat, Jaunpur)
   ========================================================================== */

.ground-reality-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.ground-reality-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.ground-reality-content {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ground-tag {
  color: var(--primary-700);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.ground-title {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

.ground-desc {
  font-size: 1rem;
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.ground-quote {
  background: var(--primary-50);
  border-left: 4px solid var(--primary-600);
  padding: 14px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--primary-900);
  margin-bottom: 25px;
  font-weight: 500;
}

/* ==========================================================================
   Direct Donation & QR Code Section
   ========================================================================== */

.donation-showcase-section {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: var(--white);
  padding: 80px 0;
}

.donation-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.qr-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 35px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.qr-card-header {
  margin-bottom: 20px;
}

.qr-image-wrapper {
  background: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-lg);
  display: inline-block;
  border: 1.5px dashed var(--slate-300);
  margin-bottom: 20px;
}

.qr-code-img {
  width: 220px;
  height: auto;
  border-radius: var(--radius-sm);
}

.upi-id-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.95rem;
}

.copy-btn {
  background: var(--primary-600);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  background: var(--primary-700);
}

/* ==========================================================================
   Interactive UPI Modal Popup
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--slate-100);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--slate-600);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  color: var(--slate-900);
  outline: none;
  background-color: var(--white);
  transition: var(--transition-smooth);
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #070d1d;
  color: #94a3b8;
  padding: 65px 0 0;
  border-top: 3px solid #16a34a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 1.15fr;
  gap: 36px;
  margin-bottom: 45px;
}

.footer-brand .brand-logo {
  height: 55px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: -0.2px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background-color: #f59e0b;
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links li a {
  color: #cbd5e1;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.footer-links li a i {
  font-size: 0.72rem;
  color: #f59e0b;
}

.footer-links li a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 13px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.95rem;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.84rem;
  color: #64748b;
  background: #040812;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--slate-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Layout & Responsive Grid Helpers */
.about-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: flex-start;
}

.donate-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 45px;
  align-items: flex-start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Pure Photo Gallery Card */
.gallery-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

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

.gallery-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-photo-card:hover img {
  transform: scale(1.08);
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 78, 59, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-photo-card:hover .gallery-photo-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-photo-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* Fullscreen Interactive Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 29, 0.94);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox-topbar {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: auto;
}

.lightbox-counter {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.lightbox-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.lightbox-stage {
  position: relative;
  z-index: 5;
  max-width: 88vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.lightbox-nav-btn:hover {
  background: #10b981;
  border-color: #10b981;
  transform: translateY(-50%) scale(1.12);
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
  .lightbox-stage {
    max-width: 96vw;
    max-height: 75vh;
  }
  .lightbox-img {
    max-height: 75vh;
    border-radius: 8px;
  }
}

.volunteer-cta-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.ground-reality-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.cert-80g-box {
  background: #ffffff;
  border: 2px solid #a7f3d0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.cert-80g-cta-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.cert-80g-action-card {
  text-align: center;
  background: #ecfdf5;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #bbf7d0;
}

.cert-80g-relief-badge {
  font-size: 2.2rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 4px;
}

.cause-detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: flex-start;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .urgent-appeal-banner {
    grid-template-columns: 1fr;
  }
  .causes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-split-grid,
  .about-split-grid,
  .donate-split-grid,
  .volunteer-cta-banner,
  .cert-80g-cta-banner,
  .cause-detail-grid {
    grid-template-columns: 1fr;
  }
  .ground-reality-box {
    grid-template-columns: 1fr;
  }
  .donation-split-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .causes-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .ground-reality-stats {
    grid-template-columns: 1fr;
  }
  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .volunteer-cta-banner {
    grid-template-columns: 1fr;
    padding: 30px 18px;
    gap: 25px;
  }
  .cert-80g-box {
    padding: 24px 16px;
  }
  .cert-80g-cta-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cert-80g-action-card {
    padding: 20px 16px;
    width: 100%;
  }
  .cert-80g-relief-badge {
    font-size: 1.8rem;
  }
  .cause-detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .modal-container {
    width: 95% !important;
    max-width: 95% !important;
    padding: 20px 14px !important;
  }
}

/* Print Friendly Styles */
@media print {
  .top-bar, .site-header, .site-footer, .whatsapp-float, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}
