/* ============================================================
   ARTHOTTHANA PARISHAT — NGO Website Stylesheet
   Color System (Fluid Editorial Palette):
     --primary:      #4a4047  (accent container / deep plum-charcoal)
     --primary-dark:  #3a3038  (darker plum for hovers)
     --primary-light:  #6b5e68 (lighter plum tint)
     --accent:        #e5dcd3  (taupe / tertiary accents)
     --surface:       #f7f9fb  (off-white background)
     --on-surface:    #101415  (near-black text)
     --muted:         #7a7a7a  (secondary text)
     --white:         #FFFFFF
   ============================================================ */

:root {
  --primary:             #493E49; /* Deep Plum (primary brand) */
  --on-primary:          #ffffff;
  --secondary:           #645A60; /* Warm Taupe */
  --secondary-container: #DCCEB7; /* Muted Gold / Sand */
  --tertiary:            #A39C9E; /* Soft Gray */
  --on-tertiary:         #ffffff;
  --surface:             #F6F3EE; /* Background / Ivory */
  --on-surface:          #322832; /* Dark Plum (typography) */
  --outline:             #A39C9E; /* Soft Gray (borders/dividers) */
  --white:               #ffffff;

  /* Legacy variables mapped to match the new system */
  --green-dark:  #493E49; /* Deep Plum */
  --green-mid:   #493E49; /* Deep Plum */
  --green-light: #645A60; /* Warm Taupe */
  --amber:       #DCCEB7; /* Muted Gold / Sand */
  --cream:       #F6F3EE; /* Background / Ivory */
  --charcoal:    #322832; /* Dark Plum Typography */
  --muted:       #A39C9E; /* Soft Gray Text */
  --white:       #ffffff;
  --radius:      4px;     /* Soft 0.25rem corner radius */
  --shadow-sm:   0 2px 8px rgba(73, 62, 73, 0.05);
  --shadow-md:   0 6px 20px rgba(73, 62, 73, 0.08);
  --shadow-lg:   0 12px 32px rgba(73, 62, 73, 0.12);
  --transition:  0.3s ease;
  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'Work Sans', system-ui, sans-serif;
}

/* ── 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(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-light); }

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

/* ── Preloader ────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: var(--amber);
  animation: spin 0.9s linear infinite;
  margin: 0 auto 16px;
}
.preloader-text { color: var(--white); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Typography ───────────────────────────────────────────── */
.display-font { font-family: var(--font-display); }

h1,h2,h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h4,h5,h6 { font-weight: 600; line-height: 1.3; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

.section-header { margin-bottom: 3rem; }

/* ── Utility Classes ──────────────────────────────────────── */
.bg-cream    { background-color: var(--cream); }
.bg-dark-green { background-color: var(--green-dark); }
.bg-mid-green  { background-color: var(--green-mid); }
.text-green  { color: var(--green-mid); }
.text-amber  { color: var(--amber); }
.text-muted-custom { color: var(--muted); }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.divider-leaf {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--green-light));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider-leaf.center { margin-left: auto; margin-right: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-green {
  background: var(--green-mid);
  color: var(--white);
  border: 2px solid var(--green-mid);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(73, 62, 73, .3);
}

.btn-amber {
  background: var(--amber);
  color: var(--charcoal);
  border: 2px solid var(--amber);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-amber:hover {
  background: #d4cbc2;
  border-color: #d4cbc2;
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,220,211,.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-mid);
  border: 2px solid var(--green-mid);
  padding: 11px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-green:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar-ap {
  background: #322832;
  border-bottom: 2px solid var(--amber);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  transition: all 0.4s ease;
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.navbar-ap.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.navbar-brand-ap {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: url('../images/icons/Arthotthana Parishat.png') center/cover no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-text-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.3px;
}
.brand-text-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-ap .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px !important;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.navbar-ap .nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--amber);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}
.navbar-ap .nav-link:hover,
.navbar-ap .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.08);
}
.navbar-ap .nav-link:hover::after,
.navbar-ap .nav-link.active::after { transform: scaleX(1); }

.nav-donate-btn {
  background: var(--amber) !important;
  color: var(--charcoal) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
}
.nav-donate-btn::after { display: none !important; }
.nav-donate-btn:hover {
  background: #d4cbc2 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(229,220,211,.4);
}

.navbar-toggler {
  border: none; padding: 4px;
  color: var(--white);
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--amber); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero/hero-main.svg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(73, 62, 73, .92) 0%,
    rgba(73, 62, 73, .75) 50%,
    rgba(0,0,0,.4) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 100px;
  padding-bottom: 40px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 1.8s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero-title span { color: var(--amber); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-card img {
  width: 100%; height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(73, 62, 73, .6) 0%, transparent 50%);
  border-radius: var(--radius);
}
.hero-img-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.hero-img-badge-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-img-badge-text { font-size: 0.82rem; font-weight: 700; color: var(--charcoal); }
.hero-img-badge-sub  { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* ── Impact Stats Bar ─────────────────────────────────────── */
.impact-bar {
  background: var(--green-dark);
  padding: 48px 0;
}
.impact-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: transform var(--transition);
}
.impact-item:last-child { border-right: none; }
.impact-item:hover { transform: translateY(-4px); }
.impact-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.impact-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* ── Glassmorphism Cards ──────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
}
.bg-cream .glass-card,
.section-pad-sm.bg-cream .glass-card,
.section-pad.bg-cream .glass-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}
.bg-cream .glass-card:hover,
.section-pad-sm.bg-cream .glass-card:hover,
.section-pad.bg-cream .glass-card:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08);
}

/* ── Cards (shared) ───────────────────────────────────────── */
.ap-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,.05);
}
.ap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ap-card-img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ap-card:hover .ap-card-img { transform: scale(1.04); }
.ap-card-img-wrap { overflow: hidden; }
.ap-card-body { padding: 24px; }
.ap-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-light);
  background: rgba(74,64,71,.08);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.ap-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.ap-card-text { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }

/* ── About Preview ────────────────────────────────────────── */
.about-img-stack { position: relative; }
.about-img-main {
  border-radius: var(--radius);
  width: 100%; height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 220px; height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  top: 24px; left: -24px;
  background: var(--amber);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(229,220,211,.35);
  min-width: 110px;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.about-badge-txt {
  font-size: 0.7rem;
  color: rgba(0,0,0,.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Feature List ─────────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; margin: 24px 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.feature-list li:last-child { border-bottom: none; }
.feature-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: rgba(73, 62, 73, .1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-mid);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ── Programs ─────────────────────────────────────────────── */
.program-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.ap-card:hover .program-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.program-metric {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.program-metric strong { color: var(--green-mid); font-size: 0.9rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--amber);
  transition: all var(--transition);
  height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-quote {
  font-size: 2.5rem; color: var(--amber);
  line-height: 1; margin-bottom: 16px; font-family: Georgia;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--amber);
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--green-dark); }
.testimonial-role { font-size: 0.78rem; color: var(--muted); }
.stars { color: var(--amber); font-size: 0.85rem; margin-bottom: 12px; }

/* ── Events ───────────────────────────────────────────────── */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,.05);
}
.event-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.event-date-box {
  background: var(--green-dark);
  min-width: 80px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px 16px;
  text-align: center;
}
.event-day {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--amber); line-height: 1;
}
.event-month { font-size: 0.72rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.event-body { padding: 20px 24px; flex: 1; }
.event-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 8px;
}
.event-title { font-weight: 700; font-size: 1rem; color: var(--charcoal); margin-bottom: 8px; }
.event-meta { font-size: 0.82rem; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Volunteer CTA ────────────────────────────────────────── */
.volunteer-cta {
  background: linear-gradient(135deg, var(--green-dark) 0%, #322832 100%);
  position: relative; overflow: hidden;
}
.volunteer-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,94,104,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.volunteer-cta::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,220,211,.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* ── Donation Section ─────────────────────────────────────── */
.donate-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.donate-card:hover, .donate-card.active {
  border-color: var(--amber);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(229,211,179,.2);
}
.donate-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-dark);
}
.donate-desc { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.donate-impact {
  background: rgba(73, 62, 73, .06);
  border-radius: 8px;
  padding: 10px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--green-mid);
  font-weight: 600;
}

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, #322832 100%);
}
.newsletter-input-wrap {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.newsletter-input {
  flex: 1;
  border: none; outline: none;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.newsletter-btn {
  background: var(--green-dark);
  color: var(--white);
  border: none;
  padding: 16px 28px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-btn:hover { background: var(--green-mid); }

/* ── Partners ─────────────────────────────────────────────── */
.partner-logo {
  height: 56px; width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: all var(--transition);
  max-width: 140px;
}
.partner-logo:hover { filter: none; }

/* ── Footer ───────────────────────────────────────────────── */
.footer-ap {
  background: #322832;
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
}
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,.5); margin-top: 4px; }
.footer-desc { font-size: 0.88rem; margin: 20px 0; line-height: 1.8; }

.footer-heading {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--amber); padding-left: 6px; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 0.9rem;
}
.footer-contact-text { font-size: 0.85rem; color: rgba(255,255,255,.65); line-height: 1.6; }

.social-links { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--amber);
  color: var(--charcoal);
  border-color: var(--amber);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 48px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text { font-size: 0.82rem; color: rgba(255,255,255,.7); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,.7); }
.footer-bottom-links a:hover { color: var(--amber); }

/* ── Back to Top ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--green-mid);
  color: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(73, 62, 73, .4);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
}
#back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px) !important;
}

/* ── Animations ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #322832 100%);
  padding: 140px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: url('../images/hero/page-hero-pattern.svg') center/cover;
  opacity: 0.08;
  mask-image: linear-gradient(to left, rgba(0,0,0,1), transparent);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 700;
}
.page-hero-sub { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-top: 12px; }
.breadcrumb-ap { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.breadcrumb-ap a { color: rgba(255,255,255,.6); font-size: 0.85rem; }
.breadcrumb-ap span { color: rgba(255,255,255,.3); font-size: 0.85rem; }
.breadcrumb-ap .active { color: var(--amber); font-size: 0.85rem; font-weight: 600; }

/* ── Team Cards ───────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-img-wrap { position: relative; overflow: hidden; }
.team-img {
  width: 100%; height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img { transform: scale(1.05); }
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(73, 62, 73, .85), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px;
  gap: 10px;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-social-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.team-social-btn:hover { background: var(--amber); color: var(--charcoal); }
.team-body { padding: 20px; }
.team-name { font-weight: 700; font-size: 1rem; color: var(--green-dark); }
.team-role { font-size: 0.82rem; color: var(--green-light); margin-top: 4px; }

/* ── Timeline ─────────────────────────────────────────────── */
.timeline { position: relative; padding: 20px 0; overflow: hidden; }
.timeline::before {
  display: none;
}
.timeline-svg-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.timeline-path-bg {
  stroke: var(--outline);
  stroke-width: 4px;
  stroke-linecap: round;
}
.timeline-path-fill {
  stroke-width: 4px;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s ease-out;
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 40px); }
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.timeline-dot {
  position: absolute;
  left: 50%; top: 20px;
  width: 18px; height: 18px;
  background: #cbd5e1;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(203, 213, 225, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.timeline-dot.active {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(229, 220, 211, 0.4), 0 0 12px rgba(229, 220, 211, 0.6);
  transform: translateX(-50%) scale(1.15);
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 380px;
  border-left: 3px solid var(--green-light);
  transition: box-shadow var(--transition);
}
.timeline-item.visible .timeline-content {
  box-shadow: var(--shadow-md);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}
.timeline-title { font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.timeline-text { font-size: 0.88rem; color: var(--muted); }

/* ── Values ───────────────────────────────────────────────── */
.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  height: 100%;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.value-title { font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.value-text  { font-size: 0.88rem; color: var(--muted); line-height: 1.8; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid rgba(0,0,0,.1);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(73, 62, 73, .7);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom-icon { color: var(--white); font-size: 1.8rem; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: var(--white); font-size: 2rem;
  cursor: pointer; background: none; border: none;
  transition: transform var(--transition);
}
.lightbox-close:hover { transform: rotate(90deg); }

/* ── Volunteer ────────────────────────────────────────────── */
.volunteer-opportunity {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-left: 4px solid var(--amber);
  margin-bottom: 16px;
}
.volunteer-opportunity:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.vol-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(229,211,179,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--green-mid);
}
.vol-title { font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.vol-meta { font-size: 0.82rem; color: var(--muted); }

/* ── Form Styles ──────────────────────────────────────────── */
.ap-form-group { margin-bottom: 20px; }
.ap-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.ap-input, .ap-select, .ap-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  font-family: var(--font-body);
}
.ap-input:focus, .ap-select:focus, .ap-textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 4px rgba(73, 62, 73, .1);
}
.ap-textarea { resize: vertical; min-height: 130px; }
.field-error { font-size: 0.8rem; color: #e53e3e; margin-top: 5px; display: none; }
.ap-input.invalid, .ap-textarea.invalid { border-color: #e53e3e; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  user-select: none;
}
.faq-question:hover { color: var(--green-mid); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(229,211,179,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-mid);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--green-mid);
  color: var(--white);
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0; overflow: hidden;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  transition: all 0.4s ease;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }

/* ── Map Placeholder ──────────────────────────────────────── */
.map-placeholder {
  width: 100%; height: 380px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7f9fb 0%, #eceef0 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  border: 2px dashed rgba(73, 62, 73, .2);
  color: var(--green-mid);
  font-size: 0.9rem;
  font-weight: 600;
}
.map-placeholder i { font-size: 2.5rem; color: var(--green-light); }

/* ── Progress Bar ─────────────────────────────────────────── */
.progress-item { margin-bottom: 20px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; }
.progress-label span:first-child { font-weight: 600; color: var(--charcoal); }
.progress-label span:last-child  { color: var(--green-mid); font-weight: 700; }
.progress-bar-track {
  height: 8px; border-radius: 100px;
  background: rgba(0,0,0,.07);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-light), var(--green-dark));
  border-radius: 100px;
  transition: width 1.2s ease;
  width: 0;
}
.progress-bar-fill.animated { width: var(--target-width); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 0;
  }
  .timeline-dot { left: 20px; }
  .about-img-accent { display: none; }
  .about-badge { left: 16px; }
  .hero-img-card { margin-top: 40px; }
  .hero-img-card img { height: 320px; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 64px 0; }
  .impact-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .impact-item:last-child { border-bottom: none; }
  .event-card { flex-direction: column; }
  .event-date-box { flex-direction: row; padding: 14px 20px; justify-content: flex-start; gap: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 575.98px) {
  .hero-stats { gap: 12px; padding-top: 20px; }
  .hero-img-badge {
    bottom: 12px; left: 12px; right: 12px;
    padding: 10px 14px;
    gap: 10px;
  }
  .hero-img-badge-icon {
    width: 36px; height: 36px;
    font-size: 1rem;
  }
  .hero-img-badge-text { font-size: 0.75rem; }
  .hero-img-badge-sub { font-size: 0.65rem; }
}

/* ── Editorial Watermark & Overlapping Hero Section Styles ── */
.bg-watermark {
  position: fixed;
  top: 50%;
  left: -12rem;
  transform: translateY(-50%) rotate(-90deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--secondary);
  white-space: nowrap;
}

.hero-editorial {
  position: relative;
  background: var(--cream);
  padding: 120px 0 60px;
  overflow: hidden;
  z-index: 1;
}

.hero-split-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media (min-width: 992px) {
  .hero-split-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    min-height: 80vh;
  }
}

.hero-bg-card {
  width: 100%;
  height: 48vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(73, 62, 73, 0.15);
  background: var(--secondary);
  position: relative;
}
@media (min-width: 992px) {
  .hero-bg-card {
    grid-column: 5 / -1;
    grid-row: 1;
    height: 75vh;
    z-index: 1;
    width: auto;
  }
}

.hero-bg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.hero-floating-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(73, 62, 73, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
@media (min-width: 992px) {
  .hero-floating-info {
    bottom: 48px;
    right: 48px;
    left: auto;
    width: 380px;
  }
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-floating-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  line-height: 1.2;
}
.hero-floating-text p {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--tertiary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

.hero-fg-card {
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(73, 62, 73, 0.12);
  border: 1px solid rgba(73, 62, 73, 0.1);
  padding: 32px;
  position: relative;
  z-index: 2;
  margin-top: -40px;
}
@media (min-width: 992px) {
  .hero-fg-card {
    grid-column: 1 / 7;
    grid-row: 1;
    padding: 56px;
    margin-top: 0;
    width: auto;
  }
}

.hero-badge-editorial {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-badge-line {
  width: 48px;
  height: 1px;
  background: rgba(73, 62, 73, 0.3);
}
.hero-badge-text-editorial {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tertiary);
}

.hero-title-editorial {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-title-editorial span {
  display: block;
}
.hero-title-editorial .italic-brand {
  font-style: italic;
  color: var(--tertiary);
}
.hero-title-editorial .offset-line-1 {
  padding-left: 2rem;
}
.hero-title-editorial .offset-line-2 {
  padding-left: 1.5rem;
}

.hero-desc-editorial {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--tertiary);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions-editorial {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.btn-action-circle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-action-circle:hover {
  color: var(--secondary);
}
.btn-action-circle .circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  color: var(--primary);
}
.btn-action-circle:hover .circle-icon {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-action-circle.accent {
  color: var(--tertiary);
}
.btn-action-circle.accent:hover {
  color: var(--primary);
}
.btn-action-circle.accent .circle-icon {
  background: var(--secondary-container);
  border-color: var(--secondary-container);
  color: var(--primary);
}
.btn-action-circle.accent:hover .circle-icon {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
}

/* ── Dark Sections Text Color Enhancements (YOLO Sand Color) ── */
.volunteer-cta h2,
.volunteer-cta .section-title,
.newsletter-section h3 {
  color: var(--amber) !important;
}

.volunteer-cta p,
.newsletter-section p {
  color: rgba(220, 206, 183, 0.8) !important;
}

.volunteer-cta .section-eyebrow {
  color: var(--amber) !important;
}

/* Also style the volunteer list items */
.volunteer-cta div[style*="color:var(--white)"],
.volunteer-cta div[style*="color: var(--white)"] {
  color: var(--amber) !important;
}

/* Footer overrides for consistent Sand text color */
.footer-ap {
  color: rgba(220, 206, 183, 0.75) !important;
}
.footer-brand-text {
  color: var(--amber) !important;
}
.footer-tagline {
  color: rgba(220, 206, 183, 0.5) !important;
}
.footer-desc {
  color: rgba(220, 206, 183, 0.75) !important;
}
.footer-heading {
  color: var(--amber) !important;
}
.footer-links a {
  color: rgba(220, 206, 183, 0.7) !important;
}
.footer-links a:hover {
  color: var(--white) !important;
}
.footer-ap .footer-contact-text {
  color: rgba(220, 206, 183, 0.7) !important;
}
.section-pad .footer-contact-text {
  color: var(--primary) !important; /* Deep Plum */
}
.footer-bottom {
  border-top-color: rgba(220, 206, 183, 0.15) !important;
}
.footer-bottom p {
  color: rgba(220, 206, 183, 0.6) !important;
}
.footer-bottom a {
  color: rgba(220, 206, 183, 0.6) !important;
}
.footer-bottom a:hover {
  color: var(--white) !important;
}

/* Page Hero overrides for inner pages */
.page-hero-title {
  color: var(--amber) !important;
}
.page-hero-sub {
  color: rgba(220, 206, 183, 0.8) !important;
}
.breadcrumb-ap a {
  color: rgba(220, 206, 183, 0.7) !important;
}

/* ── Glassmorphism and Hover Shine Effects for Cards ─────────── */

/* 1. Base glassmorphism structure preserving original colors */
.glass-card,
.ap-card,
.testimonial-card,
.event-card,
.donate-card,
.team-card,
.value-card,
.section-pad .footer-contact-item {
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(110%) !important;
  border: 1px solid rgba(163, 156, 158, 0.25) !important; /* var(--tertiary) soft gray */
  box-shadow: 0 8px 32px 0 rgba(73, 62, 73, 0.05) !important;
}

/* Base background for cards (preserving original color: white vs cream) */
.glass-card,
.ap-card,
.testimonial-card,
.event-card,
.donate-card,
.team-card,
.value-card {
  background: rgba(255, 255, 255, 0.65) !important;
}

.section-pad .footer-contact-item {
  background: rgba(246, 243, 238, 0.65) !important; /* preserves Ivory/cream tone */
}

/* Hover transitions for glassmorphism cards */
.glass-card:hover,
.ap-card:hover,
.testimonial-card:hover,
.event-card:hover,
.donate-card:hover,
.team-card:hover,
.value-card:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(163, 156, 158, 0.45) !important;
  box-shadow: 0 12px 40px 0 rgba(73, 62, 73, 0.1) !important;
}

.section-pad .footer-contact-item:hover {
  background: rgba(246, 243, 238, 0.8) !important;
  border-color: rgba(163, 156, 158, 0.45) !important;
  box-shadow: 0 12px 40px 0 rgba(73, 62, 73, 0.1) !important;
}

/* 2. Diagonal shiny glow line element */
.glass-card::after,
.ap-card::after,
.testimonial-card::after,
.event-card::after,
.donate-card::after,
.team-card::after,
.value-card::after,
.section-pad .footer-contact-item::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -150% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  transform: skewX(-25deg) !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

/* Trigger diagonal shine sweep exactly 1 time on cursor hover */
.glass-card:hover::after,
.ap-card:hover::after,
.testimonial-card:hover::after,
.event-card:hover::after,
.donate-card:hover::after,
.team-card:hover::after,
.value-card:hover::after,
.section-pad .footer-contact-item:hover::after {
  left: 150% !important;
  transition: left 0.85s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Counting cards in the impact bar style overrides */
.impact-bar .glass-card {
  background: var(--amber) !important;
  border-color: rgba(50, 40, 50, 0.15) !important;
  box-shadow: 0 8px 32px 0 rgba(50, 40, 50, 0.08) !important;
}

.impact-bar .glass-card:hover {
  background: #e5d8c3 !important;
  border-color: rgba(50, 40, 50, 0.25) !important;
  box-shadow: 0 12px 40px 0 rgba(50, 40, 50, 0.15) !important;
}

.impact-bar .impact-num {
  color: var(--charcoal) !important; /* Dark Plum (#322832) */
}

.impact-bar .impact-label {
  color: var(--charcoal) !important; /* Dark Plum (#322832) */
  opacity: 0.85;
}

