/* Apply Poppins font family globally */
* {
  font-family: "Poppins", sans-serif; /* Fallback to sans-serif if Poppins is unavailable */
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.top-bar {
  background-color: rgb(36, 49, 91);
  color: white;
  display: flex;
  justify-content: flex-end;
  padding: 5px;
  font-size: 14px;
  padding-right: 5%;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 40px; /* Espace entre le téléphone et l'email */
}

.contact-info div {
  display: flex;
  align-items: center;
}

.contact-info .icon {
  width: 40px; /* Ajustement de la taille */
  margin-right: 15px;
}

/* Media Query for small screens */
@media (max-width: 768px) {
  .top-bar {
    padding-right: 10px; /* Reduce the padding on smaller screens */
    justify-content: center; /* Center the content horizontally */
  }

  .contact-info {
    flex-direction: column; /* Stack the items vertically */
    gap: 20px; /* Reduce the gap between items */
    align-items: flex-start; /* Align the items to the left */
  }

  .contact-info .icon {
    width: 40px; /* Smaller icon size for mobile */
    margin-right: 10px; /* Reduce the margin */
  }

  .top-bar span {
    font-size: 14px; /* Smaller font size for mobile */
  }
}

/* Media Query for very small screens */
@media (max-width: 480px) {
  .top-bar {
    padding-right: 5px; /* Further reduce the padding */
  }

  .contact-info {
    gap: 15px; /* Further reduce the gap */
  }

  .contact-info .icon {
    width: 25px; /* Even smaller icon size for very small screens */
    margin-right: 8px; /* Adjust margin accordingly */
  }

  .top-bar span {
    font-size: 12px; /* Further reduce font size for very small screens */
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  max-width: 10%;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin: 0 17px;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-size: 15px;
  font-weight: 600;
}

/* Style for the dropdown */
.dropdown {
  position: relative;
  list-style: none;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Position the dropdown below the parent link */
  left: 0;
  background-color: white;
  border: 1px solid #90ee90; /* Light green border */
  box-shadow: 0 2px 6px rgba(144, 238, 144, 0.5); /* Light green shadow */
  border-radius: 5px;
  width: 220px; /* Adjust the width of the dropdown */
  z-index: 10;
  padding-top: 5%;
  padding-bottom: 5%;
}

/* Style for the items inside the dropdown */
.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  padding: 10px;
  text-decoration: none;
  color: #333; /* Text color for dropdown items */
  display: block;
}

/* Hover effect for dropdown items */
.dropdown-content li a:hover {
  background-color: #f0f0f0; /* Change background color on hover */
}

/* Show the dropdown when hovering over the parent item */
.dropdown:hover .dropdown-content {
  display: block;
}

.social-icons a {
  margin: 0 3px;
}

.social-icons img {
  max-width: 36%;
}

.contact-button {
  background-color: green;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

/* Responsiveness */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }
  .social-icons img {
    margin-top: 26%;
  }
}

/* Le slider occupe toute la hauteur de la page */
.swiper {
  width: 100%;
  height: 90vh; /* 85% de la hauteur de la fenêtre */
  position: relative; /* Nécessaire pour positionner le texte au-dessus */
}

/* Assure que les images remplissent correctement l'écran */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute; /* Place l'image en arrière-plan */
  top: 0;
  left: 0;
}

/* Contenu du slide (texte au-dessus de l'image) */
.slide-content {
  position: absolute;
  top: 17%; /* Ajuste cette valeur pour déplacer le texte plus haut ou bas */
  left: 16%; /* Aligne le texte à gauche */
  transform: translateX(0); /* Enlève le centrage horizontal */
  text-align: left; /* Aligne le texte à gauche */
  color: white;
  z-index: 1; /* S'assure que le texte est au-dessus de l'image */
}

/* Style du titre */
.slide-title {
  font-size: 85px;
  font-weight: bold;
  margin-bottom: 3%;
}

/* Style du texte descriptif */
.slide-text {
  line-height: 1.9;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 40px;
}

/* Personnalisation des boutons de navigation */
.swiper-button-prev,
.swiper-button-next {
  color: white; /* Couleur des flèches */
  padding: 10px;
  border-radius: 50%;
}

/* Agrandir les icônes des flèches */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
}

/* Espacer les points */
.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 30px; /* Espacement entre les points */
  margin-bottom: 2%;
}

/* Style des points */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.6;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  margin-bottom: 3%;
}

/* Style du point actif */
.swiper-pagination-bullet-active {
  background: transparent; /* Fond transparent */
  border: 1px solid white; /* Bordure blanche */
  opacity: 1;
  transform: scale(1.5); /* Agrandir le point actif */
}

/* Style du bouton "Contactez-nous" */
.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background-color: #00872d;
  color: white;
  font-size: 18px;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 8%;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: white;
  color: rgb(36, 49, 91);
}

/* Style de l'icône de flèche */
.contact-btn i {
  margin-left: 10px; /* Espacement entre le texte et l'icône */
  font-size: 16px; /* Taille de l'icône */
  font-weight: 600;
}

/* Media Queries pour la Responsivité */

/* Sur les petits écrans (tablettes, petites résolutions) */
@media (max-width: 768px) {
  .swiper {
    height: 70vh; /* Réduire la hauteur du slider */
  }

  /* Modifier la taille du titre et du texte */
  .slide-title {
    font-size: 50px;
  }

  .slide-text {
    font-size: 22px;
  }

  .slide-content {
    top: 20%; /* Déplacer légèrement le texte */
    left: 10%; /* Réduire l'indentation */
  }

  .contact-btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  /* Réduire l'icône de flèche */
  .contact-btn i {
    font-size: 14px;
  }
}

/* Sur les petits écrans (mobiles) */
@media (max-width: 480px) {
  .swiper {
    height: 60vh; /* Réduire la hauteur du slider encore plus */
  }

  .slide-title {
    font-size: 35px;
  }

  .slide-text {
    font-size: 18px;
  }

  .slide-content {
    top: 25%; /* Ajuster pour l'écran mobile */
    left: 5%; /* Réduire encore l'indentation */
  }

  .contact-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .contact-btn i {
    font-size: 12px;
  }
}

/* Blue Section Styling */
/* Blue Section Styling */
.blue-section {
  background-color: #24315b;
  color: white;
  padding-left: 15%;
  padding-right: 15%;
  padding-top: 2%;
  padding-bottom: 2%;
  text-align: center;
}

.blue-text-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 25px;
}

.blue-text-left {
  max-width: 20%;
  padding: 10px;
  text-align: left;
}

.blue-text-right {
  max-width: 75%;
  padding: 10px;
  text-align: justify;
  line-height: 1.9;
  hyphens: auto;
  word-break: break-word;
}

/* Correction mobile */
@media (max-width: 768px) {
  .blue-text-right {
    max-width: 100%;
    text-align: left;
  }
}

/* Responsive Layout for Tablet and Mobile */
@media (max-width: 992px) {
  .blue-text-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .blue-text-left,
  .blue-text-right {
    max-width: 100%;
    width: 100%;
    padding: 10px 0;
  }

  .blue-text-left {
    text-align: center; /* Optional: center the left text for better mobile layout */
  }

  .blue-text-right {
    text-align: justify;
  }
}

/* Grey Section Styling */
.grey-section {
  background-color: #f1efef;
  padding: 40px 0;
  padding-left: 8%;
  padding-right: 8%;
  text-align: center;
}

.center-container {
  display: flex;
  overflow-x: auto; /* Allow horizontal scrolling if items exceed container width */
  gap: 35px;
  /* padding: 0 10%; */
  justify-content: center;
}

.item {
  display: flex;
  flex-direction: column; /* Met l'image et le texte en colonne */
  align-items: center; /* Centre horizontalement */
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  width: 130px;
  margin-top: 2%;
}

.item img {
  width: 60px; /* Taille cohérente et responsive */
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px; /* Espace entre image et texte */
}

.item p {
  font-size: 15px;
  color: #444343;
  font-weight: 600;
  line-height: 1.6;
  margin: 0; /* évite un espace non contrôlé */
}

/* Active Item (Green Color on Click) */
.item.active img {
  filter: invert(31%) sepia(87%) saturate(365%) hue-rotate(90deg)
    brightness(92%) contrast(92%);
}

.item.active p {
  color: #197839;
}

@media (max-width: 768px) {
  .center-container {
    padding: 0 5%;
    justify-content: flex-start; /* scrollable horizontal si nécessaire */
  }

  .item {
    width: 100px; /* plus petit pour les petits écrans */
  }

  .item img {
    width: 50px;
  }

  .item p {
    font-size: 14px;
  }
}

.highlight {
  font-size: 70px; /* Increase the font size for +10 */
  font-weight: bolder; /* Make +10 bold */
  color: #2db25a; /* Set a color for +10 (e.g., blue) */
  text-align: center; /* Center the text horizontally */
}

.highlight1 {
  font-size: 22px; /* Increase the font size for +10 */
  font-weight: bolder; /* Make +10 bold */
  color: #2db25a; /* Set a color for +10 (e.g., blue) */
  line-height: 1.8;
  text-align: center; /* Center the text horizontally */
}

.annee {
  font-weight: bold;
  line-height: 1.8;
}

#text-left {
  text-align: center; /* Center all the content inside #text-left */
}

.text-section {
  text-align: center; /* Center all text inside */
  padding-top: 3%;
  /* padding: 40px 10%; */
}

.title {
  font-size: 48px;
  font-weight: 700;
  margin-top: 3%;
  color: #24315b;
  /* Adding drop shadow */
}

.subtitle {
  font-size: 35px;
  font-weight: 700;
  color: #24315b;
  margin-top: 2%;
  text-align: center;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .subtitle {
    font-size: 25px;
    margin-top: 4%;
  }
}

.text {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  max-width: 800px; /* Limits width for better readability */
  margin: 0 auto; /* Centers text block */
  margin-top: 2%;
  line-height: 2.4;
}

.full-width-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ajuste l'image sans distorsion */
  display: block;
  margin-top: 40px;
}

@keyframes fade-left {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-us {
  margin-bottom: 4%;
}

.section-engagement {
  padding-left: 20%;
  padding-right: 20%;
  line-height: 1.7;
  text-align: left;
  margin-top: 2%;
  font-size: 24px;
  color: green;
  font-weight: bold;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .section-engagement {
    padding-left: 5%;
    padding-right: 5%;
    font-size: 18px;
    text-align: center;
  }
}

.section-contact {
  padding-left: 20%;
  padding-right: 20%;
  line-height: 1.7;
  text-align: center;
  margin-top: 3%;
  margin-bottom: 2% !important;
  font-size: 35px;
  color: #24315b;
  font-weight: bold;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .section-contact {
    padding-left: 5%;
    padding-right: 5%;
    font-size: 22px;
  }
}

.fade-left {
  opacity: 0;
  animation: fade-left 1s ease-out forwards;
}

.section-title {
  text-align: center;
  margin-top: 5%;
  margin-bottom: 4% !important;
  font-size: 40px;
  color: #197839;
  font-weight: bold;
  margin-bottom: 45px;
  /* Adding drop shadow */
}

.section-title1 {
  text-align: center;
  margin-bottom: 45px !important;
  font-size: 35px;
  color: #24315b;
  font-weight: bold;
  /* Optional: Add a subtle drop shadow */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .section-title1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
}

.recycling-steps {
  position: relative;
  padding: 40px;
}

.card-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  gap: 20px;
  overflow: hidden;
}

.card-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: nowrap; /* prevent wrapping if using slider effect */
  overflow: hidden;
  flex: 1; /* allow container to grow between buttons */
}
.card-header {
  background-color: #197839;
  color: #fff;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 15px;
}

.card-header h3 {
  font-weight: bold;
}

.card-img {
  width: 350px; /* ou une autre taille fixe */
  height: 200px; /* hauteur fixe */
  object-fit: contain; /* remplit sans déformer */
  border-radius: 8px;
  display: block;
  margin: 3% auto; /* centré avec marge top/bottom */
}

@media (max-width: 768px) {
  .card-img {
    max-width: 90%;
    height: auto;
  }
}

.card-text {
  line-height: 2;
  font-size: 14px;
  color: #1d1c1c;
  margin-top: 10px;
  text-align: left;
}

.card {
  width: 280px;
  background-color: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.pagination {
  background-color: #197839;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 24px;
  flex-shrink: 0; /* Prevent buttons from shrinking */
}

.pagination:hover {
  background-color: #145e2c;
}

/* .card-container { 
    display: flex;
    gap: 50px;
    justify-content: center;
    overflow: hidden; 
}

.card { 
    width: 280px;
    background-color: #fff;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1); 
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px; 
}


.card-header {
    background-color: #197839; 
    color: #fff;
    padding-top: 1px;  
    padding-bottom: 1px; 
    padding-left: 15px;  
    padding-right: 15px;  
    margin-bottom: 15px;
}

.card-img {
    width: 100%;
    height: auto;
    margin-top: 3%;
    margin-bottom: 3%;
    border-radius: 8px;
}

.card-text {
    line-height: 2;
    font-size: 14px;
    color: #1d1c1c;
    margin-top: 10px;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.pagination button {
    background-color: #197839;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}

.pagination button:hover {
    background-color: #197839;
} */

@media (max-width: 1024px) {
  .card-container {
    flex-wrap: wrap; /* Wrap cards on medium screens */
    justify-content: space-around;
  }

  .card {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .card-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    width: 200px;
    margin-bottom: 20px;
  }

  .pagination {
    gap: 10px;
  }

  .pagination button {
    padding: 8px 16px;
    font-size: 16px;
  }
}

.contact-section {
  display: flex;
  max-width: 70%;
  margin: 50px auto;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 7%;
}

.contact-image {
  width: 40%;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  width: 60%;
  padding: 40px;
  background: #fff;
}

.contact-form h3 {
  text-align: center;
  background: #f8f7f0;
  color: #404a3d;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 5%;
}

.contact-form p {
  text-align: center;
  margin: 15px 0;
  margin-bottom: 5%;
  font-weight: bold;
  font-size: 30px;
  color: green;
}

.form-group {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  background-color: #fff;
  width: 100%;
  padding: 15px;
  border: 1px solid rgb(213, 214, 213);
  border-radius: 10px;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1px solid rgb(144, 238, 144); /* Vert clair style menthe */
  box-shadow: 0 4px 15px rgba(144, 238, 144, 0.4); /* Ombre verte douce */
  outline: none; /* Optional: Removes the default outline */
}

textarea {
  height: 100px;
}

.send-button {
  display: block;
  width: 40%;
  padding: 10px;
  margin-bottom: 8%;
  background: #24315b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.send-button:hover {
  background: #197839;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    max-width: 90%; /* Make the section more responsive on small screens */
  }

  .contact-image {
    width: 100%;
    height: 200px;
  }

  .contact-form {
    width: 100%;
    padding: 20px;
  }

  .form-group {
    flex-direction: column; /* Stack the inputs vertically on smaller screens */
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
  }

  .send-button {
    width: 60%; /* Adjust button size */
    margin: 20px auto; /* Center the button */
  }
}

@media (max-width: 480px) {
  .contact-form h3 {
    font-size: 20px; /* Make the heading smaller on very small screens */
  }

  .contact-form p {
    font-size: 22px; /* Reduce font size for small screens */
  }
}

.footer {
  background-color: #24315b;
  color: white;
  padding: 30px 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 50px;
  margin-top: 1%;
  margin-bottom: 1%;
}

.footer-left {
  width: 30%;
}

.footer-left .footer-logo {
  margin-bottom: 2%;
  max-width: 200px;
  height: auto;
}

.footer-left p {
  font-size: 14px;
  line-height: 2.4;
  margin-top: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-icons img {
  max-width: 100%;
}

.footer-center {
  width: 40%;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 20px;
}

.footer-center h4 {
  grid-column: span 3;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

.useful-links,
.working-time,
.our-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.useful-links h5,
.working-time h5,
.our-address h5 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #37b963;
  font-weight: bold;
}

.useful-links ul {
  list-style: none;
  padding: 0;
}

.useful-links ul li {
  margin-bottom: 14px;
  font-size: 15px;
}

.useful-links a {
  color: white;
  text-decoration: none;
}

.useful-links a:hover {
  text-decoration: underline;
}

.working-time p,
.our-address p {
  margin-bottom: 14px;
  font-size: 14px;
  text-align: left;
}

.footer-right {
  width: 25%;
}

.footer-right img {
  margin-top: 30% !important;
  padding-left: 20%;
  max-width: 80%;
  height: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #fff;
  max-width: 1130px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-left-text,
.footer-right-text {
  max-width: 100%;
}

.footer-left-text p,
.footer-right-text p {
  font-size: 15px;
  color: #fff;
  margin: 0;
  text-align: center;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .useful-links,
  .working-time,
  .our-address {
    width: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons img {
    display: inline-block;
    margin: 0 5px;
  }

  .footer-right img {
    margin-top: 0% !important;
    padding-left: 0;
    max-width: 60%;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-left-text,
  .footer-right-text {
    width: 100%;
  }

  .useful-links h5,
  .working-time h5,
  .our-address h5,
  .useful-links p,
  .working-time p,
  .our-address p {
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
  }

  .footer-right img {
    margin-top: 0% !important;
    max-width: 70%;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Section */
.mission-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 20px;
}

/* Carte */
.mission-card {
  position: relative;
  background-color: white;
  width: 90%;
  max-width: 400px;
  padding: 40px 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  animation: card-appear 1s ease-out forwards;
}

/* Animation d’apparition */
@keyframes card-appear {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Pin centrée en haut, moitié dedans / moitié dehors */
.pin {
  position: absolute;
  top: -25px; /* moitié de la taille */
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
}

.pin img {
  width: 100%;
  height: auto;
  display: block;
}

/* Titre */
.mission-title {
  color: #24315b;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Texte */
.mission-text {
  font-size: 19px;
  line-height: 2;
  color: black;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-section {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .mission-card {
    padding: 30px 15px 20px;
  }

  .mission-title {
    font-size: 24px;
  }

  .mission-text {
    font-size: 16px;
    line-height: 1.8;
  }

  .pin {
    width: 40px;
    height: 40px;
    top: -20px;
  }
}

.section-cards {
  max-width: 950px;
  margin: 0 auto;
  padding-top: 5%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
}

.card {
  background: white;
  flex: 1;
  max-width: 400px;
  padding: 40px 20px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.icon-circle {
  width: 60px;
  height: 60px;
  background-color: green;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-text1 {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #333;
}

/* ✅ Responsive for medium and small devices */
@media (max-width: 1024px) {
  .row {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }
}



/* // image wrapper */

.image-text-wrapper {
  position: relative;
  display: inline-block;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2vw; /* scales with screen width */
  max-width: 100%; /* prevents overflow on small screens */
  line-height: 1.6;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  pointer-events: none;
  padding: 0 1vw;
}

@media (max-width: 480px) {
  .centered-text {
    font-size: 3vw;
    line-height: 1.4;
  }
}

.container-image {
  justify-items: center;
  margin-top: 3%;
  margin-bottom: 3%;
}
.swing {
  animation: swing ease-in-out 2s infinite alternate;
  transform-origin: center -20px;
  float: left;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.swing img {
  border: 5px solid #f8f8f8;
  display: block;
}
.swing:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #999;
  top: -10px;
  left: 50%;
  z-index: 0;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

@keyframes swing {
  0% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(-3deg);
  }
}
