:root {
  --brand-blue: #004ea8;
  --brand-blue-dark: #00306f;
  --brand-sky: #00a5ff;
  --brand-gold: #ffd331;
  --brand-red: #ce1029;
  --ink: #102033;
  --muted: #657386;
  --line: #dce7f5;
  --soft: #f5f9ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
  padding-top: 82px;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  min-height: 82px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.navbar-brand strong,
.navbar-brand small {
  display: block;
  line-height: 1.1;
}

.navbar-brand strong {
  color: var(--brand-blue-dark);
  font-size: 1rem;
}

.navbar-brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-link {
  color: var(--ink);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
}

.btn {
  border-radius: 6px;
  font-weight: 800;
  padding: 0.75rem 1.1rem;
}

.btn-primary {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.btn-warning {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #172033;
}

.btn-outline-primary {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
  background: var(--brand-blue);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 82px);
  max-height: 860px;
  position: relative;
  overflow: hidden;
}

.hero .carousel-inner,
.hero .carousel-item,
.hero-slide {
  min-height: calc(100vh - 82px);
  max-height: 860px;
}

.hero-slide {
  position: relative;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-slide-education {
  background-image:
    linear-gradient(90deg, rgba(0, 48, 111, 0.94), rgba(0, 78, 168, 0.64), rgba(206, 16, 41, 0.18)),
    url("../image/image1.jpeg");
}

.hero-slide-agriculture {
  background-image:
    linear-gradient(90deg, rgba(0, 48, 111, 0.92), rgba(0, 78, 168, 0.58), rgba(255, 211, 49, 0.18)),
    url("../image/image 2.jpeg");
}

.hero-slide-digital {
  background-image:
    linear-gradient(90deg, rgba(0, 48, 111, 0.94), rgba(0, 78, 168, 0.62), rgba(206, 16, 41, 0.16)),
    url("../image/image 3.jpeg");
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(0, 24, 56, 0.74), transparent);
  z-index: -1;
}

.hero-content {
  color: var(--white);
  min-height: calc(100vh - 82px);
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.eyebrow {
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.98;
  max-width: 980px;
  margin-bottom: 1.2rem;
}

.hero-text {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.carousel-indicators {
  right: auto;
  bottom: 1.2rem;
  left: calc((100vw - min(1320px, 100vw)) / 2 + 0.75rem);
  justify-content: flex-start;
  margin: 0;
}

.carousel-indicators [data-bs-target] {
  width: 44px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.68);
  opacity: 1;
}

.carousel-indicators .active {
  background-color: var(--brand-gold);
}

.carousel-control-prev,
.carousel-control-next {
  width: 7%;
}

.section {
  padding: 5rem 0;
}

.intro h2,
.section-heading h2,
.feature-copy h2,
.newsletter h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 900;
  line-height: 1.05;
}

.lead {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
}

.intro p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.blue-band {
  background: var(--brand-blue-dark);
  color: var(--white);
}

.founder-copy {
  max-width: 760px;
}

.founder-copy h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.founder-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.founder-copy .lead {
  color: var(--white);
}

.founder-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.founder-points span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--brand-gold);
  font-weight: 900;
  padding: 0.55rem 0.8rem;
}

.founder-photo {
  width: min(360px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
  background:
    linear-gradient(0deg, rgba(0, 48, 111, 0.14), rgba(0, 48, 111, 0.14)),
    url("../image/achille.jpeg") 54% 24% / 240% auto;
  border: 7px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.stat-card {
  min-height: 240px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card svg {
  width: 42px;
  height: 42px;
  color: var(--brand-gold);
}

.stat-card strong {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.program-card {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0 1.5rem;
  background: var(--white);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 78, 168, 0.25);
  box-shadow: 0 18px 45px rgba(0, 48, 111, 0.13);
}

.program-img {
  min-height: 170px;
  background-position: center;
  background-size: cover;
}

.program-img-education {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.2), rgba(0, 48, 111, 0.2)),
    url("../image/solidarite\ social.jpeg");
}

.program-img-agriculture {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.16), rgba(0, 48, 111, 0.16)),
    url("../image/dev\ local.jpeg");
}

.program-img-digital {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.18), rgba(0, 48, 111, 0.18)),
    url("../image/jeunesse.jpeg");
}

.program-img-inclusion {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.2), rgba(0, 48, 111, 0.2)),
    url("../image/unite.jpeg");
}

.program-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: -32px 1.25rem 1.1rem;
  position: relative;
  box-shadow: 0 10px 24px rgba(0, 48, 111, 0.14);
}

.program-card svg {
  width: 44px;
  height: 44px;
  color: var(--brand-blue);
}

.program-card h3,
.program-card p {
  padding: 0 1.5rem;
}

.program-card h3 {
  margin-top: 1.35rem;
}

.program-card h3,
.story-body h3,
.news-item h3,
.site-footer h2,
.site-footer h3 {
  font-weight: 900;
}

.program-card h3 {
  font-size: 1.35rem;
}

.program-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-section {
  padding: 0 0 5rem;
}

.feature-image {
  min-height: 520px;
  background:
    linear-gradient(45deg, rgba(0, 78, 168, 0.18), rgba(255, 211, 49, 0.18)),
    url("../image/WhatsApp Image 2026-09-05 at 04.12.09.jpeg") center/cover;
  border-radius: 8px 0 0 8px;
}

.feature-copy {
  min-height: 520px;
  background: var(--brand-blue);
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 8px 8px 0;
}

.feature-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.story-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
}

.story-img {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.story-1 {
  background-image: url("../image/WhatsApp Image 2026-09-05 at 04.12.09.jpeg");
}

.story-2 {
  background-image: url("../image/image\ 2.jpeg");
}

.story-3 {
  background-image: url("../image/image1.jpeg");
}

.story-body {
  padding: 1.35rem;
}

.story-body span,
.news-item span,
.news-item time {
  color: var(--brand-blue);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-body h3 {
  font-size: 1.35rem;
  margin: 0.65rem 0 1rem;
}

.story-body a {
  color: var(--brand-red);
  font-weight: 900;
}

.light-band {
  background: var(--soft);
}

.news-item article {
  min-height: 220px;
  background: var(--white);
  border-top: 5px solid var(--brand-gold);
  border-radius: 8px;
  padding: 0 0 1.35rem;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 48, 111, 0.08);
}

.news-card-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.news-card-link article {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card-link:hover article,
.news-card-link:focus-visible article {
  box-shadow: 0 18px 42px rgba(0, 48, 111, 0.14);
  transform: translateY(-3px);
}

.news-card-link:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(255, 211, 49, 0.78);
  outline-offset: 4px;
}

.news-img {
  min-height: 150px;
  margin-bottom: 1.25rem;
  background-position: center;
  background-size: cover;
}

.news-img-mentorat {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.18), rgba(0, 48, 111, 0.18)),
    url("../image/jeunesse.jpeg");
}

.news-img-forum {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.16), rgba(0, 48, 111, 0.16)),
    url("../image/dev\ local.jpeg");
}

.news-img-formation {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.18), rgba(0, 48, 111, 0.18)),
    url("../image/WhatsApp Image 2026-09-05 at 04.12.14.jpeg");
}

.news-img-partenaires {
  background-image:
    linear-gradient(0deg, rgba(0, 48, 111, 0.18), rgba(0, 48, 111, 0.18)),
    url("../image/image1.jpeg");
}

.news-item span,
.news-item time,
.news-item h3 {
  padding: 0 1.35rem;
}

.news-item time {
  color: var(--muted);
  margin-top: 0.25rem;
}

.news-item h3 {
  font-size: 1.2rem;
  margin-top: 1.25rem;
}

.newsletter {
  background:
    linear-gradient(110deg, rgba(0, 48, 111, 0.96), rgba(0, 78, 168, 0.92)),
    radial-gradient(circle at 90% 20%, rgba(255, 211, 49, 0.26), transparent 34%);
  color: var(--white);
  padding: 4rem 0;
}

.article-page {
  background: var(--soft);
  padding: 8rem 0 4rem;
}

.article-shell {
  max-width: 960px;
  margin: 0 auto;
}

.article-back {
  color: var(--brand-blue);
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.article-view {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 48, 111, 0.08);
}

.article-hero {
  aspect-ratio: 16 / 8;
  background-position: center;
  background-size: cover;
  min-height: 260px;
}

.article-content {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.article-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.article-meta span {
  color: var(--brand-red);
}

.article-content h1 {
  color: var(--brand-blue);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 1.35rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.whatsapp-share {
  align-items: center;
  background: #25d366;
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
}

.whatsapp-share:hover,
.whatsapp-share:focus-visible {
  background: #1fb85a;
  color: var(--white);
}

.article-content p {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-form .form-control {
  min-height: 54px;
  border-radius: 6px;
  border: 0;
}

.form-note {
  color: var(--brand-gold);
  font-weight: 800;
  margin: 0.75rem 0 0;
}

.site-footer {
  background: #081525;
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a {
  display: block;
  margin-bottom: 0.55rem;
}

.site-footer a:hover {
  color: var(--brand-gold);
}

.site-footer h3 {
  font-size: 1rem;
  color: var(--brand-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-to-top {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--brand-gold);
  color: var(--ink);
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-top: 5rem;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-image,
  .feature-copy {
    border-radius: 8px;
  }
}

@media (max-width: 575.98px) {
  .newsletter-form,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .navbar-brand strong {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .newsletter-form .btn,
  .newsletter-form .form-control {
    width: 100%;
  }
}
