  /* Animation fade-in */
 .fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
 }

  .menu-bar {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    flex-wrap: wrap;
    position: relative;
  }

  .logo-gauche {
    border-radius: 20px 0 20px 0;
    width: 284px;
    height: auto;
  }

  .logo-droite {
    height: 27px;
    width: auto;
    margin-top: -9px;
    display: block;
  }

  .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #137a5c;
  }

  .menu-center {
    display: flex;
    gap: 41px;
    justify-content: center;
    flex-grow: 1;
    transition: max-height 0.3s ease;
  }

  .menu-center a {
    border: 1px solid #137a4b;
    width: 172px;
    text-align: center;
    justify-content: center;
    border-radius: 50px;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    color: #5b5a5a;
    font-family: Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 8px;
    display: flex;
    gap: 28px;
    /* align-items: center; */
    transition: all 0.3s ease;
  }
.btn-contact{
      background-color: #006c3b;
    color: white!important;
    border-radius: 50px;
    text-align: center;
    font-weight: 300;
}

.btn-contact:hover{
      
    border: 1px solid #006035;
    background-color: #006035;}
  /* Ligne élégante en dessous du lien */
  /* .menu-center a::after {
    content: "";
    position: absolute;
    left: 9px;
    bottom: 4px;
    width: 0%;
    height: 1px;
    background-color: #469480;
    transition: width 0.3s ease;
  } */

  /* Agrandissement de la ligne au hover */
  .menu-center a:hover::after {
    width: 100%;
  }




  .menu-center a:hover {
    color: #469480;
  }

  @media (max-width: 992px) {
    .menu-toggle {
      display: block;
    }

    .menu-center {
      flex-direction: column;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      background-color: white;
      margin-top: 10px;
    }

    .menu-bar.open .menu-center {
        max-height: 500px;
        padding: 10px 0;
        margin: 21px;

        align-items: center;

    }



    .logo-gauche {
      width: 152px;
    }



    .logo-droite {
      height: 24px;
    }

    .menu-center a {
      justify-content: center;
    }
  }

  @media (min-width: 992px) and (max-width: 1600px) {
    .menu-center a {
        width: 145px;
        font-size: 10px;    }

    .logo-gauche {
      width: 199px;
    }

    .logo-droite {
      height: 21px;
      width: auto;

    }

    .menu-center {

      gap: 14px;

    }
  }
  .section-container {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
  }

  .vd,
  .davant {
    width: 45%;
    background: white;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    position: relative;
  }

  /* Image logo pour vd à droite en haut */
  .vd img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    height: auto;
  }

  /* Image logo pour davant à gauche en haut */
  .davant img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 80px;
    height: auto;
  }

  /* Espace pour éviter que le texte soit caché par l'image */
  .vd .text,
  .davant .text {
    margin-top: 100px;
    /* pour laisser la place à l'image */
    font-size: 16px;
    color: #333;
  }


  .logo-magreen {
    font-family: 'Helvetica', sans-serif;
    font-size: 72px;
    font-weight: 700;
    text-transform: uppercase;
    /* font-family: 'Arial Black', sans-serif; */
    color: white;
    /* text-shadow:
     4px -1px 0 #137a4b, 1px -1px 0 #137a4b, -1px 1px 0 #137a4b, 1px 1px 0 #137a4b; */
    text-align: center;
    padding: 0;
    animation: slideDownFade 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
    animation: slideDownFade 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
  }

  .video-background-section {
    position: relative;
    width: 100%;
    height: 92vh;
    overflow: hidden;
    border-radius: 0px 0px 60px 60px;
    border-bottom: 4px solid #5eba41;
  }

  /* ✅ Responsive height adjustments */
  @media (max-width: 992px) {
    .video-background-section {
      height: 70vh;
    }
  }

  @media (max-width: 768px) {
    .video-background-section {
        height: 30vh;    }
  }

  @media (max-width: 480px) {
    .video-background-section {
      height: 26vh;
      
    }
    .bg-video{
      width: 100%;
    }
  }

  .video-color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #55a2a9 0%, rgb(0 0 0 / 69%) 62%, rgb(129 128 128 / 0%) 100%);
    z-index: 2;
    mix-blend-mode: soft-light;
    backdrop-filter: blur(1px);

  }


  .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    /* min-width: 100%;
    min-height: 100%; */
    transform: translate(-50%, -50%);
    /* object-fit: cover; */
    z-index: 1;
        width: 100%;
  }

  .video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 800px;
    padding: 20px;
  }

  .video-overlay h1 {
    color: #FFF;
    font-family: 'Helvetica', sans-serif;
    font-size: 62px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    margin: 0;
    animation: slideDownFade 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
  }

  .video-overlay p {
    font-size: 1.2em;
    margin-top: 15px;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 992px) {
    .logo-magreen {
      font-size: 42px;
      padding: 15px 0;
    }

    .video-overlay h1 {
      font-size: 36px;
      padding: 0 15px;
    }
  }

  @media (max-width: 768px) {
    .logo-magreen {
      font-size: 32px;
    }

    .video-overlay h1 {
      font-size: 29px;
    }

    .menu-bar {
      padding: 0 30px 20px;
    }
  }

  @media (max-width: 480px) {
    .logo-magreen {
      font-size: 37px;
    }

    .video-overlay h1 {
      font-size: 30px;
    }

    .video-overlay {
      padding: 10px;
    }
  }

  @keyframes slideDownFade {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }

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

  .logo-magreen {
    animation: slideDownFade 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
  }

  .video-overlay h1 {
    animation: slideDownFade 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
  }


  /* Wrapper avec les styles demandés */
  .logo-carousel-wrapper {
    overflow-x: hidden !important;
    /* border-top: 1px solid rgba(62, 141, 149, 0.10); */
    border-bottom: 1px solid rgba(62, 141, 149, 0.10);
    /* background: #F8FFFA; */
    background: #ffffff;
    padding: 22px 0;
  }

  /* Centrage horizontal et style du conteneur */
  .logo-carousel-container {
    display: flex;
    overflow: hidden;
    margin: 0 auto;
    /* max-width: 1200px; */
  }

  /* Track défilant */
  .logo-carousel-track {
    display: flex;
    animation: logo-scroll 20s linear infinite;
  }

  /* Slide */
  .logo-carousel-slide {
    flex: 0 0 auto;
    width: 180px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-carousel-slide img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: filter 0.3s ease;
  }

  .logo-carousel-slide img:hover {
    filter: grayscale(0%);
  }

  /* Animation continue */
  @keyframes logo-scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .logo-carousel-slide {
      width: 120px;
      margin: 0 10px;
    }
  }

    .rounded-img {
    border-radius: 20px;
    width: 586px;
  }

  @media (max-width: 768px) {


    .rounded-img {
      max-width: 100%
    }
  }

  .bg-image-section {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    color: white;
    position: relative;
  }

  .bg-image-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(144, 233, 117, 0.3));
    z-index: 1;
  }

  .content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
  }

  .left-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
  }

  .right-text {
    max-width: 600px;
  }

  .right-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .right-text p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .custom-section {
    position: relative;
    padding: 48px 0;
    /* background-image: url('feuilles-sur-les-cotes-et-la-surface (1).jpg'); */
    background-size: cover;
    background-position: center;
    color: #000;
  }

  .custom-overlay {
    position: absolute;
    inset: 0;
    background: #137a4bd6;
    /* fond semi-transparent blanc */
    z-index: 1;
  }

  .custom-content {
    position: relative;
    z-index: 2;
  }

  .custom-image {
    /* max-width: 374px; */
    border-radius: 12px;
  }

  .lead {
    font-size: 23px;
    text-align: start;
  }

  @media (max-width: 992px) {
    .lead {
      font-size: 17px;
      text-align: start;
    }
  }

  @media (max-width: 768px) {
    .custom-image {
      max-width: 100%;
      margin-top: 30px;
    }


    .custom-text {
      text-align: center;
    }
  }
  .text-size {
    font-size: 25px;
  }

  .text-container {
    background-color: #ffffffcc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .text-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.25);
  }

  .section {
    padding: 5% 0;
  }

  h2 {
    position: relative;
    color: rgb(55, 101, 31);
    font-size: 2rem;
    line-height: 1.2;
  }

  .aboutUs h2::after,
  .aboutUs2 h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(120%);
    height: 2px;
    background-color: rgb(55, 101, 31);
  }

  .aboutUs h2::after {
    width: 3rem;
  }

  .aboutUs2 h2::after {
    width: 16rem;
  }

  .aboutUs2 span {
    font-weight: 700;
    color: rgb(55, 101, 31);
  }

  .img-rounded-right {
    border-radius: 0 400px 400px 0;
  }

  .img-rounded-left {
    border-radius: 400px 0 0 400px;
  }

  .object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
  }

  /* Responsive styles */
  @media (max-width: 768px) {
    .text-container {
      margin: 1rem;
      padding: 1.5rem;
    }

    .text-size {
      font-size: 18px;
    }

    .img-rounded-right,
    .img-rounded-left {
      border-radius: 0 !important;
      height: auto;
      max-height: 300px;
    }
  }

  /* Animations */
  .fade-in-left {
    animation: fadeInLeft 1s ease-in-out;
  }

  .fade-in-right {
    animation: fadeInRight 1s ease-in-out;
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(20px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Garde le style du titre */
  .headline {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
  }

  .traditional-steel {
    color: rgb(30, 40, 11);
    font-size: 36px;
    font-weight: 500;
    margin-bottom: -24px;
    color: #000000;
  }

  .green-steel {
    color: rgb(19 122 75);
    font-size: 36px;
  }

  .why-sentence {
    font-weight: 400;
    color: rgb(30, 40, 11);
  }

  /* Icône large */
  .icon-large {
    font-size: 3rem;
  }

  /* Style cartes */
  .card-info {
    background-color: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 30px 20px;
  }

  .card-info h3 {
    font-size: 1rem;
    min-height: 60px;
    margin-bottom: 15px;
  }

  .card-info p {
    font-size: 17px;
    color: #000000 !important;
    flex-grow: 1;
  }

  .icon-large {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #3a8734;
  }

  .card-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  /* Animation titre */
  .animate-title {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s ease-out forwards;
  }

  /* Animation carte */
  .animate-card hidden {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
  }

  /* Cache par défaut les éléments */
  .hidden {
    opacity: 0;
    transform: translateY(30px);
  }

  /* Animation visible */
  .show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease-out;
  }

  /* (Optionnel) Effets personnalisés */
  .fade-in-left.hidden {
    transform: translateX(-30px);
  }

  .fade-in-right.hidden {
    transform: translateX(30px);
  }

  /* Keyframes animations */
  @keyframes fadeInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .section-why .chiffre-color {
    color: #f89c22;

  }

  /* Responsive spacing for section */
  .section-why {
    padding-top: 4%;
    padding-bottom: 9%;
  }

  
  .fa-recycle:before {
    font-size: 39px;
  }

  #four-carts {
    margin-top: 3rem !important;
    /* Beaucoup moins de vide */
  }


  .environmental-commitment {
    background: url("<?php echo get_template_directory_uri(); ?>/environmental.jpg") no-repeat center center;
    background-size: cover;
    padding: 61px 21px 68px;
    position: relative;
  }

  .commitment-top-box {
    background: white;
    border: 2px solid #2a6824;
    /* border-radius: 6px; */
    padding: 30px;
    color: #000;
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
    /* max-width: 1100px; */
  }

  .commitment-title {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
  }

  .commitment-title span {
    color: #2a6824;
  }

  .commitment-card {
    gap: 33px;
    position: relative;
    min-height: 80px;

    width: 100%;
    max-width: 420px;
    /* Limite de largeur */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    height: auto;
    /* Pour adapter la hauteur au contenu */
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: start;
    max-width: 420px;
    height: auto;
  }

  .commitment-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: auto;
  }

  .commitment-card>div {
    padding-left: 29px;
  }


  /* Responsive spacing */
  @media (max-width: 767px) {
    .commitment-card {
      padding: 20px;
    }

    .commitment-label {
      font-size: 16px;
    }

    .commitment-highlight {
      font-size: 22px;
    }
  }

  .commitment-highlight {
    font-size: 27px;
    font-weight: bold;
  }

  .commitment-label {
    font-size: 19px;
    font-weight: 700;

    color: black;
    line-height: 1.4;
  }

  .green {
    color: #2a6824;
  }

  .orange {
    color: #f89c22;
  }

  .cart-environmental {
    min-height: 49px;
  }

  .environmental-commitment-border {
    /*border-radius: 71px 0 71px 0;*/
    background-color: #f2f3f4;
    /* border-radius: 64px; */
    padding: 19px;
  }

  /* .environmental-commitment-border {
          background-color: #ffffff69;
          border-radius: 95px;
          padding: 24px;
        } */
  .sentense {
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: 400;
  }

  /* Section styling */
  .environmental-commitment {
    /* background: url("<?php echo get_template_directory_uri(); ?>/environmental.jpg") no-repeat center center fixed; */
    background-size: cover;
    color: #fff;
    /* padding-top: 8%;
    padding-bottom: 8%; */
    position: relative;
    z-index: 1;
  }

  .environmental-commitment::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 5%);
    z-index: -1;
  }

  .environmental-commitment p {
    color: black;

    /* max-width: 35rem; */
    font-size: 26px;
  }



  /* Title styling */
  .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    /* margin-bottom: 20px; */
  }

  .section-title span {
    color: rgb(55, 101, 31);
  }

  /* New card styling */
  .commitment-card {
    background-color: #ffffff;
    /* Slight transparency */
    /* border-radius: 16px; */
    padding: 30px;
    height: 135px;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
  }

  .commitment-card:hover {
    background-color: green;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  .commitment-card:hover .green {
    color: #ffffff;


  }

  .commitment-card:hover .commitment-label {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
  }


  /* Icon styling */
  .icon-large {
    font-size: 3rem;
    color: #3a8734;
  }

  /* Progress bar styling */
  .progress {
    margin-top: 15px;
    height: 8px;
    border-radius: 5px;
    background-color: #00000029;
  }

  /* Animation des cartes */
  .commitment-card.hidden {
    opacity: 0;
    transform: translateY(30px);
  }

  .commitment-card.show {
    min-height: 264px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
    display: flex;
    align-items: center;
  }

  /* Animation du titre */
  .animate-title.hidden {
    opacity: 0;
    transform: translateY(-20px);
  }

  .animate-title.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-out;
    text-align: start;
    padding: 12px;
    /* border-left: 9px solid green; */
    border-radius: 20px;
    /* border-right: 9px solid green; */
    /* background-color: #f5deb333; */
  }

  /* Keyframes pour fade-in */
  @keyframes fadeInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive adjustments */
  @media (max-width: 767px) {
    .section-title {
      font-size: 28px;
    }

    .icon-large {
      font-size: 2.5rem;
    }
  }



.agri-section .text-env-p{
  font-size: 19px;
}
  .agri-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000017;
    z-index: 0;
  }

  .agri-section * {
    gap: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
        text-align: start;
        
  }



  /* Élément de fond en image semi-transparente au hover */
  .agri-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('<?php echo get_template_directory_uri(); ?>/feuilles-sur-les-cotes-et-la-surface (1).jpg') center/cover no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
    border-radius: 30px;
    pointer-events: none;
  }

  .agri-card:hover::before {
    opacity: 0.07;
    /* niveau de transparence */
  }


  .agri-card:hover {
    background: #398f68;
    /* plus transparent */
  }

  .agri-card:hover .agri-card-title .green {

    color: white;
  }

  .agri-card:hover .agri-card-text {
    color: white;

  }

  /* Pour s'assurer que le contenu reste lisible au-dessus de l’image */
  .agri-card>* {
    position: relative;
    z-index: 1;
  }

  .agri-card-dark {
    background: rgba(42, 118, 141, 0.85);
    /* bleu semi-transparent */
    color: #ffffff;
  }

  .agri-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 15px;
    align-self: flex-end;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }


  .agri-title {
    width: 96%;
    margin: 0 auto;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: -24px;
    color: #000000;
    background-color: white;
    padding: 12px;
    /* border-left: 9px solid green;
    border-radius: 20px;
    border-right: 9px solid green; */
  }

  .agri-title strong {
    font-weight: 700;
    display: block;
    margin-top: 10px;
  }

  .agri-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }

  .agri-card {
    position: relative;
    padding: 25px 29px;
    /* background: rgba(255, 255, 255, 0.8); */
    /* blanc semi-transparent */
    color: #333333;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    backdrop-filter: blur(6px);
    overflow: hidden;

    transition: background 0.3s ease;



    align-items: center;
    background: white;
    /* blanc semi-transparent */
    border-radius: 30px;
    display: flex;
            /* height: 200px; */


  }

  .agri-card-dark {
    background-color: #2a768d;
    color: #ffffff;
  }

  .agri-card-title {
    margin-top: 0;
    margin-bottom: 9px;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
  }

  .agri-card-text {
    font-size: 20px;
    line-height: 1.6;
  }

  .agri-card-container .col-md-6 {
    margin-top: 42px;
    width: 45%;

  }

  .agri-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 15px;
    align-self: flex-end;
  }

  .agri-card .left_hover,
  .agri-card .right_hover,
  .agri-card .top_hover {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 0;
    pointer-events: none;
  }

  /* Affichage au hover */
  .agri-card:hover .left_hover,
  .agri-card:hover .right_hover,
  .agri-card:hover .top_hover {
    opacity: 1;
  }

  .agri-text-flex,
  .agri-image-flex {
    position: relative;
    z-index: 2;
  }

  .agri-card .left_hover {
    left: -17px;
    bottom: 28px;
    width: 49px;
  }

  .agri-card .right_hover {
    right: -29px;
    top: 9px;
    transform: rotate(55deg);
    width: 74px;
  }

  .agri-card .top_hover {
    height: 19px;
    transform: rotate(189deg);
    left: 11%;
    top: 9%;
    z-index: 1;
  }

  .env-card {

    border-radius: 30px;
      padding: 30px 46px;
    background-color: white;
    max-width: 93%;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .env-title {
       flex: 1;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 1.4;
    text-align: start;
  }

  .env-highlight {
    color: #f89c23;
  }

  .env-text {
    flex: 2;
    font-size: 21px;
    color: #333;
    line-height: 1.6;
  }

 @media (max-width: 992px) {
  .env-card {
    flex-direction: column;
    padding: 30px;
  }

  .env-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
  }

  .env-text {
    font-size: 18px;
    text-align: center;
  }
 }

 @media (max-width: 576px) {
  .env-card {
    padding: 20px;
  }

  .env-title {
    font-size: 20px;
  }

  .env-text {
    font-size: 16px;
  }
 }


  @media (max-width: 1199.98px) {
    .agri-card-container {
      flex-direction: column;
      align-items: center;
    }

    .agri-card-container .col-md-6 {
      width: 90%;
    }

    .agri-card {
      flex-direction: column;
      text-align: center;
      padding: 30px 20px;
      gap: 1px;
    }

    .agri-text-flex,
    .agri-image-flex {
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .agri-card-img {
      margin: 20px auto 0 auto;
    }
  }

  /* Très petits écrans (téléphones) */
  @media (max-width: 575.98px) {
    .agri-title {
      font-size: 24px;
      padding: 10px;
    }

    .agri-card-title {
      font-size: 22px;
    }

    .agri-card-text {
      font-size: 16px;
    }

    .agri-card-img {
      width: 60px;
      height: 60px;
              margin: 31px;
      /* display: none; */
    }
  }


  @media (max-width: 575.98px) {
    .agri-card .left_hover {
             left: 11px;
        bottom: 41px;
        width: 49px;
    }

    .agri-card .right_hover {
         right: 8px;
        top: 32px;
        transform: rotate(86deg);
        width: 65px;

    }

    .agri-card .top_hover {
height: 19px;
        transform: rotate(189deg);
        left: 30%;
        top: 22%;
        z-index: 1;
    }
  }

  @media (min-width: 576px) and (max-width: 767.98px) {
    .agri-card .left_hover {
      left: -9px;
      bottom: 6px;
      width: 49px;
    }

    .agri-card .right_hover {
      right: -21px;
      top: 9px;
      transform: rotate(55deg);
      width: 63px;
    }

    .agri-card .top_hover {
      height: 19px;
      transform: rotate(189deg);
      left: 11%;
      top: 18%;
      z-index: 1;
    }
  }

  @media (min-width: 768px) and (max-width: 991.98px) {
    .agri-card .left_hover {
      left: -7px;
      bottom: 4px;
      width: 37px;
    }


    .agri-card .right_hover {
      right: -13px;
      top: 9px;
      transform: rotate(32deg);
      width: 58px;
    }

    .agri-card .top_hover {
      height: 19px;
      transform: rotate(189deg);
      left: 11%;
      top: 19%;
      z-index: 1;

    }
  }

  @media (min-width: 992px) and (max-width: 1199.98px) {
    .agri-card .left_hover {
      left: -14px;
      bottom: 5px;
      width: 49px;
    }

    .agri-card .right_hover {
      right: -29px;
      top: 9px;
      transform: rotate(55deg);
      width: 74px;
    }

    .agri-card .top_hover {
      height: 19px;
      transform: rotate(189deg);
      left: 11%;
      top: 19%;
      z-index: 1;
    }
  }

  @media (min-width: 1200px) {
    .agri-card .left_hover {
      left: -14px;
      bottom: 11px;
      width: 49px;
    }

    .agri-card .right_hover {
      right: -29px;
      top: 9px;
      transform: rotate(55deg);
      width: 74px;
    }

    .agri-card .top_hover {
      height: 19px;
      transform: rotate(189deg);
      left: 11%;
      top: 13%;
      z-index: 1;
    }
  }

  @media (max-width: 768px) {
    .agri-card-container {
      flex-direction: column;
      align-items: center;
    }
  }


  #why-text-section {
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .logo-wrapper-bg video {
    border-radius: 16px;

    box-shadow: 7px 14px 7px rgb(0 0 0 / 30%);
  }

  .equation-section {
    background: linear-gradient(90deg, #5db537, #217755);
    border-radius: 16px;
    margin: 40px 20px;
  }


  .custom-border {
    border-radius: 32px;
    border: 1px solid rgb(19, 122, 92) !important;
  }


  .tab-content>.active {
    display: block;
    border-radius: 32px;
  }

  .nav-pills .nav-link.active,
  .nav-pills .show>.nav-link {
    background-color: transparent;
    text-decoration: none;
    color: #098920;
    font-weight: 500;
    transition: color 0.3s;
    border: 1px solid #137a5c;
    padding: 15px;
    border-radius: 50px;
  }

  .tab-pane {
    border: 1px solid rgb(19, 122, 92);
    padding: 20px;
    border-radius: 8px;
  }

  .nav-pills .nav-link {
    border-radius: var(--bs-nav-pills-border-radius);
    background-color: transparent;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s;
    /* border: 1px solid #137a5c; */
    padding: 15px;
    border-radius: 50px;
    margin-bottom: 10px;
  }
  .fade-in-pdf {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

 .fade-in-pdf.visible {
  opacity: 1;
  transform: translateY(0);
 }

  .pill-global-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 0;
    color: #2c8766;
    background-color: #f8f8f8;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    padding-top: 26px;

  }

  .Choose {
    font-size: 9px;

  }

  @media screen and (min-width: 1440px) {
    .Choose {
      font-size: 13px;
    }
  }

  .cover-img-center {
    align-items: center;
    display: flex;
  }

  .pills-layout {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: #f8f8f8;
    /* flex-wrap: wrap; */



    justify-content: center;
  }

    .pill-btn {
    text-decoration: none;
    padding: 8px 6px;
    /* background: linear-gradient(135deg, #2c8766, #3bb589); */
    color: rgb(48, 48, 48);
    border: 1px solid green;
    border-radius: 50px;
    /* rond élégant */
    cursor: pointer;
    font-weight: 600;
    font-size: 10px!important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;



  }
  @media screen and (min-width: 1400px) {

    /* Tes styles pour grands écrans ici */
    .pills-layout {
      gap: 74px;

    }


  }

  .pill-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }



  @media screen and (min-width: 1440px) {
    /* Tes styles pour grands écrans ici */

    .pill-btn {
      font-size: 13px;
    }
  }

  .pill-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
  }

  .pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgb(0 0 0 / 44%);
    color: #066b06;
  }

  .pill-btn:hover::before {
    opacity: 1;
  }


  .pill-content {
    border: 1px solid green;
    align-items: center;
    padding: 21px;
    display: flex;
    gap: 11px;
    max-width: 501px;
    border-radius: 70px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  }

  @media screen and (min-width: 1440px) {

    /* Tes styles pour grands écrans ici */
    .pill-content {
      max-width: 630px;
      padding: 28px;
    }


  }

  .pill-content img {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    /* max-height: 200px; */
    object-fit: cover;
    /* border-radius: 8px; */
    margin-bottom: 20px;
  }

  .pill-content h3 {
    color: #000000;
    margin-bottom: 10px;
  }

  .pill-content p {
    text-align: start;
    font-size: 10px;
    margin-bottom: 20px;
    color: #444;
  }

  @media screen and (min-width: 1440px) {

    /* Tes styles pour grands écrans ici */
    .pill-content p {
      font-size: 13px;

    }

  }

  .pill-content h5 {
    font-size: 18px;
  }

  .pill-download-btn {
    padding: 10px 20px;
    background-color: #2c8766;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .pill-download-btn:hover {
    background-color: #2c6d72;
  }

  /* Responsive */
  @media (max-width: 900px) {
    .pills-layout {
      flex-direction: column;
      align-items: stretch;
    }

    .pill-column {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }

    .pill-btn {
      margin: 5px;
    }

    .pill-content {
      max-width: 100%;

    }

  }




  .certifications {
    background-color: #f5f5f5;
    padding: 75px 75px 74px 75px;
  }

  .certifications h2 span {
    color: #137a5c;
  }

  .pdf-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: color 0.3s;
    border: 1px solid #137a5c;
    padding: 15px;
    border-radius: 50px;
  }

  .pdf-link:hover {
    color: #63e6be;
  }


  /* Cache les flèches natives Swiper */
  .logo-slider .swiper-button-next,
  .logo-slider .swiper-button-prev {
    display: none !important;
  }

  /* Style des boutons personnalisés */
  .logo-slider-controls button {
    font-size: 1.2rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
  }

  .logo-slider-controls button:hover {
    background-color: #006400;
    color: #fff;
  }

  /* Overlay vert semi-transparent */

  .swiper-slide a img:hover {
    transform: scale(1.05);
    background-color: #96a82163;
  }

  /* S'assurer que l'image est bien en dessous de l'overlay */
  .swiper-slide a img {
    display: block;
    width: 375px;
    height: 344px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 0;

  }

  /* Style UNIQUEMENT pour le slider de logos */
  .logo-slider .swiper-slide {
    background-color: transparent;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease;
  }

  .logo-slider .swiper-slide img {
    max-height: 80px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
  }

  /* .logo-slider .swiper-slide:hover img {
    filter: grayscale(0%);
  } */

  .logo-slider .swiper-button-next,
  .logo-slider .swiper-button-prev {
    color: #006400;
    font-weight: bold;
  }

    .gallery-gap {
    gap: 10px;
  }

  .gallery {
    padding: 50px 0;
        border-top: 1px solid gray;
  }

  .gallery .swiper-button-next,
  .gallery .swiper-button-prev {
    color: #000000;
  }
  .gallery .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
        font-size: 24px;

}
  .gallery .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
            font-size: 24px;

}
  .swiper-pagination-bullet-active {
    background: #137a5c;
  }


  /* Images dans les slides */
  .swiper-slide img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    /* border-radius: 50%; */
    /* border: 3px solid rgb(19, 122, 92); */
    /* box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Hover sur l'image pour l'animation */
  .gallery .swiper-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  }

  /* Flèches */
  .swiper-button-next,
  .swiper-button-prev {
    color: rgb(0 0 0);
    background: rgb(255 255 255 / 72%);
    padding: 22px;
    border-radius: 50%;
    /* box-shadow: 0 0 10px rgba(19, 122, 92, 0.5); */
  }

  .swiper-button-prev:after,
  .swiper-rtl .swiper-button-next:after {
    content: "prev";
    font-size: 29px;
  }

  .swiper-button-next:after,
  .swiper-rtl .swiper-button-prev:after {
    content: "next";
    font-size: 29px;
  }

  /* Pagination bullets */
  .swiper-pagination-bullet {
    background: #cccccc;
    opacity: 1;
  }

  .swiper-pagination-bullet-active {
    background: rgb(19, 122, 92);
  }


  .think-green-bar h2 {
    position: relative;
    z-index: 2;
    font-size: 5vw;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .think-green,
  .think-magreen {
    position: relative;
    display: inline-flex;
    font-size: 3rem;
    align-items: center;
  }

  .think-green::after,
  .think-magreen::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 8px;
    background-color: #b4e284;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    top: 9px;
    /* ⬅️ Décalage vers le haut */
  }

  .gallery-title {
    font-size: 36px;
  }


  @media (max-width: 768px) {

    .think-green::after,
    .think-magreen::after {

display: none;    }
  }

  @media (min-width: 768px) {
    .think-green-bar h2 {
      font-size: 40px;
    }

    .think-green::after {
      left: 3px;
    }

    #think-magreen::before {
      right: -25px;
    }


  }


  @media (min-width: 400px) {
    .gallery-title {
      text-align: center;
      /* font-size: 19px; */
      /* padding-left: 60px; */
      margin-bottom: 30px;
    }

  }

  .get-in-touch {
    background-color: #f8f9fa;
  }

  .section-title {
    font-size: 29px;
    font-weight: 700;
    /* margin-bottom: 47px; */

  }

  .section-subtitle {
    font-size: 1.2rem;
    color: #666;
  }

  .contact-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }

  .contact-box:hover {
    transform: translateY(-5px);
  }

  .contact-box i {
    color: #137a5c;
  }

  .screen-reader-response {
    display: none;
  }

  #btnB {
    background-color: #137a5c;
    width: 9rem;
    border: 1px solid #137a5c;
    border-radius: 50px;
  }



  .contact-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .contact-section .container {
    position: relative;
    z-index: 2;
  }

  .contact-form {
    padding: 61px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .contact-form .form-control {
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #ced4da;
    /* border-radius: 20px; */
    color: #000000;
    width: 100%;
    padding: 1rem;
  }

  .contact-form .form-control::placeholder {
    color: #6c757d;
  }

  .contact-form h3 {
    color: #000;
    font-weight: bold;
  }
