/* ============================================================
   KBCCI — MASTER STYLESHEET
   Merged from Template, Homepage, About, Membership & Contact
   Deduplicated and optimised.
   ============================================================ */

/* ---------- ROOT VARIABLES (brand tokens) ---------- */
:root {
  --kbcci-black: #17191c;
  --kbcci-red: #c43a34;
  --kbcci-green: #2f7a43;
  --green-100: #eaf8f2;
  --green-500: #18a878;
  --green-900: #084a38;
  --kbcci-yellow: #f1b810;
  --white: #ffffff;
  --ink: #0f172a;
  --muted: #68736e;
  --line: #dbe6e0;
  --soft: #f6faf8;
  --shadow: 0 30px 80px rgba(5, 47, 36, 0.14);
}

/* ---------- BASE & UTILITY ---------- */
html,
body {
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}

.t-primary {
  color: #c43a34;
}
.t-yellow {
  color: var(--kbcci-yellow);
}
.t-green {
  color: var(--kbcci-green);
}
.t-red {
  color: var(--kbcci-red);
}

.fade-up {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

.swap-words {
  display: inline-block;
  background: var(--kbcci-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  white-space: nowrap;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  opacity: 1;
  transform: translateY(0);
}
.swap-words.is-out {
  opacity: 0;
  transform: translateY(6px);
}

/* ---------- SPINNER ---------- */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}
#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* ---------- BUTTONS ---------- */
.btn {
  transition: 0.5s;
}
.btn-square {
  width: 38px;
  height: 38px;
}
.btn-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}
.btn-cta--primary {
  background: var(--kbcci-yellow);
  color: #19212b;
  border: 0;
  box-shadow: 0 12px 28px rgba(47, 122, 67, 0.28);
}
.btn-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 122, 67, 0.34);
}
.btn-cta--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-cta--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}
.btn-cta--soft {
  background: #f3f4f6;
  color: #111;
  border: 1px solid rgba(17, 24, 39, 0.08);
}
.btn-cta--soft:hover {
  background: #e5e7eb;
}

/* ---------- NAVBAR ---------- */
.sticky-top {
  transition: 0.5s;
}
.navbar {
  padding: 15px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}
.navbar .navbar-nav .nav-link {
  position: relative;
  margin-left: 30px;
  padding: 0;
  outline: none;
  color: #f1b810;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #2f7a43;
}
.navbar .navbar-nav .nav-link.active {
  font-weight: 700;
}
.navbar .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--kbcci-green);
}
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
  color: var(--bs-white);
  background: var(--bs-primary);
}
@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 12px;
    border-radius: 10px;
  }
  .navbar .navbar-nav .nav-link.active {
    background: rgba(47, 122, 67, 0.1);
  }
  .navbar .navbar-nav .nav-link.active::after {
    left: 0;
    right: auto;
    top: 10px;
    bottom: 10px;
    width: 4px;
    height: auto;
  }
}
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }
  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/* ---------- HERO (base + shared) ---------- */
.hero-header {
  margin-top: -120px;
  padding-top: 150px;
  background: url(../img/hero-bg.jpg) top center no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.hero--kbcci {
  background:
    radial-gradient(
      70% 55% at 15% 10%,
      rgba(241, 184, 16, 0.15),
      transparent 60%
    ),
    radial-gradient(
      60% 60% at 80% 25%,
      rgba(196, 58, 52, 0.12),
      transparent 60%
    ),
    radial-gradient(
      65% 60% at 70% 80%,
      rgba(47, 122, 67, 0.12),
      transparent 60%
    ),
    var(--kbcci-black) !important;
  background-image: none !important;
}
.hero--kbcci::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.1));
  z-index: 0;
}

#logoNormal {
  margin-top: -60px;
  margin-bottom: -30px;
}
.kbcci-logo {
  width: 120px;
  height: auto;
}

.kbcci-logo2 {
  width: 120px;
  height: auto;
}

/* Brand arc with nodes */
.kbcci-arc {
  position: absolute;
  left: -120px;
  top: -80px;
  width: 560px;
  height: 560px;
  z-index: 0;
  opacity: 0.25;
}
.kbcci-arc::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(18deg);
}
.node {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  transform: rotate(30deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.node--kbcci-red {
  background: var(--kbcci-red);
  top: 18%;
  left: 36%;
  animation: floatN 8s ease-in-out infinite;
}
.node--green {
  background: var(--kbcci-green);
  top: 58%;
  left: 14%;
  animation: floatN 10s ease-in-out infinite 0.2s;
}
.node--kbcci-yellow {
  background: var(--kbcci-yellow);
  top: 8%;
  left: 68%;
  animation: floatN 12s ease-in-out infinite 0.4s;
}

@keyframes floatN {
  0% {
    transform: translateY(0) rotate(30deg);
  }
  100% {
    transform: translateY(-10px) rotate(36deg);
  }
}

.kbcci-title {
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  font-size: 5.5rem;
}
.kbcci-sub {
  color: #e8ecf3;
  max-width: 54ch;
  margin-bottom: 14px;
}

/* ---------- HEADER CAROUSEL ---------- */
.hero-header .header-carousel {
  padding: 0 !important;
  z-index: 1;
}
.hero-header .header-carousel::before {
  content: none !important;
}
.hero-header .header-carousel .item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.hero-header .header-carousel .item img {
  display: block;
  width: 100%;
  height: 700px;
  border-radius: 14px;
  object-fit: cover;
}
.hero-header .header-carousel .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.55));
  z-index: 1;
  pointer-events: none;
}
.hero-header .header-carousel .caption {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, calc(-50% + 8px));
  width: min(92%, 680px);
  text-align: center;
  color: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(23, 25, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  line-height: 1.3;
  opacity: 0;
  z-index: 2;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.hero-header .header-carousel .owl-item.active .caption {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-delay: 0.1s;
}
.hero-header .header-carousel .caption .kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 6px;
}
.hero-header .header-carousel .caption .title {
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 800;
  margin: 0 0 6px;
}
.hero-header .header-carousel .caption .meta {
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  opacity: 0.95;
  margin: 0;
}
.hero-header .header-carousel .caption .btn-mini {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  background: var(--kbcci-green);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.hero-header .header-carousel .caption .btn-mini:hover {
  transform: translateY(-1px);
}
.hero-header .owl-dots {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-header .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: transparent;
}
.hero-header .owl-dot.active {
  background: #fff;
  height: 18px;
}

/* Members Prtners */
/* ── Carousel wrapper ── */
.members-carousel-wrapper {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 52px;
}

/* ── Viewport ── */
.members-carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  padding: 6px 0;
}

/* ── Track ── */
.members-carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ── Fixed: Grid forced to 2 rows of 4 items ── */
.members-carousel-slide {
  flex: 0 0 100%;
  min-width: 0; /* Prevents overflow sizing bugs */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 18px;
  padding: 8px 4px;
}

/* ── Member logo card ── */
.member-logo {
  height: 140px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transform: scale(0.95);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    opacity 0.4s ease;
}

/* When intersection observer fires trigger animation */
.member-logo.animate {
  opacity: 1;
  transform: scale(1);
}

.member-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.35s ease;
  display: block;
}

.member-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(
    47,
    122,
    67,
    0.2
  ); /* Soft integration with primary green CTA */
}

.member-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ── Navigation arrows ── */
.members-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  color: #1a2b4a;
  font-size: 24px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  user-select: none;
}

.members-carousel-btn:hover {
  background: #1a2b4a;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(26, 43, 74, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.members-carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.members-carousel-btn.prev {
  left: 4px;
}
.members-carousel-btn.next {
  right: 4px;
}

/* ── Dots ── */
.members-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.members-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd5e3;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.members-carousel-dot.active {
  background: #1a2b4a;
  transform: scale(1.3);
}

/* ── RESPONSIVE RESPONSIVENESS FOR 2-ROWS ── */

/* Tablet: 3 columns, 2 rows = Max 6 visible logos per view */
@media (max-width: 1024px) {
  .members-carousel-slide {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .member-logo {
    height: 120px;
    padding: 15px;
  }
  .members-carousel-wrapper {
    padding: 0 44px;
  }
}

/* Mobile: 2 columns, 2 rows = Max 4 visible logos per view */
@media (max-width: 640px) {
  .members-carousel-slide {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .member-logo {
    height: 105px;
    padding: 12px;
  }
  .members-carousel-wrapper {
    padding: 0 36px;
  }
  .members-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .member-logo {
    height: 88px;
    padding: 9px;
  }
  .members-carousel-wrapper {
    padding: 0 24px;
  }
  .members-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  padding-top: 2.5rem;
  background: #f9fafb;
}
.about-section .row.g-5.align-items-center {
  align-items: flex-start !important;
}
.about-section .row.g-5 {
  --bs-gutter-y: 1rem !important;
}
.about-section .col-lg-6:first-child > .row {
  margin-top: 0 !important;
  --bs-gutter-y: 0.5rem !important;
}
.about-section .about-img-card {
  margin-top: 0 !important;
}
.about-section .wow {
  margin-top: 0 !important;
}

.about-heading {
  font-weight: 800;
  line-height: 1.1;
}
.about-heading span {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.about-heading span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--kbcci-green),
    var(--kbcci-green),
    var(--kbcci-green)
  );
  transform-origin: left;
  transform: scaleX(0);
  animation: aboutUnderline 0.8s ease forwards 0.2s;
}
@keyframes aboutUnderline {
  to {
    transform: scaleX(1);
  }
}
.about-lead {
  color: #4b5563;
}

.about-img-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img-card:hover img {
  transform: scale(1.05);
}
.about-img-card.about-img-tall {
  height: 560px;
}

.about-ribbon {
  height: calc(100% - 480px - 1rem);
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--kbcci-green);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* ---------- FEATURE CARDS ---------- */
#kbcci-feature-cards {
  row-gap: 24px;
  margin-top: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  height: 100%;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.feature-card i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 28px;
  color: #f1b810;
}
.feature-card h6 {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--ink);
}
.feature-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* ---------- WHY KBCCI (left column) ---------- */
.kbcci-why {
  padding: 30px 25px;
  border-radius: 16px;
}
.kbcci-why .about-heading {
  font-weight: 800;
  line-height: 1.2;
  position: relative;
}
.kbcci-why .about-heading span {
  color: var(--kbcci-green);
  position: relative;
}
.kbcci-why .about-heading span::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--kbcci-green), var(--kbcci-green));
  border-radius: 2px;
}
.kbcci-why .about-lead {
  color: #374151;
  font-size: 1.05rem;
}
/* ---------- SERVICES (vision/mission) ---------- */
.kbcci-services {
  background: #f8fafc;
}
.service-item {
  position: relative;
  padding: 30px 25px;
  transition: 0.5s;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.service-item.bg-primary {
  background: var(--kbcci-green) !important;
}
.service-item.bg-primary p {
  color: #fff;
  transition: 0.5s;
}
.service-item.bg-primary:hover h3 {
  color: var(--kbcci-yellow);
}
.service-item.bg-light {
  background: #f7f7fa !important;
}
.service-item.bg-light p {
  color: #374151;
  transition: 0.5s;
}
.service-item.bg-light:hover {
  background: var(--kbcci-yellow);
}
.service-item.bg-light:hover p {
  color: #111;
}
.service-item.bg-light:hover h3 {
  color: var(--kbcci-yellow);
}
.service-item .service-img h3 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 12px 7px 0;
  font-weight: 700;
}
.service-item.bg-primary:hover .service-img h3 {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
}
.service-item.bg-light .service-img h3 {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  transition: 0.5s;
}
.service-img {
  overflow: hidden;
  border-radius: 12px;
}
.service-img img {
  transition: transform 0.6s ease;
}
.service-img:hover img {
  transform: scale(1.06);
}
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* ---------- PARTNER CARDS ---------- */
.partner-card {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  padding: 28px 20px 22px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-color: #f1b810;
}
.partner-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f1b810;
  margin: 0 auto 14px;
  display: block;
}
.partner-name {
  font-weight: 800;
  font-size: 1rem;
  color: #111827;
  margin: 0 0 4px;
}
.partner-title {
  font-size: 0.85rem;
  color: #2f7a43;
  font-weight: 600;
  margin: 0 0 6px;
}
.partner-org {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

/* ---------- EVENTS / TESTIMONIALS ---------- */
.kbcci-events {
  background: #fff;
}
.kbcci-events .testimonial-img {
  position: relative;
  padding: 36px 0 36px 84px;
}
.kbcci-events .testimonial-img::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(50% + 42px);
  background: linear-gradient(
    135deg,
    rgba(47, 122, 67, 0.1),
    rgba(241, 184, 16, 0.1)
  );
  z-index: -1;
  border-radius: 8px;
}
.kbcci-events .testimonial-img img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
}
.kbcci-events .badge-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--kbcci-yellow);
  color: #111;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.kbcci-events .testimonial-text h3 {
  color: #111827;
  font-weight: 800;
}
.kbcci-events .testimonial-text p {
  color: #4b5563;
}
.kbcci-events .testimonial-text h5 {
  color: #111827;
  position: relative;
  padding-left: 45px;
}
.kbcci-events .testimonial-text h5::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: var(--kbcci-green);
}
.kbcci-events .testimonial-carousel .owl-dot {
  background: #fff;
  border: 2px solid var(--kbcci-green);
  transition: 0.35s;
}
.kbcci-events .testimonial-carousel .owl-dot.active {
  background: var(--kbcci-green);
}
@media (max-width: 991.98px) {
  .kbcci-events .testimonial-img {
    padding: 20px 0 20px 56px;
  }
  .kbcci-events .testimonial-img::before {
    width: calc(50% + 28px);
  }
}
@media (max-width: 575.98px) {
  .kbcci-events .testimonial-img {
    padding: 16px;
  }
  .kbcci-events .testimonial-img::before {
    width: 100%;
    border-radius: 12px;
  }
}

/* ---------- ABOUT HERO (page) ---------- */
.kbcci-about-hero {
  position: relative;
  margin-top: -120px;
  padding-top: 150px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 600px at 10% -10%,
      rgba(47, 122, 67, 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 110% 0%,
      rgba(241, 184, 16, 0.25),
      transparent 70%
    ),
    linear-gradient(180deg, #0b1110, #111a17 40%, #121212 100%);
}
.kbcci-about-hero .kbcci-arc {
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
  filter: blur(0.2px);
  border: 1px solid rgba(241, 184, 16, 0.35);
  border-radius: 999px;
  animation: arcFloat 18s linear infinite;
}
.kbcci-about-hero .arc-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -120px;
}
.kbcci-about-hero .arc-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -80px;
  animation-duration: 22s;
}
@keyframes arcFloat {
  0% {
    transform: rotate(0deg) translateZ(0);
  }
  100% {
    transform: rotate(360deg) translateZ(0);
  }
}
.kbcci-about-hero .kbcci-badge {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #111;
  background: var(--kbcci-yellow);
  box-shadow: 0 10px 24px rgba(47, 122, 67, 0.25);
}
.kbcci-about-hero .grad-underline {
  position: relative;
  display: inline-block;
}
.kbcci-about-hero .grad-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 6px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--kbcci-green),
    var(--kbcci-green),
    var(--kbcci-green)
  );
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 0.8s ease forwards 0.35s;
}
@keyframes underlineIn {
  to {
    transform: scaleX(1);
  }
}
@media (max-width: 991.98px) {
  .kbcci-about-hero {
    padding-top: 140px;
  }
}
@media (max-width: 575.98px) {
  .kbcci-about-hero {
    padding-top: 120px;
  }
  .kbcci-about-hero .display-1 {
    font-size: 3rem;
  }
}

/* ---------- OBJECTIVES (about page) ---------- */
.objectives-section {
  background: #fff;
}
.objectives-heading {
  font-weight: 800;
  color: #111827;
}
.objectives-highlight {
  background: #f1b810;
  color: #111;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}
.obj-card {
  position: relative;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  animation: objIn 0.6s ease both;
  animation-delay: var(--delay, 0s);
}
.obj-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.obj-card-green::before {
  background: #2f7a43;
}
.obj-card-yellow::before {
  background: #f1b810;
}
.obj-card-red::before {
  background: #c43a34;
}
.obj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}
.obj-card-green:hover {
  background: #eaf4ee;
}
.obj-card-yellow:hover {
  background: #fff6d6;
}
.obj-card-red:hover {
  background: #fde9e8;
}
.icon-badge {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.icon-badge i {
  font-size: 30px;
}
.obj-card-green .icon-badge i {
  color: #2f7a43;
}
.obj-card-yellow .icon-badge i {
  color: #f1b810;
}
.obj-card-red .icon-badge i {
  color: #c43a34;
}
.obj-card:hover .icon-badge {
  transform: scale(1.1);
  background: #fff;
}
.obj-card h4 {
  font-weight: 800;
  color: #111827;
  margin: 0.35rem 0 0.25rem;
  text-align: center;
}
.obj-card p {
  color: #4b5563;
  margin: 0;
  text-align: center;
}
@keyframes objIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- MEMBERSHIP HERO ---------- */
.membership-hero {
  position: relative;
  margin-top: -120px;
  padding-top: 150px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 600px at 10% -10%,
      rgba(47, 122, 67, 0.4),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 110% 0%,
      rgba(241, 184, 16, 0.22),
      transparent 70%
    ),
    linear-gradient(180deg, #0b1110, #0f1715 42%, #111315 100%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
}
.hero-arc {
  position: absolute;
  border-radius: 999px;
  opacity: 0.35;
  filter: blur(0.2px);
  animation: kbArc linear infinite;
}
.hero-arc-1 {
  right: -120px;
  top: -140px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(241, 184, 16, 0.35);
  animation-duration: 22s;
}
.hero-arc-2 {
  left: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(47, 122, 67, 0.35);
  animation-duration: 26s;
  animation-direction: reverse;
}
@keyframes kbArc {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.hero-dots {
  position: absolute;
  right: 6%;
  top: 22%;
  width: 260px;
  height: 170px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.14) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  opacity: 0.5;
  transform: rotate(10deg);
}
.hero-content {
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #111;
  background: #f1b810;
  box-shadow: 0 10px 24px rgba(47, 122, 67, 0.25);
}
.hero-headline {
  margin-top: 0.6rem;
  line-height: 1.05;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero-headline-highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.35rem;
}
.hero-headline-ribbon {
  position: absolute;
  inset: -4px -10px -6px -10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: skewX(-6deg);
}
.hero-headline-text {
  position: relative;
  z-index: 1;
}
.hero-lead {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.9);
}
.hero-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero-btn-primary {
  background: #2f7a43;
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  text-decoration: none;
}
.hero-btn-primary:hover {
  background: #236333;
  color: #fff;
}
.hero-btn-outline {
  background: transparent;
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.hero-panel {
  margin-left: auto;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-radius: 18px;

  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 18px 20px;
}
.hero-panel-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  margin: 0.35rem 0;
  border-radius: 50%;
}
.hero-panel-item i {
  width: 1.2rem;
  text-align: center;
}
.icon-yellow {
  color: #f1b810;
}
.icon-green {
  color: #2f7a43;
}
.icon-red {
  color: #c43a34;
}

/* ---------- MEMBERSHIP SECTIONS ---------- */
.section-title {
  font-weight: 900;
  color: #111827;
}
.section-title-highlight {
  background: #f1b810;
  color: #111;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}
.section-subtitle {
  color: #4b5563;
  max-width: 72ch;
  margin: 10px auto 0;
}

.kb-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.kb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
}
.kb-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.kb-card-icon i {
  font-size: 28px;
}
.bg-green-light {
  background: #eaf4ee;
}
.bg-yellow-light {
  background: #fff6d6;
}
.bg-red-light {
  background: #fde9e8;
}
.text-green {
  color: #2f7a43;
}
.text-yellow {
  color: #8c6a00;
}
.text-red {
  color: #c43a34;
}
.kb-card h5 {
  font-weight: 800;
  color: #111827;
}
.kb-card p {
  color: #4b5563;
}
/* ============================================================
   KB STEPPER — Fully responsive step process
   ============================================================ */

/* ── wrapper: flex container for steps + arrows ── */
.kb-step-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
}

/* ── each step item ── */
.kb-step-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  width: 160px;
}

/* ── step circle ── */
.kb-step-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(17, 24, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.kb-step-item:hover .kb-step-circle {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.step-green .kb-step-circle {
  background: #2f7a43;
  border-color: #2f7a43;
}
.step-yellow .kb-step-circle {
  background: #f1b810;
  border-color: #f1b810;
  color: #111;
}
.step-red .kb-step-circle {
  background: #c43a34;
  border-color: #c43a34;
}

/* ── step text ── */
.kb-step-item h6 {
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px 0;
  font-size: 1rem;
}
.kb-step-item p {
  color: #4b5563;
  font-size: 0.85rem;
  margin: 0;
  max-width: 140px;
  line-height: 1.4;
}

/* ── arrow between steps ── */
.kb-step-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f7a43;
  font-size: 1.6rem;
  padding: 0 4px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  width: 44px;
}
.kb-step-arrow i {
  display: block;
  line-height: 1;
}
.kb-step-arrow:hover {
  color: #f1b810;
  transform: translateX(4px);
}

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

/* Desktop / Laptop (≥ 992px): 4 steps in a row */
@media (min-width: 992px) {
  .kb-step-wrapper {
    flex-wrap: nowrap;
    gap: 0;
  }
  .kb-step-item {
    width: 180px;
    padding: 12px 6px;
  }
  .kb-step-circle {
    width: 50px; /* ← reduced */
    height: 50px; /* ← reduced */
    font-size: 1.2rem;
  }
  .kb-step-arrow {
    font-size: 1.8rem;
    width: 50px;
  }
}

/* Tablet (768–991px): 2 steps per row, arrows down */
@media (min-width: 768px) and (max-width: 991px) {
  .kb-step-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    max-width: 640px;
  }
  .kb-step-item {
    width: 44%;
    padding: 12px 8px;
  }
  .kb-step-circle {
    width: 90px;
    height: 90px;
    font-size: 1.8rem;
  }
  .kb-step-arrow {
    width: 100%;
    font-size: 1.4rem;
    padding: 2px 0;
    transform: rotate(90deg);
    color: #2f7a43;
    opacity: 0.7;
  }
  .kb-step-arrow:hover {
    transform: rotate(90deg) translateY(4px);
  }
  .kb-step-wrapper .kb-step-arrow:last-of-type {
    display: none;
  }
  /* reorder for 2-column layout */
  .kb-step-wrapper .kb-step-item:nth-child(2) {
    order: 3;
  }
  .kb-step-wrapper .kb-step-arrow:nth-child(2) {
    order: 2;
  }
  .kb-step-wrapper .kb-step-item:nth-child(3) {
    order: 5;
  }
  .kb-step-wrapper .kb-step-arrow:nth-child(3) {
    order: 4;
  }
  .kb-step-wrapper .kb-step-item:nth-child(4) {
    order: 7;
  }
  .kb-step-wrapper .kb-step-arrow:nth-child(4) {
    order: 6;
  }
  .kb-step-wrapper .kb-step-item:nth-child(5) {
    order: 8;
  }
  .kb-step-wrapper .kb-step-arrow:nth-child(5) {
    display: none;
  }
}

/* Mobile (≤ 767px): stacked vertically, arrows down */
@media (max-width: 767px) {
  .kb-step-wrapper {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    max-width: 340px;
  }
  .kb-step-item {
    width: 100%;
    padding: 10px 8px;
    flex-direction: row;
    text-align: left;
    gap: 16px;
    align-items: center;
  }
  .kb-step-circle {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .kb-step-item h6 {
    font-size: 0.95rem;
    margin: 0 0 2px 0;
  }
  .kb-step-item p {
    font-size: 0.8rem;
    max-width: 100%;
  }
  .kb-step-item .step-text {
    flex: 1;
    min-width: 0;
  }
  .kb-step-arrow {
    width: 100%;
    font-size: 1.2rem;
    padding: 0 0 2px 0;
    transform: rotate(90deg);
    color: #2f7a43;
    opacity: 0.6;
  }
  .kb-step-arrow:hover {
    transform: rotate(90deg) translateY(3px);
  }
  .kb-step-wrapper .kb-step-arrow:last-of-type {
    display: none;
  }
}

/* Small mobile (≤ 400px): tighter spacing */
@media (max-width: 400px) {
  .kb-step-item {
    padding: 8px 4px;
    gap: 12px;
  }
  .kb-step-circle {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
  .kb-step-item h6 {
    font-size: 0.85rem;
  }
  .kb-step-item p {
    font-size: 0.75rem;
  }
  .kb-step-arrow {
    font-size: 1rem;
    padding: 0;
  }
}

/* ---------- CONTACT HERO ---------- */
.kbcci-contact-hero {
  position: relative;
  margin-top: -120px;
  padding-top: 150px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 600px at 10% -10%,
      rgba(47, 122, 67, 0.4),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 110% 0%,
      rgba(241, 184, 16, 0.22),
      transparent 70%
    ),
    linear-gradient(180deg, #0b1110, #0f1715 42%, #111315 100%);
}
.kbcci-contact-hero .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35));
}
.kbcci-contact-hero .hero-arc-1 {
  right: -120px;
  top: -140px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(241, 184, 16, 0.35);
  animation: kbcciArc 22s linear infinite;
}
.kbcci-contact-hero .hero-arc-2 {
  left: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(47, 122, 67, 0.35);
  animation: kbcciArc 26s linear infinite reverse;
}
@keyframes kbcciArc {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.kbcci-contact-hero .hero-dots {
  position: absolute;
  right: 6%;
  top: 20%;
  width: 260px;
  height: 170px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.14) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  opacity: 0.5;
  transform: rotate(10deg);
}
.kbcci-contact-hero .hero-content {
  z-index: 2;
}
.kbcci-contact-hero .hero-badge {
  display: inline-block;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #111;
  background: #f1b810;
  box-shadow: 0 10px 24px rgba(47, 122, 67, 0.25);
  animation: kbcciFadeDown 0.7s ease both;
}
.kbcci-contact-hero .hero-headline {
  animation: kbcciSlideLeft 0.8s ease both 0.08s;
}
.kbcci-contact-hero .hero-lead {
  animation: kbcciFadeUp 0.75s ease both 0.18s;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  animation: kbcciFadeUp 0.75s ease both 0.26s;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.chip-green {
  background: rgba(47, 122, 67, 0.18);
  color: #e6ffed;
  box-shadow: inset 0 0 0 1px rgba(47, 122, 67, 0.35);
}
.chip-green:hover {
  color: #fff;
  background: rgba(47, 122, 67, 0.35);
}
.chip-red {
  background: rgba(196, 58, 52, 0.2);
  color: #ffe3e1;
  box-shadow: inset 0 0 0 1px rgba(196, 58, 52, 0.35);
}
@keyframes kbcciSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kbcciSlideRight {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kbcciFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kbcciFadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 575.98px) {
  .kbcci-contact-hero {
    padding-top: 120px;
  }
  .kbcci-contact-hero .hero-headline {
    font-size: clamp(2.2rem, 9.6vw, 3.2rem) !important;
  }
}

/* ---------- CONTACT FORM ---------- */
.contact-form-section {
  background: #fff;
}
.contact-section-heading {
  font-weight: 800;
  color: #111827;
}
.contact-section-highlight {
  background: #f1b810;
  color: #111;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-form-note {
  color: #4b5563;
  text-align: center;
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  padding: 22px;
}
.btn-submit {
  background: #2f7a43;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  border: none;
}
.btn-submit:hover {
  background: #236333;
  color: #fff;
}

/* ---------- MAP CARD ---------- */
.map-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.map-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.map-card-header strong {
  color: #111827;
}
.map-toggles {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.map-btn {
  border: none;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.brussels-btn {
  background: #fff6d6;
  color: #8c6a00;
}
.brussels-btn:hover {
  background: #f1e0a0;
}
.mombasa-btn {
  background: #eaf4ee;
  color: #2f7a43;
}
.mombasa-btn:hover {
  background: #cde0d4;
}
.map-wrapper {
  position: relative;
  width: 100%;
  padding-top: 62.5%;
}
.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-card-footer {
  padding: 12px 16px;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
.map-footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #f9fafb;
  color: #111;
  text-decoration: none;
  border: 1px solid rgba(17, 24, 39, 0.08);
}
.map-footer-chip:hover {
  background: #f0f1f3;
  color: #111;
  text-decoration: none;
}

/* ---------- WAITING LIST MODAL ---------- */
#kbcciWaitlistModal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
}
#kbcciWaitlistModal .modal-header {
  background: #2f7a43;
  color: #fff;
}
#kbcciWaitlistModal .modal-header .modal-title {
  font-weight: 800;
  margin: 0;
}
#kbcciWaitlistModal .btn-close-white {
  filter: brightness(0) invert(1);
}
#kbcciWaitlistModal .modal-footer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}
#kbcciWaitlistModal .btn-cancel {
  background: #e5e7eb;
  color: #111;
  border-radius: 8px;
}
#kbcciWaitlistModal .btn-submit-waitlist {
  background: #f1b810;
  color: #111;
  font-weight: 700;
  border-radius: 8px;
}

/* ---------- FOOTER (shared) ---------- */
.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  transition: 0.3s;
}
.footer .btn.btn-link:hover {
  color: var(--bs-white);
  letter-spacing: 1px;
  box-shadow: none;
}
.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}
.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}
.footer .copyright a {
  color: rgba(255, 255, 255, 0.5);
}
.footer .copyright a:hover {
  color: var(--bs-white);
}
.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/* Additional footer styles (from page-specific) – kept for compatibility */
.kbcci-footer {
  background: #0b1110;
  color: rgba(255, 255, 255, 0.75);
}
.kbcci-footer .footer-brand h1 {
  color: #fff;
}
.kbcci-footer .footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.kbcci-foot-heading {
  color: #fff;
  font-weight: 600;
}
.kbcci-footer .social-icons .btn {
  border-color: rgba(47, 122, 67, 0.6);
  color: #2f7a43;
}
.kbcci-footer .social-icons .btn {
  /* border-color: rgba(241, 184, 16, 0.6);
  color: #f1b810; */
  border-color: rgba(47, 122, 67, 0.6);
  color: #2f7a43;
}
/* .kbcci-footer .social-icons .btn:hover {
  background: #f1b810;
  color: #0b1110;
} */
.social-facebook {
  /* border-color: rgba(241, 184, 16, 0.6) !important;
  color: #f1b810 !important; */
  border-color: rgba(47, 122, 67, 0.6) !important;
  color: #2f7a43 !important;
}
.social-instagram {
  /* border-color: rgba(196, 58, 52, 0.6) !important;
  color: #c43a34 !important; */
  border-color: rgba(47, 122, 67, 0.6) !important;
  color: #2f7a43 !important;
}
.social-linkedin {
  border-color: rgba(47, 122, 67, 0.6) !important;
  color: #2f7a43 !important;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.75rem;
}
.footer-links-grid a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 400;
}
.footer-links-grid a:hover {
  color: #fff;
  text-decoration: underline;
}
.copyright {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}
.copyright-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-color: rgba(241, 184, 16, 0.65);
}
.copyright-link:hover {
  color: #f1b810;
}
.footer-menu {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.footer-menu a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.footer-menu a:hover {
  color: #fff;
}

/* ---------- BACK TO TOP (unified) ---------- */
#backToTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1b810;
  color: #2f7a43;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(47, 122, 67, 0.35);
  z-index: 1030;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
#backToTop.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: pulse 1.8s ease-in-out infinite;
}
#backToTop i {
  font-size: 22px;
  line-height: 1;
}
@keyframes pulse {
  0%,
  100% {
    filter: none;
  }
  50% {
    filter: brightness(1.08);
  }
}

/* ---------- Grid Layout Container ---------- */
.hex-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* ---------- Shared Container for Interlocking ---------- */
.hex-stack {
  position: relative;
  /* Accommodates both width and height of the combined interlocking shapes */
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1.6 / 1.5;
}

/* ---------- Base Hexagon Item ---------- */
.hex-item {
  position: absolute;
  width: 55%; /* Scales hexagons relative to the container */
  aspect-ratio: 1 / 1.1547; /* Perfect geometric hexagon ratio */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
}

/* ---- Top Left Hexagon ---- */
.hex-top-left {
  top: 0;
  left: 0;
  z-index: 2;
}

/* ---- Bottom Right Hexagon (Interlocks perfectly at 75% X / 37.5% Y) ---- */
.hex-bottom-right {
  top: 37.5%;
  left: 45%;
  z-index: 1;
}

/* ---------- Images inside hexagons ---------- */
.hex-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Hover Effects (Triggered individually on hover) ---------- */
.hex-item:hover {
  z-index: 5; /* Brings hovered element to the absolute front */
  filter: brightness(1.08) saturate(1.05);
}

.hex-top-left:hover {
  transform: translate(-2%, -2%) scale(1.03);
}

.hex-bottom-right:hover {
  transform: translate(2%, 2%) scale(1.03);
}

.hex-item:hover img {
  transform: scale(1.06);
}

/* ---------- Shadow, Glow & Shine ---------- */
.hex-item::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  box-shadow: inset 0 0 30px rgba(255, 215, 0, 0);
  opacity: 0;
}

.hex-item:hover::after {
  opacity: 1;
  box-shadow: inset 0 0 40px rgba(255, 215, 0, 0.12);
}

.hex-item::before {
  content: "";
  position: absolute;
  inset: -6px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: transparent;
  z-index: -1;
  transition: all 0.5s ease;
  opacity: 0;
}

.hex-item:hover::before {
  opacity: 0.6;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 215, 0, 0.2),
    transparent 70%
  );
  filter: blur(12px);
}

.hex-item .shine {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hex-item:hover .shine {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .hex-stack {
    max-width: 360px;
  }
}

@media (max-width: 400px) {
  .hex-stack {
    max-width: 290px;
  }
}

/* ---------- Accessibility / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hex-item,
  .hex-item img,
  .hex-item::after,
  .hex-item::before,
  .hex-item .shine {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Global Map  */
.kbcci-global-visual {
  position: relative;
  min-height: 460px;
  height: min(58vw, 520px);
  overflow: clip;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.kbcci-global-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
}

.kbcci-global-card {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding: 2px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 45px rgba(31, 41, 55, 0.15);
  backdrop-filter: blur(12px);
  transform: translate3d(-50%, -50%, 0);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 18;
}

.kbcci-global-card__logo {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.kbcci-global-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 991.98px) {
  .kbcci-global-visual {
    min-height: 390px;
    height: min(58vh, 440px);
  }
}

@media (max-width: 575.98px) {
  .kbcci-global-visual {
    min-height: 310px;
    height: 340px;
    margin-top: -12px;
  }

  .kbcci-global-card {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .kbcci-global-card__logo {
    border-radius: 9px;
  }
}

 /* membership cards  */

button,
a {
  font: inherit;
}

.ecosystem-section {
  position: relative;
  overflow: hidden;
  padding: 110px 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(15, 123, 89, 0.06) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 79px,
      rgba(15, 123, 89, 0.06) 80px
    );
}

.ecosystem-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(244, 197, 66, 0.22),
    transparent 58%
  );
  animation: drift 8s ease-in-out infinite;
}

.ecosystem-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -60px;
  border-radius: 50%;
  border: 1px solid rgba(207, 63, 69, 0.15);
  animation: drift 10s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(7deg);
  }
}

.ecosystem-wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 58px;
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--kbcci-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intro-kicker::before {
  content: "";
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kbcci-yellow), var(--kbcci-red));
}

.intro h2 {
  margin: 0;
  max-width: 720px;
  color: var(--kbcci-green);
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.intro p {
  margin: 0;
  max-width: 500px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.ecosystem-board {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  min-height: 720px;
}

.category-rail {
  position: relative;
  padding: 20px 0;
}

.category-rail::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 42px;
  bottom: 42px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(15, 123, 89, 0.1),
    rgba(15, 123, 89, 0.35),
    rgba(15, 123, 89, 0.1)
  );
}

.category-node {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 15px 8px 15px 0;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  transition: 0.3s ease;
}

.category-node + .category-node {
  margin-top: 28px;
}

.node-orb {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--kbcci-green);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(5, 47, 36, 0.08);
  font-weight: 900;
  transition: 0.3s ease;
}

.node-orb::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: 0.3s ease;
}

.category-node strong {
  display: block;
  color: var(--kbcci-green);
  font-size: 0.96rem;
  line-height: 1.3;
}

.category-node small {
  display: block;
  margin-top: 5px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.category-node:hover {
  transform: translateX(5px);
}

.category-node.active .node-orb {
  color: var(--kbcci-green);
  background: var(--kbcci-yellow);
  border-color: var(--kbcci-yellow);
  transform: scale(1.06);
}

.category-node.active .node-orb::after {
  border-color: rgba(244, 197, 66, 0.55);
  animation: pulseRing 1.8s ease-out infinite;
}

.category-node.active strong {
  color: var(--kbcci-green);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.88);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.feature-stage {
  position: relative;
  min-width: 0;
}

.package-card {
  display: none;
  position: relative;
  min-height: 720px;
  padding: 46px;
  border-radius: 36px;
  background: var(--kbcci-green);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: reveal 0.5s ease both;
}

.package-card.active {
  display: flex;
  flex-direction: column;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.package-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12),
    transparent 64%
  );
}

.package-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -60px;
  bottom: -50px;
  border-radius: 50%;
  background: rgba(207, 63, 69, 0.12);
}

.card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}

.package-code {
  margin-bottom: 12px;
  color: var(--kbcci-yellow);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--green-100);
}

.benefit-count {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: var(--kbcci-green);
  background: var(--kbcci-yellow);
  font-size: 1.5rem;
  font-weight: 900;
  transform: rotate(5deg);
}

.card-intro {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.benefit-cloud {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.benefit-pill {
  position: relative;
  min-height: 82px;
  padding: 18px 18px 18px 48px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.benefit-pill::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--kbcci-yellow);
  box-shadow: 0 0 0 5px rgba(244, 197, 66, 0.1);
}

.benefit-pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
}

.card-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.partner-label {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  max-width: 630px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 18s linear infinite;
}

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

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

.logo-box {
  min-width: 118px;
  height: 58px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.apply-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 16px 18px 16px 22px;
  border-radius: 999px;
  color: var(--kbcci-green);
  background: var(--white);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.3s ease;
}

.apply-button span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--kbcci-yellow);
  transition: 0.3s ease;
}

.apply-button:hover {
  transform: translateY(-3px);
  background: var(--green-100);
}

.apply-button:hover span {
  transform: rotate(45deg);
}

.mobile-tabs {
  display: none;
}

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

  .ecosystem-board {
    grid-template-columns: 1fr;
  }

  .category-rail {
    display: none;
  }

  .mobile-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 20px;
  }

  .mobile-tab {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 16px;
    background: var(--white);
    color: var(--kbcci-green);
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-tab.active {
    color: var(--white);
    background: var(--kbcci-green);
    border-color: var(--kbcci-green);
  }
}

@media (max-width: 720px) {
  .ecosystem-section {
    padding: 78px 16px;
  }

  .package-card {
    min-height: auto;
    padding: 30px 20px;
    border-radius: 26px;
  }

  .card-head {
    align-items: center;
  }

  .benefit-count {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1rem;
  }

  .benefit-cloud {
    grid-template-columns: 1fr;
  }

  .card-footer {
    grid-template-columns: 1fr;
  }

  .apply-button {
    justify-content: center;
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 14px 14px 14px 18px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

@media (max-width: 420px) {
  .apply-button {
    font-size: 0.9rem;
    padding: 12px 12px 12px 16px;
    justify-content: start;
  }

  .apply-button span {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

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