/* =============================================================
   AASTHA SAKSHAM FOUNDATION — Main Stylesheet
   Colors: Primary Green #036739 | Primary Orange #F6570C
   ============================================================= */

/* ── 1. CSS Variables ──────────────────────────────────────── */
:root {
  --green: #036739;
  --green-dark: #024f2c;
  --green-light: #04854a;
  --green-pale: #e8f5ee;
  --orange: #F6570C;
  --orange-dark: #d44a0a;
  --orange-light: #ff7e3b;
  --orange-pale: #fff0ea;
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-sans: 'Inter', 'Noto Sans Devanagari', system-ui, sans-serif;
  --font-deva: 'Noto Sans Devanagari', 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-green: 0 8px 30px rgba(3, 103, 57, 0.25);
  --shadow-orange: 0 8px 30px rgba(246, 87, 12, 0.25);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --header-h: 70px;
  --topbar-h: 38px;
  --container-max: 95%;
}

/* ── 2. Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

.lang-hi body,
.lang-hi {
  font-family: var(--font-deva);
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--orange);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 16px;
  background: var(--green);
  color: #fff;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* ── 3. Container & Grid ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
}

.section-sm {
  padding-block: clamp(32px, 5vw, 64px);
}

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

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

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

/* ── 4. Topbar ──────────────────────────────────────────────── */
.topbar {
  background: var(--green-dark);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
  color: #fff;
}

.topbar i {
  font-size: 12px;
  margin-right: 4px;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 14px;
  transition: all 0.2s ease;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.lang-switcher a.active {
  color: #ffffff !important;
  background: #F6570C;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(246, 87, 12, 0.45);
}

.lang-switcher a:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.lang-switcher span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.topbar-social a:hover {
  color: var(--orange-light);
}

/* ── 5. Header / Navbar ─────────────────────────────────────── */
.site-header {
  background: var(--white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo {
  height: 52px;
  width: auto;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  width: fit-content;
}

.logo-main {
  font-size: 19px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.logo-sub {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .logo-main {
    font-size: 16px;
  }
  .logo-sub {
    font-size: 9.5px;
  }
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
  background: var(--green-pale);
}

.nav-link i {
  font-size: 11px;
  transition: transform 0.2s;
}

.nav-item.has-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1000;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--gray-700);
}

.dropdown-menu li a:hover {
  color: var(--green);
  background: var(--green-pale);
}

.dropdown-wide {
  min-width: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Donate Button */
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(246, 87, 12, 0.35);
}

.btn-donate i {
  font-size: 13px;
}

/* Mobile Toggler */
.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.toggler-bar {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── 6. Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
}

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

.btn-outline-primary:hover {
  background: var(--green);
  color: var(--white);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--green);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 17px;
}

/* ── 7. Section Titles ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title span {
  color: var(--green);
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ── 8. Hero Section ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, #036739 40%, #1a7a50 70%, #F6570C 150%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 79, 44, 0.95) 0%, rgba(3, 103, 57, 0.85) 50%, rgba(246, 87, 12, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--orange-light);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange-light);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ── 9. Causes / Categories Grid (5 Cards in Row 1, 5 Cards in Row 2) ── */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

@media (max-width: 1280px) {
  .causes-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

@media (max-width: 992px) {
  .causes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .causes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .causes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.cause-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 34px 20px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-decoration: none;
}

.cause-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.cause-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(3, 103, 57, 0.12);
  border-color: var(--green);
}

.cause-card:hover::before {
  opacity: 0.04;
}

.cause-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 18px;
  background: var(--green-pale);
  color: var(--green);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cause-card:hover .cause-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(3, 103, 57, 0.25);
}

.cause-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cause-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── 10. Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 48px 0;
}

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

.stat-item {
  color: var(--white);
}

.stat-number {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  display: block;
  line-height: 1;
  color: #fff;
}

.stat-suffix {
  color: var(--orange-light);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

.stat-divider {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: var(--radius-full);
  margin: 8px auto;
}

/* ── 11. Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-title a:hover {
  color: var(--green);
}

.card-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray-400);
}

.card-meta i {
  font-size: 12px;
}

/* Project Card Progress */
.card-progress {
  margin-top: 12px;
}

.progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 6px;
}

/* ── 12. Event Card ─────────────────────────────────────────── */
.event-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green);
}

.event-date-box {
  flex-shrink: 0;
  text-align: center;
  background: var(--green);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  min-width: 60px;
}

.event-date-day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.event-date-month {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}

.event-info {
  flex: 1;
}

.event-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.event-title a:hover {
  color: var(--green);
}

.event-meta {
  font-size: 13px;
  color: var(--gray-500);
}

.event-meta i {
  font-size: 12px;
  margin-right: 4px;
}

/* ── 13. Forms ──────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--orange);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  transition: var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(3, 103, 57, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control.is-invalid {
  border-color: #dc2626;
}

.form-error {
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
}

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

select.form-control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--green);
}

.form-check-label {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  cursor: pointer;
}

/* ── 14. Alerts ─────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  border: 1px solid;
}

.alert-success {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
}

.alert-danger {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #d97706;
}

.alert-info {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
}

.alert-dismissible {
  position: relative;
}

.btn-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: currentColor;
  opacity: 0.6;
}

.btn-close:hover {
  opacity: 1;
}

/* ── 15. Donate Page ─────────────────────────────────────────  */
.amount-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.amount-option {
  padding: 12px;
  text-align: center;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-fast);
}

.amount-option:hover,
.amount-option.selected {
  border-color: var(--green);
  background: var(--green-pale);
  color: var(--green);
}

/* ── 16. Payment Methods ──────────────────────────────────────  */
.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-method input {
  accent-color: var(--green);
}

.payment-method.selected {
  border-color: var(--green);
  background: var(--green-pale);
}

/* ── 16b. Home Donate CTA Section ───────────────────────────── */
.donate-cta-section {
  background: linear-gradient(135deg, #036739 0%, #024f2c 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 90px);
}

.donate-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.donate-cta-badge {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.donate-cta-title {
  color: var(--white) !important;
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.donate-cta-title .highlight-orange {
  color: #F6570C;
}

.donate-cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14.5px, 1.8vw, 16px);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}

.donate-impact-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.donate-impact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.2s ease;
}

.donate-impact-item:hover {
  transform: translateY(-2px);
}

.impact-icon-circle {
  width: 34px;
  height: 34px;
  background: #F6570C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(246, 87, 12, 0.35);
}

.impact-icon-circle i {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.impact-amount {
  color: #F6570C;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
}

.impact-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 2px;
}

/* Quick Donate Card */
.donate-cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  width: 100%;
}

.donate-card-title {
  color: var(--white) !important;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: -0.2px;
}

.quick-amount-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.quick-amount-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 12px 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-amount-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}

.quick-amount-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(246, 87, 12, 0.4);
}

.quick-amount-input-box {
  position: relative;
  margin-top: 10px;
}

.quick-amount-input-box .currency-sym {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 16px;
  pointer-events: none;
}

.quick-amount-input-box .form-control {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 12px 14px 12px 32px;
  font-size: 15px;
  border-radius: var(--radius);
  width: 100%;
}

.quick-amount-input-box .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.quick-amount-input-box .form-control:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: #F6570C;
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 87, 12, 0.3);
}

.btn-quick-donate {
  width: 100%;
  margin-top: 14px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  border-radius: var(--radius-full);
}

.donate-security-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.donate-total-badge {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 18px;
  padding-top: 16px;
}

.total-amount-val {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: #F6570C;
  letter-spacing: -0.5px;
}

.total-amount-lbl {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  margin-top: 2px;
}

/* ── 17. Membership Cards ────────────────────────────────────── */
.membership-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.membership-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='80' cy='20' r='60' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='10' cy='80' r='40' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
}

/* ── 18. Certificates ────────────────────────────────────────── */
.cert-verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
}

.cert-verify-badge.valid {
  background: #dcfce7;
  color: #16a34a;
}

.cert-verify-badge.invalid {
  background: #fef2f2;
  color: #dc2626;
}

/* ── 19. Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-top {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.logo-text-footer {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  width: fit-content;
}

.logo-text-footer .logo-main {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.logo-text-footer .logo-sub {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-light);
  text-transform: uppercase;
  margin-top: 1.5px;
}

.footer-tagline {
  color: var(--gray-500);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 8px 0 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--green-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-link.social-facebook:hover {
  background: #1877f2;
}

.social-link.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.social-youtube:hover {
  background: #ff0000;
}

.social-link.social-twitter:hover {
  background: #000;
}

.social-link.social-linkedin:hover {
  background: #0a66c2;
}

.social-link.social-whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.footer-address {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
}

.footer-address i,
.footer-contact p i {
  color: var(--green-light);
  margin-right: 8px;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--gray-400);
}

.footer-contact a:hover {
  color: var(--green-light);
}

.footer-hours {
  color: var(--gray-600);
  font-size: 13px;
}

/* Footer CTA Strip */
.footer-cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 32px 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-cta h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 4px;
}

.footer-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px 0;
}

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

.copyright {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-legal a:hover {
  color: var(--green-light);
}

/* ── 20. Back to Top ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 800;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-dark);
}

/* ── 21. Utility Classes ─────────────────────────────────────── */
.text-green {
  color: var(--green);
}

.text-orange {
  color: var(--orange);
}

.text-muted {
  color: var(--gray-500);
}

.fw-bold {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

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

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 24px;
}

.mt-1 {
  margin-top: 4px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.me-1 {
  margin-right: 4px;
}

.ms-1 {
  margin-left: 4px;
}

.ms-auto {
  margin-left: auto;
}

.p-3 {
  padding: 16px;
}

.rounded {
  border-radius: var(--radius);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.w-100 {
  width: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

/* ── 22. Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-about {
    grid-column: span 3;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .donate-cta-info {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
  }

  .donate-cta-desc {
    margin-inline: auto;
  }

  .donate-impact-list {
    justify-content: center;
    gap: 16px;
  }

  .donate-cta-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
    --topbar-h: 34px;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    order: 0;
  }

  .site-logo {
    max-height: 40px !important;
  }

  .btn-donate {
    order: 1;
    padding: 8px 14px;
    font-size: 13px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .navbar-toggler {
    display: flex;
    order: 2;
    margin-left: 6px;
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 998;
    height: calc(100vh - var(--topbar-h) - var(--header-h));
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    grid-template-columns: 1fr;
    border-radius: var(--radius);
    display: none;
  }

  .nav-item.has-dropdown.open .dropdown-menu {
    display: block;
  }


  .nav-auth {
    width: 100%;
    border-top: 1px solid var(--gray-200);
    padding-top: 12px;
    margin-top: 4px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .footer-cta-btns .btn,
  .footer-cta-btns .btn-donate,
  .footer-cta-btns .btn-outline-white {
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .amount-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar-left span {
    display: none;
  }

  /* Donate CTA Mobile */
  .donate-cta-section {
    padding-block: 48px;
  }

  .donate-cta-inner {
    gap: 32px;
  }

  .donate-impact-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
  }

  .donate-impact-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 12px 16px;
    align-items: center;
  }

  .donate-cta-card {
    padding: 24px 18px;
    border-radius: 20px;
    width: 100%;
  }

  .quick-amount-options {
    gap: 8px;
  }

  .quick-amount-btn {
    padding: 10px 4px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .footer-cta-btns .btn {
    justify-content: center;
  }

  .donate-cta-title br {
    display: none;
  }

  .quick-amount-btn {
    font-size: 13px;
    padding: 10px 2px;
  }
}

@media (max-width: 360px) {
  .quick-amount-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-brand .logo-text {
    display: none;
  }
}

/* ── 23. Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animated {
  opacity: 1;
  transform: translateY(0);
}

/* ── 24. Loading Spinner ─────────────────────────────────────── */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── 25. Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.page-link:hover,
.page-link.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── 26. Tables ──────────────────────────────────────────────── */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--gray-50);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: #dcfce7;
  color: #16a34a;
}

.badge-warning {
  background: #fef9c3;
  color: #ca8a04;
}

.badge-danger {
  background: #fee2e2;
  color: #dc2626;
}

.badge-info {
  background: #dbeafe;
  color: #2563eb;
}

.badge-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.badge-orange {
  background: var(--orange-pale);
  color: var(--orange-dark);
}

.badge-green {
  background: var(--green-pale);
  color: var(--green);
}