﻿/*
Theme Name: Acts101 Uganda
Theme URI: https://acts101uganda.org
Author: Acts101 Uganda
Author URI: https://acts101uganda.org
Description: A modern, professional nonprofit WordPress theme for Acts101 Uganda — built exclusively for Elementor. Every section, color, font, and layout is controlled through Elementor's visual editor with no hardcoded HTML in page content.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: acts101
Tags: elementor, nonprofit, full-width-template, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, accessibility-ready
*/

/* ================================================================
   ACTS101 UGANDA — GLOBAL DESIGN SYSTEM
   All variables are mirrored in Elementor Global Colors/Fonts
   ================================================================ */

:root {
  /* Brand Colors */
  --acts101-primary:       #065e23;
  --acts101-primary-dark:  #044a1b;
  --acts101-primary-light: #087a2e;
  --acts101-secondary:     #2E8B57;
  --acts101-secondary-dark:#236b43;
  --acts101-secondary-light:#38a36a;
  --acts101-accent:        #F7941D;
  --acts101-accent-dark:   #d97d10;
  --acts101-accent-light:  #f9a940;

  /* Neutrals */
  --acts101-white:         #FFFFFF;
  --acts101-light-gray:    #F5F7FA;
  --acts101-mid-gray:      #E2E8F0;
  --acts101-gray:          #94A3B8;
  --acts101-dark-gray:     #333333;
  --acts101-black:         #111827;

  /* Semantic */
  --acts101-success:       #22c55e;
  --acts101-warning:       #f59e0b;
  --acts101-error:         #ef4444;
  --acts101-info:          #3b82f6;

  /* Typography */
  --font-heading:          'Poppins', 'Segoe UI', sans-serif;
  --font-body:             'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono:             'Courier New', monospace;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.15);
  --shadow-blue:0 8px 30px rgba(6,94,35,.25);
  --shadow-green:0 8px 30px rgba(46,139,87,.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* Container */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1280px;
  --container-2xl:  1400px;

  /* Header */
  --top-bar-height: 36px;
  --header-height: 80px;
  --header-height-scrolled: 64px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--acts101-dark-gray);
  background-color: var(--acts101-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--acts101-dark-gray);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: 1rem; line-height: 1.8; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--acts101-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}
a:hover { color: var(--acts101-primary-dark); }

strong, b { font-weight: 700; }
em, i { font-style: italic; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.25rem; }

blockquote {
  border-left: 4px solid var(--acts101-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--acts101-light-gray);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--acts101-dark-gray);
}

/* ================================================================
   IMAGES & MEDIA
   ================================================================ */

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

figure { margin: 0; }
figcaption { font-size: var(--text-sm); color: var(--acts101-gray); text-align: center; margin-top: 0.5rem; }

/* ================================================================
   FORMS (Elementor Form overrides)
   ================================================================ */

input, textarea, select, button {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--acts101-mid-gray);
  border-radius: var(--radius-md);
  background: var(--acts101-white);
  color: var(--acts101-dark-gray);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--acts101-primary);
  box-shadow: 0 0 0 3px rgba(6,94,35,.15);
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn,
.elementor-button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--acts101-primary);
  color: var(--acts101-white);
  border-color: var(--acts101-primary);
}
.btn-primary:hover {
  background: var(--acts101-primary-dark);
  border-color: var(--acts101-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
  color: var(--acts101-white);
}

.btn-secondary {
  background: var(--acts101-white);
  color: var(--acts101-primary);
  border-color: var(--acts101-primary);
}
.btn-secondary:hover {
  background: var(--acts101-primary);
  color: var(--acts101-white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--acts101-accent);
  color: var(--acts101-white);
  border-color: var(--acts101-accent);
}
.btn-accent:hover {
  background: var(--acts101-accent-dark);
  border-color: var(--acts101-accent-dark);
  transform: translateY(-2px);
}

.btn-donate {
  background: var(--acts101-accent);
  color: var(--acts101-white);
  border-color: var(--acts101-accent);
  font-size: var(--text-sm);
  padding: 0.6rem 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-donate:hover {
  background: var(--acts101-accent-dark);
  color: var(--acts101-white);
  transform: translateY(-1px);
}

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section-padding-sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title h2 {
  color: var(--acts101-dark-gray);
  margin-bottom: var(--space-4);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--acts101-gray);
  font-size: var(--text-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acts101-accent);
  margin-bottom: var(--space-3);
}

/* ================================================================
   CARDS
   ================================================================ */

.card {
  background: var(--acts101-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
  color: var(--acts101-dark-gray);
}

.card-text {
  color: var(--acts101-gray);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ================================================================
   PROGRAM CARDS
   ================================================================ */

.program-card {
  background: var(--acts101-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.program-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.program-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--acts101-primary);
  margin-bottom: 0.5rem;
}

.program-card__desc {
  color: var(--acts101-dark-gray);
  font-size: var(--text-sm);
  line-height: 1.7;
  flex: 1;
}

/* ================================================================
   IMPACT STATISTICS
   ================================================================ */

.stat-counter {
  text-align: center;
  padding: 2rem;
}

.stat-counter__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--acts101-white);
  line-height: 1;
  display: block;
}

.stat-counter__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
}

.stats-section {
  background: linear-gradient(135deg, var(--acts101-primary) 0%, var(--acts101-primary-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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");
  opacity: 0.5;
}
/* Stats grid — 4 cols → 2 → 1, fully responsive */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.1);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .3s, transform .3s;
}

.stat-card:hover {
  background: rgba(255,255,255,.16);
  transform: translateY(-4px);
}

.stat-card__icon {
  font-size: 2rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1rem;
  display: block;
}

.stat-card__number {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
}

.stat-card__label {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card  { padding: 1.5rem 1rem; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   HERO SECTION
   ================================================================ */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(6,94,35,0.92) 0%, rgba(8,61,122,0.85) 100%);
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--acts101-white);
  clip-path: ellipse(110% 100% at 50% 100%);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--acts101-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ================================================================
   HERO SLIDER
   ================================================================ */

/* On the home page, the slider manages its own top spacing */
body.home .page-main { padding-top: 0 !important; }

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background slides — fade in/out */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* Solid-color fallbacks in case images haven't been uploaded yet */
.hero-slide:nth-child(1) { background-color: #065e23; }
.hero-slide:nth-child(2) { background-color: #083e7e; }
.hero-slide:nth-child(3) { background-color: #155c3e; }
.hero-slide:nth-child(4) { background-color: #0a4d88; }
.hero-slide:nth-child(5) { background-color: #0e5272; }

/* Blue-green gradient overlay over each photo */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,94,35,0.87) 0%,
    rgba(8,61,122,0.78) 55%,
    rgba(46,139,87,0.48) 100%
  );
}

/* Text/CTA area floated above slides */
.hero-slider__content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: calc(var(--top-bar-height) + var(--header-height) + 2.5rem);
  padding-bottom: 8.5rem;
}

/* White wave at the bottom */
.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--acts101-white);
  clip-path: ellipse(110% 100% at 50% 100%);
  z-index: 5;
  pointer-events: none;
}

/* ── Arrow Buttons ── */
.hero-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  border: 2px solid rgba(255,255,255,.32);
  color: var(--acts101-white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-slider__btn:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-50%) scale(1.07);
}
.hero-slider__prev { left: 1.75rem; }
.hero-slider__next { right: 1.75rem; }

/* ── Dot Indicators ── */
.hero-slider__dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.hero-slider__dot.active {
  background: var(--acts101-white);
  width: 28px;
}

/* ── Progress bar ── */
.hero-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--acts101-accent);
  z-index: 30;
  width: 0;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-slider { min-height: 100svh; }
  .hero-slider__btn { width: 38px; height: 38px; font-size: .75rem; }
  .hero-slider__prev { left: .75rem; }
  .hero-slider__next { right: .75rem; }
  .hero-slider__dots { bottom: 4.5rem; }
  .hero-slider__content {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 6.5rem;
  }
}

/* ================================================================
   SECTION BACKGROUNDS
   ================================================================ */

.bg-primary        { background-color: var(--acts101-primary); }
.bg-secondary      { background-color: var(--acts101-secondary); }
.bg-accent         { background-color: var(--acts101-accent); }
.bg-light          { background-color: var(--acts101-light-gray); }
.bg-white          { background-color: var(--acts101-white); }
.bg-dark           { background-color: var(--acts101-dark-gray); }
.bg-black          { background-color: var(--acts101-black); }

.bg-gradient-blue {
  background: linear-gradient(135deg, var(--acts101-primary) 0%, var(--acts101-primary-dark) 100%);
}
.bg-gradient-green {
  background: linear-gradient(135deg, var(--acts101-secondary) 0%, var(--acts101-secondary-dark) 100%);
}
.bg-gradient-orange {
  background: linear-gradient(135deg, var(--acts101-accent) 0%, var(--acts101-accent-dark) 100%);
}
.bg-gradient-hero {
  background: linear-gradient(135deg, #065e23 0%, #044a1b 50%, #2E8B57 100%);
}

/* ================================================================
   TEXT COLORS
   ================================================================ */

.text-primary   { color: var(--acts101-primary); }
.text-secondary { color: var(--acts101-secondary); }
.text-accent    { color: var(--acts101-accent); }
.text-white     { color: var(--acts101-white); }
.text-gray      { color: var(--acts101-gray); }
.text-dark      { color: var(--acts101-dark-gray); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */

.testimonial-card {
  background: var(--acts101-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--acts101-primary);
  opacity: 0.15;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-card__text {
  font-style: italic;
  color: var(--acts101-dark-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--acts101-primary);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--acts101-primary);
  font-size: var(--text-sm);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--acts101-gray);
}

/* ================================================================
   DONATION CTA
   ================================================================ */

.donation-cta {
  background: linear-gradient(135deg, var(--acts101-accent) 0%, #e07d10 100%);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donation-cta h2 { color: var(--acts101-white); }
.donation-cta p  { color: rgba(255,255,255,0.9); }

/* ================================================================
   PARTNERS
   ================================================================ */

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--acts101-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ================================================================
   DIVIDERS & DECORATIVE ELEMENTS
   ================================================================ */

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--acts101-accent);
  border-radius: var(--radius-full);
  margin: 1rem auto;
}

.section-divider--left { margin-left: 0; margin-right: auto; }

.wave-divider {
  position: relative;
  overflow: hidden;
}

.wave-divider::after {
  content: '';
  display: block;
  height: 60px;
  background: inherit;
  clip-path: ellipse(55% 100% at 50% 0%);
  margin-top: -1px;
}

.dot-pattern {
  background-image: radial-gradient(circle, rgba(6,94,35,.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ================================================================
   TAG / BADGE COMPONENTS
   ================================================================ */

.badge {
  display: inline-block;
  padding: 0.2em 0.75em;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.badge--primary   { background: var(--acts101-primary); color: white; }
.badge--secondary { background: var(--acts101-secondary); color: white; }
.badge--accent    { background: var(--acts101-accent); color: white; }
.badge--light     { background: var(--acts101-light-gray); color: var(--acts101-dark-gray); }

/* ================================================================
   PROGRESS BARS
   ================================================================ */

.progress-bar-wrapper {
  margin-bottom: 1.25rem;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--acts101-dark-gray);
}

.progress-bar-track {
  height: 8px;
  background: var(--acts101-mid-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--acts101-primary) 0%, var(--acts101-primary-light) 100%);
  border-radius: var(--radius-full);
  transition: width 1.5s ease-in-out;
}

/* ================================================================
   ICON BOXES
   ================================================================ */

.icon-box {
  text-align: center;
  padding: 2.5rem 2rem;
}

.icon-box__icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: var(--acts101-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  transition: all var(--transition-normal);
}

.icon-box:hover .icon-box__icon {
  background: var(--acts101-primary);
  color: var(--acts101-white);
  transform: scale(1.1);
}

.icon-box__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--acts101-dark-gray);
  margin-bottom: 0.75rem;
}

.icon-box__text {
  color: var(--acts101-gray);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ================================================================
   TOP HEADER BAR
   ================================================================ */

.top-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--top-bar-height);
  background: #033b17;
  color: rgba(255,255,255,.82);
  font-size: 0.75rem;
  font-family: var(--font-body);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.top-header-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.top-header-inner {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-header-left,
.top-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.top-header-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

a.top-header-item:hover { color: var(--acts101-accent); }

.top-header-item i {
  font-size: 0.7rem;
  color: var(--acts101-accent);
  flex-shrink: 0;
}

.top-header-divider {
  color: rgba(255,255,255,.25);
  user-select: none;
  font-size: 0.8rem;
}

.top-header-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 0.65rem;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.top-header-social:hover {
  background: var(--acts101-accent);
  color: var(--acts101-white);
}

.top-header-reg {
  color: rgba(255,255,255,.65);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ================================================================
   HEADER STYLES
   ================================================================ */

.site-header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--acts101-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  top: 0;
  background: var(--acts101-white);
  height: var(--header-height-scrolled);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.header-inner {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  flex-shrink: 0;
}

/* Image logo (JPEG with white bg) — display in a white badge on the dark header */
.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-radius: 7px;
  padding: 5px 12px;
  transition: background var(--transition-normal), padding var(--transition-normal),
              box-shadow var(--transition-normal);
  box-shadow: 0 1px 6px rgba(0,0,0,.18);
}

/* When header scrolls to white — remove the badge (logo blends into white bg) */
.scrolled .site-logo .custom-logo-link {
  background: transparent;
  padding: 4px 0;
  box-shadow: none;
}

.site-logo img,
.site-logo .custom-logo {
  height: 46px !important;
  width: auto !important;
  max-width: none;
  display: block;
  transition: height var(--transition-normal);
}

.scrolled .site-logo img,
.scrolled .site-logo .custom-logo { height: 38px !important; }

/* Text fallback logo colors */
.site-logo a { color: var(--acts101-white); }
.scrolled .site-logo a { color: var(--acts101-dark-gray); }

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.1vw, 1.5rem);
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--acts101-white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-normal);
  position: relative;
}

.scrolled .site-nav a { color: var(--acts101-dark-gray); }

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--acts101-accent);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}
.site-nav a:hover::after,
.site-nav .current-menu-item a::after { transform: scaleX(1); }

.site-nav a:hover { color: var(--acts101-accent); }
.scrolled .site-nav a:hover { color: var(--acts101-primary); }


/* ================================================================
   NAV DROPDOWN SUBMENUS
   ================================================================ */

/* Parent item needs relative positioning as anchor */
.site-nav ul li {
  position: relative;
}

/* Dropdown arrow removed per user request */

/* Sub-menu panel */
.site-nav ul li ul {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border-top: 3px solid var(--acts101-accent);
  padding: .5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1100;
}

/* Show on hover */
.site-nav ul li:hover > ul,
.site-nav ul li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Sub-menu items */
.site-nav ul li ul li {
  width: 100%;
}

.site-nav ul li ul li a {
  display: block;
  padding: .6rem 1.25rem;
  color: var(--acts101-dark-gray);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0;
  transition: background .18s, color .18s, padding-left .18s;
}

.site-nav ul li ul li a::after { display: none; }

.site-nav ul li ul li a:hover {
  background: var(--acts101-light-gray);
  color: var(--acts101-primary);
  padding-left: 1.6rem;
}

/* Connector bridge — prevents gap from closing menu on mouse move */
.site-nav ul li ul::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* ── Mobile: submenus expand inline (no absolute positioning) ── */
@media (max-width: 1024px) {
  .site-nav ul li {
    position: static;
  }

  .site-nav ul li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--acts101-accent);
    border-radius: 0;
    background: var(--acts101-light-gray);
    padding: 0;
    margin-left: 1rem;
    /* Collapsed by default on mobile */
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    display: block;
  }

  /* JS toggles .submenu-open on the parent li */
  .site-nav ul li.submenu-open > ul {
    max-height: 400px;
  }

  .site-nav ul li ul li a {
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: .875rem;
  }

  .site-nav ul li ul li a:hover {
    padding-left: 1.25rem;
  }


}
/* ================================================================
   FOOTER STYLES
   ================================================================ */

.site-footer {
  background: var(--acts101-black);
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
}

.footer-main {
  padding: 5rem 0 3rem;
}

/* 4-col footer grid — collapses responsively */
.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

@media (max-width: 960px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  /* About column spans full width on tablet */
  .footer-columns .footer-widget:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-main { padding: 3rem 0 2rem; }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-columns .footer-widget:first-child {
    grid-column: auto;
  }
  .footer-widget-title::after { left: 50%; transform: translateX(-50%); }
  .footer-widget { text-align: center; }
  .footer-links a { justify-content: center; }
  .footer-social { justify-content: center; }
}

/* Newsletter form — row on desktop, column on mobile */
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 560px) {
  .footer-newsletter-form { flex-direction: column; }
  .footer-newsletter-form input[type="email"] { width: 100%; }
  .footer-newsletter-form button { width: 100%; padding: .75rem; }
}

/* Footer bottom bar */
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 600px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}

.footer-widget-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--acts101-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--acts101-accent);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a:hover {
  color: var(--acts101-accent);
  padding-left: 5px;
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 1.25rem 0;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--acts101-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--acts101-accent);
  transform: translateY(-3px);
  color: white;
}

/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--acts101-primary);
  color: var(--acts101-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--acts101-accent);
  transform: translateY(-3px);
  color: white;
}

/* ================================================================
   GALLERY
   ================================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,94,35,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__caption {
  color: var(--acts101-white);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ================================================================
   ELEMENTOR SPECIFIC OVERRIDES
   ================================================================ */

.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-heading) !important;
}

.elementor-button {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
}

.elementor-section .elementor-container,
.e-container {
  max-width: var(--container-xl);
}

.elementor-widget-text-editor p { line-height: 1.8; }

/* Hero section override for Elementor */
.elementor-section.acts101-hero {
  min-height: 90vh;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up   { animation: fadeInUp   0.7s ease both; }
.animate-fade-left  { animation: fadeInLeft  0.7s ease both; }
.animate-fade-right { animation: fadeInRight 0.7s ease both; }
.animate-float     { animation: float 3s ease-in-out infinite; }
.animate-pulse     { animation: pulse 2s ease-in-out infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Intersection Observer triggered animations */
.aos-init { opacity: 0; transform: translateY(25px); transition: opacity 0.7s ease, transform 0.7s ease; }
.aos-animate { opacity: 1; transform: translateY(0); }

/* ================================================================
   MOBILE MENU
   ================================================================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--acts101-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.scrolled .mobile-menu-toggle span { background: var(--acts101-dark-gray); }

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── 1024px: collapse full nav into hamburger ── */
@media (max-width: 1024px) {
  .section-padding { padding-top: var(--space-16); padding-bottom: var(--space-16); }

  .mobile-menu-toggle { display: flex; }

  /* Off-canvas nav drawer — sits below BOTH the top bar and main header */
  .site-nav {
    position: fixed;
    top: calc(var(--top-bar-height) + var(--header-height));
    left: 0;
    right: 0;
    width: 100%;
    background: var(--acts101-white);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    transform: translateY(-110%);
    transition: transform var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - var(--top-bar-height) - var(--header-height));
  }

  .site-nav.open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--acts101-mid-gray); }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a {
    color: var(--acts101-dark-gray);
    font-size: var(--text-base);
    display: block;
    padding: .875rem .5rem;
  }
  .site-nav a:hover { color: var(--acts101-primary); }
}

/* ── 768px: simplify top bar, tighten header ── */
@media (max-width: 768px) {
  .section-padding { padding-top: var(--space-12); padding-bottom: var(--space-12); }

  /* Mobile top bar: phone left, social icons right */
  .top-header-inner {
    padding: 0 1rem;
    gap: .5rem;
  }
  /* Hide email, location, dividers, NNGO reg — keep only phone + socials */
  .top-header-left a:not(:first-of-type),
  .top-header-left span.top-header-item,
  .top-header-divider,
  .top-header-reg { display: none; }
  /* Left side: only phone — allow it to shrink if needed */
  .top-header-left {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  .top-header-left .top-header-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  /* Right side: social icons — never shrink, always fully visible */
  .top-header-right {
    flex-shrink: 0;
    gap: .4rem;
  }
  .top-header-social { width: 28px; height: 28px; font-size: .8rem; }

  /* Tighten main header padding */
  .header-inner { padding: 0 1rem; }

  /* Hide Donate button — accessible through nav menu */
  .btn-donate { display: none !important; }

  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .stat-counter__number { font-size: 2.5rem; }
  .back-to-top { bottom: 1.5rem; right: 1.5rem; width: 42px; height: 42px; }
}

/* ── 480px: further simplify — phone icon only, socials right-aligned ── */
@media (max-width: 480px) {
  :root { --header-height: 64px; }
  .header-inner { padding: 0 .875rem; }


  /* Smaller logo badge */
  .site-logo img,
  .site-logo .custom-logo { height: 36px !important; }
  .site-logo .custom-logo-link { padding: 4px 8px; }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .container { padding-left: 1rem; padding-right: 1rem; }
}
/* ================================================================
   PAGE HERO — inner page banner
   ================================================================ */

.page-hero {
  /* Fallback gradient — overridden by inline background when an image is set */
  background: linear-gradient(135deg, var(--acts101-primary) 0%, #044a1b 55%, var(--acts101-secondary) 100%);
  background-size: cover;
  background-position: center center;
  /* Pull back up to sit flush under the fixed header */
  margin-top: calc(-1 * (var(--top-bar-height) + var(--header-height)));
  padding: calc(var(--top-bar-height) + var(--header-height) + 4rem) 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::before {
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: rgba(255,255,255,.05);
}
.page-hero::after {
  bottom: -100px; left: -100px;
  width: 480px; height: 480px;
  background: rgba(255,255,255,.03);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__label {
  background: rgba(247,148,29,.18);
  color: #F7941D;
  padding: 5px 20px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  line-height: 1.15;
}
.page-hero__subtitle {
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin: 0 auto .75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.page-hero__breadcrumb {
  margin-top: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.page-hero__breadcrumb a:hover { color: #fff; }

/* ================================================================
   ABOUT PAGE — story grid + stats + values + service areas
   ================================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
}
.about-stat strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
}
.about-stat span {
  font-size: .72rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.about-image-placeholder {
  background: linear-gradient(135deg, rgba(6,94,35,.08), rgba(46,139,87,.08));
  border-radius: 16px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  border: 2px dashed rgba(6,94,35,.2);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) {
  .about-grid            { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-placeholder { min-height: 220px; }
  .service-grid          { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .values-grid           { grid-template-columns: repeat(2, 1fr); }
  .service-grid          { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .values-grid           { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE GRID UTILITIES  (used by inner page layouts)
   ================================================================ */

/* 4-column → 2 → 1 */
.rg-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* 3-column → 2 → 1 */
.rg-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* 2-column equal → 1 */
.rg-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
/* Main + sidebar (3fr 2fr) → 1 */
.rg-sidebar {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}
/* Mission/Vision 2-col equal → 1 */
.rg-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
/* Form 2-col name fields → 1 */
.rg-form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .rg-4       { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait / large mobile (≤ 768px) */
@media (max-width: 768px) {
  .rg-3       { grid-template-columns: repeat(2, 1fr); }
  .rg-sidebar { grid-template-columns: 1fr; }
  .rg-mission { grid-template-columns: 1fr; }
  .page-hero  { padding-top: calc(var(--header-height) + 3rem); }
}

/* Small mobile (≤ 560px) */
@media (max-width: 560px) {
  .rg-4       { grid-template-columns: 1fr; }
  .rg-3       { grid-template-columns: 1fr; }
  .rg-2       { grid-template-columns: 1fr; }
  .rg-form-2  { grid-template-columns: 1fr; }
}

/* ================================================================
   CARD RESPONSIVE ADJUSTMENTS
   ================================================================ */
@media (max-width: 768px) {
  .card { border-radius: 10px; }
  /* Impact card icon+text layout stays horizontal until very small */
}
@media (max-width: 480px) {
  /* Stack icon+text donation impact cards */
  .card[style*="display:flex"] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
}



/* Stats section header */
.stats-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-section__label {
  color: #F7941D !important;
}

.stats-section__title {
  color: white;
  margin-top: .5rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

@media (max-width: 600px) {
  .stats-section { padding: 3rem 0; }
  .stats-section__header { margin-bottom: 2rem; }
}
/* ================================================================
   PARTNER LOGO SLIDER  (pls-*)
   Infinite auto-scroll marquee — pauses on hover / focus
   ================================================================ */

.pls-outer {
  overflow: hidden;
  /* Fade edges for a polished look */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.pls-track {
  display: flex;
  width: max-content;
  animation: pls-scroll 28s linear infinite;
}

/* Pause on hover or keyboard focus inside */
.pls-outer:hover .pls-track,
.pls-outer:focus-within .pls-track {
  animation-play-state: paused;
}

/* Each duplicated set sits side-by-side */
.pls-set {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem; /* matches gap so sets butt together cleanly */
}

/* Individual item wrapper (link or div) */
.pls-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* White card */
.pls-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  min-width: 160px;
  max-width: 200px;
  height: 110px;
  justify-content: center;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.pls-item:hover .pls-card,
.pls-item:focus .pls-card {
  box-shadow: 0 6px 24px rgba(6,94,35,.12);
  border-color: var(--acts101-primary);
  transform: translateY(-3px);
}

/* Logo image */
.pls-logo-img {
  max-height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* Text fallback when no image */
.pls-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .85rem;
  color: var(--acts101-primary);
  text-align: center;
  line-height: 1.3;
}

/* Partner name below logo */
.pls-name {
  font-size: .7rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* Keyframe: scroll the full width of ONE set (33.333% of 3 sets) */
@keyframes pls-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* Mobile: slightly smaller cards */
@media (max-width: 640px) {
  .pls-card {
    min-width: 130px;
    max-width: 160px;
    padding: 1rem 1.25rem;
    height: 96px;
  }
  .pls-logo-img { max-height: 52px; max-width: 110px; }
  .pls-set { gap: 1.25rem; padding-right: 1.25rem; }
  .pls-track { animation-duration: 20s; }
}
/* ================================================================
   TESTIMONIAL / SUCCESS STORIES SLIDER  (tss-*)
   ================================================================ */

.tss-wrap {
  position: relative;
  overflow: hidden;
  /* Arrows sit outside the track but inside this wrapper */
  padding: 0 3rem;
}

/* Track scrolls horizontally via transform */
.tss-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: stretch;
}

/* Each slide — width controlled by JS per breakpoint */
.tss-slide {
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Card */
.tss-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(6,94,35,.09);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 4px solid var(--acts101-primary);
  transition: box-shadow .3s ease, transform .3s ease;
}
.tss-slide--active .tss-card,
.tss-card:hover {
  box-shadow: 0 8px 36px rgba(6,94,35,.16);
  transform: translateY(-3px);
}

/* Quote icon */
.tss-quote-icon {
  color: var(--acts101-accent);
  font-size: 1.5rem;
  line-height: 1;
}

/* Quote text */
.tss-quote {
  font-size: .95rem;
  color: #4a5568;
  line-height: 1.8;
  flex: 1;
  margin: 0;
  font-style: italic;
}

/* Author row */
.tss-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* Avatar circle */
.tss-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tss-author-info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.tss-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: #1a202c;
}

.tss-role {
  font-size: .78rem;
  color: #718096;
}

/* Prev / Next arrows */
.tss-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--acts101-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  z-index: 10;
  transition: background .25s, transform .25s;
  box-shadow: 0 2px 10px rgba(6,94,35,.3);
}
.tss-btn:hover { background: var(--acts101-accent); transform: translateY(-50%) scale(1.08); }
.tss-btn--prev { left: 0; }
.tss-btn--next { right: 0; }
.tss-btn:disabled { opacity: .35; cursor: default; }

/* Dot indicators */
.tss-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}
.tss-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.tss-dot--active {
  background: var(--acts101-primary);
  transform: scale(1.3);
}

/* ── Responsive ── */
/* Mobile: 1 card, smaller wrap padding */
@media (max-width: 640px) {
  .tss-wrap { padding: 0 2.25rem; }
  .tss-btn  { width: 34px; height: 34px; font-size: .75rem; }
}
/* ================================================================
   GALLERY PAGE
   ================================================================ */

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gal-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(6,94,35,.15);
}
.gal-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dde4ee;
  flex-shrink: 0;
}
.gal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gal-card:hover .gal-img {
  transform: scale(1.06);
}
.gal-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.gal-cat {
  display: inline-block;
  background: #EBF2FF;
  color: #065e23;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  align-self: flex-start;
}
.gal-title {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.3;
}
.gal-caption {
  margin: 0;
  font-size: .82rem;
  color: #718096;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gal-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .gal-img-wrap { aspect-ratio: 16 / 9; }
}

/* ================================================================
   HOME PAGE SECTION GRIDS
   ================================================================ */

/* About / Get-in-Touch 2-col sections with large gap */
.rg-home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .rg-home-about { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ================================================================
   PRINT
   ================================================================ */

@media print {
  .site-header, .site-footer, .back-to-top, .donation-cta { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
  h1,h2,h3 { page-break-after: avoid; }
}

/* ================================================================
   STAY CONNECTED SECTION  (sc-*)
   ================================================================ */

.sc-section {
  background: linear-gradient(135deg, #033b17 0%, #065e23 55%, #044a1b 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative blob */
.sc-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}

/* Header */
.sc-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sc-title {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: .6rem 0 .75rem;
}

.sc-subtitle {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 3-column card grid */
.sc-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Each card */
.sc-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(4px);
  transition: background .3s, transform .3s;
}

.sc-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
}

/* Icon at top of card */
.sc-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(247,148,29,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #F7941D;
  flex-shrink: 0;
}

.sc-card-title {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

.sc-card-desc {
  color: rgba(255,255,255,.72);
  font-size: .875rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Newsletter form ── */
.sc-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.sc-input {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}

.sc-input::placeholder { color: rgba(255,255,255,.5); }
.sc-input:focus { border-color: #F7941D; background: rgba(255,255,255,.15); }

.sc-submit { width: 100%; justify-content: center; }

.sc-privacy {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

/* ── Social links ── */
.sc-socials {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.sc-social {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  transition: opacity .2s, transform .2s;
  border: 1px solid rgba(255,255,255,.15);
}

.sc-social:hover { opacity: .9; transform: translateX(4px); color: #fff; }

.sc-social i { width: 18px; text-align: center; font-size: 1rem; }

.sc-social--fb { background: rgba(24,119,242,.35); }
.sc-social--ig { background: rgba(225,48,108,.35); }
.sc-social--tw { background: rgba(0,0,0,.35); }
.sc-social--yt { background: rgba(255,0,0,.35); }

/* ── Quick actions ── */
.sc-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.sc-action-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem .25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .2s, padding-left .2s;
}

.sc-action-link:last-child { border-bottom: none; }
.sc-action-link i { color: #F7941D; width: 16px; text-align: center; }
.sc-action-link:hover { color: #fff; padding-left: .5rem; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .sc-body { grid-template-columns: 1fr 1fr; }
  /* Newsletter card spans full width on tablet */
  .sc-card--newsletter { grid-column: 1 / -1; }
  .sc-form { flex-direction: row; }
  .sc-input { flex: 1; }
  .sc-submit { width: auto; flex-shrink: 0; }
}

@media (max-width: 600px) {
  .sc-section { padding: 3.5rem 0; }
  .sc-body { grid-template-columns: 1fr; }
  .sc-card--newsletter { grid-column: auto; }
  .sc-form { flex-direction: column; }
  .sc-submit { width: 100%; }
}
/* ================================================================
   HOME PAGE — INTRODUCTION SECTION
   ================================================================ */

/* 2-col grid: text left, photo right */
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Text column */
.home-intro-text {}

/* Key points list */
.home-intro-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.home-intro-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.home-intro-point__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #065e2315;
  color: #065e23;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.home-intro-point strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: #1a202c;
  margin-bottom: .2rem;
}

.home-intro-point p {
  font-size: .875rem;
  color: #718096;
  margin: 0;
  line-height: 1.6;
}

/* Photo column */
.home-intro-photo {}

.home-intro-photo__wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6,94,35,.18);
}

.home-intro-photo__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Floating badge over photo */
.home-intro-photo__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: .875rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
}

.home-intro-photo__badge strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .9rem;
  color: #065e23;
}

.home-intro-photo__badge span {
  font-size: .72rem;
  color: #718096;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .home-intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* Photo goes above text on mobile */
  .home-intro-photo { order: -1; }
  .home-intro-photo__img { height: 300px; }
}

@media (max-width: 480px) {
  .home-intro-photo__img { height: 240px; }
  .home-intro-photo__badge { bottom: 1rem; left: 1rem; padding: .6rem .875rem; }
}

/* ================================================================
   HOME ABOUT SECTION  (hi-*)
   ================================================================ */

.hi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Photo column */
.hi-photo__wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6,94,35,.15);
}

.hi-photo__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.hi-photo__badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: .875rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.hi-photo__badge strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .875rem;
  color: #065e23;
}

.hi-photo__badge span {
  font-size: .7rem;
  color: #718096;
  font-weight: 600;
}

/* Value tags */
.hi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.hi-tag {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 9999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid;
}

.hi-tag--blue   { color: #065e23; border-color: #065e23; background: #EBF2FF; }
.hi-tag--green  { color: #2E8B57; border-color: #2E8B57; background: #EBF7F0; }
.hi-tag--orange { color: #F7941D; border-color: #F7941D; background: #FEF3E7; }

/* Responsive */
@media (max-width: 900px) {
  .hi-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hi-photo__img { height: 300px; }
  .hi-photo__badge { bottom: 1rem; right: 1rem; }
}

@media (max-width: 480px) {
  .hi-photo__img { height: 230px; }
}

/* ================================================================
   MISSION / VISION / VALUES CARDS  (mvv-*)
   ================================================================ */

.mvv-card {
  padding: 2rem;
  border-radius: 14px;
  border-top: 4px solid;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.mvv-card--blue   { border-top-color: #065e23; }
.mvv-card--green  { border-top-color: #2E8B57; }
.mvv-card--orange { border-top-color: #F7941D; }

.mvv-card__title {
  font-size: 1.1rem;
  margin: 0;
}

.mvv-card__body {
  font-size: .925rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* ================================================================
   TEAM GRID  (team-card)
   ================================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(6,94,35,.08);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(6,94,35,.14);
}

/* Photo area — fixed square-ish ratio */
.team-card__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;    /* square crop */
  overflow: hidden;
  background: #e8eef5;
  flex-shrink: 0;
}

/* Real photo — cover + center so face is visible */
.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;  /* face usually near top-center */
  display: block;
  transition: transform .4s ease;
}

.team-card:hover .team-card__photo {
  transform: scale(1.04);
}

/* Initials avatar — shown when no photo or photo fails */
.team-card__avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255,255,255,.9);
  letter-spacing: -.02em;
}

/* Card body */
.team-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
}

.team-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #1a202c;
  margin: 0;
}

.team-card__position {
  color: var(--acts101-primary);
  font-size: .825rem;
  font-weight: 600;
  margin: 0;
}

/* Social links */
.team-card__links {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .75rem;
}

.team-card__link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--acts101-light-gray);
  color: var(--acts101-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.team-card__link:hover {
  background: var(--acts101-primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

/* ================================================================
   SINGLE CPT / POST TEMPLATE
   ================================================================ */

.single-content {
  max-width: 860px;
  margin: 0 auto;
}

.single-content .entry-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

.single-content .entry-content h2 { margin-top: 2rem; margin-bottom: .75rem; }
.single-content .entry-content h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
.single-content .entry-content p  { margin-bottom: 1.25rem; }

.single-content .entry-content ul,
.single-content .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.single-content .entry-content li { margin-bottom: .4rem; }

.single-content .entry-content img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.single-content .entry-content blockquote {
  border-left: 4px solid var(--acts101-accent);
  padding: 1rem 1.5rem;
  background: var(--acts101-light-gray);
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;      /* sits just above the back-to-top button */
  right: 2rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: #fff;
  border-radius: 9999px;
  padding: .75rem 1.1rem;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .3s ease, box-shadow .3s ease, padding .3s ease;
  overflow: hidden;
  max-width: 52px;   /* collapsed — shows only icon */
}

.whatsapp-float:hover {
  max-width: 200px;   /* expand to show label */
  padding: .75rem 1.25rem;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  color: #fff;
}

.whatsapp-float i {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.whatsapp-float__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .875rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s ease .1s;
}

.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
}

/* Pulse animation to draw attention */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float {
  animation: wa-pulse 2.5s ease-out 3s 3; /* pulses 3 times on page load */
}

@media (max-width: 480px) {
  .whatsapp-float { bottom: 5rem; right: 1.25rem; padding: .7rem 1rem; }
}

/* ================================================================
   CONTACT FORM  (cf-*)
   ================================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Two-column row for first/last name */
.cf-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .cf-row-2 { grid-template-columns: 1fr; }
}

/* Individual field wrapper */
.cf-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

/* Label */
.cf-label {
  font-weight: 600;
  font-size: .875rem;
  color: #333;
}

.cf-req { color: #e53e3e; }

/* All inputs, selects, textarea */
.cf-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: .95rem;
  font-family: var(--font-body);
  color: #333;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}

.cf-input:focus {
  border-color: var(--acts101-primary);
  box-shadow: 0 0 0 3px rgba(6,94,35,.1);
}

.cf-input::placeholder { color: #aaa; }

/* Select arrow */
.cf-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Textarea */
.cf-textarea {
  resize: vertical;
  min-height: 130px;
}

/* Submit button */
.cf-submit {
  align-self: flex-start;
  margin-top: .25rem;
}

@media (max-width: 480px) {
  .cf-submit { width: 100%; justify-content: center; }
}
