.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
}

.app-container {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.header h1 {
  font-size: 32px;
  margin: 0;
}

.header p {
  margin-top: 6px;
  color: var(--muted);
}


.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  font-size: 14px;
  color: var(--muted);
}

.card-value {
  font-size: 28px;
  font-weight: 700;
  margin-top: 10px;
}

.charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.chart-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}
.card-header {
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 26px;
}
.card.health {
  border-left: 4px solid #34d399;
  background: linear-gradient(135deg, rgba(52,211,153,.18), var(--card));
}

.card.education {
  border-left: 4px solid #60a5fa;
  background: linear-gradient(135deg, rgba(96,165,250,.18), var(--card));
}

.card.food {
  border-left: 4px solid #fbbf24;
  background: linear-gradient(135deg, rgba(251,191,36,.18), var(--card));
}

.card.groceries {
  border-left: 4px solid #a78bfa;
  background: linear-gradient(135deg, rgba(167,139,250,.18), var(--card));
}

.card.sewing {
  border-left: 4px solid #fb7185;
  background: linear-gradient(135deg, rgba(251,113,133,.18), var(--card));
}

.card.others {
  border-left: 4px solid #38bdf8;
  background: linear-gradient(135deg, rgba(56,189,248,.18), var(--card));
}

.card.total {
  border-left: 4px solid #22c55e;
  background: linear-gradient(135deg, rgba(34,197,94,.25), var(--card));
}
/* Main Card */
.special-card {
  border: 1px solid #bbf7d0;
  background: linear-gradient(90deg, #ecfdf5, #fefce8);
  border-radius: 18px;
  padding: 20px;
  margin-top: 32px;
}

/* Header */
.special-card-header {
  margin-bottom: 16px;
}

.special-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #15803d;
  font-size: 20px;
  margin: 0;
}

.title-icon {
  font-size: 22px;
}

.special-desc {
  font-size: 14px;
  color: #4b5563;
  margin-top: 4px;
}

/* Grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

/* Impact Boxes */
.impact-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.impact-box:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.impact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.impact-icon {
  font-size: 18px;
}

.impact-label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

.impact-value {
  font-size: 24px;
  font-weight: 700;
  margin-top: 6px;
}

.impact-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* Color Variants */
.impact-box.green {
  border-color: #bbf7d0;
  color: #15803d;
}

.impact-box.yellow {
  border-color: #fde68a;
  color: #a16207;
}

.impact-box.emerald {
  border-color: #6ee7b7;
  color: #047857;
}

.impact-box.lime {
  border-color: #bef264;
  color: #3f6212;
}

/* Initiative Box */
.initiative-box {
  margin-top: 16px;
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  font-size: 14px;
  color: #374151;
}

.heart-icon {
  color: #16a34a;
  margin-right: 6px;
}
*{box-sizing:border-box;font-family:'Inter',sans-serif}
body{margin:0;background:#f9fafb;color:#111827}
.app-container{max-width:1200px;margin:auto;padding:24px}
.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}
.header-left{display:flex;align-items:center;gap:14px}
.logo{width:48px;height:48px}
.brand-green{color:#16a34a;font-weight:800}
.brand-gold{color:#ca8a04;font-weight:800}
.since-badge{padding:10px 16px;border-radius:14px;background:#ecfdf5;border:1px solid #86efac;color:#15803d;font-weight:600}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.card{border-radius:18px;padding:20px;background:white;border-left:4px solid}
.card-header{display:flex;justify-content:space-between;align-items:center;color:black;}
.icon{font-size:22px}
.card-value{font-size:32px;font-weight:800;margin-top:12px}
.card-sub{font-size:13px;color:#6b7280;margin-top:6px}
.food{border-color:#fbbf24;background:#fffbeb}
.education{border-color:#60a5fa;background:#eff6ff}
.groceries{border-color:#a78bfa;background:#f5f3ff}
.health{border-color:#34d399;background:#ecfdf5}
.sewing{border-color:#fb7185;background:#fff1f2}
.others{border-color:#38bdf8;background:#f0f9ff}
.total{border-color:#22c55e;background:#f0fdf4}
/* Pie chart sizing */
.pie-wrapper {
  max-width: 260px;     /* reduce width */
  max-height: 260px;    /* reduce height */
  margin: 0 auto;       /* center horizontally */
}

.pie-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}
/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Chart Cards */
.chart-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid;
  padding: 20px;
}

.chart-card.emerald {
  border-color: #a7f3d0;
}

.chart-card.lime {
  border-color: #d9f99d;
}

/* Header */
.chart-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chart-icon {
  font-size: 18px;
}

.chart-header p {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

/* Chart Body */
.chart-body {
  margin-top: 16px;
  height: 350px;
}

/* Footer */
.footer-card {
  margin-top: 40px;
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  border-radius: 18px;
  background: linear-gradient(90deg, #ecfdf5, #fefce8, #ecfdf5);
  border: 1px solid #bbf7d0;
}
.card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;   /* BLACK title */
  margin: 0;
}
/* Annadhanam */
.card.food {
  border: 1px solid #86efac;
  background: #f0fdf4; /* light green */
}

/* Education */
.card.education {
  border: 1px solid #fde68a;
  background: #fffbeb; /* light yellow */
}

/* Essentials / Groceries */
.card.groceries {
  border: 1px solid #99f6e4;
  background: #f0fdfa; /* light teal */
}

/* Health */
.card.health {
  border: 1px solid #bef264;
  background: #f7fee7; /* lime */
}

/* Sewing Machines */
.card.sewing {
  border: 1px solid #fde68a;
  background: #fffbeb; /* yellow */
}

/* Other Initiatives */
.card.others {
  border: 1px solid #99f6e4;
  background: #f0fdfa; /* teal */
}

/* Total Impact (slightly stronger) */
.card.total {
  border: 1px solid #86efac;
  background: #ecfdf5;
}
.card-value {
  font-size: 32px;
  font-weight: 800;
  color: #16a34a; /* green numbers */
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(
    180deg,
    #f0fdf4 0%,
    #ffffff 40%,
    #f0fdfa 100%
  );
  color: #111827;
}

/* Space after COVID section */
.special-card {
  margin-bottom: 48px;   /* 👈 IMPORTANT */
}

/* Charts section spacing */
.charts-section {
  margin-top: 40px;
}
.main-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #14532d;
  margin: 0;
}

.subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.social-icon {
  font-size: 1.5rem;
  text-decoration: none;
  color: #065f46; /* dark green, matching theme */
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #10b981; /* lighter green on hover */
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Brand colors */
.facebook { background: #1877f2; }
.twitter  { background: #000000; }
.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
}
.whatsapp { background: #25d366; }
.footer-card {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.footer-message {
  font-size: 0.9rem;
  font-weight: 400;
  /* color: #065f46; */
  margin-bottom: 10px;
}

.footer-contact {
  font-size: 0.95rem;
  font-weight: 500;
  color: #047857;
}

.footer-contact i {
  margin-right: 6px;
}

.footer-contact a {
  color: #047857;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}
.footer-copy {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #065f46;
}

.footer-note {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
}
