/* ================================================================
   KEEP LIFE SAFE FOUNDATION — MASTER STYLESHEET
   Bootstrap 5 | Bright Mode | v1.0
   ================================================================ */

/* ----------------------------------------------------------------
   FONTS
   ---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ----------------------------------------------------------------
   CSS VARIABLES
   ---------------------------------------------------------------- */
:root {
  --green-dark:    #1B5E20;
  --green-primary: #2E7D32;
  --green-mid:     #43A047;
  --green-light:   #66BB6A;
  --green-pale:    #E8F5E9;
  --green-soft:    #f0faf0;
  --red:           #E53935;
  --red-dark:      #C62828;
  --red-pale:      #FFEBEE;
  --white:         #ffffff;
  --off-white:     #fafcfa;
  --text-dark:     #1a2e1b;
  --text-body:     #4a5568;
  --text-muted:    #718096;
  --border:        #C8E6C9;
  --shadow-sm:     0 2px 12px rgba(46,125,50,0.08);
  --shadow-md:     0 8px 30px rgba(46,125,50,0.12);
  --shadow-lg:     0 20px 60px rgba(46,125,50,0.18);
  --shadow-xl:     0 30px 80px rgba(46,125,50,0.22);
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-head:     'Plus Jakarta Sans', sans-serif;
  --font-body:     'DM Sans', sans-serif;
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { transition: var(--transition); text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 700;
}

p { margin-bottom: 0; }

/* ----------------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------------- */
.text-green  { color: var(--green-primary) !important; }
.text-red    { color: var(--red) !important; }
.bg-green-soft { background: var(--green-soft) !important; }
.bg-green-pale { background: var(--green-pale) !important; }
.bg-green-dark { background: var(--green-dark) !important; }
.bg-green-primary { background: var(--green-primary) !important; }

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

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* Section titles */
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title .highlight { color: var(--green-primary); }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn-klsf {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
}

.btn-klsf-primary {
  background: var(--red);
  color: #fff !important;
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(229,57,53,0.32);
}
.btn-klsf-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(229,57,53,0.42);
  color: #fff !important;
}

.btn-klsf-green {
  background: var(--green-primary);
  color: #fff !important;
  border-color: var(--green-primary);
  box-shadow: 0 6px 20px rgba(46,125,50,0.28);
}
.btn-klsf-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(46,125,50,0.38);
  color: #fff !important;
}

.btn-klsf-outline {
  background: transparent;
  color: var(--green-primary) !important;
  border-color: var(--green-primary);
}
.btn-klsf-outline:hover {
  background: var(--green-primary);
  color: #fff !important;
  transform: translateY(-3px);
}

.btn-klsf-outline-white {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.55);
}
.btn-klsf-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-3px);
}

.btn-klsf-white {
  background: #fff;
  color: var(--green-dark) !important;
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-klsf-white:hover {
  background: var(--green-soft);
  color: var(--green-dark) !important;
  transform: translateY(-3px);
}

/* ----------------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------------- */
#mainNav {
  background: #fff;
  padding: 0;
  box-shadow: none;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
  box-shadow: 0 2px 24px rgba(46,125,50,0.1);
  border-bottom-color: var(--border);
}

/* Top bar */
.top-bar {
  background: var(--green-dark);
  padding: 9px 0;
  font-family: var(--font-head);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: #fff; }

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.top-bar-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.top-bar-contact i {
  color: var(--green-light);
  font-size: 12px;
}

.top-bar-social {
  display: flex;
  gap: 10px;
}

.top-bar-social a {
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.top-bar-social a:hover {
  background: var(--green-primary);
  color: #fff !important;
}

/* Main navbar */
.navbar-main {
  padding: 14px 0;
  transition: padding 0.3s ease;
}

#mainNav.scrolled .navbar-main {
  padding: 10px 0;
}

.navbar-brand img {
  height: 54px;
  width: auto;
  transition: height 0.3s ease;
}

#mainNav.scrolled .navbar-brand img { height: 46px; }

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark) !important;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--green-primary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 28px);
}

.navbar-nav .dropdown-menu {
  border: none;
  border-top: 3px solid var(--green-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 40px rgba(46,125,50,0.14);
  padding: 8px 0;
  min-width: 200px;
}

.navbar-nav .dropdown-item {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 20px;
  transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background: var(--green-soft);
  color: var(--green-primary);
  padding-left: 26px;
}

.btn-donate-nav {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
  border: none !important;
}

.btn-donate-nav:hover {
  background: var(--red-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(229,57,53,0.38) !important;
}

.btn-donate-nav::after { display: none !important; }

/* Mobile nav toggler */
.navbar-toggler {
  border: 2px solid var(--green-primary) !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  z-index: 10;
  position: relative;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(46,125,50,0.2) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232E7D32' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 22px;
  height: 22px;
}

/* Fix: Bootstrap dropdown caret conflicts with our ::after on nav-link */
.navbar-nav .dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 5px solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

/* Ensure nav-link ::after (underline) doesn't interfere on desktop */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: width 0.3s ease;
  border: none;
}

/* ── KEY FIX: Header must overflow visible for dropdown ── */
#mainNav {
  overflow: visible !important;
  position: sticky;
  top: 0;
  z-index: 1030;
}

@media (max-width: 991px) {
  /* Collapsed mobile menu */
  .navbar-collapse {
    background: #ffffff !important;
    border-top: 2px solid var(--green-pale);
    padding: 8px 0 12px;
    margin-top: 6px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 12px 30px rgba(46,125,50,0.12);
    position: relative;
    z-index: 1000;
    width: 100%;
  }

  /* Override Bootstrap's collapse hiding on mobile */
  .navbar-collapse.collapsing {
    transition: height 0.25s ease !important;
  }

  .navbar-nav .nav-link {
    padding: 12px 20px !important;
    border-bottom: 1px solid var(--green-pale);
    color: var(--text-dark) !important;
  }

  /* Remove underline pseudo on mobile */
  .navbar-nav .nav-link::after,
  .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    display: none !important;
  }

  /* Dropdown in mobile */
  .navbar-nav .dropdown-toggle::after {
    float: right;
    margin-top: 6px;
  }

  .navbar-nav .dropdown-menu {
    box-shadow: none !important;
    border-top: none !important;
    border-left: 3px solid var(--green-light) !important;
    margin-left: 16px !important;
    border-radius: 0 !important;
    background: #f8fdf8 !important;
    padding: 4px 0 !important;
  }

  .navbar-nav .dropdown-item {
    padding: 10px 18px !important;
    font-size: 13px !important;
  }

  .btn-donate-nav {
    margin: 10px 20px 4px !important;
    display: block !important;
    text-align: center !important;
    padding: 12px !important;
  }

  .top-bar-contact { gap: 12px; }
  .top-bar-contact span:nth-child(n+3) { display: none; }
}

/* ----------------------------------------------------------------
   HERO SLIDER
   ---------------------------------------------------------------- */
#heroSlider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 880px;
  overflow: hidden;
  background: var(--green-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.3s ease, visibility 1.3s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero-slide.active .hero-bg { transform: scale(1.12); }

/* iOS Safari fix — background-attachment:fixed breaks Ken Burns on mobile */
@media (max-width: 1024px) {
  .hero-bg {
    background-attachment: scroll !important;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,94,32,0.93) 0%,
    rgba(27,94,32,0.75) 45%,
    rgba(27,94,32,0.42) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 700px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease 0.35s, transform 0.9s ease 0.35s;
}

.hero-slide.active .hero-text {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #A5D6A7;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  width: 38px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 62px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-title .accent {
  color: #A5D6A7;
  position: relative;
}

.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 38px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Floating impact card */
.hero-float-card {
  position: absolute;
  bottom: 64px;
  right: 48px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  max-width: 300px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  z-index: 5;
  border-left: 4px solid var(--red);
  animation: floatUp 0.9s ease 1.4s both;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-float-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.hero-float-text h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.hero-float-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Slider controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.32);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  transform: translateY(-50%) scale(1.08);
}

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

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

.slider-dot {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--green-light);
  width: 58px;
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 5;
}

.slider-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-light), var(--green-primary));
  transition: width 0.1s linear;
}

/* ----------------------------------------------------------------
   IMPACT STRIP
   ---------------------------------------------------------------- */
.impact-strip {
  background: var(--green-dark);
  padding: 0;
}

.stat-item {
  text-align: center;
  padding: 44px 20px;
  position: relative;
  transition: background 0.3s ease;
}

.stat-item:hover { background: rgba(255,255,255,0.05); }

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

.stat-icon {
  font-size: 26px;
  color: var(--green-light);
  margin-bottom: 12px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}

.stat-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
}

/* ----------------------------------------------------------------
   MISSION SECTION
   ---------------------------------------------------------------- */
.mission-section { background: #fff; }

.mission-img-wrap {
  position: relative;
  padding: 20px 20px 50px;
}

.mission-img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.mission-img-sm {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 190px;
  height: 145px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid #fff;
  box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

.mission-badge {
  position: absolute;
  bottom: 15px;
  left: -5px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--green-primary);
  max-width: 240px;
}

.mission-badge i { font-size: 24px; color: var(--green-primary); }

.mission-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
}

.mission-badge span { font-size: 11px; color: var(--text-muted); }

.year-badge {
  position: absolute;
  top: 0;
  right: -4px;
  background: var(--red);
  color: #fff;
  padding: 16px 14px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 28px rgba(229,57,53,0.3);
}

.year-badge strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

.year-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.9; }

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 1px solid var(--green-pale);
}

.check-list li:last-child { border-bottom: none; }

.check-list li i { color: var(--green-primary); font-size: 16px; flex-shrink: 0; margin-top: 3px; }

/* ----------------------------------------------------------------
   PROGRAMS SECTION
   ---------------------------------------------------------------- */
.programs-section { background: var(--green-soft); }

.program-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--green-pale);
  border-bottom: 3px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

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

.program-card:hover::before { transform: scaleX(1); }

.program-icon {
  width: 66px;
  height: 66px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--green-primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.program-card:hover .program-icon {
  background: var(--green-primary);
  color: #fff;
}

.program-num {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 52px;
  color: rgba(46,125,50,0.05);
  line-height: 1;
}

.program-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 11px;
}

.program-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

.program-link:hover { gap: 12px; color: var(--green-dark); }

/* ----------------------------------------------------------------
   NEWS / FEED SECTION
   ---------------------------------------------------------------- */
.news-section { background: #fff; }

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--green-pale);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.news-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-card-img img { transform: scale(1.06); }

.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.news-cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
}

.cat-news   { background: var(--green-primary); }
.cat-blog   { background: #E65100; }
.cat-update { background: var(--red); }

.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.news-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-meta-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.2;
}

.news-meta-info span { font-size: 11px; color: var(--text-muted); }

.news-card-body h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.news-card-body h5 a {
  color: var(--text-dark);
  text-decoration: none !important;
  transition: color 0.2s;
}

.news-card-body h5 a:hover { color: var(--green-primary); }

.news-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-reactions { display: flex; gap: 14px; }

.news-reaction {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #ccc;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.news-reaction:hover { color: var(--red); }
.news-reaction.liked { color: var(--red); }

/* ----------------------------------------------------------------
   SPONSORS + DONATIONS
   ---------------------------------------------------------------- */
.partners-section { background: var(--green-soft); }

.partner-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--green-pale);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

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

.partner-logo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--green-primary);
}

.partner-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.partner-card h6 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.partner-card small {
  font-size: 12px;
  color: var(--text-muted);
}

.partner-type-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--green-pale);
  color: var(--green-primary);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Partner carousel */
.carousel-strip {
  background: #fff;
  border-top: 1px solid var(--green-pale);
  border-bottom: 1px solid var(--green-pale);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.carousel-strip::before,
.carousel-strip::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.carousel-strip::before { left: 0; background: linear-gradient(to right, var(--green-soft), transparent); }
.carousel-strip::after  { right: 0; background: linear-gradient(to left, var(--green-soft), transparent); }

.carousel-track {
  display: flex;
  gap: 14px;
  animation: carouselScroll 28s linear infinite;
  width: max-content;
}

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

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

.carousel-item-tag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 9px 20px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-item-tag i { font-size: 12px; color: var(--red); }

/* Donations */
.donations-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
}

.prog-goal-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
  transition: background 0.3s;
}

.prog-goal-item:hover { background: rgba(255,255,255,0.12); }

.prog-goal-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}

.prog-goal-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.prog-goal-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.prog-goal-info small { font-size: 12px; color: rgba(255,255,255,0.5); }

.prog-pct {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin-left: auto;
}

.prog-bar-bg {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.prog-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.8s cubic-bezier(0.4,0,0.2,1);
  width: 0;
}

/* Donors wall */
.donors-panel {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
}

.donor-count-badge {
  background: rgba(102,187,106,0.18);
  border: 1px solid rgba(102,187,106,0.35);
  border-radius: var(--radius);
  padding: 10px 16px;
  text-align: center;
}

.donor-count-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.donor-count-badge small { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; }

.donors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 270px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(102,187,106,0.4) transparent;
}

.donors-grid::-webkit-scrollbar { width: 4px; }
.donors-grid::-webkit-scrollbar-thumb { background: rgba(102,187,106,0.4); border-radius: 2px; }

.donor-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 5px 13px 5px 6px;
  transition: var(--transition);
}

.donor-chip:hover { background: rgba(102,187,106,0.15); }

.donor-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donor-chip span { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }

/* ----------------------------------------------------------------
   CTA BAND
   ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}

.cta-band h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 40px);
  color: #fff;
  line-height: 1.15;
}

.cta-band p { font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.75; }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: #152717;
  padding: 72px 0 0;
}

.footer-brand img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--green-light);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-about-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer-cac {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(46,125,50,0.2);
  border: 1px solid var(--green-primary);
  color: var(--green-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.footer-cac i { color: var(--red); font-size: 12px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green-primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-primary);
  display: inline-block;
}

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

.footer-links li {
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.footer-links li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-size: 12px;
  top: 6px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none !important;
}

.footer-links li a:hover {
  color: var(--green-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item i { color: var(--green-light); font-size: 13px; margin-top: 3px; flex-shrink: 0; }

.footer-contact-item a { color: rgba(255,255,255,0.6); text-decoration: none !important; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--green-light); }

.footer-newsletter-form {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 14px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  min-width: 0;
}

.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form input:focus { outline: none; }

.footer-newsletter-form button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.footer-newsletter-form button:hover { background: var(--red-dark); }

.footer-bar {
  background: #0a150c;
  padding: 18px 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bar p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bar a { color: rgba(255,255,255,0.4); text-decoration: none !important; transition: color 0.2s; }
.footer-bar a:hover { color: var(--green-light); }

/* ----------------------------------------------------------------
   INNER PAGE HERO
   ---------------------------------------------------------------- */
.inner-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}

.breadcrumb-nav a { color: rgba(255,255,255,0.65); text-decoration: none !important; transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav i { font-size: 10px; color: rgba(255,255,255,0.4); }

.inner-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  color: #fff;
  margin-bottom: 16px;
}

.inner-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   PAGE TRANSITIONS & ANIMATIONS
   ---------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------------------------------
   BACK TO TOP
   ---------------------------------------------------------------- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--green-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1199px) {
  .hero-float-card { right: 24px; bottom: 55px; max-width: 265px; }
}

@media (max-width: 991px) {
  #heroSlider { max-height: 720px; }
  .hero-float-card { display: none; }
  .mission-img-sm { display: none; }
  .mission-img-main { height: 360px; }
}

@media (max-width: 767px) {
  #heroSlider { height: 100svh; min-height: 580px; max-height: none; }

  .hero-text { text-align: center; padding: 90px 16px 110px; }
  .hero-eyebrow { justify-content: center; font-size: 11px; letter-spacing: 2px; }
  .hero-eyebrow::before { width: 22px; }
  .hero-title { font-size: 28px; letter-spacing: -0.5px; }
  .hero-desc { font-size: 14px; }
  .hero-btns { justify-content: center; flex-direction: column; align-items: center; }
  .btn-klsf { width: 100%; max-width: 280px; justify-content: center; padding: 13px 22px; font-size: 13px; }

  .slider-arrow { width: 38px; height: 38px; font-size: 13px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .slider-dot { width: 20px; }
  .slider-dot.active { width: 34px; }

  .impact-strip .row > [class*='col'] + [class*='col'] .stat-item::before { display: none; }
  .stat-item { padding: 28px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-num { font-size: 34px; }

  .section-pad { padding: 64px 0; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 15px; }

  .mission-img-main { height: 280px; }
  .mission-badge { left: 0; }
  .year-badge { right: 0; }

  .cta-band h2 { font-size: 24px; text-align: center; }
  .cta-band p { text-align: center; }
  .cta-band .d-flex { flex-direction: column; align-items: center; gap: 12px !important; }

  .footer-brand { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-cac { display: inline-flex; }
  .footer-about-text { text-align: center; }

  .footer-links li { text-align: center; padding-left: 0; }
  .footer-links li::before { display: none; }

  .footer-contact-item { justify-content: center; text-align: center; }

  .footer-bar .d-flex { flex-direction: column; text-align: center; gap: 6px !important; }

  .donations-section .row > div + div { margin-top: 30px; }

  #backToTop { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .top-bar { display: none; }
}

/* ================================================================
   COMPREHENSIVE FIXES — v2.1
   ================================================================ */

/* ── HERO SLIDE TEXT: Force visible on all devices ─────────── */
.hero-slide.active .hero-text {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── iOS Safari: prevent background-attachment:fixed issues ─── */
.hero-bg {
  background-attachment: scroll !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

/* ── MOBILE HERO: centering + padding fix ───────────────────── */
@media (max-width: 767px) {
  .hero-slide-content,
  .hero-content {
    padding-top: 0 !important;
    align-items: center !important;
  }

  .hero-text {
    padding: 80px 20px 100px !important;
    text-align: center !important;
    max-width: 100% !important;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease 0.25s, transform 0.8s ease 0.25s !important;
  }

  .hero-slide.active .hero-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
  }

  .hero-desc {
    font-size: 14px !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
    margin-bottom: 28px !important;
  }

  .hero-eyebrow {
    justify-content: center;
    display: flex !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    margin-bottom: 16px !important;
  }

  .hero-btns {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .hero-btns .btn-klsf {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
}

/* ── TABLET HERO ─────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title { font-size: 40px !important; }
  .hero-desc  { font-size: 16px !important; }
  .hero-float-card { display: none !important; }
}

/* ── COUNTER FIX: ensure visible even before animation ───────── */
.stat-num {
  min-width: 2ch;
  display: inline-block;
}

/* ── PROGRAMS GRID: tablet 2-col, mobile 1-col ───────────────── */
@media (max-width: 991px) {
  .row.g-4 > .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575px) {
  .row.g-4 > .col-xl-3,
  .row.g-4 > .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── FEED CARDS: mobile width ─────────────────────────────────── */
@media (max-width: 575px) {
  .news-card[style*="width:310px"],
  .news-card[style*="width: 310px"] {
    width: 270px !important;
  }
}

/* ── FOOTER MOBILE STACKING ──────────────────────────────────── */
@media (max-width: 767px) {
  .site-footer .row > [class*="col-"] {
    text-align: center;
    margin-bottom: 32px;
  }

  .footer-heading {
    display: block !important;
    text-align: center;
  }

  .footer-social { justify-content: center; }
  .footer-contact-item { justify-content: center; }
  .footer-cac { justify-content: center; }

  .footer-links li {
    text-align: center;
    padding-left: 0;
  }

  .footer-links li::before { display: none; }

  .footer-newsletter-form {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-bar .row,
  .footer-bar .d-flex {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

/* ── MISSION SECTION: mobile stacking ────────────────────────── */
@media (max-width: 991px) {
  .mission-img-wrap { padding: 16px 16px 40px; }

  .mission-badge {
    left: 10px !important;
    bottom: 5px !important;
    max-width: calc(100% - 80px);
  }

  .year-badge {
    right: 10px !important;
    top: 0 !important;
  }
}

/* ── CTA BAND: mobile ────────────────────────────────────────── */
@media (max-width: 767px) {
  .cta-band .btn-klsf {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
}

/* ── DONATION BLOCK: mobile ──────────────────────────────────── */
@media (max-width: 767px) {
  .donors-panel { padding: 20px !important; }
  .donors-grid  { max-height: 200px !important; }
  .donations-section .col-lg-6:last-child { margin-top: 24px; }
}

/* ── INNER PAGE HEROES: mobile ───────────────────────────────── */
@media (max-width: 767px) {
  .inner-hero {
    padding: 80px 0 60px !important;
  }

  .inner-hero h1 { font-size: 28px !important; }
  .inner-hero p  { font-size: 15px !important; }

  .breadcrumb-nav { font-size: 12px; }
}

/* ── PREVENT HORIZONTAL SCROLL ───────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

/* ── DROPDOWN Z-INDEX FIX ────────────────────────────────────── */
.navbar-nav .dropdown-menu {
  z-index: 1035 !important;
}

/* ── TOP BAR: hide on very small screens ─────────────────────── */
@media (max-width: 479px) {
  .top-bar { display: none !important; }
}

/* ── STATS STRIP: mobile 2-column grid ───────────────────────── */
@media (max-width: 575px) {
  .impact-strip .col-6 { padding: 0; }
  .stat-item {
    padding: 24px 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .stat-num { font-size: 30px !important; }
  .stat-plus { font-size: 20px !important; }
  .stat-icon { font-size: 20px !important; margin-bottom: 8px !important; }
  .stat-label { font-size: 10px !important; letter-spacing: 1px !important; }
}

/* ── GALLERY: mobile touch-friendly ──────────────────────────── */
@media (max-width: 575px) {
  .gallery-grid {
    columns: 2 !important;
    column-gap: 10px !important;
  }

  .gallery-item { margin-bottom: 10px !important; }
  .gallery-overlay { display: none; }
  .gallery-zoom { display: none; }
}

/* ── SECTION PADDING: mobile reduction ───────────────────────── */
@media (max-width: 575px) {
  .section-pad { padding: 56px 0 !important; }
  .section-pad-sm { padding: 42px 0 !important; }
  .section-title { font-size: 22px !important; line-height: 1.3 !important; }
}

/* ── NEWS CARD FOOTER: tidy on mobile ────────────────────────── */
@media (max-width: 575px) {
  .news-card-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ── PARTNER CARDS: full width mobile ────────────────────────── */
@media (max-width: 575px) {
  .partner-card {
    flex-direction: row !important;
    text-align: left !important;
    padding: 16px !important;
    gap: 14px !important;
  }

  .partner-logo-wrap {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
}


/* ================================================================
   CROSS-BROWSER ANIMATION FIXES — v3.0
   Targets: Safari, Firefox, Samsung Browser, older Chrome
   ================================================================ */

/* ── FADE-UP: full vendor prefix stack ─────────────────────── */
.fade-up {
  opacity: 0;
  -webkit-transform: translateY(32px);
     -moz-transform: translateY(32px);
      -ms-transform: translateY(32px);
          transform: translateY(32px);

  -webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
     -moz-transition: opacity 0.7s ease, -moz-transform 0.7s ease;
          transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
     -moz-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.fade-up-delay-1 {
  -webkit-transition-delay: 0.12s;
          transition-delay: 0.12s;
}
.fade-up-delay-2 {
  -webkit-transition-delay: 0.22s;
          transition-delay: 0.22s;
}
.fade-up-delay-3 {
  -webkit-transition-delay: 0.32s;
          transition-delay: 0.32s;
}
.fade-up-delay-4 {
  -webkit-transition-delay: 0.42s;
          transition-delay: 0.42s;
}

/* ── HERO TEXT ANIMATION ────────────────────────────────────── */
.hero-text {
  opacity: 0;
  -webkit-transform: translateY(36px);
          transform: translateY(36px);
  -webkit-transition: opacity 0.9s ease 0.35s, -webkit-transform 0.9s ease 0.35s;
          transition: opacity 0.9s ease 0.35s, transform 0.9s ease 0.35s;
}

.hero-slide.active .hero-text {
  opacity: 1 !important;
  -webkit-transform: translateY(0) !important;
          transform: translateY(0) !important;
}

/* ── HERO KEN BURNS: vendor prefixes ────────────────────────── */
.hero-bg {
  -webkit-transform: scale(1);
     -moz-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 8s ease-out;
          transition: transform 8s ease-out;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  background-attachment: scroll !important; /* iOS fix */
}

.hero-slide.active .hero-bg {
  -webkit-transform: scale(1.12);
          transform: scale(1.12);
}

/* ── HERO OVERLAY: ensure it shows ─────────────────────────── */
.hero-overlay {
  opacity: 1;
  -webkit-transition: opacity 1.3s ease;
          transition: opacity 1.3s ease;
}

/* ── KEYFRAME ANIMATIONS: vendor prefixes ───────────────────── */
@-webkit-keyframes floatUp {
  from { opacity: 0; -webkit-transform: translateY(28px); transform: translateY(28px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0);    }
}
@-moz-keyframes floatUp {
  from { opacity: 0; -moz-transform: translateY(28px); }
  to   { opacity: 1; -moz-transform: translateY(0); }
}
@keyframes floatUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PROGRAM CARD HOVER ─────────────────────────────────────── */
.program-card {
  -webkit-transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
          transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.program-card:hover {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
}

.program-card::before {
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: -webkit-transform 0.35s ease;
          transition: transform 0.35s ease;
}
.program-card:hover::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

/* ── NAV LINK UNDERLINE ─────────────────────────────────────── */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  -webkit-transition: width 0.3s ease;
          transition: width 0.3s ease;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-klsf {
  -webkit-transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
          transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── BACK TO TOP ────────────────────────────────────────────── */
#backToTop {
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
  -webkit-transform: translateY(80px);
          transform: translateY(80px);
  opacity: 0;
}
#backToTop.show {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

/* ── STAT COUNTER: ensure number always shows ───────────────── */
.stat-num {
  min-height: 1em;
  display: inline-block;
}

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.prog-bar-fill {
  -webkit-transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
          transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

/* ── GALLERY HOVER ──────────────────────────────────────────── */
.gallery-item img {
  -webkit-transition: -webkit-transform 0.5s ease;
          transition: transform 0.5s ease;
}
.gallery-item:hover img {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}

/* ── NEWS CARD ──────────────────────────────────────────────── */
.news-card,
.post-card-h {
  -webkit-transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
          transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.news-card:hover,
.post-card-h:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

/* ── SLIDER DOTS ────────────────────────────────────────────── */
.slider-dot {
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
}

/* ── IMPACT STRIP ICON ──────────────────────────────────────── */
.stat-item:hover .stat-icon {
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
}

/* ── ENSURE VISIBLE: if JS fails, show all fade-ups after 3s ── */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .hero-text,
  .hero-bg {
    opacity: 1 !important;
    -webkit-transform: none !important;
            transform: none !important;
    -webkit-transition: none !important;
            transition: none !important;
  }
  .hero-slide.active .hero-text {
    opacity: 1 !important;
    -webkit-transform: none !important;
            transform: none !important;
  }
}


/* ================================================================
   KLSF PRELOADER
   ================================================================ */



/* Logo */

/* Foundation name */



/* Spinner */
.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  -webkit-animation: klsfSpin 0.9s linear infinite;
          animation: klsfSpin 0.9s linear infinite;
}

/* ── Keyframes ──────────────────────────────────────── */
@-webkit-keyframes klsfSpin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes klsfSpin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-webkit-keyframes klsfPulseLogo {
  0%, 100% { -webkit-transform: scale(1);    transform: scale(1);    opacity: 1; }
  50%       { -webkit-transform: scale(1.07); transform: scale(1.07); opacity: 0.92; }
}
@keyframes klsfPulseLogo {
  0%, 100% { -webkit-transform: scale(1);    transform: scale(1);    opacity: 1; }
  50%       { -webkit-transform: scale(1.07); transform: scale(1.07); opacity: 0.92; }
}

@-webkit-keyframes klsfFadeSlideUp {
  from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}
@keyframes klsfFadeSlideUp {
  from { opacity: 0; -webkit-transform: translateY(12px); transform: translateY(12px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}

/* Prevent body scroll while preloader shows */
body.preloading {
  overflow: hidden;
}


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

/* ── SECTION WRAPPER ────────────────────────────────────────── */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 240px;
  font-family: Georgia, serif;
  color: rgba(46,125,50,0.06);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ── CAROUSEL TRACK ─────────────────────────────────────────── */
.testi-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0 24px;
}

.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── TESTIMONIAL CARD ───────────────────────────────────────── */
.testi-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--green-pale);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  box-shadow: var(--shadow-xl);
  -webkit-transform: translateY(-6px);
          transform: translateY(-6px);
  border-color: var(--green-light);
}

/* Quote mark accent */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 72px;
  font-family: Georgia, serif;
  color: var(--green-pale);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── STARS ──────────────────────────────────────────────────── */
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}
.testi-stars i {
  color: #F59E0B;
  font-size: 14px;
}
.testi-stars i.empty {
  color: #E2E8F0;
}

/* ── PROGRAM BADGE ──────────────────────────────────────────── */
.testi-program-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green-primary);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  width: fit-content;
}

/* ── QUOTE TEXT ─────────────────────────────────────────────── */
.testi-quote {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

/* ── PERSON ROW ─────────────────────────────────────────────── */
.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--green-pale);
  margin-top: auto;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--green-pale);
  box-shadow: 0 3px 12px rgba(46,125,50,0.15);
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-avatar-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}

.testi-person-info strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.2;
}
.testi-person-info span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.testi-verified {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 12px;
}

/* ── CAROUSEL CONTROLS ──────────────────────────────────────── */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testi-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: var(--transition);
          transition: var(--transition);
  flex-shrink: 0;
}
.testi-nav-btn:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
}
.testi-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.testi-nav-btn:disabled:hover {
  background: #fff;
  border-color: var(--border);
  color: var(--text-dark);
}

.testi-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.testi-dot.active {
  background: var(--green-primary);
  width: 24px;
  border-radius: 4px;
}

/* ── GRID MODE ──────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── FEATURED (single big quote) ────────────────────────────── */
.testi-featured-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 60%, #1565C0 100%);
  border-radius: 24px;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.testi-featured-card::before {
  content: '\201C';
  position: absolute;
  top: -24px;
  left: 24px;
  font-size: 200px;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  user-select: none;
}

.testi-featured-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.testi-featured-card .testi-stars i { color: #FCD34D; }
.testi-featured-card .testi-program-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.testi-featured-card .testi-quote {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  margin-bottom: 32px;
}

.testi-featured-card .testi-person { border-top-color: rgba(255,255,255,0.15); }
.testi-featured-card .testi-person-info strong { color: #fff; }
.testi-featured-card .testi-person-info span   { color: rgba(255,255,255,0.65); }
.testi-featured-card .testi-verified {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.testi-featured-card .testi-avatar-initials {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .testi-card { padding: 26px 22px; }
  .testi-featured-card { padding: 32px 24px; }
  .testi-featured-card .testi-quote { font-size: 15px; }
  .testi-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   FLOATING WHATSAPP + CONTACT QUICK BAR
   ================================================================ */
.wa-float {
  position: fixed; bottom: 90px; right: 22px;
  width: 52px; height: 52px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1000; text-decoration: none;
  -webkit-transition: transform 0.25s ease, box-shadow 0.25s ease;
          transition: transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-animation: waPulse 2.5s infinite;
          animation: waPulse 2.5s infinite;
}
.wa-float:hover { -webkit-transform: scale(1.12); transform: scale(1.12); color: #fff; box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.wa-float .wa-tooltip {
  position: absolute; right: 62px;
  background: #1B5E20; color: #fff;
  padding: 6px 12px; border-radius: 8px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  white-space: nowrap; opacity: 0; pointer-events: none;
  -webkit-transition: opacity 0.2s; transition: opacity 0.2s;
}
.wa-float .wa-tooltip::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  -webkit-transform: translateY(-50%); transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #1B5E20; border-right: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; }
@-webkit-keyframes waPulse {
  0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.45);}
  50%{box-shadow:0 4px 28px rgba(37,211,102,.7),0 0 0 10px rgba(37,211,102,.1);}
}
@keyframes waPulse {
  0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.45);}
  50%{box-shadow:0 4px 28px rgba(37,211,102,.7),0 0 0 10px rgba(37,211,102,.1);}
}

.contact-quick-bar { background: var(--green-dark); padding: 12px 0; }
.contact-quick-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.88); font-size: 13px; font-weight: 500;
  text-decoration: none; -webkit-transition: color .2s; transition: color .2s;
}
.contact-quick-item:hover { color: #A5D6A7; }
.contact-quick-item i {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

/* ================================================================
   ACTIVITY CARDS (Impact section)
   ================================================================ */
.activity-card {
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--green-pale); box-shadow: var(--shadow-sm);
  -webkit-transition: var(--transition); transition: var(--transition); height: 100%;
}
.activity-card:hover {
  -webkit-transform: translateY(-5px); transform: translateY(-5px);
  box-shadow: var(--shadow-lg); border-color: var(--green-light);
}
.activity-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--green-pale); display: flex; align-items: center;
  justify-content: center; font-size: 22px; color: var(--green-primary);
  margin-bottom: 16px;
  -webkit-transition: var(--transition); transition: var(--transition);
}
.activity-card:hover .activity-icon { background: var(--green-primary); color: #fff; }
.activity-card h5 { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text-dark); margin-bottom: 8px; }
.activity-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 0; }
.activity-num { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--green-primary); display: block; margin-bottom: 2px; }

/* ================================================================
   FOUNDER CARD
   ================================================================ */
.founder-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--green-pale); box-shadow: var(--shadow-lg); }
.founder-photo-wrap { position: relative; height: 340px; background: linear-gradient(160deg,var(--green-dark),var(--green-primary)); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.founder-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-photo-initials { font-family: var(--font-head); font-weight: 800; font-size: 80px; color: rgba(255,255,255,0.25); }
.founder-tag { position: absolute; bottom: 16px; left: 16px; background: rgba(255,255,255,0.95); border-radius: 10px; padding: 8px 14px; }
.founder-tag strong { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 800; color: var(--green-dark); }
.founder-tag span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.founder-body { padding: 28px; }
.founder-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--text-dark); margin-bottom: 6px; }
.founder-body .founder-title { display: block; font-size: 13px; color: var(--green-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.founder-body p { font-size: 14px; color: var(--text-body); line-height: 1.75; margin-bottom: 10px; }
.founder-quote { border-left: 3px solid var(--green-primary); padding: 10px 16px; background: var(--green-soft); border-radius: 0 8px 8px 0; font-style: italic; font-size: 14px; color: var(--text-body); margin: 14px 0; }

/* ================================================================
   STEP-BY-STEP GUIDE
   ================================================================ */
.klsf-steps { display: grid; gap: 0; position: relative; }
.klsf-steps::before { content: ''; position: absolute; left: 28px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(to bottom, var(--green-primary), var(--green-light)); z-index: 0; }
.klsf-step { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; position: relative; z-index: 1; }
.klsf-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--green-primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 16px rgba(46,125,50,0.3); border: 3px solid #fff; }
.klsf-step-body h5 { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--text-dark); margin-bottom: 5px; }
.klsf-step-body p  { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }
.step-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--green-primary); text-decoration: none; -webkit-transition: gap .2s; transition: gap .2s; }
.step-link:hover { gap: 10px; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section { position: relative; overflow: hidden; }
.testimonials-section::before { content: '\201C'; position: absolute; top: -20px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); font-size: 240px; font-family: Georgia,serif; color: rgba(46,125,50,0.06); line-height: 1; pointer-events: none; z-index: 0; user-select: none; }
.testi-track-wrap { position: relative; overflow: hidden; padding: 8px 0 24px; }
.testi-track { display: flex; gap: 24px; -webkit-transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); }
.testi-card { background: #fff; border-radius: 20px; padding: 36px 32px; border: 1px solid var(--green-pale); box-shadow: var(--shadow-md); flex-shrink: 0; position: relative; -webkit-transition: var(--transition); transition: var(--transition); display: flex; flex-direction: column; }
.testi-card:hover { box-shadow: var(--shadow-xl); -webkit-transform: translateY(-6px); transform: translateY(-6px); border-color: var(--green-light); }
.testi-card::before { content: '\201C'; position: absolute; top: 18px; right: 26px; font-size: 72px; font-family: Georgia,serif; color: var(--green-pale); line-height: 1; pointer-events: none; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testi-stars i { color: #F59E0B; font-size: 14px; }
.testi-stars i.empty { color: #E2E8F0; }
.testi-program-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-pale); color: var(--green-primary); font-family: var(--font-head); font-size: 10px; font-weight: 700; padding: 4px 11px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; width: fit-content; }
.testi-quote { font-size: 15px; color: var(--text-body); line-height: 1.8; font-style: italic; flex: 1; margin-bottom: 28px; position: relative; z-index: 1; }
.testi-person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--green-pale); margin-top: auto; }
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--green-pale); }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-avatar-initials { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg,var(--green-primary),var(--green-light)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 17px; color: #fff; flex-shrink: 0; }
.testi-person-info strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text-dark); line-height: 1.2; }
.testi-person-info span { font-size: 12px; color: var(--text-muted); }
.testi-verified { margin-left: auto; flex-shrink: 0; width: 28px; height: 28px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green-primary); font-size: 12px; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.testi-nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); background: #fff; color: var(--text-dark); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; -webkit-transition: var(--transition); transition: var(--transition); }
.testi-nav-btn:hover { background: var(--green-primary); border-color: var(--green-primary); color: #fff; }
.testi-nav-btn:disabled { opacity: .35; cursor: not-allowed; }
.testi-dots { display: flex; gap: 7px; align-items: center; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; -webkit-transition: all 0.3s; transition: all 0.3s; border: none; padding: 0; }
.testi-dot.active { background: var(--green-primary); width: 24px; border-radius: 4px; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; }
.testi-featured-card { background: linear-gradient(135deg,var(--green-dark) 0%,var(--green-primary) 60%,#1565C0 100%); border-radius: 24px; padding: 48px 44px; position: relative; overflow: hidden; color: #fff; }
.testi-featured-card::before { content: '\201C'; position: absolute; top: -24px; left: 24px; font-size: 200px; font-family: Georgia,serif; color: rgba(255,255,255,.08); line-height: 1; user-select: none; }
.testi-featured-card .testi-stars i { color: #FCD34D; }
.testi-featured-card .testi-program-badge { background: rgba(255,255,255,.15); color: #fff; }
.testi-featured-card .testi-quote { font-size: 18px; color: rgba(255,255,255,.92); line-height: 1.75; margin-bottom: 32px; }
.testi-featured-card .testi-person { border-top-color: rgba(255,255,255,.15); }
.testi-featured-card .testi-person-info strong { color: #fff; }
.testi-featured-card .testi-person-info span   { color: rgba(255,255,255,.65); }
.testi-featured-card .testi-verified { background: rgba(255,255,255,.15); color: #fff; }
.testi-featured-card .testi-avatar-initials { background: rgba(255,255,255,.18); color: #fff; }
@media(max-width:767px) {
  .testi-card { padding: 26px 22px; }
  .testi-featured-card { padding: 32px 24px; }
  .testi-featured-card .testi-quote { font-size: 15px; }
  .testi-grid { grid-template-columns: 1fr; }
}






/* ── Testimonials Section ────────────────────────────────── */
.testimonials-section {
  position: relative;
  overflow: hidden;
}
 
.testi-track-wrap {
  overflow: hidden;
  margin: 0 -12px; /* Compensate for card gaps */
}
 
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 12px; /* Add padding for better spacing */
}
 
.testi-card {
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--green-pale, #E8F5E9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}
 
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
 
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
 
.testi-stars i {
  color: #FFC107;
  font-size: 16px;
}
 
.testi-stars i.empty {
  color: #e0e0e0;
}
 
.testi-program-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale, #E8F5E9);
  color: var(--green-primary, #2E7D32);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
 
.testi-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body, #333);
  margin-bottom: 20px;
  font-style: italic;
}
 
.testi-quote::before {
  content: '"';
  font-size: 36px;
  color: var(--green-pale, #E8F5E9);
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: Georgia, serif;
}
 
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--green-pale, #E8F5E9);
}
 
.testi-avatar,
.testi-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
 
.testi-avatar-initials {
  background: linear-gradient(135deg, var(--green-primary, #2E7D32), var(--green-dark, #1B5E20));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
 
.testi-person-info {
  flex: 1;
}
 
.testi-person-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark, #1a1a1a);
  margin-bottom: 2px;
}
 
.testi-person-info span {
  font-size: 13px;
  color: var(--text-muted, #666);
}
 
.testi-verified {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-primary, #2E7D32);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
 
/* ── Navigation ──────────────────────────────────────────── */
.testi-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
 
.testi-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green-primary, #2E7D32);
  background: #fff;
  color: var(--green-primary, #2E7D32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
 
.testi-nav-btn:hover:not(:disabled) {
  background: var(--green-primary, #2E7D32);
  color: #fff;
  transform: scale(1.1);
}
 
.testi-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
 
.testi-dots {
  display: flex;
  gap: 8px;
}
 
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--green-primary, #2E7D32);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
 
.testi-dot.active {
  background: var(--green-primary, #2E7D32);
  transform: scale(1.2);
}
 
.testi-dot:hover {
  background: var(--green-pale, #E8F5E9);
}
 
/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .testi-card {
    padding: 24px;
  }
  .testi-nav {
    margin-top: 16px;
    justify-content: center;
  }
}
 
@media (max-width: 575px) {
  .testi-card {
    padding: 20px;
  }
  .testi-quote {
    font-size: 14px;
  }
  .testi-dots {
    display: none; /* Hide dots on mobile, keep arrows only */
  }
}
