/* Bordures carrées blanches autour des images du portfolio */
.portfolio-item img {
  border: 4px solid white;
  border-radius: 0; /* Carré, pas arrondi */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Effet ombre noire pour poser sur "table" */
  transition: transform 0.3s ease;
}

.portfolio-item img:hover {
  transform: scale(1.02); /* Léger zoom au survol */
}


/* LOGO effet hover */
.logo-hover-effect {
  transition: transform 0.4s ease;
}
.logo-hover-effect:hover {
  transform: scale(1.1) rotate(3deg);
}

/* Bouton Faire un don : jaune -> vert */
.donate-btn {
  background-color: rgb(246, 238, 146);
  color: rgb(70, 150, 87);
  border: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.donate-btn:hover {
  background-color: rgb(70, 150, 87);
  color: rgb(245, 241, 164);
}



.custom-outline-btn:hover {
  background-color: none;
  color: rgb(253, 249, 178);
}

/* Bouton langue stylé */
.lang-dropdown .btn-language {
  color: rgb(70, 150, 87);
  transition: 0.3s;
  font-weight: bold;
}
.lang-dropdown .btn-language:hover {
  color: rgb(250, 244, 175);
}
/* Icônes réseaux sociaux */
.social-icon {
  color:rgb(70, 150, 87);
  font-size: 20px;
  margin: 0 5px;
  transition: 0.3s;
}
.social-icon:hover {
  color: rgb(252, 238, 182);
}

/* Effet header scroll */
.header {
  transition: all 0.4s ease;
  background-color: transparent;
  padding: 25px 15px;
}
.header.scrolled {
  background-color: white;
  padding: 10px 15px;
  box-shadow: 0 2px 8px rgba(214, 218, 212, 0.1);
}

.header.scrolled .navmenu a:hover {
  color: rgb(248, 231, 155) !important;
}
.header .navmenu ul ul a:hover {
  background-color: #fffacd;
  color: rgb(6, 7, 6) !important;
}
/* Couleur jaune par défaut des menus */
.header .navmenu a {
  color: rgb(3, 6, 4);
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Au survol (avant scroll) */
.header .navmenu a:hover {
  color: #fffacd;
}

/* Bouton loupe */
.search-btn {
  background-color: rgb(70, 150, 87);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: #fffacd; /* Jaune poussin */
  color: black;
}

/* Boîte de recherche cachée par défaut */
.search-box {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: 2px solid rgb(70, 150, 87);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 100;
}

/* Input et bouton à l’intérieur */
.search-input {
  border: 1px solid #ccc;
  padding: 6px 8px;
  border-radius: 4px;
  width: 180px;
}

.search-submit {
  background-color:rgb(70, 150, 87);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-submit:hover {
  background-color: #fffacd;
  color: black;
}

/* Active */
.search-box.active {
  right: 120%;
  opacity: 1;
  visibility: visible;
}
/* Espacement réduit entre les éléments de navigation */
.navmenu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 0;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
}

/* Traits en dessous de chaque lien */
.navmenu ul li a {
  position: relative;
  padding-bottom: 4px;
}
.navmenu ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: rgb(70, 150, 87);
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.navmenu ul li a:hover::after {
  width: 100%;
  background-color: #fffacd;
}

/* Sélecteur de langue amélioré */
.lang-switcher .btn-language {
  background-color: rgb(70, 150, 87);
  color: white;
  border: 2px solid rgb(70, 150, 87);
  font-weight: bold;
  padding: 6px 12px;
  transition: 0.3s ease;
  border-radius: 5px;
}
.lang-switcher .btn-language:hover {
  background-color: #fffacd;
  color: rgb(70, 150, 87);
}
.lang-switcher .dropdown-menu {
  border: 1px solid rgb(70, 150, 87);
  background-color: white;
}
.lang-switcher .dropdown-item {
  font-weight: bold;
  color: rgb(70, 150, 87);
}
.lang-switcher .dropdown-item:hover {
  background-color:#fffacd;
  color: rgb(6, 10, 7);
}



.slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: -80px; /* Ajout de 60px en haut */
  margin-top: 0px; /* Ajout de 60px en haut */

}


.slider-container {
  position: relative;
  height: 800px;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  filter: brightness(0.7);
  margin-top: -60px; /* Pour compenser le décalage du slider */
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

.impact-title {
  font-family: Impact, sans-serif;
  font-size: 3rem;
  color: rgb(70, 150, 87);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px #000;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-btn {
  border: 2px solid #fffacd;
  color: rgb(243, 249, 243);
  background: transparent;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  transition: 0.4s ease;
}
.custom-btn:hover {
  background: rgb(70, 150, 87);
  color: #fffacd;
}

.video-btn i {
  margin-right: 6px;
  font-size: 18px;
}
.video-btn {
  background-color:#fffacd;
  color: rgb(70, 150, 87);
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.slider-section::after {
  content: "";
  display: block;
  width: 100%;
  height: 800px;
  background: white; /* Tu peux changer pour une autre couleur ou image */
  position: absolute;
  bottom: -800px;
  left: 0;
  z-index: 0;
}

.slider-bottom-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 800px;
  overflow: hidden;
  z-index: 1;
}
.slider-bottom-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Conteneur principal du diaporama avec position relative */
#hero-slider {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Dégradé en haut (brume blanche descendante) */
#hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 400px;
  width: 100%;
  background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

/* Dégradé en bas (brume blanche montante) */
#hero-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 120px;
  width: 100%;
  background: linear-gradient(to top, rgb(251, 251, 249), rgba(0, 0, 0, 0));
  z-index: 2;
  pointer-events: none;

}
/* Section des blocs d'information */
.info-blocks-section {
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  color: white;
}

/* Conteneur des 3 blocs */
.info-blocks {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 3;
  flex-wrap: wrap;
  justify-content: center;
}

/* Bloc individuel avec image, titre, texte */
.info-box {
  width: 220px;
  min-height: 260px;
  border: 3px solid white;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 16px;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  border-radius: 8px;
}

/* Hover jaune poussin */
.info-box:hover {
  border-color:#fffacd;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Image dans le bloc */
.info-image {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(1px 1px 1px #000);
}

/* Titre en dessous de l’image */
.info-title {
  font-family: Impact, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

/* Texte final */
.info-text {
  font-size: 0.95rem;
  color: #eee;
}
/* Hauteur du conteneur du diaporama */
.slider-container {
  position: relative;
  height: 1000px; /* Augmenté (avant : 800px) */
}

/* Hauteur de chaque image dans les slides */
.slide img {
  width: 100%;
  height: 1000px; /* Doit correspondre à .slider-container */
  object-fit: cover;
  filter: brightness(0.7);
}

/* Position du contenu principal (titre et boutons) */
.slide-content {
  position: absolute;
  top: 35%; /* Remonté un peu pour laisser la place aux blocs en dessous */
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

.info-blocks-section {
  background: linear-gradient(to bottom, white, #f9f9f9);
  padding: 60px 30px;
}

.info-blocks-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  background-image: url('assets/img/Wall 2023-10-06-20-27-44.jpg'); /* ton image ici */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-radius: 15px;
}


.info-box {
  background-color: white;
  width: 350px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
}

.image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border: 4px solid white;
  transition: border-color 0.3s ease;
}

.image-wrapper:hover {
  border-color: #fffacd; /* Jaune poussin */
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-content {
  padding: 20px;
  text-align: center;
}

.info-title {
  color: rgb(70, 150, 87);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.info-text {
  color: black;
  font-size: 1rem;
  line-height: 1.6;
}

.highlight {
  color: #fffacd;
  font-weight: bold;
}
.info-text strong {
  color: #fffacd;
  font-weight: bold;
}
.info-text em {
  color: rgb(70, 150, 87);
  font-style: italic;
}
/* Effet de zoom sur les images du portfolio */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 0; /* Carré, pas arrondi */
}
.portfolio-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}


/* Section Focus Projet */
.focus-projet-section {
  background-color: #fefefe;
  padding: 80px 0;
  font-family: 'Segoe UI', sans-serif;
}

.section-title h2 {
  color: rgb(70, 150, 87);
  font-weight: bold;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.focus-projet-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0.95));
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.focus-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  border: 4px solid white;
  transition: transform 0.4s;
}

.focus-image img:hover {
  border-color: #fffacd;
  transform: scale(1.02);
}

.focus-text {
  flex: 1;
  min-width: 280px;
}

.focus-title {
  font-size: 1.8rem;
  color: rgb(70, 150, 87);
  font-weight: bold;
  margin-bottom: 20px;
}

.focus-description {
  font-size: 1rem;
  color: black;
  line-height: 1.7;
  margin-bottom: 20px;
}

.focus-features {
  list-style: none;
  padding-left: 0;
  color: black;
  margin-bottom: 25px;
}

.focus-features li {
  margin-bottom: 10px;
  font-weight: 500;
}

.text-green {
  color: rgb(70, 150, 87);
  margin-right: 8px;
}

.highlight-yellow {
  color: #fffacd;
  font-weight: bold;
}

.highlight-green {
  color: green;
  font-weight: bold;
}

.focus-btn {
  display: inline-block;
  background-color: rgb(70, 150, 87);
  color: white;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.focus-btn:hover {
  background-color: #fffacd;
  color: rgb(70, 150, 87);
}
.services-section {
  background-image: url("assets/img/background-services.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  color: #000;
  position: relative;
}

.services-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.85));
  z-index: 0;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.section-header h2 {
  color:rgb(70, 150, 87);
  font-family: Impact, sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-header p {
  text-align: center;
  font-family: Arial, sans-serif;
  color: #000;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.85); /* plus visible */
  padding: 30px;
  border: 3px solid white;
  transition: all 0.4s ease;
  text-align: center;

  /* Ombre simulant une carte posée */
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.2), /* ombre générale */
    0 25px 30px -10px rgba(0, 0, 0, 0.1); /* ombre large étalée au sol */

  position: relative;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.25),
    0 35px 45px -15px rgba(0, 0, 0, 0.1);
}


.service-card:hover {
  background-color: #fffacd;
  transform: translateY(-5px);
}

.service-icon {
  font-size: 40px;
  color: rgb(70, 150, 87);
  margin-bottom: 15px;
}

.service-card h3 {
  font-family: Impact, sans-serif;
  font-size: 1.5rem;
  color: rgb(70, 150, 87);
  margin-bottom: 10px;
}

.service-card p {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #000;
  margin-bottom: 20px;
}

.highlight {
  font-weight: bold;
  color: #fffacd;
}

.service-link {
  display: inline-block;
  font-weight: bold;
  padding: 10px 18px;
  background-color: #fffacd;
  color: rgb(70, 150, 87);
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.service-link:hover {
  background-color:rgb(70, 150, 87);
  color: white;
}

.portfolio-bg-wrapper {
  background-image: url('assets/img/boss.png'); /* remplace par ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0; /* marge interne pour respiration */
}
.post-card {
  background-color: #ffffff;
  border: 2px solid rgb(70, 150, 87);
  padding: 20px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: left;
}

.post-card:hover {
  background-color: #fefcd9;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.post-card .post-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid rgb(70, 150, 87);
}

.post-card .post-category {
  color: #000;
  background-color: #fffacd;
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  margin-top: 15px;
  border-radius: 0;
  font-weight: bold;
}

.post-card h2.title a {
  color: rgb(70, 150, 87);
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  text-decoration: none;
}

.post-card h2.title a:hover {
  text-decoration: underline;
  color: rgb(70, 150, 87);
}

.post-card .post-author-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 2px solid rgb(70, 150, 87);
  margin-right: 10px;
}

.post-card .post-meta {
  font-size: 14px;
  color: #333;
}

.post-card .post-meta .post-author {
  font-weight: bold;
  color: rgb(70, 150, 87);
}

.post-card .post-meta .post-date time {
  font-style: italic;
  color: #555;
}
/* Clients Section Global */
.clients {
  background: #f9f9f9;
  padding: 60px 0;
}

/* Style pour chaque logo */
.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
}

.client-logo img {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
  transform: rotateX(6deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100px;
}

/* Effet au hover */
.client-logo img:hover {
  transform: rotateX(0deg) scale(1.05);
  box-shadow: 0 30px 35px rgba(0, 0, 0, 0.3);
}

.footer-location h3 {
  color: rgb(70, 150, 87);
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

.btn-join.custom-outline-bton {
  display: inline-block;
  padding: 10px 25px;
  color:rgb(70, 150, 87);           /* vert foncé */
  background-color: transparent;
  border: none;             /* pas de bordure */
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-join.custom-outline-bton:hover {
  color:#fffacd;                /* texte noir pour contraste */
}

/* Cacher le header sur les écrans de 991px et moins (tablettes et téléphones) */
@media screen and (max-width: 991px) {
  #header {
    display: none !important;
  }
}
.mobile-nav {
    background-color: #f8f9fa; /* Couleur de fond */
    padding: 10px;
    border: 1px solid #dee2e6; /* Bordure */
}

.mobile-nav ul {
    list-style-type: none; /* Supprimer les puces */
    padding: 0; /* Supprimer le padding */
    margin: 0; /* Supprimer la marge */
}

.mobile-nav > ul > li {
    position: relative; /* Position relative pour le dropdown */
}

.mobile-nav > ul > li > a {
    display: block; /* Affichage en bloc */
    padding: 10px; /* Espacement */
    color: #333; /* Couleur du texte */
    text-decoration: none; /* Supprimer le soulignement */
    transition: background-color 0.3s; /* Transition pour l'effet hover */
}

.mobile-nav > ul > li > a:hover {
    background-color: #e2e6ea; /* Couleur de survol */
}

.mobile-nav ul ul {
    display: none; /* Masquer les sous-menus par défaut */
    position: absolute; /* Position absolue pour le dropdown */
    left: 0; /* Alignement à gauche */
    top: 100%; /* Positionner en dessous du parent */
    background-color: #ffffff; /* Couleur de fond des sous-menus */
    border: 1px solid #dee2e6; /* Bordure des sous-menus */
    z-index: 1000; /* Assurer que le sous-menu soit au-dessus */
    width: 100%; /* Prendre toute la largeur */
}

.mobile-nav ul li:hover > ul {
    display: block; /* Afficher le sous-menu au survol */
}

.mobile-nav ul ul li {
    width: 100%; /* Prendre toute la largeur du sous-menu */
}

.mobile-nav ul ul li a {
    padding: 10px 20px; /* Espacement dans le sous-menu */
    color: #333; /* Couleur du texte des sous-menus */
}

.mobile-nav ul ul li a:hover {
    background-color: #e2e6ea; /* Couleur de survol des sous-menus */
}
