
    body, html 
  
    {
      scroll-behavior:smooth;
      scroll-padding-top: 100px;
      font-size: 16px;
      margin: 0;
      padding: 0;
      overflow-x: hidden; 
      box-sizing:border-box;
    }
   *{font-family: 'Poppins',sans-serif;
  }
  {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
  } 
    {
      scroll-behavior:smooth;
      scroll-padding-top: 100px;
      font-size: 16px;
      margin: 0;
      padding: 0;
      overflow-x: hidden; 
      box-sizing:border-box;
    }
   
    .container{
      max-width: 1200px;
      margin: auto;
      padding: 2rem;
    } 
    .horizontal-scroll {
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      padding: 20px;
      gap: 20px;
    }
    .card {
      flex: 0 0 auto;
      width: 300px;
      height: 200px;
      background-color: #eee;
      text-align: center;
      line-height: 200px;
      border: 1px solid #ccc;
    }
    .full-screen-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      z-index: -1;
      background: linear-gradient(to bottom, #444, #111);
    }
    .video-background {
      position: fixed;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      overflow: hidden;
      z-index: -1;
    }

    .video-background video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: rgba(30, 30, 30, 0.6);
      z-index: 0;
      animation: pulseOverlay 5s infinite ease-in-out;
    }

    @keyframes pulseOverlay {
      0%, 100% {
        background-color: rgba(30, 30, 30, 0.6);
      }
      50% {
        background-color: rgba(30, 30, 30, 0.6);
      }
    }
   
    
.about, .projects, .values {
  padding: 60px 20px;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1em;
}

.project-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.project-card {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  width: 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.project-card h3 {
  padding: 15px 0;
  margin: 0;
  background: #fff;
}

.values .value-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.value {
  background-color: #fb8500;
  color: white;
  padding: 10px 20px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 16px;
}

    .navbar {
      position: fixed;
      top: 0;
      width: 100%;
      padding: 15px 40px;
      background-color: transparent;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-sizing:border-box;
      transition: background-color 0.3s ease, color 0.3s ease;
      z-index: 1000;
    }

    .navbar.scrolled {
      background-color: white;
      color: #000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
  
    .nav a:focus{
      outline: none;
      box-shadow: none;
    }
    .navbar .logo img {
      height: 100px;
      transition: filter 0.3s;
    }
    #contact{
      scroll-margin-top: 70px;
    }
    
    .navbar .menu a {
      margin-left: 2rem;
      text-decoration: none;
      color: inherit;
      font-weight: 600;
      font-size: 18px;
      transition: color 0.3s;
    }
    .menu button {
      background-color: transparent;
      border: 2px solid white;
      color: white;
      padding: 6px 12px;
      margin-left: 20px;
      cursor: pointer;
      font-weight: bold;
      border-radius: 4px;
      transition: background-color 0.3s, color 0.3s;
    }
    
    .navbar.scrolled .menu button {
      border-color: black;
      color: black;
    }
    
    .menu button:hover {
      background-color: #fb8500;
      color: white;
    }
    
    
    .menu a {
      color: inherit;
      text-decoration: none;
      font-weight: 600;
      margin-left: 30px;
      transition: color 0.3s;
    }
    .navbar a {
      color: inherit;
      text-decoration: none;
      font-weight: bold;
    }

    .navbar .menu a:hover {
      text-decoration: underline;
    }

    .navbar.scrolled .logo img {
      filter: none;
    }
    .navbar.scrolled .menu a {
      color: black;
    }
    header {
      height: 100vh;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      padding: 100px 0 0 60px;
      text-align: left;
      color: white;
      position: relative;
      font-size: 18px;
      z-index: 1;
    }

    .overlay-content {
      padding: 2rem 3rem;
      border-radius: 12px;
      max-width: 650px;
      text-align: left;
    }

    .overlay-content h1 {
      font-size: 5.5rem;
      margin-bottom: 2rem;
    }

    .overlay-content p {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }

    .overlay-content a {
      background-color: #fb8500;
      color: white;
      padding: 0.75rem 1.5rem;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
    }

    main {
      background-color: #f9f9f9;
      padding: 4rem 2rem;
      margin-top: -20vh;
      
    }
    main section {
      padding: 80px 20px;
      max-width: 1200px;
      margin: auto;
      color: #333;
    }
    section {

      max-width: 1400px;
      margin: auto;
      text-align: center;
      margin-bottom: 4rem;
      font-size: 16px;
    }

    .projects-horizontal {
      display: flex;
      justify-content: center;
      gap: 2rem;
      padding: 3rem 2rem;
      flex-wrap: nowrap;
      overflow-x: scroll;
    }

    .project-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      width: 250px;
      flex-shrink: 0;
      text-align: center;
    }

    .project-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .project-card h3 {
      margin: 1rem 0 0.5rem;
      font-size: 1.1rem;
      min-height: 48px;
    }

    .project-card a {
      display: inline-block;
      margin-bottom: 1rem;
      color: #fb8500;
      text-decoration: none;
      font-weight: bold;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      margin-left: 20px;
      font-weight: bold;
      font-size: 16px;
      transition: background-color 0.3s;
    }

    .nav-links a:hover {
      background-color: #fb8500;
      padding: 8px 12px;
      border-radius: 4px;
    }

    .nav-links .active {
      border-bottom: 2px solid white;
    }
    
    .container {
      max-width: 1200px;
      margin: auto;
      padding: 2rem;
    }
    .hero {
      background-color:#fb8500;
      padding: 1rem;
      border-radius: 12px;
      text-align: center;
    }
    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: white;
    }
   
 .section-title {
  font-size: 45px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  color: #002a52;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #f7931e; /* orange Nsanza */
}
.intro-paragraphe {
  border-left: 5px solid #6dc067; /* vert Nsanza */
  padding-left: 20px;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 1.6;
  color: #002a52;
}
.subsection-title {
  font-size: 30px;
  font-weight: bold;
  color: #002a52; /* bleu profond Nsanza */
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.subsection-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #f7931e; /* trait orange */
}

.footer {
  width: 100%;
  padding-bottom: 60px 0;
  background-color:#004080;
  color: white;
  padding: 40px 0;
  mily: 'poppins', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-content div {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li a:hover,
.footer-contact a:hover {
  color: #f7931e; /* ou #ffffff */
}
.footer-content {
  padding-bottom: 20px;
}
a {
  transition: color 0.3s ease;
}

.footer-links ul li {
  margin-bottom: 8px;

}

.footer-links ul li a {
  color: white;
  text-decoration: none;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer i {
  margin-right: 8px;
}


.footer-contact a {
  color: #ccc; /* gris clair */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #fff; /* devient blanc au survol */
}
.footer {
  background: linear-gradient(to top, #002a52, #003c7a);
}
.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  color: #ccc;
  margin-right: 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #f7931e;
}

.footer-form form {
  display: flex;
  flex-direction: column;
}

.footer-form input,
.footer-form textarea {
  margin-bottom: 10px;
  padding: 8px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.footer-form button {
  background-color: #f7931e;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.footer-form button:hover {
  background-color: #e67e00;
}

 

  nav a {
    color: blueviolet;
    text-decoration: none;
    padding: 12px 16px;
    display: inline-block;
    font-weight: bold;
  }

  nav a:hover {
    background-color: #fb8500; /* Un orange un peu plus foncé au survol */
  }

  nav .active {
    border-bottom: 2px solid white;
  }
  <nav>
  <a href="#accueil" class="active">Accueil</a>
  <a href="#projets">Nos Projets</a>
  <a href="#strategie">Stratégie</a>
  <a href="#partenariat">Nos partenariat</a>
  <a href="#contact">Contact</a>

</nav>
<nav class="navbar">
  <div class="nav-content">
    <!-- Logo à gauche -->
    <img src="assets/img/logo-nsanza.png" alt="Nsanza Logo" class="logo">

    <!-- Liens de navigation -->
    <div class="nav-links">
      <a href="#accueil" class="active">Accueil</a>
      <a href="#projets">Nos Projets</a>
      <a href="#strategie">Stratégie</a>
      <a href="#partenariat">Nos partenariat</a>
      <a href="#contact">Contact</a>
    </div>
  </div>
</nav>





    /*************************************************************/
   .header-background {
    height: 60vh;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: left;
      justify-content: center;
      flex-direction: column;;
   }
  .a-propos-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  padding: 30px;
}

.a-propos-image img {
  width: 300px;
  border-radius: 10px;
  object-fit: cover;
}

.a-propos-texte {
  flex: 1;
  min-width: 300px;
}

@media (max-width: 768px) {
  .a-propos-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .a-propos-image img {
    width: 100%;
    max-width: 400px;
  }
}

.image-texte-block {
  display: flex;
  align-items: stretch;
  margin: 50px 0;
  gap: 40px;
}

.image-texte-block.reverse {
  flex-direction: row-reverse;
}

.image-col img {
  width: 100%;
  height: 100%;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
}

.texte-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.texte-col h3 {
  font-size: 25px;
  margin-bottom: 10px;
  color: orange;
  
}

.texte-col p {
  line-height: 1.6;
  font-size: 20px;
  color: #002a52;
}

@media (max-width: 768px) {
  .image-texte-block,
  .image-texte-block.reverse {
    flex-direction: column;
  }

  .image-col img {
    max-width: 100%;
  }
}

.section-title {
  font-size: 45px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  color: #002a52;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #f7931e; /* orange Nsanza */
}

.intro-paragraphe {
  border-left: 5px solid #6dc067; /* vert Nsanza */
  padding-left: 20px;
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 1.6;
  color: #002a52;
}
.subsection-title {
  font-size: 30px;
  font-weight: bold;
  color: #002a52; /* bleu profond Nsanza */
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.subsection-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #f7931e; /* trait orange */
}

h2.section-green {
  font-size: 24px;
  font-weight: bold;
  color: #002a52; /* bleu profond */
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

h2.section-green::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #6dc067; /* vert Nsanza */
}

.fade-in,
.slide-left,
.slide-right {
  opacity: 0;
  transition: all 2s ease-out; /* ← durée augmentée ici */
}

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

.slide-left {
  transform: translateX(-50px);
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  transform: translateX(50px);
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}




@keyframes panBackground {
  0% {
    background-position: center;
  }
  100% {
    background-position: center bottom;
  }
}
.visible {
opacity: 1;
transform: none;

}

.fade-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

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

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.value-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.value {
  background-color: #fb8500;
  color: white;
  padding: 10px 20px;
  border-radius: 18px;
  font-weight: bold;
  font-size: 16px;
}
  
.image-allonger {
  width: 100%;
  max-width: 1200px; /* ou la largeur que tu utilises ailleurs */
  margin: auto; /* centre horizontalement */
  padding: 0 20px; /* optionnel : ajoute un peu d’espace sur les côtés */
}

.image-allonger img {
  width: 100%;
  height: auto;
  max-height: 200px; /* adapte si nécessaire */
  border-radius: 10px; /* si tu veux garder les coins arrondis */
  object-fit: cover;
  display: block;
} 

.leadership-section {
  background-color: #003c7a;
  color: white;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.leadership-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.leadership-image {
  flex: 1 1 300px;
  text-align: center;
}

.leadership-image img {
  max-width: 100%;
  border-radius: 8px;
}

.leadership-text {
  flex: 1 1 600px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-out forwards;
}

.fade-text {
  opacity: 0;
  animation: fadeText 1.2s ease-in forwards;
  animation-delay: 0.2s;
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideLeft 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeText {
  to {
    opacity: 1;
  }
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


