.main-animation-words {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  visibility: visible;
}
.main-animation-words-h1 {
  font-size: 5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
  transition: opacity 0.5s ease-in-out;
}
.main-animation-words-p {
  font-size: 3rem;
  font-family: "Times New Roman", serif;
  font-style: italic;
  color: #ff6b6b;
  margin-top: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: end;
}
.location {
  position: relative;
  bottom: 60px;
}

@media screen and (max-width: 767px) {
  .location {
    position: unset;
  }
}
.mb-20 {
  margin-bottom: 20px;
}
.partenaire-animation {
  opacity: 1  !important;
  pointer-events: all !important;
  transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -5254, 0, 1) !important;
}
.partenaire-animation-section {
  background-color: #fff;
  padding: 40px 0;
  overflow: hidden;
}

.partenaire-animation-div {
  flex-shrink: 0 !important;
  width: 15vw !important;
  max-width: 300px !important;
  height: 120px !important;
  margin: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 4px !important;

  transition: transform 0.3s ease !important;
}
.partenaire-animation-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
@keyframes scroll {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  div[style*="width: 20vw"] {
    width: 40vw;
  }
}
.text-center {
  text-align: center;
}
.partenaire-animation-wraper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.partenaire-animation-first-div {
  display: flex;
  animation: scroll 20s linear infinite;
}
.ml {
  margin-left: 2rem;
}
.voir-projet-button{
  display: flex; justify-content:center; margin-bottom: 35px; width:100%;
}
.voir-projet-button-div{position: relative; perspective: 500px;}
.voir-projet-button-div-wrap{width: 100px; height: 40px; background-color: #ff9999; transform: skew(-50deg) rotate(-19deg); position: absolute; z-index: 1; transition: transform 0.3s ease;}
.voir-projet-button-div-wrap a {position: relative; z-index: 2; color: #ffffff; text-decoration: none;}

.h-450{height: 450px;}
.realisation-img{height: 100%; width: 100% !important; object-fit: cover;}
.realisation-img-div{display: flex; flex-direction: column; justify-content: space-between; height: 450px; padding: 0 20px;}
.project-link-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 35px;
  width: 100%;
}

.project-link-wrapper {
  position: relative;
  perspective: 500px;
}

.project-link-background {
  width: 100px;
  height: 40px;
  background-color: #ff9999;
  transform: skew(-50deg) rotate(-19deg);
  position: absolute;
  z-index: 1;
  transition: transform 0.3s ease;
}

.project-link-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-decoration: none;
}

/* Optional hover effect */
.project-link-wrapper:hover .project-link-background {
  transform: skew(-50deg) rotate(-19deg) scale(1.05);
}

@media (max-width: 768px) {
  .desktop-layout {
    display: none;
  }

  .mobile-layout {
    display: block;
  }
}

@media (min-width: 769px) {
  .desktop-layout {
    display: block;
  }

  .mobile-layout {
    display: none;
  }
}

/* New CSS Classes for Project Link Button */
.project-link-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 35px;
  width: 100%;
}

.project-link-wrapper {
  position: relative;
  perspective: 500px;
}

.project-link-background {
  width: 100px;
  height: 40px;
  background-color: #ff9999;
  transform: skew(-50deg) rotate(-19deg);
  position: absolute;
  z-index: 1;
  transition: transform 0.3s ease;
}

.project-link-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-decoration: none;
}

/* Optional hover effect */
.project-link-wrapper:hover .project-link-background {
  transform: skew(-50deg) rotate(-19deg) scale(1.05);
}

  .c-logos {
    background-color: #fff;
  }

  .logos-container {
    background-color: #fff;
    padding: 40px 0;
    overflow: hidden;
  }

  .logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .logos-scroll {
    display: flex;
    animation: scroll 20s linear infinite;
  }

  .logo-item {
    flex-shrink: 0;
    width: 15vw;
    max-width: 300px;
    height: 120px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: transform 0.3s ease;
  }

  .logo-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }

  @keyframes scroll {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }

  @media (max-width: 768px) {
    .logo-item {
      width: 40vw;
    }
    .partenaire-animation-div {
      flex-shrink: 0 !important;
      width: 75vw !important;
      max-width: 300px !important;
      height: 120px !important;
      margin: 10px !important;
      display: flex !important
  ;
      justify-content: center !important;
      align-items: center !important;
      border-radius: 4px !important;
      transition: transform 0.3s ease !important;
  }
  }
  @keyframes scroll {
    0% {
      transform: translateX(-100%);
    }

    100% {
      transform: translateX(0);
    }
  }

  @media (max-width: 768px) {
    div[style*="width: 20vw"] {
      width: 40vw;
    }
  }

  