.max-w-container {
  max-width: 1700px;
  margin: 0 auto;
}

.refonte-content-container {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.br-display {
  display: none;
}

.main-hero-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 60px;
}

.refonte-reasons-section-heading {
  margin: 3em 0;
  border-left: 3px solid var(--primary);
  padding: .5em;
}

.refonte-optimisation-section {
  padding-bottom: 32px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
}

.refonte-optimisation-list {
  margin-top: 4em;
}

.refonte-article-text {
  width: 100%;
}

.refonte-last-article {
  flex-direction: column-reverse;
}

.refonte-article-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-work-slider {
  position: relative;
  z-index: 1;
}

.home-work-slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.home-work-slider-nav-btn {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-out;
}

.home-work-slider-nav-btn:hover {
  background-color: var(--white);
  color: var(--primary);
}

.home-work-slider-nav-btn svg {
  height: 50%;
}

.refonte-projects {
  padding-bottom: 120px;
}

.refonte-work-section {
  margin: 120px auto;
}

.refonte-work-actions {
  text-align: center;
}

.red-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 70%;
  width: 90%;
  background-color: var(--primary);
  z-index: -1;
  max-width: 900px;
}
.refonte-hero-image {
  max-width: 560px;
}

.refonte-banner-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  background-color: var(--light-gray);
}

.refonte-banner-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.refonte-reasons-list li{
  position: relative;
  padding-bottom: 2em;
}
.refonte-reasons-list li:after{
  content : "";
  position: absolute;
  left    : 0;
  bottom  : 0;
  height  : 1px;
  width   : 60%;
  border-bottom: 3px solid var(--primary);
}
.refonte-reasons-list li:last-child::after{
  border-bottom: 0 ;
}
.refonte-optimisation-list li{
  position: relative;
  padding-bottom: 2em;
}
.refonte-optimisation-list li:after{
  content : "";
  position: absolute;
  left    : 0;
  bottom  : 0;
  height  : 1px;
  width   : 60%;
  border-bottom: 3px solid var(--white);
}
.refonte-optimisation-list li:last-child::after{
  border-bottom: 0;
}
@media only screen and (min-width: 768px) {
  .refonte-reasons-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }

  .refonte-reasons-list li:last-child::after{
    border-bottom: 3px solid var(--primary);
  }
  .refonte-optimisation-list li:last-child::after{
    border-bottom: 3px solid var(--white);
  }
}

@media only screen and (min-width: 1024px) {
  .refonte-reasons-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3em;
  }

  .refonte-optimisation-section {
    padding-bottom: 120px;
  }

  .refonte-optimisation-main-heading {
    font-size: 33px;
    margin-bottom: 2em;
  }

  .refonte-optimisation-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
  }

  .br-display {
    display: inline;
  }

  .main-hero-container {
    gap: 0;
    flex-direction: row;
    justify-content: space-between;
  }

  .refonte-hero-image {
    display: block;
    position: absolute;
    right: 0;
    top: -40%;
    z-index: 1;
    width: 70%;
    max-width: 530px;
  }

  .refonte-hero-content {
    max-width: 50%;
  }

  .refonte-banner-text {
    width: 50%;
  }

  .refonte-banner-content {
    flex-direction: row;
  }

  .refonte-article-image,
  .refonte-article-text {
    width: 50%;
  }

  .home-work-slider-nav {
    padding: 0;
  }
}

@media only screen and (min-width: 1500px) {
  .refonte-hero-image {
    max-width: 730px;
  }
}
