/* Style global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f9f9f9;

}

dl,
ol,
ul {
  margin-top: 0 !important;
  margin-bottom: 0rem !important;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute !important;
  background: linear-gradient(270.01deg, #116e9b -23.45%, #006a4f 99.99%);
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 2px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  width: 250px;
}

.dropdown.active {
  display: block;
}

.nav-menu li:hover .dropdown {
  display: block;
}

.dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.dropdown li {
  margin: 0px 0;
  padding: 5px;
}

.dropdown li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.dropdown li a:hover {
  color: #ffcc00;
}

/* Header */
header {
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  background: linear-gradient(270.01deg, #116e9b -23.45%, #006a4f 99.99%);
  /* background: linear-gradient(#116e9b, #006a4f); */
  /* Vert dominant du drapeau togolais */
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}



nav {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-right: 20%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;

}

.nav-menu li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  width: 35px;
}

.nav-menu li a:hover {
  color: #ffcc00;
}

/* Menu burger */
.menu-toggle {
  display: none;
  background: none;

  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 30px;
  height: 20px;
}



.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
}


.arrow-down {
  font-size: 8px;
  color: #ffffff;
}

.nav-menu-mobile {
  display: none;
  list-style: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background: linear-gradient(270.01deg, #116e9b -23.45%, #006a4f 99.99%);
  /* Vert dominant du drapeau togolais */
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
}

.nav-menu-mobile li {
  margin: 10px 0;
}

.nav-menu-mobile li a {
  color: white;
  text-decoration: none;
}

.nav-menu-mobile li a:hover {
  color: #ffcc00;
}

.nav-menu-mobile.active li:hover .dropdown-toggle {
  cursor: pointer;
}

.nav-menu-mobile.active li {
  padding: 5px;
}

.nav-menu-mobile.active li .dropdown {
  width: 250px;
  padding-left: 10px;
}

.cursor-pointer {
  cursor: pointer;
}


/* Bannière principale */
.banner {
  background: url('./images/LRAP.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #006400 !important;
}

/* .banner-content {
  text-align: center;
  max-width: 600px;
} */

.carousel-caption h1 {
  font-size: 3rem;
  animation: slide-in-down 1s ease-out;
  color: #fff;
  text-shadow: 0 0 4px #000000;
}

.carousel-caption p {
  margin: 1rem 0;
  font-size: 1.3rem;
  animation: fade-in 2s ease-in;
  text-shadow: 0 0 4px #000000;
}

.cta-button {
  background-color: #ffcc00;
  color: #333;
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  background-color: #ffaa00;
}

/* Animations */
@keyframes slide-in-down {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Section Fonctionnalités */
.features {
  padding: 3rem 0;
  text-align: center;
  background-color: #f9f9f9;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.feature-item {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  animation: slide-in 1s ease-in-out;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #006400;
}

@keyframes slide-in {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Section Contact */
.contact {
  background: linear-gradient(270.01deg, #116e9b -23.45%, #006a4f 99.99%);
  color: white;
  padding: 1rem;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

form label {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

form input,
form textarea {
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.submit-btn {
  background-color: #ffcc00;
  color: #333;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #ffaa00;
}

/* Footer */
footer {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 1.5rem;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 0.5rem;
}

/* Section Actualités & Événements */
.news {
  padding: 3rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.news h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.news-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
}

.news-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.news-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-content {
  text-align: left;
  margin-top: 1rem;
}

.news-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.news-content p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.read-more {
  color: #006400;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s;
}

.read-more:hover {
  color: #ffcc00;
}

/* Animations supplémentaires */
@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Section Nos Services en ligne */
.services {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: #006400;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1rem;
  color: #666;
}


/* Carrousel */
.carousel-inner img {
  height: 25%;
}

.banner {
  position: relative;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.cta-button {
  background-color: #ffcc00;
  /* Couleur jaune du drapeau togolais */
  color: #006400;
  padding: 10px 20px;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #fff;
  color: #006400;
}

/* Section Contact */
.contact-content {
  display: flex;
  justify-content: space-between;
  text-align: left;
}

#map {
  height: 430px;
  width: 50%;
}

form {
  width: 45%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  #map,
  form {
    width: 100%;
  }

  .carousel-inner img {
    height: 300px;
  }
}

@media (max-width: 990px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu-mobile.active {
    display: block;
  }
}



.marquee {
  font-weight: bold;
  width: 100%;
  /* Largeur de la bande */
  overflow: hidden;
  /* Cache le contenu qui déborde */
  white-space: nowrap;
  /* Empêche le retour à la ligne */
  box-sizing: border-box;
  /* Inclut le padding et la bordure dans la largeur */
}

.marquee p {
  display: inline-block;
  /* Affiche le texte en ligne */
  font-weight: bold;
  padding-left: 100%;
  /* Espace avant le texte */
  font-size: 24px;
  /* Augmente la taille du texte */
  color: darkgreen;
  /* Change la couleur du texte en rouge */
  animation: marquee 35s linear infinite;
  /* Animation du texte */
}

.parentheses {
  font-size: 30px;
  font-weight: bold;
  /* Met les parenthèses en gras */
  color: red;
  /* Change la couleur des parenthèses en bleu */
}

@keyframes marquee {
  0% {
    transform: translate(0);
    /* Position de départ */
  }

  100% {
    transform: translate(-100%);
    /* Position finale */
  }
}


.container {
  margin-bottom: 10px;
}


.rounded-div {
  width: 200px;
  background-color: #f0f0f0;
  border: 2px solid #000;
  border-radius: 15px;
  /* Ajuste la valeur pour arrondir plus ou moins les coins */
  padding: 10px;
}

#MenuLeft {
  list-style-type: none;
  /* Enlève les points */
  padding: 0;
  /* Supprime le remplissage par défaut */
  margin: 0;
  /* Supprime la marge par défaut */
}

ul#MenuLeft li a {
  text-decoration: none;
  display: block;
  color: #464646;
  text-align: left;
}

ul#MenuLeft li a:hover,
ul#MenuLeft li a.active {
  background: #006a4f;
  color: #fff;
}

.nav-link.custom.active {
  background-color: #006400 !important;
  color: #ffffff !important;
}
.nav-link.custom {
  color: #006400 !important;
}