:root {
  --bg: #f4f2ed;
  --surface: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: rgba(17, 17, 17, 0.12);
  --green: #0eab4b;
  --green-dark: #0a8f3e;
  --yellow: #e8c16a;
  --mint: #d8ebde;
  --dark: #1f1f1f;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-card: 0 14px 32px rgba(0, 0, 0, 0.11);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

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

a {
  text-decoration: none;
}

/* .app-container {
  max-width: 1240px;
} */

.skip-link {
  position: absolute;
  left: 14px;
  top: -46px;
  z-index: 5000;
  background: var(--green);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
}

.section-space {
  padding: 100px 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.04);
}

.brand img {
  width: 144px;
  height: auto;
}

.navbar {
  --bs-navbar-padding-y: 0;
}

.main-nav .nav-link {
  position: relative;
  padding: 0.55rem 0.65rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.96rem;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible,
.main-nav .nav-link.active {
  color: var(--green);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 0.75rem;
}

.btn-lang,
.btn-profile,
.btn-acbf,
.btn-light-acbf {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-lang {
    border: 0;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-size: 0.95rem;

}
.btn-profile {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
}

.btn-profile svg {
  width: 22px;
  height: 22px;
}

.btn-lang:hover,
.btn-profile:hover,
.btn-acbf:hover,
.btn-light-acbf:hover,
.btn-lang:focus-visible,
.btn-profile:focus-visible,
.btn-acbf:focus-visible,
.btn-light-acbf:focus-visible {
  transform: translateY(-1px);
}

.btn-lang:hover,
.btn-profile:hover,
.btn-lang:focus-visible,
.btn-profile:focus-visible {
  background: var(--green-dark);
  color: #fff;
}

.navbar-toggler {
  width: 48px;
  height: 48px;
  border-radius: 12px;

}

.hero-section {
  padding-top: 40px;
}

.hero-mini-nav {
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.78);
}

.display-title,
.section-title {
  margin: 0;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  /* line-height: 64.28px; */
}

.display-title {
  max-width: 760px;
  font-size: 54px;
}

.hero-text {
  max-width: 690px;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  line-height: 1.35;
  color: rgba(17, 17, 17, 0.87);
}

.search-pill {
  max-width: 760px;
  min-height: 74px;
  border: 2px solid rgba(17, 17, 17, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.search-pill .form-control,
.search-pill .input-group-text {
  background: transparent;
}

.search-pill .form-control {
  padding-right: 1.5rem;
  color: var(--text);
  font-size: 1rem;
}

.search-pill .form-control::placeholder {
  color: #8f8f8f;
}

.search-pill:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 171, 75, 0.09);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: rgba(17, 17, 17, 0.7);
}

.hero-scribble-wrap {
  min-height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero-figures-wrap {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.hero-figures {
  mix-blend-mode: multiply;
}

.section-heading {
  max-width: 1100px;
}

.section-heading-left {
  max-width: 900px;
}

.section-title {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
}

.section-heading .section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 40px;
  background: linear-gradient(90deg, var(--green), #43d57d);
}

.section-copy {
  max-width: 1020px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.86);
}

.stats-arrow svg {
  width: 70px;
  height: 70px;
}

.stat-item h3 {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
  line-height: 0.92;
  font-weight: 700;
  /* letter-spacing: -0.05em; */
}

.stat-item h3 span {
  font-size: 0.8em;
}

.stat-item {
    position: relative;
}

span.plus-sign {
    font-weight: 300;
    margin-top: 0;
    position: absolute;
    padding: 0 10px;
}

.stat-item p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.stat-item p span {
  margin-right: 0.55rem;
  font-size: 1.2em;
}

.text-link-top {
  color: var(--green);
  font-weight: 700;
}

.featured-card {
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  background: var(--surface);
}

.featured-media {
    height: 400px;
    border-radius: 15px 15px 0 0;
}

.featured-media img {
    object-position: top;
}

.featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.5));
}

.featured-media.short-copy::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.12));
}

.featured-overlay-copy {
  position: absolute;
  inset: auto 1.4rem 1.3rem;
  z-index: 2;
  max-width: 68%;
  color: #fff;
}

.featured-overlay-copy h3 {
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.45;
  font-weight: 500;
}

.featured-meta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px;
    z-index: 3;
    width: min(290px, calc(100% - 2.7rem));
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.meta-label,
.meta-value {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 1.1rem;
  background: #fff;
  font-size: 0.95rem;
}

.meta-label {
  min-width: 92px;
  background: var(--yellow);
  color: #151515;
  font-weight: 700;
}

.meta-value {
  flex: 1;
  color: #707070;
}

.featured-body {
    padding: 2.5rem 1.35rem 1.45rem;
    background: var(--dark);
    color: #fff;
    min-height: 100px;
}

.featured-body .card-title {
  max-width: 90%;
  margin: 0 0 1.3rem;
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 600;
}

.btn-acbf {
  padding: 1rem 1.45rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  /* font-weight: 700; */
  box-shadow: 0 8px 18px rgba(14, 171, 75, 0.18);
}

.btn-acbf:hover,
.btn-acbf:focus-visible {
  background: var(--green-dark);
  color: #fff;
}

.lobbed-btn {
    padding: 1rem 1.45rem;
    border-radius: 58.951px 0 17.685px 58.951px;
    border: 3.537px solid #F3F3F3;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(14, 171, 75, 0.18);
    position: absolute;
    bottom: -20px;
    right: 0px;
    z-index: 999;
}


.btn-square {
  border-radius: 8px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(232, 193, 106, 0.5);
}

.slider-dot.active {
  background: var(--green);
}

.ecosystem-image,
.ecosystem-panel {
  min-height: 365px;
}

.ecosystem-image {
  overflow: hidden;
}

.ecosystem-panel {
  display: flex;
  flex-direction: column;
}

.ecosystem-panel-dark {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82)),
    url("assets/farmer-card.jpg") center/cover no-repeat;
  color: #fff;
}

.ecosystem-panel-dark.muted-top {
  background:
    linear-gradient(180deg, rgba(34, 34, 34, 0.35), rgba(28, 28, 28, 0.88)),
    url("assets/featured-webinar.jpg") center/cover no-repeat;
}

.ecosystem-panel-light {
  background: var(--mint);
}

.ecosystem-overlay {
    background-position: center;
    background-size: cover;
    position: relative;
    left: 0;
    bottom: 0;
    padding: 10px;
    border-radius: 30px 30px 0 0;
    height: 100%;
    overflow: hidden;
}

.ecosystem-overlay::before {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 1;
    top: 0;
    width: 100%;
}

.ecosystem-title {
      padding: 1.7rem 1.65rem 1.75rem;

}

.ecosystem-body {
    position: relative;
    z-index: 99;
    padding: 1.7rem 1.65rem 1.75rem;
    font-weight: 400;
    font-family: Poppins;
    font-size: 15px;
}
.ecosystem-panel-light .ecosystem-overlay .ecosystem-body p, .ecosystem-overlay .ecosystem-body {
    color: #fff;
    font-size: 15px;

}

.ecosystem-panel h3,
.attp-feature h3,
.capacity-feature h3,
.course-overlay h3,
.footer-grid h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  line-height: 1.16;
  font-weight: 700;
  font-family: "Raleway", sans-serif;
}

.ecosystem-panel p,
.attp-feature p,
.capacity-copy-box p {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.ecosystem-panel h3 {
    font-family: "Raleway", sans-serif;
    font-size: 24px;
    font-weight: 800;
}

.ecosystem-panel-dark p {
  color: rgba(255, 255, 255, 0.87);
}

.ecosystem-panel-light p {
  color: rgba(17, 17, 17, 0.85);
}

.ecosystem-panel ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
}

.ecosystem-panel li {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.ecosystem-body ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.ecosystem-body ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.ecosystem-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url('/acbf-hub/assets/green-tick.svg') no-repeat center center;
  background-size: contain;
}

.ecosystem-overlay .ecosystem-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url('/acbf-hub/assets/brown-tick.svg') no-repeat center center;
  background-size: contain;
}

.panel-link {
  color: inherit;
  font-weight: 700;
  border-bottom: 1px solid #0EAB4B;
}

.ecosystem-overlay .panel-link {
  border-bottom: 1px solid #E8C16A;
}

.panel-btn {
    margin-top: 30px;
}

.panel-link span {
  margin-left: 0.25rem;
}

.brown {
  color: #E8C16A;
}

.green {
  color: #0EAB4B;
}

.attp-image-card {
  min-height: 220px;
  height: 100%;
}

.attp-feature {
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    height: 100%;
    padding: 15px 10px;
    background: rgba(14, 171, 75, 0.20);
}

.feature-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 12px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.attp-feature h3 {
 font-family: "Raleway", sans-serif;
 font-size: 18px;
}

.attp-feature p {
    margin-bottom: 0;
    line-height: 1.2;
}

.capacity-feature {
  border-radius: 0;
  background: linear-gradient(180deg, #0EAB4B 0%, #086A2E 100%);
  color: #fff;
}

.capacity-copy-box {
  padding: 2rem 1.8rem;
}

.capacity-copy-box h3,
.course-overlay h3 {
  color: #fff;
}

.capacity-stats p {
  margin: 0;
  font-size: 1rem;
}

.capacity-stats .brown {
    font-weight: 700;
}

.capacity-stats {
    border-bottom: 2px solid;
    padding: 20px 0;
}



.capacity-text {
  max-width: 270px;
  color: rgba(255, 255, 255, 0.92) !important;
}

.btn-light-acbf {
  padding: 0.8rem 1.15rem;
  border-radius: 6px;
  background: #fff;
  font-weight: 400;
}

.btn-light-acbf:hover,
.btn-light-acbf:focus-visible {
  background: #f2f2f2;
  color: #111;
}

.course-card {
  min-height: 260px;
}

.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
}

.course-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1.6rem;
}

.pillars-section {
  padding: 76px 0 82px;
  min-height: 780px;
}

section.pillars-section .section-title.h2 {
    font-size: clamp(6.35rem, 5vw, 5.8rem);
}

.pillars-bg,
.pillars-mask {
  position: absolute;
  inset: 0;
}

.pillars-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillars-mask {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45) 100%, rgba(0, 0, 0, 0.45) 100%, rgba(22, 22, 22, 0.55));
}



.pillars-content {
  z-index: 1;
}

.section-heading-dark .section-title,
.section-heading-dark .section-copy {
  color: #fff;
}

.section-heading-dark .section-title {
    opacity: 0.25;
    font-size: 5em;
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
}

.section-heading-dark .section-title::after {
  display: none;
}

.section-heading-dark .section-copy {
   font-family: "Unbounded", sans-serif;
}

.pillar-row {
  padding: 1.35rem 0.2rem;
  border-top: 2px solid rgba(255, 255, 255, 1);
  color: #fff;
}

.pillar-row:last-child {
  border-bottom: 2px solid rgba(255, 255, 255, 1);
}

.pillar-index,
.pillar-title-item,
.pillar-metric,
.pillar-link {
  font-weight: 700;
}

.pillar-index {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.pillar-title-item {
  font-size: 1.12rem;
  line-height: 1.25;
}

.pillar-copy-item {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 30px;
}

.pillar-metric {
  font-size: 1rem;
}

.pillar-metric span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.83rem;
}

span.metric-title {
    font-size: 16px;
    font-weight: 700;
}

span.metric {
    font-size: 40px;
    color: #E8C16A;
    font-weight: 900;
}

.pillar-link {
    color: #fff;
    border-bottom: 1px solid #E8C16A;
}

.cta-section {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.03) 100%), #FFF;
}

.cta-star svg {
  width: 52px;
  height: 52px;
  color: #777;
}

.cta-copy-text {
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: normal;
    color: rgba(17, 17, 17, 0.84);
    font-weight: 500;
}

.cta-links a {
    color: var(--text);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    font-size: 18px;
}

.partner-logos img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.site-footer {
    padding: 80px 0 30px;
    border-top: 1px solid #000;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-grid li + li {
  margin-top: 0.55rem;
}

.footer-grid a,
.footer-bottom p,
.footer-bottom p a, .terms-policy a {
  color: var(--text);
  font-size: 15px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-bottom p a:hover,
.footer-bottom p a:focus-visible, .terms-policy a:hover {
  color: var(--green);
}

.terms-policy a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #555;
}

.socials a {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.16);
    color: #fff;
    background: #000;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.gap-6 {
    gap: 5rem!important;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  .main-nav .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .main-nav .nav-link::after {
    left: 0;
    right: auto;
    width: 60px;
  }
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 56px 0;
  }

  .hero-section {
    padding-top: 24px;
  }

  .hero-scribble-wrap {
    min-height: 110px;
    justify-content: flex-start;
  }

  .featured-meta {
    bottom: 80px;
  }

  .pillars-section {
    min-height: auto;
    padding: 58px 0 64px;
  }

  .partner-logos {
    justify-content: center !important;
  }
}

@media (max-width: 767.98px) {
  .app-container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .display-title {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .hero-mini-nav {
    gap: 0.75rem !important;
    font-size: 0.68rem;
  }

  .search-pill {
    min-height: 62px;
  }

  .featured-media {
    min-height: 270px;
  }

  .featured-body .card-title {
    max-width: 100%;
  }

  .ecosystem-image,
  .ecosystem-panel {
    min-height: 320px;
  }

  .capacity-copy-box {
    padding: 1.6rem 1.35rem;
  }

  .section-heading-dark .section-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .pillar-row {
    padding: 1rem 0;
  }

  .partner-logos img {
    max-height: 54px;
  }

  .footer-details.d-flex.gap-6 {
    display: block !important;
}

.hero-scribble-wrap {
    display: none;
}

.featured-meta {
    bottom: 100px;
}

.featured-body {
    min-height: 130px;
}

}

.section-space.collaboration {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.03) 100%), #FFF;
}