body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS pour le bandeau du haut */
.gradient-text-section {
  background: linear-gradient(70deg, #58bfec, #030337);
  color: white;
  text-align: center;
  padding: 10px 5px;
  font-size: 13px;
}
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS pour la bar de navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(to right, #002147, #0056a6);
}
.navbar .logo {
  display: flex;
  align-items: center;
}
.navbar .logo img {
  height: 40px;
  margin-right: 10px;
}
.navbar .logo span {
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s;
}
.nav-links a.active {
  color: yellow;
}
.donate-btn {
  background: red;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: bold;
  border: 2px solid white;
  text-decoration: none;
}
.donate-btn:hover {
  background: darkred;
}
/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px;
}
/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #002147;
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  .navbar .logo img {
    height: 30px;
    margin-right: 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }

  /* .hero-text {
    position: relative;
    text-align: left; 
    color: white;
    max-width: 30%; 
    z-index: 2;
  } */
}
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS de la banniere 1 */
.hero {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  background: url("img/ban1.jpg") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start; /* Align content to the left */
  padding: 0 60px 60px; /* Left padding added */
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 33, 71, 1), rgba(0, 33, 71, 0));
}

.hero-text {
  position: relative;
  text-align: left;
  color: white;
  max-width: 50%;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5vw; /* scales with screen size */
  font-weight: bold;
  margin-bottom: 5px;
}

.hero-text p {
  font-size: 1.2vw; /* also scales */
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 6vw;
  }

  .titre {
    font-size: 6vw;
  }

  .hero-text p {
    font-size: 2.5vw;
  }
}

@media (max-width: 480px) {
  .hero-text {
    position: relative;
    text-align: center;
    color: white;
    max-width: 80%;
    z-index: 2;
  }
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 5px;
  }
}

/* *********************************************************************** */
/* *********************************************************************** */
/* CSS de la banniere 2 */

.hero2 {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  background: url("img/ban2.jpg") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start; /* Align content to the left */
  padding: 0 60px 60px; /* Left padding added */
}

.hero2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* Adjust gradient height */
  background: linear-gradient(to top, rgba(0, 33, 71, 1), rgba(0, 33, 71, 0));
}

.hero2-text {
  position: relative;
  text-align: left; /* Align text to the left */
  color: white;
  max-width: 50%; /* Control width of the text block */
  z-index: 2;
}

.hero2-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 5px;
}

.hero2-text p {
  font-size: 15px;
  line-height: 1.5;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* CSS de la banniere 3 */

.hero3 {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  background: url("img/ban3.jpg") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start; /* Align content to the left */
  padding: 0 60px 60px; /* Left padding added */
}

.hero3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* Adjust gradient height */
  background: linear-gradient(to top, rgba(0, 33, 71, 1), rgba(0, 33, 71, 0));
}

.hero3-text {
  position: relative;
  text-align: left; /* Align text to the left */
  color: white;
  max-width: 50%; /* Control width of the text block */
  z-index: 2;
}

.hero3-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 5px;
}

.hero2-text p {
  font-size: 15px;
  line-height: 1.5;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* Qui sommes nous ? */

.about-section {
  background-color: white;
  padding: 50px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.red-bar {
  width: 180px;
  height: 30px;
  background-color: red;
  border-radius: 5px;
  margin-right: 10px;
}
.red-bar2 {
  width: 3000px;
  height: 30px;
  background-color: red;
  border-radius: 5px;
  margin-right: 10px;
}

h2 {
  font-size: 28px;
  font-weight: bold;
  color: #001f3f;
}

.nous {
  font-size: 17px;
  color: #0074a6;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* Mot du directeur  */

.director-section {
  padding: 40px 20px;
}

.containerd {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}

.image-placeholder {
  width: 200px;
  height: 200px;
  background-color: #d3d3d3;
  border-radius: 5px;
  margin-right: 20px;
}

.text-box {
  background-color: #004b66;
  color: white;
  padding: 17px;
  border-radius: 5px;
  flex: 1;
}

.text-box h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.text-box p {
  font-size: 12px;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 10px;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* Frame 1  */

/* Centered Image Container */
.image-container {
  width: 100%;
  max-width: 1200px; /* Adjust max width */
  margin: auto;
  padding: 10px; /* Optional padding */
}

/* Responsive Image */
.image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* Optional rounded corners */
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* Video Youtube 1  */

.box {
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Optional: Add some padding for better appearance */
.embed-responsive {
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 500px; */
  border: none;
}

.embed-responsive img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 500px; */
  border: none;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS Partenaires  */

.partners-section {
  width: 100%;
}
.partners-title {
  font-size: 32px;
  font-weight: bold;
  color: #00384b;
  margin-bottom: 20px;
  text-align: center;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 65px;
  padding: 35px;
}
.partners-logos img {
  max-width: 160px;
  height: auto;
}
@media (max-width: 768px) {
  .partners-logos img {
    max-width: 150px;
  }
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS Footer  */

footer {
  width: 100%;
  padding: 30px 0;
}

.contact-section {
  background-color: #001f3f;
  color: white;
  padding: 20px;
  border-radius: 10px;
  align-items: center;
  width: 80%;
  margin: 0 auto 20px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}
.contact-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-section p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.message-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.message-box input {
  width: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.message-box button {
  background-color: #d9252a;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  border-top: 1px solid #d9252a;
}

.footer-logo {
  text-align: left;
}

.footer-logo img {
  width: 500px;
}

@media (max-width: 480px) {
  .footer-logo img {
    width: 100px;
  }
}

.footer-logo h2 {
  color: #001f3f;
  font-size: 22px;
}

.footer-info {
  text-align: left;
}

.social-icons a {
  color: #001f3f;
  font-size: 24px;
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
}

.titleac {
  display: flex;
  align-items: center; /* Centers items vertically */
  justify-content: center; /* Centers items horizontally */
  gap: 10px; /* Adds space between elements */
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS Article  */

.news-container {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 30%;
  max-width: 350px;
  border-radius: 10px;
  margin-right: 20px;
}

.news-content {
  width: 70%;
  color: #001f3f; /* Dark blue like in the image */
  font-family: Arial, sans-serif;
}

.news-content h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* *********************************************************************** */
/* CSS Gallery  */

.grid-image {
  width: 100%;
  height: 400px; /* Adjust for desired height */
  object-fit: cover;
  border-radius: 10px;
}
.grid-container {
  padding: 20px;
}
