/* ===========================================
   ABP2012 Foundation — Main Stylesheet
   Aesthetic: Warm Organic · Editorial · Purposeful
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ===================== CSS Variables ===================== */
:root {
  --primary:    #1d5c37;
  --primary-dk: #0f3d22;
  --primary-lt: #2d7a4a;
  --accent:     #e8852b;
  --accent-lt:  #f5a55b;
  --gold:       #c8972b;
  --cream:      #fdf6ec;
  --cream-dk:   #f5e9d4;
  --dark:       #1a1a1a;
  --text:       #2d2d2d;
  --text-muted: #6b7280;
  --white:      #ffffff;
  --border:     #e5e0d8;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --radius:     12px;
  --radius-lg:  20px;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', -apple-system, sans-serif;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ===================== Reset & Base ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ===================== Typography ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--text); }

/* ===================== Layout Helpers ===================== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--cream); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===================== Section Headers ===================== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--white);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--dark); margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }
.divider {
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px; margin: 16px 0 20px;
}
.divider.centered { margin: 16px auto 20px; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-size: .95rem; font-weight: 600;
  transition: var(--transition); cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dk); border-color: var(--primary-dk);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,92,55,.35);
}
.btn-accent {
  background: var(--accent); color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #d0741f; border-color: #d0741f;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,133,43,.35);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ===================== Topbar ===================== */
.topbar {
  background: var(--primary-dk);
  color: rgba(255,255,255,.85);
  font-size: .82rem; padding: 8px 0;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-links a { color: rgba(255,255,255,.75); }
.topbar-links a:hover { color: var(--accent-lt); }
.topbar-socials { display: flex; gap: 12px; }
.topbar-socials a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .8rem;
}
.topbar-socials a:hover { background: var(--accent); }

/* ===================== Navigation ===================== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding: 0;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.navbar-logo {
  display: flex; align-items: center; gap: 12px;
}
.logo-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--primary); }
.logo-text span { font-size: .75rem; color: var(--text-muted); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li { position: relative; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; color: var(--text);
  display: flex; align-items: center; gap: 4px;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--cream); color: var(--primary);
}
.nav-links a.active { font-weight: 600; }
.nav-donate {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 8px !important;
}
.nav-donate:hover { background: #d0741f !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; height: 2px; background: var(--dark);
  border-radius: 2px; transition: var(--transition);
}

/* ===================== Hero Section ===================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, #2d6b3f 100%);
  min-height: 88vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; color: var(--white); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 500;
  letter-spacing: .08em; padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero-tag::before { content: '●'; color: var(--accent-lt); font-size: .6rem; }
.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--accent-lt); }
.hero-desc {
  font-size: 1.15rem; color: rgba(255,255,255,.8);
  max-width: 540px; margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 700;
  color: var(--accent-lt);
}
.hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.65); font-weight: 400; }
.hero-image {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  overflow: hidden;
}
.hero-image::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--primary-dk) 0%, transparent 40%);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero-leaf {
  position: absolute; bottom: -30px; left: -30px; width: 200px; opacity: .06;
}

/* ===================== Impact Cards (Home) ===================== */
.impact-strip {
  background: var(--dark);
  padding: 40px 0;
}
.impact-strip .grid-4 { gap: 0; }
.impact-item {
  text-align: center; padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.impact-item:last-child { border-right: none; }
.impact-num {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 700;
  color: var(--accent-lt); line-height: 1;
}
.impact-label { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ===================== Cards — Generic ===================== */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  background: var(--cream); color: var(--primary);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
  margin-bottom: 12px;
}
.card-title { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 10px; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--primary); }
.card-meta { font-size: .82rem; color: var(--text-muted); display: flex; gap: 16px; align-items: center; }
.card-meta i { color: var(--accent); }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); }

/* ===================== Cause Cards ===================== */
.cause-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cause-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cause-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.cause-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cause-card:hover .cause-img img { transform: scale(1.07); }
.cause-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--white);
  font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 100px;
}
.cause-body { padding: 24px; }
.cause-title { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 10px; }
.cause-desc { font-size: .9rem; color: var(--text-muted); margin-bottom: 16px; }
.progress-bar { background: var(--cream-dk); border-radius: 100px; height: 8px; overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; transition: width 1s ease; }
.cause-amounts { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-muted); margin-bottom: 16px; }
.cause-amounts strong { color: var(--primary); }

/* ===================== Event Cards ===================== */
.event-card {
  display: flex; gap: 20px; padding: 24px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: var(--transition); align-items: flex-start;
}
.event-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.event-date-box {
  min-width: 70px; background: var(--primary);
  border-radius: 10px; text-align: center; padding: 12px 10px;
  color: var(--white); flex-shrink: 0;
}
.event-date-day { font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1; }
.event-date-mon { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.event-info h4 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.event-info h4 a:hover { color: var(--primary); }
.event-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--text-muted); }
.event-meta span { display: flex; align-items: center; gap: 5px; }
.event-meta i { color: var(--accent); }
.event-status { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 100px; margin-top: 8px; }
.status-upcoming { background: #dbeafe; color: #1d4ed8; }
.status-completed { background: #d1fae5; color: #065f46; }

/* ===================== Volunteer / Team Cards ===================== */
.vol-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); text-align: center; padding-bottom: 24px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.vol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vol-img { aspect-ratio: 1; overflow: hidden; margin-bottom: 20px; background: var(--cream); }
.vol-img img { width: 100%; height: 100%; object-fit: cover; }
.vol-name { font-family: var(--font-head); font-size: 1.1rem; }
.vol-role { font-size: .85rem; color: var(--accent); font-weight: 500; margin-bottom: 10px; }

/* ===================== Page Hero (inner pages) ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  padding: 80px 0 60px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--accent-lt); }
.breadcrumb-sep { color: rgba(255,255,255,.35); }

/* ===================== Forms ===================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: 8px;
  font-size: .95rem; color: var(--text);
  background: var(--white); transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,92,55,.1); }
.form-control::placeholder { color: #b0aba2; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 6px; }
.form-box {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* ===================== Gallery Grid ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,61,34,.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-family: var(--font-head); font-size: 1rem; }
.gallery-overlay span { color: rgba(255,255,255,.7); font-size: .8rem; }

/* ===================== Donation Section ===================== */
.donate-amounts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.amount-btn {
  padding: 12px 24px; border-radius: 8px; font-size: .95rem; font-weight: 600;
  border: 2px solid var(--border); background: var(--white); color: var(--text);
  transition: var(--transition); cursor: pointer;
}
.amount-btn:hover, .amount-btn.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.payment-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.payment-method {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 8px; cursor: pointer;
  border: 2px solid var(--border); background: var(--white);
  font-size: .9rem; font-weight: 500; transition: var(--transition);
}
.payment-method:hover { border-color: var(--primary); }
.payment-method input[type="radio"] { accent-color: var(--primary); }

/* ===================== Testimonials ===================== */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: var(--font-head);
  font-size: 5rem; color: var(--cream-dk); line-height: 1;
  position: absolute; top: 16px; left: 24px; z-index: 0;
}
.testimonial-text { position: relative; z-index: 1; font-style: italic; color: var(--text); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--cream); flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: .95rem; }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }

/* ===================== CTA Banner ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== Footer ===================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); }
.footer-desc { font-size: .9rem; line-height: 1.75; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); color: var(--white); }
.footer-col h5 {
  font-family: var(--font-head); font-size: 1rem; color: var(--white);
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--accent-lt); padding-left: 4px; }
.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .88rem; margin-bottom: 14px;
}
.footer-contact i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: .82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent-lt); }

/* ===================== About Page ===================== */
.about-img-wrap { position: relative; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius); padding: 20px 24px;
  text-align: center; box-shadow: var(--shadow-md);
}
.about-badge-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.about-badge-label { font-size: .82rem; opacity: .85; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 18px; font-size: .95rem;
}
.feature-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: var(--cream); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }

/* ===================== Contact Page ===================== */
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 16px;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-icon.accent { background: var(--accent); }
.contact-detail h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-detail p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ===================== Blog Single ===================== */
.blog-content h2, .blog-content h3, .blog-content h4 { font-family: var(--font-head); margin: 1.8rem 0 1rem; }
.blog-content p { margin-bottom: 1.2rem; line-height: 1.85; }
.blog-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-content blockquote {
  border-left: 4px solid var(--primary); padding: 16px 24px;
  background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-muted); margin: 1.5rem 0;
}
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: flex; align-items: center; gap: 8px; padding: 9px 18px;
  border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--white);
}
.share-facebook { background: #1877f2; }
.share-twitter  { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0a66c2; }

/* ===================== Lightbox ===================== */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: var(--white); font-size: 2rem; cursor: pointer; opacity: .7; line-height: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption { position: absolute; bottom: 24px; color: rgba(255,255,255,.7); font-size: .9rem; text-align: center; }

/* ===================== Alerts & Messages ===================== */
.alert {
  padding: 14px 20px; border-radius: 8px; margin-bottom: 20px;
  font-weight: 500; font-size: .95rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef9c3; color: #854d0e; border: 1px solid #fde68a; }

/* ===================== Pagination ===================== */
.pagination {
  display: flex; align-items: center; gap: 8px; justify-content: center; padding: 40px 0 0;
  flex-wrap: wrap;
}
.page-link {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 500; border: 2px solid var(--border);
  color: var(--text); transition: var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ===================== Utility Classes ===================== */
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent);  }
.text-muted   { color: var(--text-muted); }
.bg-primary   { background: var(--primary); }
.bg-cream     { background: var(--cream); }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-md); }
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 600;
}
.badge-green { background: #d1fae5; color: #065f46; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-blue  { background: #dbeafe; color: #1d4ed8; }

/* ===================== Lazy Fade-in ===================== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===================== Sticky Donate Button ===================== */
.sticky-donate {
  position: fixed; right: 20px; bottom: 30px; z-index: 500;
  background: var(--accent); color: var(--white);
  padding: 14px 22px; border-radius: 50px;
  font-weight: 700; font-size: .95rem; letter-spacing: .03em;
  box-shadow: 0 8px 32px rgba(232,133,43,.45);
  display: flex; align-items: center; gap: 8px;
  animation: pulse-btn 2.5s infinite;
}
.sticky-donate:hover { background: #c87020; color: var(--white); transform: translateY(-3px); }
@keyframes pulse-btn {
  0%,100% { box-shadow: 0 8px 32px rgba(232,133,43,.45); }
  50% { box-shadow: 0 8px 42px rgba(232,133,43,.7); }
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-image { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; border-top: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .navbar { position: relative; }
  .topbar { display: none; }
  .hero { min-height: 70vh; padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .impact-strip .grid-4 { grid-template-columns: 1fr 1fr; }
  .impact-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: 20px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 24px; font-size: .95rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}

