.hero {
  position: relative;
  max-height: 32rem;
  overflow: hidden;

  img {
    filter: brightness(60%);
    width: 100%;
  }

  h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.services-grid {
  display: grid;
  flex-direction: column;
  gap: 5rem;
  padding: 3rem;
  background: #f9f9f9;
  align-items: center;
}

.service-box {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  width: 90%;
  margin: 0 auto;
  min-height: 400px;
}

.service-image {
  flex: 1;
  background-color: #ccc;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  display: flex;
  flex-direction: column;
  flex: 1.2;
  background-color: #041A28;
  color: white;
  justify-content: flex-start;
  padding: 1rem 4rem 2rem 4rem;
  font-family: "Rethink Sans";
  line-height: 1.6rem;
}

.service-info h3 {
  text-transform: uppercase;
  font-family: 'Red Rose';
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #DBB53A;
}

.service-info ul {
  list-style: inside;
  padding: 0;
  margin: 0;
}

.service-info ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}


/** liste services **/
.liste-services {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  font-family: 'Rethink Sans', sans-serif;
}

.services-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 970px;
  margin: auto;
  align-items: center;
}

.services-left {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}

.services-left h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #041A28;
  margin-bottom: 2rem;
  font-family: 'Red Rose', sans-serif;
}

.col-gauche {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.col-gauche li {
  font-size: 1.2rem;
  color: #0f2d13;
  font-weight: 600;
  margin-bottom: 3rem;
  position: relative;
  transition: all 0.3s ease;
}

.col-gauche li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  background-color: #DBB53A;
  border-radius: 50%;
  z-index: 2;
}

.col-gauche li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.2rem;
  height: 4rem;
  width: 2px;
  background-color: #DBB53A;
  z-index: 1;
}

.services-right {
  flex: 1;
  max-width: 500px;
}

.services-right img {
  width: 115%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: 3px solid #DBB53A;
  transition: 0.3s ease-in-out;
}

.services-right img:hover{
  transition: 0.6s ease-in-out;
  -ms-transform: scale(1.02);
  /* IE 9 */
  -webkit-transform: scale(1.02);
  /* Safari 3-8 */
  transform: scale(1.02);
}

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

  .services-left h2 {
    text-align: center;
    font-size: 2rem;
  }

  .services-right {
    max-width: 100%;
    padding-top: 2rem;
  }

  .services-left {
  min-width: 50px;
 
}

}

.col-gauche li {
  font-size: 1.2rem;
  color: #0f2d13;
  font-weight: 600;
  margin-bottom: 3rem;
  position: relative;
  padding-left: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 1.2s ease forwards;
}

.col-gauche li:nth-child(2) {
  animation-delay: 0.4s;
}

.col-gauche li:nth-child(3) {
  animation-delay: 0.8s;
}

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


/** section processus 3 etapes **/
.process {
  background-color: #4A6349;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.process h2 {
  font-size: 2.5rem;
  font-family: 'Red Rose';
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.step {
  background-color: #ffffff10;
  padding: 2rem;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  transition: 0.6s ease-in-out;
}

.step:hover {
  transition: 0.6s ease-in-out;
  -ms-transform: scale(1.08);
  /* IE 9 */
  -webkit-transform: scale(1.08);
  /* Safari 3-8 */
  transform: scale(1.08);
}

.step span {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #DBB53A;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.step p {
  font-family: 'Rethink Sans';
  font-size: 1rem;
  color: #eaeaea;
}

/** section action final soumission **/
.cta-final {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #DBB53A;
  margin-bottom: 2rem;
}

.cta-final h2 {
  font-size: 2rem;
  color: #041A28;
  margin-bottom: 2rem;
  font-family: 'Red Rose';
}

.cta-final .soumission-btn {
  background-color: #041A28;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1.2rem;
  font-family: 'Red Rose';

}

.cta-final .soumission-btn:hover {
  background-color: #0c2d45;
}

/** section pk nous choisir **/
.why-choose-us {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #041A28;
  font-family: 'Red Rose';
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.feature {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  flex: 1;
  transition: 0.5s ease-in-out;
}

.feature:hover {
  transition: 0.5s ease-in-out;
  -ms-transform: scale(1.1);
  /* IE 9 */
  -webkit-transform: scale(1.1);
  /* Safari 3-8 */
  transform: scale(1.1);
}

.feature i {
  font-size: 2.5rem;
  color: #DBB53A;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.3rem;
  color: #4A6349;
  margin-bottom: 0.5rem;
}

.feature p {
  font-family: 'Rethink Sans';
  font-size: 1rem;
  color: #041A28;
}


/**MEDIA**/

@media only screen and (max-width: 768px) {

  /* SERVICES-GRID SECTION */
  .services-grid {
    gap: 3rem;
    padding: 2rem 1rem;
  }

  .service-box {
    flex-direction: column;
    min-height: auto;
    width: 100%;
  }

  .service-image {
    height: 200px;
  }

  .service-info {
    padding: 2rem;
  }

  .service-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .service-info ul li {
    font-size: 0.9rem;
  }

  /* LISTE SERVICES */
  .services-left h2 {
    font-size: 1.8rem!important;
    text-align: center;
  }

  .col-gauche li {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .services-right img {
    width: 100%;
    height: 220px;
  }

   .liste-services {
    padding-top: 1.5rem; 
  }

  .services-left h2 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 2rem;
  }
  

  /* PROCESS SECTION */
  .process {
    padding: 2rem 2rem;
  }

  .process h2 {
    font-size: 2rem;
  }

  .step {
    width: 100%;
    padding: 1.5rem;
  }

  .step span {
    font-size: 2rem;
  }

  .step h3 {
    font-size: 1.1rem;
  }

  .step p {
    font-size: 0.95rem;
  }

  /* CTA FINAL */
  .cta-final h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .cta-final .soumission-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  /* WHY CHOOSE US */
  .why-choose-us {
    padding: 2.5rem 1rem;
  }

  .why-choose-us h2 {
    font-size: 2rem;
  }

  .feature {
    max-width: 100%;
    padding: 1.5rem;
  }

  .feature h3 {
    font-size: 1.1rem;
  }

  .feature p {
    font-size: 0.95rem;
  }

  .feature i {
    font-size: 2rem;
  }

}
