/* Landing page – menu and hero (aligned with design) */

:root {
  --landing-nav-height: 92px;
}

html {
  scroll-behavior: smooth;
}

/* No gap: hero starts at 0, nav overlays top; other sections need offset when scrolling */
.landing-body-offset {
  padding-top: 0;
}

/* ----- Navbar: logo extreme left, Login button extreme right, simple margins ----- */
.landing-nav {
  background: #f7f3e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
}

/* Full-width inner so logo and button sit at true left/right edges */
nav.landing-nav .landing-nav-inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Mobile: single row – logo, Login, toggler; no wrap */
@media (max-width: 991.98px) {
  nav.landing-nav .landing-nav-inner {
    flex-wrap: nowrap !important;
  }
  .landing-nav .navbar-brand-wrap {
    flex-shrink: 1;
    min-width: 0;
    margin-right: 0.5rem;
  }
  .landing-nav .brand-text-block .brand-tagline {
    display: none;
  }
  .landing-nav .brand-logo {
    height: 40px;
    margin-right: 8px;
  }
  .landing-nav .brand-text-block .brand-title {
    font-size: 1.25rem;
  }
  .landing-nav .navbar-toggler {
    flex-shrink: 0;
  }
  .landing-nav-login-mobile {
    display: inline-flex !important;
    flex-shrink: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
  }
  .landing-nav-login-mobile .landing-nav-login-text {
    display: inline;
  }
  .landing-nav-login-desktop {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .landing-nav-login-mobile {
    display: none !important;
  }
}

.landing-nav .navbar-brand-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  margin-right: 1rem;
}

.landing-nav .brand-logo {
  height: 48px;
  width: auto;
  margin-right: 12px;
  object-fit: contain;
}

.landing-nav .brand-text-block .brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.landing-nav .brand-text-block .brand-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: #444444;
  margin: 0;
  line-height: 1.3;
}

.landing-nav .nav-link {
  color: #1a1a1a !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.landing-nav .nav-link:hover {
  color: #000000 !important;
}

.landing-nav .navbar-collapse {
  margin-left: auto;
}

.landing-nav .navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.landing-nav .navbar-nav .nav-item:last-child {
  margin-left: 0.75rem;
  margin-right: 0.5rem;
}

/* Login to Portal: light yellow background, darker yellow border, rounded */
.landing-nav .btn-login-portal {
  background: #f5d547;
  color: #1a1a1a;
  border: 1px solid #e0b82e;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.landing-nav .btn-login-portal:hover {
  background: #e6c229;
  border-color: #d4b01e;
  color: #1a1a1a;
  text-decoration: none;
}

/* ----- Hero: starts at 0 (no gap under nav), full viewport height ----- */
.landing-hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
}

.landing-hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.landing-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.landing-hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Left overlay – title and metrics only, evenly distributed */
.landing-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  max-width: 820px;
  height: 100%;
  min-height: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.86) 45%,
    rgba(0, 0, 0, 0.55) 80%,
    transparent 100%
  );
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: calc(var(--landing-nav-height) + 1rem) 2.5rem 2rem 3.5rem;
  box-sizing: border-box;
}

.landing-hero-text-block {
  flex-shrink: 0;
}

.landing-hero-overlay .landing-hero-title {
  flex-shrink: 0;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.landing-hero-title .title-accent {
  color: #e6a23c;
  display: block;
  margin-top: 0.12em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.landing-hero-title .title-accent2 {
  color: #c47c0d;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.landing-hero-desc {
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  color: #fff;
  line-height: 1.5;
  max-width: 520px;
  margin: 1rem 0 0 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.landing-hero-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  margin: 1.25rem 0 0 0;
  max-width: 520px;
}

.landing-hero-metrics {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
  max-width: 540px;
}

.landing-hero-metric {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  align-items: flex-start;
}

.landing-hero-metric-value {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #c47c0d;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.landing-hero-metric-label {
  font-size: clamp(0.75rem, 0.95vw, 0.9rem);
  color: #fff;
  margin-top: 0.3rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  line-height: 1.25;
}

@media (max-width: 991px) {
  .landing-hero-overlay {
    width: 80%;
    padding: 1.5rem 2rem;
  }

  .landing-hero-overlay .landing-hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  }

  .landing-hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1.25rem;
  }

  .landing-hero-metric-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .landing-hero-metric-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .landing-hero-overlay {
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.85) 100%
    );
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
  }

  .landing-hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .landing-hero-overlay .landing-hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .landing-hero-metric-value {
    font-size: 1.75rem;
  }
}

/* ----- About section (two-column + 18 groups grid) ----- */
.about-section {
  background: #f7f3e5;
  padding: 4rem 0;
}

.about-intro-wrap {
  background: #fbf9ef;
  padding: 2.5rem 1.5rem;
  margin: 0 -15px 0 -15px;
  border-radius: 0;
}

.about-intro {
  margin-bottom: 0;
}

.about-pill {
  display: inline-block;
  background: #2d8a5e;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: none;
}

.about-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-headline-accent {
  color: #e6a23c;
}

.about-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-metric-boxes {
  margin-top: 1.5rem;
}

.about-metric-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-metric-box-yellow {
  background: #fef9e7;
  border-color: #f0d43a;
}

.about-metric-box-green {
  background: #e8f5e9;
  border-color: #2d8a5e;
}

.about-metric-box-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #2d8a5e;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-metric-box-label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.about-intro-right {
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .about-intro-right {
    margin-top: 0;
  }
}

.about-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.about-image-wrap.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-image-wrap:hover .about-image {
  transform: scale(1.06);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 320px;
  transition: transform 0.45s ease;
}

.about-image-overlay-metric {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: #f5d547;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.about-image-overlay-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.about-image-overlay-label {
  font-size: 0.9rem;
  color: #333;
}

/* 18 Special Interest Groups */
.about-groups {
  background: #fcf6e4;
  padding: 2.5rem 1.5rem 2rem;
  margin: 0 -15px 0 -15px;
  border-radius: 0;
}

.about-groups-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.about-groups-title-num {
  color: #e6a23c;
}

.about-groups-subtitle {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 640px;
}

.about-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-group-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, box-shadow 0.25s ease;
}

.about-groups-grid.cards-in-view .about-group-card {
  opacity: 1;
  transform: translateY(0);
}

.about-groups-grid.cards-in-view .about-group-card:nth-child(1) { transition-delay: 0.02s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(2) { transition-delay: 0.05s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(3) { transition-delay: 0.08s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(4) { transition-delay: 0.11s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(5) { transition-delay: 0.14s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(6) { transition-delay: 0.17s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(7) { transition-delay: 0.2s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(8) { transition-delay: 0.23s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(9) { transition-delay: 0.26s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(10) { transition-delay: 0.29s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(11) { transition-delay: 0.32s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(12) { transition-delay: 0.35s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(13) { transition-delay: 0.38s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(14) { transition-delay: 0.41s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(15) { transition-delay: 0.44s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(16) { transition-delay: 0.47s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(17) { transition-delay: 0.5s; }
.about-groups-grid.cards-in-view .about-group-card:nth-child(18) { transition-delay: 0.53s; }

.about-group-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  transition-delay: 0s;
}

.about-groups-grid.cards-in-view .about-group-card:hover {
  transform: translateY(-4px);
}

.about-group-icon-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-group-icon-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.about-group-card:hover .about-group-icon-img {
  transform: scale(1.08);
}

.about-group-icon-fallback {
  font-size: 2rem;
  color: #e6a23c;
  transition: transform 0.25s ease, color 0.2s ease;
}

.about-group-card:hover .about-group-icon-fallback {
  transform: scale(1.1);
  color: #c47c0d;
}

.about-group-body {
  flex: 1;
  min-width: 0;
}

.about-group-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.about-group-members {
  display: block;
  font-size: 0.85rem;
  color: #1a9d7a;
  font-weight: 600;
}

.about-group-saccos {
  display: block;
  font-size: 0.85rem;
  color: #c47c0d;
  font-weight: 600;
}

.about-summary-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.about-summary-stat {
  text-align: center;
}

.about-summary-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-summary-value-teal {
  color: #1a9d7a;
}

.about-summary-value-orange {
  color: #c47c0d;
}

.about-summary-label {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .about-groups-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .about-group-card {
    padding: 1rem;
  }

  .about-group-name {
    font-size: 0.9rem;
  }
}

/* ----- What We Do / Program Activities (tabbed section) ----- */
.activities-section {
  background: #fbf9ef;
  padding: 4rem 0;
}

.activities-pill {
  display: inline-block;
  background: #f5e6b8;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.activities-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.activities-title-accent {
  color: #c47c0d;
}

.activities-subtitle {
  color: #555;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.activities-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.activities-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.activities-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.activities-tab:hover {
  background: #faf8f0;
  border-color: rgba(0, 0, 0, 0.18);
}

.activities-tab.active {
  background: #f5e6b8;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1a1a1a;
}

.activities-tab i {
  font-size: 0.85rem;
  opacity: 0.9;
}

.activities-content {
  min-height: 280px;
}

.activities-pane {
  display: none;
}

.activities-pane.active {
  display: block;
}

.activities-pane-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activities-pane-title i {
  color: #c47c0d;
}

.activities-pane-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Gallery slider: 4 visible, arrows, track animation */
.activities-gallery-wrap {
  position: relative;
  padding: 0 2.5rem;
}

.activities-gallery-viewport {
  overflow: hidden;
  border-radius: 10px;
}

.activities-gallery-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.activities-gallery-item {
  flex: 0 0 25%;
  padding: 0 0.35rem;
  box-sizing: border-box;
}

.activities-gallery-item:first-child {
  padding-left: 0;
}

.activities-gallery-item:last-child {
  padding-right: 0;
}

.activities-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.activities-gallery-item:hover img {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.activities-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.activities-gallery-arrow:hover {
  background: #f5e6b8;
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.activities-gallery-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.activities-gallery-prev {
  left: 0;
}

.activities-gallery-next {
  right: 0;
}

@media (max-width: 991px) {
  .activities-tabs {
    gap: 0.4rem;
  }

  .activities-tab {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }

  .activities-gallery-wrap {
    padding: 0 2.25rem;
  }

  .activities-gallery-item {
    flex: 0 0 50%;
  }

  .activities-gallery-item img {
    height: 160px;
  }
}

@media (max-width: 575px) {
  .activities-gallery-wrap {
    padding: 0 2rem;
  }

  .activities-gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .activities-gallery-item {
    flex: 0 0 100%;
  }

  .activities-gallery-item img {
    height: 140px;
  }
}

/* ----- Sections (rest of landing page) ----- */
.landing-body-offset section {
  padding: 4rem 0;
  min-height: 40vh;
}

/* Hero starts immediately below nav – no extra top spacing */
.landing-body-offset .landing-hero-wrap {
  padding-top: 0;
  margin-top: 0;
}

.card-testimonial {
  height: 100%;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

/* ----- Lives Transformed (Success Stories / Video grid) ----- */
section#success-stories.lives-transformed-section {
  background: #f5f2eb;
  padding: 4rem 0;
}

section#success-stories.lives-transformed-section .container > .lives-transformed-pill,
section#success-stories.lives-transformed-section .container > .lives-transformed-title,
section#success-stories.lives-transformed-section .container > .lives-transformed-subtitle {
  text-align: center;
}

section#success-stories.lives-transformed-section .lives-transformed-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: #fef9e7;
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  border-radius: 20px;
}

section#success-stories.lives-transformed-section .lives-transformed-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

section#success-stories.lives-transformed-section .lives-transformed-title-accent {
  color: #1a5f2a;
}

section#success-stories.lives-transformed-section .lives-transformed-subtitle {
  color: #555;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

section#success-stories.lives-transformed-section .lives-transformed-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

section#success-stories.lives-transformed-section .lives-transformed-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

section#success-stories.lives-transformed-section .lives-transformed-thumb-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
}

section#success-stories.lives-transformed-section .lives-transformed-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#success-stories.lives-transformed-section .lives-transformed-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f9a825;
  color: #fff;
  border: 3px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.2s, transform 0.2s;
}

section#success-stories.lives-transformed-section .lives-transformed-card:hover .lives-transformed-play {
  background: #e67e22;
  transform: translate(-50%, -50%) scale(1.08);
}

section#success-stories.lives-transformed-section .lives-transformed-region {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

section#success-stories.lives-transformed-section .region-western {
  background: #2e7d32;
}
section#success-stories.lives-transformed-section .region-central {
  background: #1565c0;
}
section#success-stories.lives-transformed-section .region-eastern {
  background: #e65100;
}
section#success-stories.lives-transformed-section .region-national {
  background: #6a1b9a;
}

section#success-stories.lives-transformed-section .lives-transformed-body {
  padding: 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}

section#success-stories.lives-transformed-section .lives-transformed-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

section#success-stories.lives-transformed-section .lives-transformed-card-desc {
  font-size: 0.82rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}

section#success-stories.lives-transformed-section .lives-transformed-desc-icon {
  margin-right: 0.35rem;
  color: #e67e22;
}

section#success-stories.lives-transformed-section .lives-transformed-more {
  display: none;
}

section#success-stories.lives-transformed-section .lives-transformed-more.is-visible {
  display: block;
}

section#success-stories.lives-transformed-section .btn-lives-transformed-next {
  padding: 0.6rem 1.5rem;
  background: #f9a825;
  color: #1a1a1a;
  border: 1px solid #e69500;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

section#success-stories.lives-transformed-section .btn-lives-transformed-next:hover {
  background: #e69500;
  color: #1a1a1a;
  border-color: #c77f00;
}

section#success-stories.lives-transformed-section .lives-transformed-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

section#success-stories.lives-transformed-section .lives-transformed-modal.is-open {
  opacity: 1;
  visibility: visible;
}

section#success-stories.lives-transformed-section .lives-transformed-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
}

section#success-stories.lives-transformed-section .lives-transformed-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
}

section#success-stories.lives-transformed-section .lives-transformed-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: #fff;
  color: #333;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}

section#success-stories.lives-transformed-section .lives-transformed-modal-close:hover {
  background: #f0f0f0;
  color: #000;
}

section#success-stories.lives-transformed-section .lives-transformed-modal-video-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

section#success-stories.lives-transformed-section .lives-transformed-modal-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ----- How to Join Emyooga ----- */
.how-to-join-section {
  background: #fbf9ef;
  padding: 4rem 0;
}

.how-to-join-section .container > .how-to-join-pill,
.how-to-join-section .container > .how-to-join-title,
.how-to-join-section .container > .how-to-join-subtitle {
  text-align: center;
}

.how-to-join-pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: #fef9e7;
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.how-to-join-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.how-to-join-title-accent {
  color: #e67e22;
}

.how-to-join-subtitle {
  color: #333;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.how-to-join-main {
  align-items: stretch;
  margin-bottom: 2rem;
}

.how-to-join-steps-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-to-join-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fefcf5;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.how-to-join-step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #f9a825;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.how-to-join-step-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.how-to-join-step-body {
  flex: 1;
}

.how-to-join-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.35rem 0;
}

.how-to-join-step-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.45;
}

/* How to join – collapsible accordion */
.how-to-join-accordion-col {
  max-height: 600px;
  overflow-y: auto;
}

.how-to-join-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.how-to-join-accordion-item {
  background: #fefcf5;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.how-to-join-accordion-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.how-to-join-accordion-head::-webkit-details-marker {
  display: none;
}

.how-to-join-accordion-head::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: auto;
  font-size: 0.85rem;
  color: #e67e22;
  transition: transform 0.25s ease;
}

.how-to-join-accordion-item[open] .how-to-join-accordion-head::after {
  transform: rotate(180deg);
}

.how-to-join-accordion-head:hover {
  background: rgba(230, 126, 34, 0.08);
}

.how-to-join-accordion-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: #e67e22;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.how-to-join-accordion-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  padding-left: calc(1.25rem + 32px + 0.75rem);
}

@media (max-width: 767px) {
  .how-to-join-accordion-body {
    padding-left: 1.25rem;
  }
}

.how-to-join-accordion-body p,
.how-to-join-accordion-body ul {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.55;
  margin: 0 0 0.75rem 0;
}

.how-to-join-accordion-body p:last-child,
.how-to-join-accordion-body ul:last-child {
  margin-bottom: 0;
}

.how-to-join-accordion-body ul {
  padding-left: 1.25rem;
}

.how-to-join-accordion-body li {
  margin-bottom: 0.35rem;
}

.how-to-join-accordion-body strong {
  color: #1a1a1a;
}

.how-to-join-why-card {
  background: #fefcf5;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.how-to-join-why-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.how-to-join-why-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.how-to-join-why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}

.how-to-join-benefits {
  margin: 0 -0.5rem;
}

.how-to-join-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

.how-to-join-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.how-to-join-check {
  color: #2e7d32;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.how-to-join-who-card {
  background: #fefcf5;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 2rem;
  text-align: center;
}

.how-to-join-who-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
}

.how-to-join-who-desc {
  font-size: 0.95rem;
  color: #333;
  margin: 0 auto 1.25rem auto;
  line-height: 1.5;
  max-width: 720px;
}

.how-to-join-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.how-to-join-pill-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: #fef9e7;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(230, 126, 34, 0.3);
}

/* ----- Value Addition & Facilities ----- */
.value-addition-facilities-section {
  background: #f5f5f5;
  padding: 4rem 0;
}

.value-addition-facilities-section .value-addition-pill {
  display: inline-block;
  color: #e67e22;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.value-addition-facilities-section .value-addition-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a5f2a;
  margin-bottom: 0.5rem;
}

.value-addition-facilities-section .value-addition-subtitle {
  color: #555;
  margin-bottom: 2rem;
  max-width: 720px;
}

.value-addition-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.value-addition-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.value-addition-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.value-addition-icon-building {
  background: #fef9e7;
  color: #b7950b;
}

.value-addition-icon-gear {
  background: #fef9e7;
  color: #b7950b;
}

.value-addition-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.2rem 0;
}

.value-addition-card-subtitle {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

.value-addition-stat-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.value-addition-stat-boxes-two .value-addition-stat-box {
  flex: 1;
  min-width: 140px;
}

.value-addition-stat-box {
  flex: 1;
  min-width: 80px;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.value-addition-stat-box.stat-box-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.value-addition-stat-box.stat-box-yellow {
  background: #fff8e1;
  color: #e65100;
}

.value-addition-stat-box.stat-box-blue {
  background: #e3f2fd;
  color: #1565c0;
}

.value-addition-stat-box.stat-box-pink {
  background: #fce4ec;
  color: #ad1457;
}

.value-addition-stat-num {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.value-addition-stat-label {
  font-size: 0.75rem;
  color: #555;
}

.value-addition-stat-icon {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.value-addition-stat-box.stat-box-green .value-addition-stat-icon { color: #2e7d32; }
.value-addition-stat-box.stat-box-yellow .value-addition-stat-icon { color: #e65100; }

.value-addition-chart-wrap {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-addition-chart-wrap canvas {
  max-width: 100%;
  max-height: 220px;
}

.value-addition-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #555;
  justify-items: start;
  max-width: 100%;
}

.value-addition-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.value-addition-legend .legend-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .value-addition-stat-boxes .value-addition-stat-box {
    min-width: calc(50% - 0.3rem);
  }
  .value-addition-stat-boxes-two .value-addition-stat-box {
    min-width: 100%;
  }
  .value-addition-legend {
    grid-template-columns: 1fr;
  }
}

/* ----- Landing CTA (action button) ----- */
.landing-cta-section {
  background: #fbf9ef;
  padding: 3rem 0;
}

.landing-cta-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: #f9a825;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.landing-cta-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
}

.landing-cta-desc {
  font-size: 0.95rem;
  color: #333;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.landing-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.landing-cta-btn-apply {
  padding: 0.6rem 1.5rem;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.landing-cta-btn-apply:hover {
  background: #218838;
  color: #fff;
}

.landing-cta-btn-apply i {
  margin-left: 0.35rem;
}

.landing-cta-btn-contact {
  padding: 0.6rem 1.5rem;
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #333;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.landing-cta-btn-contact:hover {
  background: #f0f0f0;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

/* ----- Landing Footer ----- */
.landing-footer {
  background: #1a5f2a;
  color: #fff;
  padding: 3rem 0 0 0;
}

.landing-footer-row {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.landing-footer-logo-img {
  width: 40px;
  height: 40px;
  min-width: 40px;
  object-fit: contain;
  display: block;
}

.landing-footer-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #e67e22;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.landing-footer-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.landing-footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.landing-footer-social {
  display: flex;
  gap: 0.5rem;
}

.landing-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.landing-footer-social a:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Social brand colors (real-life look) */
.landing-footer-social a.landing-footer-social-fb {
  background: #1877f2;
  border-color: #1877f2;
}
.landing-footer-social a.landing-footer-social-fb:hover {
  background: #166fe5;
  border-color: #166fe5;
}

.landing-footer-social a.landing-footer-social-x {
  background: #000;
  border-color: #000;
}
.landing-footer-social a.landing-footer-social-x:hover {
  background: #333;
  border-color: #333;
}

.landing-footer-social a.landing-footer-social-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border: none;
}
.landing-footer-social a.landing-footer-social-ig:hover {
  opacity: 0.95;
  filter: brightness(1.1);
}

.landing-footer-social a.landing-footer-social-tiktok {
  background: #000;
  border-color: #000;
}
.landing-footer-social a.landing-footer-social-tiktok:hover {
  background: #333;
  border-color: #333;
}

.landing-footer-social a.landing-footer-social-yt {
  background: #ff0000;
  border-color: #ff0000;
}
.landing-footer-social a.landing-footer-social-yt:hover {
  background: #cc0000;
  border-color: #cc0000;
}

/* Inline SVG social icons (actual logos, actual colors) */
.landing-footer-social a.landing-footer-social-svg {
  padding: 0;
}
.landing-footer-social a.landing-footer-social-svg svg {
  display: block;
  flex-shrink: 0;
}
.landing-footer-social a.landing-footer-social-x.landing-footer-social-svg {
  color: #fff;
}
.landing-footer-social a.landing-footer-social-tiktok.landing-footer-social-svg {
  color: #fff;
}

.landing-footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.landing-footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.landing-footer-links a:hover {
  color: #fff;
}

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

.landing-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.landing-footer-contact li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
}

.landing-footer-contact a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}

.landing-footer-contact a:hover {
  color: #fff;
}

.landing-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.landing-footer-legal {
  display: flex;
  gap: 1rem;
}

.landing-footer-legal a {
  color: rgba(255, 255, 255, 0.9);
}

.landing-footer-legal a:hover {
  color: #fff;
}

/* ----- Back to top (floating) ----- */
.landing-back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a5f2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, background 0.2s, transform 0.2s;
}

.landing-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.landing-back-to-top:hover {
  background: #2e7d32;
  color: #fff;
  transform: translateY(-2px);
}
