.flex-row-reverse {
  flex-direction: row-reverse;
}

.service-section {
  padding: 0 15%;
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .service-section {
    flex-direction: column;
  }
}

.end-of-line {
  width: 4em;
  height: 0.2em;
  border-radius: 4em;
}

.service-image-container {
  width: 100%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.service-image {
  width: 150px;
  opacity: 0;
  height: 150px;
  border-radius: 2em;
  object-fit: contain;
  transform: translateY(4em);
}

.project-section {
  overflow: hidden;
  position: relative;
}

.project-image-background {
  width: 100%;
  z-index: -1;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.project-section-info {
  z-index: 1;
  gap: 2.4em;
  display: flex;
  padding: 8em 2em;
  flex-direction: column;
}

.button-see-more-projects {
  gap: 0.4em;
  color: #fff;
  display: flex;
  padding: 1em 2em;
  font-weight: 700;
  width: fit-content;
  align-items: center;
  background: #1f2937;
  border-radius: 0.8em;
}

.button-see-more-projects:hover {
  background: #2e2f37;
}

.button-see-more-projects img {
  width: 1em;
  object-fit: contain;
}

.project-section-description {
  max-width: 40%;
}

.swiper-2 img:hover {
  filter: blur(1px);
  opacity: 0.8;
}

@media (max-width: 750px) {
  .project-section-info {
    backdrop-filter: blur(8px);
  }

  .project-section-description {
    max-width: 100%;
  }
}

#discover {
  transition: transform 1s ease;
}

.services ul a {
  transition: padding-left 1s;
}

.services .absolute img {
  animation: a ease-in-out 1s 1;
}

.services img {
  min-height: 200px;
}

.arrow-right {
  transition: width 1s;
}

@keyframes a {
  from {
    width: 98%;
  }
  to {
    width: 100%;
  }
}

.box-container.done {
  scroll-behavior: auto;
}

.swiper-1 {
  height: 100px;
}

/* .swiper-2 .swiper-wrapper .swiper-slide:hover h3,
.swiper-3 .swiper-wrapper .swiper-slide h3 {
  display: block;
  z-index: 1000;
  padding: 30px 20px;
  width: 100%;
  color: white;
  background: linear-gradient(180deg, #0000, #0e0e0ec0 66.15%) !important;
  animation: play-height ease-in-out 0.6s !important;
} */

[id^="actu"] {
  background-size: cover;
  background-position: center;
}

#titre-1 {
  background-image: url("../image/pexels-buro-millennial-1438081.jpg");
  background-size: cover;
  background-position: center;
}

#titre-2 {
  background-image: url("../image/pexels-yan-krukau-7793692.jpg");
  background-size: cover;
  background-position: center;
}
#titre-3 {
  background-image: url("../image/IMG_8075.png");
  background-size: cover;
  background-position: center;
}

#titre-4 {
  background-image: url("../image/pexels-darlene-alderson-7971194.jpg");
  background-size: cover;
  background-position: center;
}

#titre-5 {
  background-image: url("../image/referencement.jpg");
  background-size: cover;
  background-position: center;
}

.swiper-button-next {
  color: white !important;
  background-color: red;
  position: relative !important;
  bottom: 0 !important;
}

@keyframes play-height {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.resume .card-resume-1,
.resume .card-resume-2,
.resume .card-resume-3 {
  transition: all 0.5s ease;
}

.resume .card-resume-1:hover,
.resume .card-resume-2:hover,
.resume .card-resume-3:hover {
  transform: scale(1.025);
}

.resume .card-resume-1::before,
.resume .card-resume-1::after,
.resume .card-resume-2::before,
.resume .card-resume-2::after,
.resume .card-resume-3::before,
.resume .card-resume-3::after {
  content: "";
  height: 30px;
  width: 30px;
  position: absolute;
  transition: all 0.35s ease;
  opacity: 0;
}

.resume .card-resume-1::before,
.resume .card-resume-2::before,
.resume .card-resume-3::before {
  content: "";
  right: 0;
  top: 0;
  transform: translate(-100%, 50%);
}

.resume .card-resume-1::before {
  border-top: 3px solid #111623;
  border-right: 3px solid #111623;
}

.resume .card-resume-2::before {
  border-top: 3px solid #eb8316;
  border-right: 3px solid #eb8316;
}

.resume .card-resume-3::before {
  border-top: 3px solid #41aec1;
  border-right: 3px solid #41aec1;
}

.resume .card-resume-1:after,
.resume .card-resume-2:after,
.resume .card-resume-3:after {
  content: "";
  left: 0;
  bottom: 0;
  transform: translate(100%, -50%);
}

.resume .card-resume-1:after {
  border-bottom: 3px solid #111623;
  border-left: 3px solid #111623;
}

.resume .card-resume-2:after {
  border-bottom: 3px solid #eb8316;
  border-left: 3px solid #eb8316;
}

.resume .card-resume-3:after {
  border-bottom: 3px solid #41aec1;
  border-left: 3px solid #41aec1;
}

.resume .card-resume-1:hover:before,
.resume .card-resume-1:hover:after,
.resume .card-resume-2:hover:before,
.resume .card-resume-2:hover:after,
.resume .card-resume-3:hover:before,
.resume .card-resume-3:hover:after {
  transform: translate(0, 0);
  opacity: 1;
}

#plus-actu img {
  display: none;
}

#plus-actu:hover img {
  display: block;
  width: 15px;
  animation: slow-width ease-out 0.4s 1;
}

@media (max-width: 1024px) {
  #plus-actu img {
    display: block;
    width: 10px;
    margin-top: 2px;
  }
  .service-section {
    padding: 0 10%;
  }
}

@keyframes slow-width {
  from {
    width: 0;
  }

  to {
    width: 15px;
  }
}

/* Animation hero */
.background {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
}

.column {
  flex: 1; /* Répartition égale */
  height: 0%;
  background-color: #111623;
  animation: fill 1.5s ease-in-out forwards;
}

@keyframes fill {
  from {
    height: 0%;
  }
  to {
    height: 110%;
  }
}

/* Délai progressif */
.column:nth-child(1) {
  animation-delay: 0s;
}
.column:nth-child(2) {
  animation-delay: 0.2s;
}
.column:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeIn {
  from {
    background-color: white;
  }
  to {
    background-color: #111623;
  }
}

@keyframes shadowing {
  from {
    box-shadow: none;
  }
  to {
    box-shadow: 0 0 10px #41aec1a0;
  }
}

.accueil {
  animation: fadeIn 1s ease-in-out 1s forwards;
}

.description-hero {
  z-index: 10;
}

.title-hero {
  z-index: 10;
}

.discover-button {
  transition: background-color 1s;
  animation: shadowing 1s 1s forwards;
}

.rewards-slides {
  overflow: hidden;
  width: 80%;
  margin: auto;
  height: 10rem;
  min-height: 160px;
}

.reward {
  width: 10rem;
  height: 10rem;
}

/*Adding margin for section services*/
.services,
.awards {
  margin-top: 90px;
  margin-bottom: 90px;
}

.services-numeros {
  color: #eb8316;
}

.reverse {
  display: flex;
  flex-direction: column;
}

.reverse-p {
  padding-left: 35px;
  padding-right: 35px;
}

.texte-paragr {
  text-align: justify;
}

@media (min-width: 1024px) {
  .reverse {
    display: flex;
    flex-direction: row-reverse;
  }
  .margining {
    margin-left: 35px;
  }
  .paragr {
    padding-right: 2em;
  }
}

@media (max-width: 1023px) {
  .reverse-p {
    padding-left: 0;
    padding-right: 0;
  }
  .service-section {
    margin-bottom: 2.25em;
  }
  .award-align {
    justify-content: start;
  }
}
.desktop-image {
  display: block;
}
.mobile-image {
  display: none;
}
@media (max-width: 576px) {
  .mobile-image {
    display: block;
  }
  .desktop-image {
    display: none;
  }
}
