:root {
  --primary-color: #ff5a5f;
  --primary-hover: #e84b4f;
  --secondary-color: #2c3e50;
  --accent-color: #00a699;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 80, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 820px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 12px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.message-popup {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.message-popup.is-open {
  display: flex;
}

.message-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 80, 0.58);
  backdrop-filter: blur(6px);
}

.message-popup__box {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 28px 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  text-align: center;
  transform: translateY(8px) scale(0.98);
  animation: popupIn 0.22s ease forwards;
}

.message-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-light);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.message-popup__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.12);
  color: var(--primary-color);
  font-size: 30px;
  font-weight: 800;
}

.message-popup.is-success .message-popup__icon {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.message-popup__box h2 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 24px;
}

.message-popup__box p {
  margin: 0 0 22px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

@keyframes popupIn {
  to {
    transform: translateY(0) scale(1);
  }
}

.modal-steps {
  display: flex;
  gap: 12px;
  padding: 12px 20px 0;
}

.step-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-light);
}

.step-pill__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.step-pill__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.step-pill.is-active {
  border-color: rgba(255, 90, 95, 0.4);
  background: rgba(255, 90, 95, 0.06);
}

.step-pill.is-active .step-pill__num {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.step-pill.is-done .step-pill__num {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.modal-body {
  padding: 16px 20px 20px;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.wizard-actions__right {
  display: flex;
  gap: 12px;
}

.wizard-upload {
  display: block;
}

.wizard-upload__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.wizard-upload__preview {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.wizard-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.is-invalid {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12) !important;
}

.wizard-success {
  background: rgba(0, 166, 153, 0.08);
  border: 1px solid rgba(0, 166, 153, 0.25);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.wizard-success h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.wizard-success p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.navbar {
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
}

.nav-container--admin {
  justify-content: flex-start;
}

.nav-container--admin .nav-menu {
  margin-right: auto;
}

.logo h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo span {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-icon span {
  width: 24px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  white-space: nowrap;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  white-space: nowrap;
}

.nav-user-menu {
  position: relative;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(255, 90, 95, 0.18);
  cursor: pointer;
}

.nav-user__chevron {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.nav-user-menu.is-open .nav-user-dropdown {
  display: grid;
  gap: 4px;
}

.nav-user-dropdown a,
.nav-user-dropdown button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-user-dropdown a:hover,
.nav-user-dropdown button:hover {
  background: rgba(255, 90, 95, 0.1);
  color: var(--primary-color);
}

.admin-dashboard {
  min-height: calc(100vh - 78px);
  padding: 20px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(255, 90, 95, 0.16), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(16, 185, 129, 0.12), transparent 28%),
    linear-gradient(180deg, #fff8f3 0%, #f8fafc 42%, #ffffff 100%);
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 90, 95, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 239, 0.92)),
    linear-gradient(135deg, rgba(255, 90, 95, 0.08), transparent);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.admin-eyebrow {
  margin: 0 0 8px;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-header h1 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.admin-subtitle,
.admin-section-title p,
.admin-card__head p {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.admin-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.pill,
.admin-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.12);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 20px;
  margin-bottom: 20px;
}

.admin-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.admin-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #f59e0b, #10b981);
  opacity: 0.9;
}

.admin-wide {
  margin-top: 20px;
}

.admin-filter-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-filter-form > div {
  display: grid;
  gap: 7px;
  min-width: min(360px, 100%);
}

.admin-filter-form label {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 800;
}

.admin-filter-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.admin-card__head,
.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-card__head {
  justify-content: flex-start;
}

.admin-card__head h3,
.admin-section-title h3,
.admin-card > h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 21px;
  line-height: 1.2;
}

.admin-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(255, 90, 95, 0.26);
}

.admin-actions {
  display: grid;
  gap: 12px;
}

.admin-actions .btn {
  justify-content: center;
  border-radius: 14px;
}

.admin-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.stat-label {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-value {
  margin-top: 10px;
  color: var(--text-dark);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: var(--white);
}

.admin-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff7f2;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr {
  transition: var(--transition);
}

.admin-table tbody tr:hover {
  background: rgba(255, 90, 95, 0.045);
}

.admin-table-sub {
  display: block;
  margin-top: 4px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 500;
}

.admin-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 150px;
}

.admin-doc-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.1);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.admin-doc-links a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-Pending {
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
}

.status-Approved {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.status-Rejected {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

.status-Active {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.status-Inactive {
  background: rgba(100, 116, 139, 0.16);
  color: #475569;
}

.status-Captured {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.status-Authorized {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}

.status-Failed {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

.status-Closed {
  background: rgba(100, 116, 139, 0.16);
  color: #475569;
}

.admin-action-cell {
  min-width: 210px;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  padding: 9px 13px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.admin-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.admin-action-btn--approve {
  border-color: rgba(16, 185, 129, 0.4);
  color: #047857;
}

.admin-action-btn--reject {
  border-color: rgba(239, 68, 68, 0.4);
  color: #b91c1c;
}

.admin-session {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-session > div {
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: #f8fafc;
}

.admin-session strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-dashboard {
    padding: 104px 0 56px;
  }

  .admin-header,
  .admin-card {
    padding: 18px;
    border-radius: 20px;
  }

  .admin-card__head,
  .admin-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stat-row,
  .admin-session {
    grid-template-columns: 1fr;
  }
}

.nav-user {
  max-width: 180px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.1);
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary-color);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  padding: 14px;
}

.btn-outline-large {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 16px 40px;
  font-size: 16px;
}

.btn-outline-large:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: url('https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 80px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.85) 0%, rgba(44, 62, 80, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.9;
}

.categories {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.category-icon.medical {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.category-icon.education {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.category-icon.emergency {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.category-icon.ngo {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.category-icon.animals {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.category-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.category-card p {
  font-size: 14px;
  color: var(--text-light);
}

.fundraisers {
  padding: 20px 0;
  background: var(--bg-light);
}

.fundraiser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.fundraiser-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.fundraiser-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.fundraiser-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.fundraiser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.fundraiser-card:hover .fundraiser-image img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-color);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.fundraiser-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fundraiser-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.fundraiser-content > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex: 1;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 10px;
  transition: var(--transition);
}

.fundraiser-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.fundraiser-stats > div {
  display: flex;
  flex-direction: column;
}

.fundraiser-stats strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.fundraiser-stats span {
  font-size: 12px;
  color: var(--text-light);
}

.text-right {
  text-align: right;
}

.section-footer {
  text-align: center;
}

.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.step-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.step-number {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 3px solid var(--white);
}

.step-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.step-arrow svg {
  width: 32px;
  height: 32px;
}

.testimonials {
  padding: 80px 0;
  background: var(--bg-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-image {
  margin-bottom: 24px;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  font-size: 64px;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-content p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-light);
}

.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-logo h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-4px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
  .nav-menu {
    flex: none;
    justify-content: flex-start;
    white-space: normal;
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    padding: 24px 0;
    gap: 16px;
  }

  .menu-toggle:checked ~ .nav-menu {
    left: 0;
  }

  .menu-icon {
    display: flex;
  }

  .nav-buttons {
    display: flex;
    margin-left: auto;
  }

  .nav-buttons .btn {
    padding: 10px 14px;
  }

  .nav-user {
    max-width: 140px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-user-dropdown {
    right: 0;
    min-width: 190px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .step-arrow {
    display: none;
  }

  .steps-container {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    padding: 60px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    gap: 32px;
  }

  .stat-item h3 {
    font-size: 32px;
  }

  .categories,
  .fundraisers,
  .how-it-works,
  .testimonials,
  .cta {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .fundraiser-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }
}

.auth-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-container {
  width: 100%;
  max-width: 450px;
}

.auth-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.auth-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.auth-form {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
}

.form-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  margin-bottom: 20px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.forgot-link:hover {
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  color: var(--text-light);
  font-size: 14px;
}

.auth-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 24px;
}

.fundraiser-form-section {
  padding: 80px 0;
  background: var(--bg-light);
  min-height: 100vh;
}

.form-header {
  text-align: center;
  margin-bottom: 60px;
}

.form-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.form-header p {
  font-size: 18px;
  color: var(--text-light);
}

.form-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.fundraiser-form {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-section {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 48px;
}

.form-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.image-upload {
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.image-upload:hover {
  border-color: var(--primary-color);
  background: rgba(255, 90, 95, 0.05);
}

.image-upload input {
  display: none;
}

.image-upload p {
  color: var(--text-light);
  font-size: 14px;
}

.form-actions-footer {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.btn-block {
  width: 100%;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 32px 24px;
  }

  .form-section {
    padding-bottom: 32px;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .form-header h1 {
    font-size: 28px;
  }

  .form-actions-footer {
    flex-direction: column-reverse;
  }

  .form-actions-footer .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 12px;
  }

  .modal-steps {
    padding: 12px 12px 0;
  }

  .modal-body {
    padding: 12px;
  }

  .wizard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-actions__right {
    width: 100%;
  }

  .wizard-actions__right .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .auth-card {
    padding: 24px 16px;
  }

  .form-container {
    padding: 24px 16px;
  }

  .form-section h2 {
    font-size: 20px;
  }
}

/* -----------------------------
   Case Details Page
------------------------------ */
.case-hero {
  padding: 48px 0 28px;
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.08) 0%, rgba(0, 166, 153, 0.06) 100%);
}

.case-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.case-hero__media {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(44, 62, 80, 0.08);
  min-height: 360px;
  background: var(--white);
}

.case-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-hero__badges {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 62, 80, 0.12);
  color: var(--text-dark);
  backdrop-filter: blur(8px);
}

.case-badge--urgent {
  background: rgba(255, 90, 95, 0.95);
  color: var(--white);
  border-color: rgba(255, 90, 95, 0.6);
}

.case-hero__summary {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 26px;
}

.case-eyebrow {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 10px;
}

.case-title {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.case-subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 18px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.case-meta__item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 12px;
  background: var(--bg-light);
}

.case-meta__label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.case-meta__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.case-progress__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 10px;
}

.case-progress__label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.case-progress__amount {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.case-progress__amount span {
  font-size: 12px;
  color: var(--text-light);
}

.case-progress__pct {
  text-align: right;
}

.case-progress__pct strong {
  font-size: 18px;
}

.case-progress__pct span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.case-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.case-trust {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.case-body {
  padding: 32px 0 80px;
  background: var(--bg-light);
}

.case-layout {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.case-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 22px;
  margin-bottom: 18px;
}

.case-card--sticky {
  position: static;
  top: auto;
}

.case-card__header {
  margin-bottom: 12px;
}

.case-card__header h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.case-card__subtitle {
  font-size: 13px;
  color: var(--text-light);
}

.case-prose p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.75;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
}

.doc-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 90, 95, 0.4);
}

.doc-item__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 90, 95, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.doc-item__icon svg {
  width: 22px;
  height: 22px;
}

.doc-item__meta {
  min-width: 0;
  flex: 1;
}

.doc-item__meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.doc-item__meta span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.doc-item__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
}

.contrib-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.contrib-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}

.contrib-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.contrib-card__info strong {
  display: block;
}

.contrib-card__info span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.donor-list {
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.donor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--white);
}

.donor-row__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.donor-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(44, 62, 80, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-dark);
  flex: 0 0 auto;
}

.donor-meta {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.donor-amount {
  font-size: 14px;
  white-space: nowrap;
}

.donate-form .form-group {
  margin-bottom: 16px;
}

.donate-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.donate-chip {
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  border-radius: 999px;
  padding: 10px 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}

.donate-chip:hover {
  border-color: rgba(255, 90, 95, 0.4);
  transform: translateY(-1px);
}

.tip-box {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(255, 90, 95, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 90, 95, 0.08), rgba(16, 185, 129, 0.07));
}

.tip-box > p {
  margin: 0 0 14px;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.6;
}

.tip-box .form-group {
  margin-bottom: 12px;
}

.tip-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  align-items: center;
  gap: 12px;
}

.tip-row label {
  margin-bottom: 0;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .tip-row {
    grid-template-columns: 1fr;
  }

  .tip-row label {
    white-space: normal;
  }
}

.share-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.share-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  border-radius: 14px;
  padding: 12px 10px;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 90, 95, 0.4);
}

.share-btn--primary {
  background: rgba(255, 90, 95, 0.12);
  border-color: rgba(255, 90, 95, 0.35);
  color: var(--primary-color);
}

.share-btn__icon {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background: rgba(44, 62, 80, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

@media (max-width: 992px) {
  .case-hero__grid {
    grid-template-columns: 1fr;
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-card--sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .case-title {
    font-size: 26px;
  }

  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-actions {
    grid-template-columns: 1fr;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .contrib-grid {
    grid-template-columns: 1fr;
  }

  .donate-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-bar {
    grid-template-columns: 1fr 1fr;
  }

}

/* -----------------------------
   About / Contact Pages
------------------------------ */
.page-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.94) 0%, rgba(255, 90, 95, 0.88) 100%);
  color: var(--white);
}

.page-hero--compact {
  padding: 44px 0;
}

.page-hero__inner {
  max-width: 820px;
}

.page-hero__eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: 0.95;
  margin-bottom: 10px;
}

.page-hero__title {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.page-hero__subtitle {
  font-size: 16px;
  opacity: 0.95;
  line-height: 1.75;
  margin-bottom: 22px;
}

.page-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-section {
  padding: 72px 0;
  background: var(--white);
}

.page-section--alt {
  background: var(--bg-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.75;
}

.steps-slim {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.steps-slim__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--white);
}

.steps-slim__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 90, 95, 0.12);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.steps-slim__item strong {
  display: block;
  margin-bottom: 4px;
}

.steps-slim__item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.75;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-item {
  padding: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
}

.trust-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.75;
}

.page-cta {
  margin-top: 24px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 166, 153, 0.25);
  background: rgba(0, 166, 153, 0.06);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.page-cta h3 {
  margin-bottom: 4px;
}

.page-cta p {
  color: var(--text-light);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.contact-card h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.contact-subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-mini {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-light);
  padding: 18px;
}

.contact-mini h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.contact-mini p {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 12px;
}

.contact-mini__item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--white);
  margin-bottom: 10px;
}

.contact-mini__item span {
  color: var(--text-light);
  font-size: 13px;
}

.contact-mini--map .map-placeholder {
  border: 1px dashed rgba(44, 62, 80, 0.22);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.75);
  min-height: 180px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--text-light);
  font-weight: 600;
}

.map-placeholder__pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 10px 18px rgba(255, 90, 95, 0.25);
  top: 45%;
  left: 52%;
  transform: translate(-50%, -50%);
}

@media (max-width: 992px) {
  .info-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero__title {
    font-size: 30px;
  }

  .page-section {
    padding: 56px 0;
  }

  .page-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-search {
  display: flex;
  align-items: center;
  min-width: 220px;
  height: 42px;
  padding: 4px 6px 4px 14px;
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(44, 62, 80, 0.08);
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-dark);
  font: inherit;
  font-size: 14px;
}

.nav-search input::placeholder {
  color: var(--text-light);
}

.nav-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.nav-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(255, 90, 95, 0.28);
}

.nav-search svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 992px) {
  .nav-search {
    order: 4;
    width: 100%;
    min-width: 0;
    margin-top: 12px;
  }
}

.nav-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: 999px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(44, 62, 80, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  flex: 0 0 auto;
  transition: var(--transition);
}

.nav-search-trigger:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.nav-search-trigger svg {
  width: 17px;
  height: 17px;
}

.campaign-search-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 20px 20px;
}

.campaign-search-panel.is-open {
  display: flex;
}

.campaign-search-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.campaign-search-panel__card {
  position: relative;
  width: min(760px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
  box-shadow: 0 30px 80px rgba(12, 23, 42, 0.28);
  animation: searchPanelIn 0.2s ease-out;
}

@keyframes searchPanelIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.campaign-search-panel__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 90, 95, 0.1);
  color: var(--primary-color);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.campaign-search-panel__eyebrow {
  margin: 0 0 8px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.campaign-search-panel h2 {
  max-width: 600px;
  margin: 0 0 22px;
  color: var(--text-dark);
  font-size: 30px;
  line-height: 1.2;
}

.campaign-search-form__box {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(44, 62, 80, 0.1);
}

.campaign-search-form__box svg {
  width: 22px;
  height: 22px;
  color: var(--primary-color);
}

.campaign-search-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 18px;
  background: transparent;
}

.campaign-search-form button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--primary-color);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.campaign-search-panel__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-light);
  font-size: 14px;
}

.campaign-search-panel__quick a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-color);
  background: rgba(255, 90, 95, 0.1);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 992px) {
  .nav-search-trigger {
    padding: 0 12px;
    min-height: 38px;
    font-size: 13px;
  }

  .campaign-search-panel {
    padding-top: 84px;
  }

  .campaign-search-panel__card {
    padding: 28px 18px 20px;
    border-radius: 22px;
  }

  .campaign-search-panel h2 {
    font-size: 22px;
  }

  .campaign-search-form__box {
    grid-template-columns: 22px 1fr;
  }

  .campaign-search-form button {
    grid-column: 1 / -1;
    width: 100%;
  }
}


