* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f9fafb;
  color: #1f2937;
}

/* Top Bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.admin-btn {
  background: transparent;
  border: 1px solid #1f2937;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 6px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: #374151;
}

.donate-btn {
  background: #16a34a;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* Impact Section */
.impact-preview {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 60px 20px;
}

.impact-card {
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.impact-card h2 {
  font-size: 32px;
  color: #16a34a;
}

.impact-card p {
  margin-top: 8px;
  color: #4b5563;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: white;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
}
/* Login Page Styles */

.login-body {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.login-logo {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 8px;
}

.login-subtitle {
  color: #374151;
  margin-bottom: 24px;
}

.login-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.login-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.login-btn:hover {
  background: #15803d;
}

.login-note {
  margin-top: 16px;
  font-size: 12px;
  color: #6b7280;
}
/* Dashboard Layout */

.dashboard-body {
  display: flex;
  background: #f9fafb;
  min-height: 100vh;
}

/* Sidebar */

.sidebar {
  width: 240px;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}

.sidebar-nav a {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  background: #ecfdf5;
  color: #16a34a;
}

.logout-btn {
  margin-top: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid #dc2626;
  color: #dc2626;
  border-radius: 8px;
  cursor: pointer;
}

/* Main Area */

.dashboard-main {
  flex: 1;
  padding: 32px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-tag {
  background: #ecfdf5;
  color: #16a34a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stat-card h3 {
  font-size: 28px;
  color: #16a34a;
}

.stat-card p {
  margin-top: 8px;
  color: #6b7280;
}

/* Section */

.dashboard-section h2 {
  margin-bottom: 12px;
}

.simple-list {
  list-style: none;
}

.simple-list li {
  padding: 8px 0;
  color: #374151;
}
/* Slide-down homepage */

html {
  scroll-behavior: smooth;
}

/* Fixed Top Bar */
.topbar.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

/* HERO BACKGROUND */
.hero-bg {
  height: 100vh;
  background-image: url("https://images.unsplash.com/photo-1607746882042-944635dfe10e");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 46px;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 30px;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section.light {
  background: #f9fafb;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.section p {
  max-width: 700px;
  margin: auto;
  color: #374151;
  font-size: 17px;
}

/* IMPACT ROW */
.section.impact {
  display: flex;
  justify-content: center;
  gap: 30px;
  background: white;
}

.impact-card {
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.impact-card h3 {
  font-size: 32px;
  color: #16a34a;
}

/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #1f2937;
}

/* NAVBAR */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav a {
  margin-right: 16px;
  text-decoration: none;
  color: #374151;
}

.admin-btn {
  padding: 6px 12px;
  border: 1px solid #374151;
  background: transparent;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 100vh;
  padding-top: 120px;
  background: #ecfdf5;
  text-align: center;
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.donate-btn {
  background: #16a34a;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section.light {
  background: #f9fafb;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.section p {
  max-width: 700px;
  margin: auto;
  font-size: 17px;
}

/* CARDS */
.card-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 24px;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* IMPACT */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.stats div {
  text-align: center;
}

.stats strong {
  font-size: 28px;
  color: #16a34a;
}

.link-text {
  margin-top: 10px;
  color: #2563eb;
}

/* COMPLIANCE */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: bold;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: auto;
}

.photo {
  background: #d1d5db;
  height: 150px;
  border-radius: 8px;
}

/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  background: white;
  border-top: 1px solid #e5e7eb;
}
/* Logo integration */

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 64px;        /* 👈 perfect small size */
  width: auto;
}
/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
/* DONATE PAGE */

.donate-page {
  padding-top: 140px;
  min-height: 100vh;
  background: #f9fafb;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.donate-card {
  background: white;
  padding: 36px;
  width: 420px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.donate-card h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.donate-subtext {
  color: #374151;
  margin-bottom: 24px;
  font-size: 15px;
}

/* Amount buttons */

.amount-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-options button {
  padding: 12px;
  border: 1px solid #16A34A;
  background: transparent;
  color: #16A34A;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.amount-options input {
  grid-column: span 2;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

/* Donor info */

.donor-info input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

/* Payment */

.payment-section {
  margin: 20px 0;
}

.upi-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.upi-icons span {
  padding: 6px 10px;
  background: #ecfdf5;
  border-radius: 6px;
  font-size: 13px;
}

/* Donate button */

.donate-confirm-btn {
  width: 100%;
  padding: 14px;
  background: #16A34A;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.donate-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 14px;
}
/* Donate popup */

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
}

.popup-content h2 {
  margin-bottom: 10px;
}

.popup-content button {
  margin-top: 12px;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.popup-content button:first-of-type {
  background: #16A34A;
  color: white;
}

/* Reports */

.report-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.report-filters input,
.report-filters button {
  padding: 8px;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.report-table th,
.report-table td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  text-align: left;
}

.download-report {
  padding: 10px 16px;
  background: #16A34A;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
/* Donate button hover animation */

.donate-btn {
  background-color: #16A34A;   /* original green */
  color: white;
  border: 2px solid #16A34A;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background-color: white;     /* background becomes white */
  color: #16A34A;              /* text becomes green */
  transform: scale(1.08);      /* button grows slightly */
}

/* Top navbar text links hover (Mission, Programs, Impact, Contact) */

.nav-links a {
  color: #374151;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #16A34A;   /* SAME green as Donate */
}

/* Admin button styled same as Donate */

.admin-btn {
  background-color: #16A34A;
  color: white;
  border: 2px solid #16A34A;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background-color: white;
  color: #16A34A;
  transform: scale(1.08);
}
/* Navbar text hover – Mission, Programs, Impact, Contact */

header a {
  color: #374151;
  text-decoration: none;
  transition: color 0.25s ease;
}

header a:hover {
  color: #16A34A;   /* SAME green */
}
.dashboard-section input {
  padding: 10px;
  margin: 6px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

.dashboard-section button {
  padding: 10px 16px;
  background: #16A34A;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
/* Floating Contact Button (Fixed Bottom Right) */

.floating-contact {
  position: fixed;        /* THIS is the key */
  bottom: 24px;
  right: 24px;

  width: 72px;
  height: 72px;

  background-color: #16A34A;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 1000;

  cursor: pointer;
}

.floating-contact img {
  width: 36px;
  height: 36px;
}

/* Optional hover effect */
.floating-contact:hover {
  transform: scale(1.08);
}
/* Dashboard Card Hover Animation */

.stat-card {
  background: white;
  border-radius: 14px;
  padding: 22px;
  transition: all 0.3s ease;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Subtle number emphasis on hover */
.stat-card:hover h3 {
  color: #16A34A;
  transition: color 0.3s ease;
}
/* Floating Join Us Button */

.floating-join {
  position: fixed;
  bottom: 24px;
  left: 24px;

  padding: 16px 28px;
  background-color: #16A34A;
  color: white;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 1000;
}

.floating-join:hover {
  transform: scale(1.05);
}
.simple-list li {
  background: white;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.simple-list button {
  margin-top: 8px;
  padding: 6px 12px;
  background: #16A34A;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.people-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.people-card:hover {
  transform: translateY(-4px);
}

.role-tag {
  background: #e8f9f1;
  color: #0a8f5a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.card-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.card-actions button {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
/* Impact Page */
.impact-page section {
  margin-bottom: 60px;
}

.impact-hero {
  padding: 60px;
  background: linear-gradient(135deg, #e8f9f1, #ffffff);
  border-radius: 16px;
}

.impact-hero h1 {
  font-size: 36px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.impact-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.impact-card h2 {
  font-size: 36px;
  color: #0a8f5a;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.cause-card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
}

.story-card {
  background: #fff;
  padding: 30px;
  border-left: 6px solid #0a8f5a;
  border-radius: 12px;
  margin-bottom: 20px;
}

.impact-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.impact-gallery img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.impact-cta {
  text-align: center;
  padding: 60px;
  background: #f1fdf8;
  border-radius: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
/* Report Branding */
.report-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e5e5e5;
}

.report-logo {
  height: 60px;
}

.report-footer {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 12px;
  color: #555;
}
/* ===============================
   HERO TEXT APPEAR ANIMATION
   (WORKS WITH YOUR CURRENT HTML)
   =============================== */

/* Target hero text directly */
.hero h1,
.hero p,
.hero button {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s ease forwards;
}

/* Natural stagger */
.hero p {
  animation-delay: 0.2s;
}

.hero button {
  animation-delay: 0.4s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* COLORS */
:root {
  --green: #1faa59;
  --dark: #0f2a1d;
  --light: #f9fafb;
}

/* TOP BAR */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  z-index: 10;
}

.logo-img {
  height: 42px;
}

nav a {
  color: #fff;
  margin-right: 20px;
  text-decoration: none;
  font-weight: 500;
}

.admin-btn {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background: url("school kids.jpeg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

/* If image is inside /images folder, use:
background: url("images/school kids.jpeg")
*/

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.35)
  );
}

.hero-content {
  position: relative;
  max-width: 600px;
  color: #fff;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--green);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.primary-btn {
  background: var(--green);
  border: none;
  padding: 14px 26px;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.secondary-btn {
  background: transparent;
  border: 2px solid #fff;
  padding: 14px 26px;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

/* SECTIONS */
.section {
  padding: 80px 8%;
}

.section.light {
  background: var(--light);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* CARDS */
.card-row {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  flex: 1;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 20px;
}
/* ===============================
   HOME PAGE LOGO SIZE INCREASE
   (IMAGE ONLY, NO LAYOUT SHIFT)
   =============================== */

/* Only homepage (not dashboard) */
body:not(.dashboard-body) .topbar .logo-img {
  transform: scale(1.18);
  transform-origin: left center;
}
/* DONATE PAGE */
.donate-page {
  min-height: 100vh;
  background: #f9fafb;
  display: flex;
  justify-content: center;
  align-items: center;
}

.donate-card {
  background: #fff;
  padding: 40px;
  width: 420px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.donate-card input,
.donate-card select {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.donate-confirm-btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: #1faa59;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

/* RECEIPT */
.receipt-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f0fdf4;
}

.receipt-card {
  background: white;
  padding: 40px;
  width: 400px;
  border-radius: 14px;
  text-align: center;
}

.receipt-card button {
  margin-top: 20px;
  padding: 10px 18px;
  background: #1faa59;
  color: white;
  border: none;
  border-radius: 8px;
}
/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* INDIVIDUAL SLIDES */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35)
  );
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 0 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
/* IMPACT STATS CONTAINER */
.stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* IMPACT CARD */
.impact-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  min-width: 200px;
  flex: 1;

  /* Smooth animation */
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* NUMBER */
.impact-card strong {
  font-size: 2.4rem;
  color: #1faa59;
  display: block;
  margin-bottom: 8px;
}

/* TEXT */
.impact-card span {
  font-size: 1rem;
  color: #555;
}

/* 🔥 HOVER EFFECT */
.impact-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
/* PEOPLE FILTER TABS */
.filter-tabs {
  display: flex;
  gap: 14px;
  margin: 20px 0 30px;
}

/* FILTER BUTTON */
.filter-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* HOVER */
.filter-btn:hover {
  background: #f0fdf4;
  border-color: #1faa59;
  color: #166534;
}

/* ACTIVE */
.filter-btn.active {
  background: #1faa59;
  color: #ffffff;
  border-color: #1faa59;
  box-shadow: 0 6px 18px rgba(31, 170, 89, 0.35);
}
/* HERO BUTTONS */
.primary-btn,
.secondary-btn {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

/* Donate Now */
.primary-btn {
  background: #22c55e;
  color: white;
  border: none;
}

.primary-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

/* Join Us */
.secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.secondary-btn:hover {
  background: white;
  color: #14532d;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}
/* =========================
   PROFESSIONAL TABLE
========================= */

.table-container {
  background: white;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow-x: auto;
}

.pro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pro-table thead {
  background: #f1f5f9;
}

.pro-table th {
  text-align: left;
  padding: 14px;
  color: #334155;
  font-weight: 600;
}

.pro-table td {
  padding: 14px;
  border-top: 1px solid #e5e7eb;
  color: #1f2937;
}

.pro-table tbody tr:hover {
  background: #f8fafc;
}

.pro-table .right {
  text-align: right;
  font-weight: 600;
}

.pro-table .center {
  text-align: center;
}

/* CATEGORY TAG */
.category-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #e0f2fe;
  color: #0369a1;
}

/* DELETE BUTTON */
.delete-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: #dc2626;
  transform: scale(1.05);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.data-table th {
  background: #f8fafc;
  text-align: left;
  font-weight: 600;
}

.data-table tr:hover {
  background: #f1fdf6;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.category-tag {
  background: #e8fff3;
  color: #0f9d58;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.delete-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.delete-btn:hover {
  background: #d93636;
}
.lang-btn {
  background: transparent;
  border: 1px solid #2ecc71;
  color: #2ecc71;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  margin-right: 10px;
  transition: 0.3s;
}

.lang-btn:hover {
  background: #2ecc71;
  color: #fff;
}
.lang-btn {
  background: transparent;
  border: 1px solid #2ecc71;
  color: #2ecc71;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.lang-btn:hover {
  background: #2ecc71;
  color: white;
}
.hidden { display: none; }

.donate-body, .receipt-body {
  background: #f4fdf7;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-card, .receipt-card {
  background: white;
  padding: 30px;
  width: 380px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.donate-card input,
.donate-card select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

.donate-card button,
.receipt-card button {
  width: 100%;
  padding: 12px;
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 8px;
  margin-top: 12px;
  cursor: pointer;
}

.loader {
  width: 40px;
  height: 40px;
  border: 5px solid #ddd;
  border-top: 5px solid #2ecc71;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
