.nav-toggle {
  width: 40px;
  height: 30px;
  position: absolute; /* ou fixed si tu veux qu'il reste visible au scroll */

  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Barres du menu burger */
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  background-color: #20234B; /* bleu clair */
  height: 3px;
  width: 30px;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

@media screen and (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}



/* Barre centrale */
.nav-toggle span {
  background-color: #20234B;
}

/* Barre du haut */
.nav-toggle span::before {
  top: -10px;
}

/* Barre du bas */
.nav-toggle span::after {
  bottom: -10px;
}

/* Animation burger → croix */
.nav-toggle.open span {
  background-color: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  bottom: 0;
  transform: rotate(-45deg);
}



.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}




.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(32, 35, 75, 0.15);
}





body{
    margin: 0;
    padding: 0;
}

img{
    display: block;
    width: 100%;
}

/* Class fonctionnel */

.container{
    width: 90%;
    margin: 0 auto;
}

.flex-container{
    display: flex;
    justify-content: space-between;
}

/* Titres */

* {
    margin: 0;
    padding: 0;
  }
  
/* Animation de l'entrée du texte */
.title {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 2s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}



/* Personnaliser le curseur pour tout le site */
body {
  scroll-behavior: smooth;
}





  body {
    font-family: 'Arvo', sans-serif; 
    color: #fff; /* Texte en blanc pour le contraste */
    height: 100vh; /* Prend toute la hauteur de l'écran */
  }
  




.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.dropdown {
  position: relative;
}


/* Style du bouton "Compte" */
.dropdown .dropbtn {
  cursor: pointer;
  text-decoration: none;
  color: #20234B;
  padding: 8px 12px;
  display: inline-block;
  user-select: none; /* évite la sélection du texte au clic */
  position: relative;
}

/* Contenu du menu déroulant (sous-menu) - caché par défaut */
.dropdown-content {
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  background-color: white;
  min-width: 140px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-radius: 4px;

  /* Transition pour l’effet doux */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Style des items du sous-menu */
.dropdown-content li {
  padding: 6px 10px; /* réduit l'espacement vertical */
  white-space: nowrap;
}

.dropdown-content li:first-child {
  margin-top: 10px;  /* espace au-dessus de "Connexion" */
}

/* Style des liens dans le sous-menu */
.dropdown-content li a {
  color: #20234B;
  text-decoration: none;
  display: block;
}

/* Hover sur lien sous-menu */
.dropdown-content li a:hover {
  background-color: #ddd;
}

/* Position relative du parent pour que le sous-menu s'affiche bien */
.nav-menu ul li.dropdown {
  position: relative;
  margin-right: 20px;
}

/* Affichage du sous-menu au hover desktop uniquement */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Affichage du sous-menu au clic via la classe .show */
.dropdown.show .dropdown-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Styles responsive pour le menu mobile */
@media (max-width: 768px) {

 /* Cacher le menu déroulant "Compte" */
  .desktop-only {
    display: none;
  }

  /* Afficher les liens connexion et inscription dans le menu burger */
  .mobile-only {
    display: block;
    margin: 10px 0;
  }

  .mobile-only a {
    color: white;
    font-size: 4vh;
    text-decoration: none;
  }

  .nav-menu {
    display: none;
    width: 200px;
    position: absolute;
    top: 80px;
    right: 20px;
    background-color: #fff;
    border-radius: 6px;
    padding: 10px 0;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 30px !important;
    
  }

  .nav-menu a {
    font-size: 4vh;
  }

  .nav-menu ul li a {
    color: #20234B;
    font-size: 18px;
  }

  /* Pour que le dropdown-content soit positionné correctement sur mobile */
  .dropdown-content {
    position: relative;
    top: auto;
    left: auto;
    box-shadow: none;
    background-color: transparent;
    min-width: auto;
    padding: 0;
  }

  .dropdown-content li {
    padding: 0;
  }

  .dropdown-content li a {
    color: #20234B;
    padding: 10px 20px;
  }

  .dropdown-content li a:hover {
    background-color: rgba(255,255,255,0.1);
  }



}


  /* Header */
  .header {
    margin-top: 1vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1vh 3vh; /* Espacement en vh */
  }
  
  .logo img {
    width: 10vh; /* Taille de l'image ajustée en fonction de la hauteur */
  }
  
  
  .nav-menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 8vh; /* Espacement entre les éléments en vh */
  }
  
  /* Liens de la barre de navigation */
.nav-menu a {
  position: relative; /* Nécessaire pour le pseudo-élément */
  text-decoration: none;
  color: #20234B ;
  font-size: 3vh;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Effet au survol des liens */
.nav-menu a:hover {
  color: #659EC5;
  transform: translateY(-3px) scale(1.1); /* Déplacement et mise en avant */
}

/* Barre animée sous le lien */
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px; /* Distance sous le texte */
  left: 0;
  width: 0%; /* Départ de la barre */
  height: 3px;
  background-color: #20234B;
  transition: width 0.3s ease; /* Animation d'élargissement */
}

.nav-separator {
  width: 100%;
  height: 4px; /* Tu peux ajuster l'épaisseur ici */
  background-color: #20234B;
}


.nav-menu a:hover::after {
  width: 100%; /* Barre s'étend sous le lien */
}



.nav-menu a.active::after {
  width: 100%; /* Affiche la barre comme si le lien était survolé */
}



  
  
  .nav-menu a:hover {
    color: #001229; /* Couleur au survol */
  }
  
  
  /* Bouton Contact */
  .contact-btn .btn {
    display: inline-block;
    padding: 1vh 3vh; /* Espacement intérieur en vh */
    background-color: #20234B ;
    color: #ffff; /* Texte blanc */
    font-size: 3vh; 
    font-weight: bold;
    text-decoration: none;
    border-radius: 2vh; 
    border: 2px solid #ffffff; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

  
  .contact-btn .btn:hover { 
    transform: scale(1.1); /* Agrandissement au survol */
    color: #fff;
  }





  .nav-separator {
  width: 100%;
  height: 4px;
  background-color: #20234B;
}

.nav-separat {
  width: 150px;
  height: 3px;
  background-color: #FAB86C;
  margin: 0 auto;
  margin-bottom: 25px;
  border-radius: 2px;
}


.intro-section1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #EEF6FD;
  padding: 100px 40px;
  flex-wrap: wrap;
}


.intro-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #EEF6FD;
  padding: 30px 40px;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1;
  max-width: 50%;
  color: #20234B;
}

.intro-text h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #20234B;
}

.intro-text p {
  font-style: italic;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #343434;
  
}

.intro-text button,
.btn-desktop {
  padding: 10px 20px;
  background-color: #F6AC6A;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.4rem;
  transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.intro-text button:hover,
.btn-desktop:hover {
  color: white;
  background-color: #20234B;
  transform: scale(1.05);
}


.intro-image {
  flex: 1;
  max-width: 45%;
  text-align: right;
}

.intro-image img {
  max-width: 80%;
  height: auto;
}


@media screen and (max-width: 768px) {
  .intro-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

    .intro-section1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .intro-text, .intro-image {
    max-width: 100%;
    flex: none;
  }

  .intro-text h1 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1.2rem;
  }

  .intro-text button {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  .intro-text button a{
    text-decoration: none;
    color: #d3ebff;
  }

.intro-image {
  text-align: center;
  margin-top: 30px;
}

.intro-image img {
  max-width: 60%; /* plus petite qu'avant (était à 80%) */
  height: auto;
  margin: 0 auto;
  display: block; /* pour centrer l’image horizontalement */
}


}

/* Par défaut : version desktop */
.btn-mobile {
  display: none;
}

.btn-desktop a{
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* En responsive : inverser l'affichage */
@media screen and (max-width: 768px) {
  .btn-desktop {
    display: none;
  }

  .btn-mobile {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #20234B;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .btn-mobile a{
    color: white;
    text-decoration: none;
  }

  .btn-mobile:hover {
    color: #20234B;
    background-color: #7DAAD5;
    border: 2px solid #20234B;
  }



}


@media screen and (max-width: 768px) {
  .service-section h2 {
    border-bottom: none;
  }
}





.services-section {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.services-section h2 {
  color: #20234B;
  font-size: 2rem;
  margin-bottom: 10px;
  border-bottom: 4px solid #FAB86C ; /* Soulignement bleu ciel */
  display: inline-block;
}



.services-intro {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 50px auto; /* marge sous le paragraphe */
  color: #333;
  line-height: 1.5;
}


.services-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.service-card {
  background: white;
  border: 5px solid #7DAAD5;
  border-radius: 20px;
  padding: 20px;
  flex: 1 1 calc(25% - 30px); /* anciennement 33% */
  min-width: 260px;
  box-sizing: border-box;
}


.service-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
  display: block;
}


.service-card h3 {
  color: #20234B;
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: bold;   

}

.services-section p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 10px auto; /* ici plus d'espace en bas */
  color: #333;
  line-height: 1.5;
}


.cta-button {
  background-color: #FAB86C;
  color: black;
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #20234B;
  color: white;
}

.service-card:hover {
  border-color: #20234B;
  transition: border-color 1s ease;
}


  .nav-separators {
  width: 10%;
  height: 4px;
  background-color: #20234B;

}


@media (max-width: 1024px) {
  .service-card {
    flex: 1 1 calc(50% - 30px); /* 2 colonnes sur tablette */
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 1 1 100%; /* 1 colonne sur mobile */
  }
}


/* Boutons */






.choisir {
  background-color: #20234B;
  color: white;
  text-align: center;
  padding: 40px 10px; /* Plus de marge en haut et en bas */
}

.choisir h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
}

.choisir h2::after {
  content: "";
  display: block;
  width: 12%;
  height: 4px;
  background-color: #7DAAD5; /* bleu ciel */
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.atout p {
  font-weight: bold;
}
.atouts {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 100px; /* Plus d’espace entre les icônes */
  flex-wrap: wrap;
}

.atout {
  text-align: center;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
}

.atout img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}



/* Présentation */
.presentation {
  padding: 60px 20px;
}

.presentation .contenu {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: center ;
}

.presentation img {
  width: 25%;
  min-width: 250px;
  border-radius: 50%;
}

.presentation .texte {
  flex: 1;
  min-width: 400px;
  max-width: 65%;
  color: #000000;
}

@media screen and (max-width: 768px) {
  .moyens-contact {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .moyen {
    width: 50px; /* Même largeur */
    min-height: 20px; /* Hauteur uniforme */
    margin: 0 auto;
  }

  .moyen h4,
  .moyen a {
    font-size: 14px;
    word-wrap: break-word;
  }

  .contact p {
    font-size: 16px;
    padding: 0 10px;
  }
}


.presentation h2 {
  font-size: 2rem;
  color: #20234B;
  margin-bottom: 20px;
  border-bottom: 4px solid #7DAAD5; /* Soulignement bleu ciel */
  display: inline-block;
  padding-bottom: 5px;
}

.presentation .texte p {
  font-size: 20px; /* 25px en rem */
}

@media screen and (max-width: 768px) {
  .presentation {
    padding: 30px 15px;
  }

  .presentation .contenu {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 90%;
  }

  .presentation img {
    width: 60%;
    min-width: unset;
    border-radius: 20px; /* optionnel : moins arrondi sur mobile */
  }

  .presentation .texte {
    min-width: unset;
    max-width: 100%;
    text-align: center;
  }

  .presentation h2 {
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom-width: 3px;
    padding-bottom: 3px;
  }

  .presentation .texte p {
    font-size: 16px;
    line-height: 1.5;
  }
}









.equipe-siege {
  padding: 60px 20px;
  background-color: #d3ebff;
  text-align: center;
  margin-top: 50px;
}

.equipe-siege .contenu {
  max-width: 1000px;
  margin: 0 auto;
}

.equipe-siege h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #20234B; /* ton bleu foncé */
  border-bottom: 3px  solid #20234B;
  display: inline-block;
}

.membres {
  display: flex;
  flex-direction: column;
  gap: 200px;
}

.membre h3 {
  font-size: 1.5rem;
  color: #20234B;
  margin-bottom: 10px;
}

.membre p {
  font-size: 1rem;
  color: #340d0d;
}

/* Responsive si tu veux un affichage en ligne sur grand écran */
@media (min-width: 768px) {
  .membres {
    flex-direction: row;
    justify-content: space-around;
  }

  .membre {
    width: 45%;
  }
}







/* Contact */




@media (max-width: 768px) {
  .contact-map iframe {
    width: 100%;
    height: 350px;
  }

}

/* Pour les petits écrans (mobiles) */
@media (max-width: 480px) {
  .contact-map iframe {
    width: 100%;
    height: 250px;
    margin-top: 50px;
  }
}


.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #20234B;
  margin-bottom: 10px;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #000000;
  font-size: 18px;
}

.moyens-contact {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.contact a {
  margin: 0;
  padding: 0;
  font-weight: normal;
  text-decoration: none;
  color: #000000;
  transition: color 0.3s ease, transform 0.3s ease;

}

.contact a:hover{
  color: #659EC5;
}





.moyen {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  width: 220px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-left: 100px;
  margin-right: 100px;
  
  display: flex;
  flex-direction: column;
  align-items: center; /* 👈 centre horizontalement les éléments */
}


.moyen img {
  width: 40px;
  margin-bottom: 15px;  
}

.moyen h4 {
  margin-bottom: 5px;
  color: #20234B;
}




footer {
  background-color: #20234B;
  color: white;
  padding: 40px 20px 10px;
  font-family: Arial, sans-serif;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 100px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  width: 200px;
}

.footer-section h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.footer-section h3 span {
  color: #7DAAD5;
  margin-right: 5px;
}


.footer-section ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.footer-section ul li img {
  width: 18px;
  margin-right: 10px;
  margin-top: 3px;
}

.footer-logo img {
  width: 150px;
  display: block;
  margin: 0 auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}


.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.5s;
  
}

.footer-section ul li a:hover {
  color: #7DAAD5;
  text-decoration: underline;
}


@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    max-width: 300px;
  }

  .footer-section ul li {
    justify-content: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }
}





.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #20234B;
  color: white;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 100%;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #5c92c0;
}




















/* page service */
/* Section globale */
.services {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  font-family: sans-serif;
}

.services h2 {
  font-size: 2rem;
  color: #20234B;
  border-bottom: 4px solid #7DAAD5;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

/* Container cartes */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Carte individuelle */
.card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .icon {
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.25rem;
  color: #20234B;
  margin-bottom: 5px;
  text-align: center;
  font-weight: bold;
}

.card p {
  font-size: 1rem;
  color: #000000;
  margin: 10px 0;
}

/* Barre sous le titre et sous le paragraphe */
.card .bar {
  width: 100px;
  height: 3px;
  background-color: #7DAAD5;
  margin: 8px auto;
  border-radius: 2px;
}

/* Liste */
.card ul {
  padding-left: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.card ul li {
  list-style: disc;
  margin-bottom: 5px;
  color: #555;
}

/* Bouton */
.btn {
  background-color: #20234B;
  color: white;
  text-align: center;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.btn:hover {
  background-color: #7DAAD5;
}






.nl-services-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.nl-service-block {
  display: flex;
  align-items: center;
  background-color: #E5F3FF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  gap: 30px;
}

.nl-normal {
  flex-direction: row;
}

.nl-reverse {
  flex-direction: row-reverse;
}

.nl-service-image {
  flex: 1 1 300px;
  max-width: 400px;
  width: 100%;
}

.nl-service-text {
  flex: 2 1 400px;
  padding: 30px;
}

.nl-service-text h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #20234B;
}

.nl-service-text p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #20234B;
}

.nl-btn {
  display: inline-block;
  background-color: #20234B;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.nl-btn:hover {
  background-color: #F6AC6A;
}
@media screen and (max-width: 768px) {
  .nl-service-block {
    flex-direction: column !important;
    text-align: center;
    padding: 0;
    height: auto;
    overflow: hidden;
  }

  .nl-normal,
  .nl-reverse {
    flex-direction: column !important;
  }

  .nl-services-container {
    margin: 30px;
  }

.nl-service-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Ajuste cette valeur selon ton rendu */
  object-fit: cover;
  border-radius: 0;
  order: -1; /* 👈 place l'image au-dessus du texte */
}


  .nl-service-text {
    padding: 20px;
  }

  .nl-service-text h2 {
    font-size: 18px;
  }

  .nl-service-text p {
    font-size: 13px;
  }

  .nl-btn {
    font-size: 13px;
    padding: 8px 16px;
  }
}










.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 80px;
}

.contact-form {
  flex: 1 1 500px;
  max-width: 600px;
}

.form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-full {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #20234B;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  background-color: #20234B;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #7DAAD5;
  color: #20234B;
}

.contact-map {
  flex: 1 1 400px;
  min-height: 300px;
  max-width: 600px;
}




























.register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #20234B;
}

.register-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.register-container h2 {
    color: #20234B;
    text-align: center;
}

.register-container form {
    display: flex;
    flex-direction: column;
}

.register-container label {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #20234B;
}

.register-container input {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.register-container button {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #7DAAD5;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.register-container button:hover {
    background-color: #5e90c1;
}

.register-container p {
    margin-top: 1rem;
    text-align: center;
    color: black;
}








.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px; /* Réduire le padding pour éviter les débordements */
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  position: relative;
  box-sizing: border-box; /* Inclure le padding dans la largeur totale */
}

.modal-content h3 {
  color: #20234B;
  text-align: center;
  margin-bottom: 20px;
}

.close {
  color: #000;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.form-group input,
.form-group select {
  flex: 1 1 45%;
  padding: 10px;
  font-size: 16px;
}

.btn {
  background-color: #20234B;
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
}

.form-group div {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 600px) {
  .form-group {
    flex-direction: column;
  }

  .form-group div {
    flex: 1 1 100%;
  }

  .form-group input,
  .form-group select {
    width: 90%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-content {
    width: 90%;       /* Gardez 90% pour mobile */
    max-height: 80vh; /* Limite la hauteur à 80% de la hauteur écran */
    overflow-y: auto; /* Scroll vertical si besoin */
    overflow-x: auto;
    padding: 20px;    /* Assurez-vous que le padding est approprié */
    margin: 0 auto;   /* Centrer le modal */
  }
}



  .close {
    font-size: 24px;
    top: 10px;
    right: 15px;
  }







.cards .icon {
  transition: transform 0.3s ease;
}

.cards .card:hover .icon {
  transform: rotate(5deg) scale(1.1);
}



.titre-doc {
    color: black;
    margin: 20px 0 10px 0; /* exemple de marge au-dessus et en dessous */
    padding: 0 10px;
}

.doc-item {
    color: black;
    margin: 10px 0;
    padding: 5px 10px;
    list-style-type: disc; /* ou autre style si tu veux */
}


/* Conteneur principal */
.admin-dashboard {
    width: 80%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: #20234B;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Titre principal */
.admin-dashboard__title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

/* Liste des documents */
.admin-dashboard__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Élément de liste */
.admin-dashboard__item {
    background-color: #ecf0f1;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #000;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nom de l'utilisateur */
.admin-dashboard__user {
    font-weight: bold;
    color: #2980b9;
}

/* Lien de téléchargement */
.admin-dashboard__link {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
}

.admin-dashboard__link:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
  .admin-dashboard__item {
    font-size: 15px;
    display: flex;
    flex-direction: column;
  }

  .admin-dashboard__user,
  .admin-dashboard__link {
    display: block;
    margin-top: 5px;
  }
}


.btn-admin {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #20234B;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-admin:hover {
  background-color: #7DAAD5;
  color: #20234B;
}


.admin-dashboard__search {
  width: 100%;
  max-width: 500px;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  border-radius: 8px;
}






.reset-password-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: #f5f7fa;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(32, 35, 75, 0.15);
  font-family: 'Arial', sans-serif;
  color: #20234B;
}

.reset-password-container h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.reset-password-message {
  color: #2a7f62; /* vert doux pour succès */
  margin-bottom: 15px;
  font-weight: 600;
}

.reset-password-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #20234B;
}

.reset-password-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #7DAAD5;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.reset-password-form input[type="password"]:focus {
  border-color: #20234B;
  outline: none;
}

.reset-password-form button {
  background-color: #20234B;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-weight: 700;
}

.reset-password-form button:hover {
  background-color: #7DAAD5;
  color: #20234B;
}



.forgot-password-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: #f5f7fa;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(32, 35, 75, 0.15);
  font-family: 'Arial', sans-serif;
  color: #20234B;
}

.forgot-password-container h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.forgot-password-message {
  color: #2a7f62; /* vert doux */
  margin-bottom: 15px;
  font-weight: 600;
}

.forgot-password-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #20234B;
}

.forgot-password-form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #7DAAD5;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.forgot-password-form input[type="email"]:focus {
  border-color: #20234B;
  outline: none;
}

.forgot-password-form button {
  background-color: #20234B;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-weight: 700;
}

.forgot-password-form button:hover {
  background-color: #7DAAD5;
  color: #20234B;
}
