@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* Brand Colors */
  --primary-green: #8dc53f;
  --primary-blue: #269ad0;
  --light-bg: #f4faf7;
  --neutral-gray: #57514d;
  --accent-green: #b0d27e;
  --accent-blue: #a5cad6;
  --dark-blue: #4b9eba;
  --soft-highlight: #def2be;
  
  /* Additional UI Colors */
  --white: #ffffff;
  --black: #333333;
  --text-dark: #2c2c2c;
  --text-light: #57514d;
  --border-color: #eaeaea;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Spacing & Layout */
  --max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--dark-blue);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll; /* Prevents shifting when moving between short and long pages */
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }

p {
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--dark-blue);
}

ul {
  list-style: none;
}

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

/* Common Layout Elements */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

.section-light { background-color: var(--white); }
.section-dark { background-color: var(--neutral-gray); color: var(--white); }
.section-dark h2, .section-dark p { color: var(--white); }
.section-primary { background-color: var(--primary-green); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-green);
  color: var(--dark-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--dark-blue);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.03);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
}

/* Form Elements */
input, textarea, select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  margin-bottom: var(--spacing-sm);
  transition: border-color var(--transition-fast);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 85px; /* Fixed height to prevent layout jitters */
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-green);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-green);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
}

/* === Dropdown Menus === */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links .dropdown > a .arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-links .dropdown:hover > a .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.96);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
  min-width: 250px;
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  border: 1px solid rgba(141,197,63,0.15);
  /* Professional Hover Intent - 400ms persistence */
  transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s, visibility 0s 0.7s;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(141,197,63,0.15);
  border-left: 1px solid rgba(141,197,63,0.15);
  transform: translateX(-50%) rotate(45deg);
}

/* On Hover/Active - Remove delay for instant opening */
.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 0.3s ease 0s, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0s, visibility 0s 0s;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.2rem !important;
  font-size: 0.9rem !important;
  color: var(--text-dark) !important;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-menu a:hover {
  background: var(--light-bg) !important;
  color: var(--primary-green) !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.drop-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.4rem 0;
}

/* Mobile dropdown */
@media (max-width: 992px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    pointer-events: auto;
  }
  .dropdown.open .dropdown-menu {
    max-height: 500px;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a {
    padding: 0.6rem 2.5rem !important;
    border-left: 3px solid var(--primary-green);
    background: rgba(141,197,63,0.05) !important;
  }
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: var(--spacing-xl) 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

.footer-col p, .footer-col a {
  color: var(--soft-highlight);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary-green);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: var(--soft-highlight);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  transition: background-color var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary-green);
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  /* Mobile Donate Button - sticky bottom bar */
  .mobile-donate-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    gap: 0.8rem;
    align-items: center;
  }

  .mobile-donate-bar a {
    flex: 1;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mobile-donate-bar .mob-donate {
    background: var(--primary-green);
    color: #fff;
  }

  .mobile-donate-bar .mob-wa {
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}

/* Mobile donate bar - hidden on desktop */
.mobile-donate-bar {
  display: none;
}


/* Hero Section */
.hero-slider {
  position: relative;
  height: 95vh;
  min-height: 650px;
  background-color: var(--black);
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 10s ease-out;
  transform: scale(1);
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 10;
  transform: scale(1.08); /* Zoom in for Ken Burns effect */
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  text-align: center;
  z-index: 20;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 30;
  transition: background var(--transition-fast);
}

.slider-nav:hover {
  background: var(--primary-green);
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

.slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 30;
}

.slider-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.slider-indicators .indicator.active {
  background: var(--primary-green);
}

/* text-center utility */
.text-center { text-align: center; }

/* Impact Stats Marquee */
.impact-stats-marquee {
  background: var(--white);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  z-index: 20;
  border-bottom: 2px solid var(--primary-green);
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}


.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0 4rem;
}

.stat-item i {
  color: var(--primary-green);
  font-size: 2rem;
}

.stat-item .counter {
  color: var(--text-dark);
}

.stat-item .stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  font-family: var(--font-body);
  margin-left: 5px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.program-card {
  background: var(--white);
  border-radius: 12px;
  padding: 0; /* Remove padding to allow image to be flush */
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 4px solid transparent;
  overflow: hidden; /* Ensure image corners are clipped */
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-bottom-color: var(--primary-green);
}

.program-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.1);
}

.program-card-content {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-icon {
  width: 65px; /* Slightly smaller for better balance */
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-top: -32px; /* Pull icon up onto the image */
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  position: relative;
}

.program-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.program-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Sponsor Amounts */
.sponsor-amount:hover {
  border-color: var(--primary-green) !important;
  color: var(--primary-green) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Enhanced CTA Animation */
.cta-buttons .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* General Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  animation: fadeIn 0.8s ease-out;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
}

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

.back-to-top:hover {
  background: var(--dark-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
}

/* Enhancements & Pulses */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(141, 197, 63, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(141, 197, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 197, 63, 0); }
}

.btn-primary {
  animation: pulseGlow 2s infinite;
}

.header-actions .btn-primary {
  animation: none; /* Keep header button clean */
}

.header-actions .btn-primary:hover {
  animation: pulseGlow 1s infinite;
}

/* =========================================================================
   Professional Reveal & Interaction Animations 
   ========================================================================= */

/* Hero Text & Entry Stagger Animations */
.hero-content h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: premiumRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-content p {
  opacity: 0;
  transform: translateY(30px);
  animation: premiumRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

.hero-content .cta-buttons, .hero-content .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: premiumRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.7s;
}

@keyframes premiumRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base Reveal - Fallback element initial state */
.fade-up, .fade-in, .scale-up, .fade-left, .fade-right {
  will-change: opacity, transform;
}

/* 1. Premium Fade Up */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Premium Fade In (Opacity only) */
.fade-in {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
}

/* 3. Premium Scale Up */
.scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* 4. Directional Fades */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced Hover Interactions for Cards */
.program-card, .blog-card, .mission-card, .team-member, .impact-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-bottom-color 0.4s ease;
}

.program-card:hover, .blog-card:hover, .mission-card:hover, .team-member:hover, .impact-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Advanced Header Transitions */
header {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Infinite Marquee Sliders */
.testimonial-marquee-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  padding: 1rem 0;
  position: relative;
}

.testimonial-marquee-track {
  display: flex;
  gap: 2rem;
  /* Min width needs to be wide enough to contain its duplicates */
  min-width: 100%;
}

.testimonial-marquee-track.left {
  animation: marquee-left 40s linear infinite;
}

.testimonial-marquee-track.right {
  animation: marquee-right 40s linear infinite;
}

.testimonial-marquee-track:hover {
  animation-play-state: paused;
}

/* Ensure testimonial pads don't shrink */
.testimonial-pad {
  flex-shrink: 0;
  width: 450px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  text-align: left;
  white-space: normal; /* Override the wrapper's white-space nowrap */
  margin: 0;
}

@media (max-width: 768px) {
  .testimonial-pad {
    width: 320px;
    padding: 2rem;
  }
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-green);
}

.testimonial-author h4 {
  color: var(--white);
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--soft-highlight);
  font-weight: 500;
}

/* Our Partners */


.partner-logo {
  flex-shrink: 0;
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all var(--transition-normal);
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Impact Parallax Section */
.impact-parallax-section {
    position: relative;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('../IMG-20180204-WA0070.jpg');
    background-attachment: fixed; 
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.impact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}

.impact-card {
    background: var(--white);
    padding: 3rem;
    max-width: 550px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.impact-eyebrow {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: capitalize;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.impact-title {
    font-size: 2.4rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.impact-title strong {
    font-weight: 900;
}

.impact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.impact-options {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.opt-pill {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    color: var(--text-dark);
}

.opt-pill.active {
    border-color: var(--primary-green);
    background: var(--soft-highlight);
    color: var(--primary-green);
}

.btn-impact {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.btn-impact:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(38, 154, 208, 0.2);
    color: var(--white);
}

@media (max-width: 992px) {
    .impact-container {
        justify-content: center;
    }
    .impact-parallax-section {
        background-attachment: scroll;
        padding: 60px 0;
        background-position: center;
    }
    .impact-card {
        padding: 2rem;
        margin: 0 10px;
    }
}

/* Partner Logos */
.partner-logo {
    max-height: 90px;
    max-width: 180px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
    color: white;
}

@media (max-width: 992px) {
    .floating-whatsapp {
        display: none; /* Hidden on mobile as there's already a WhatsApp button in the sticky footer */
    }
}
