/******************** section 1 ****************/
.hero {
  background: url("../images/partenaire/04.png") no-repeat center center/cover;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background-size: cover;
  z-index: 3;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.hero-content {
  position: relative;
  z-index: 8;
  padding: 20px;
}

.hero-content .small {
  font-size: 14px;
  font-weight: 500;
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 16px;
  margin: 20px 0;
  line-height: 1.4;

  font-weight: 500;
  color: white;

  /* margin: 0 auto 30px; */
}

.hero-content p a {
  color: white;
  transition: 0.3s ease-in-out;
}
.hero-content p a:hover {
  color: #c77f05;
}

.underline {
  height: 5px;
  width: 214px;
  background: var(--clr-orange); /* Secondary color */
  margin: 10px auto 20px;
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .underline {
    width: 114px;
  }
}



/****************** cocerne ficia ****************************/


.section-5 {
  padding: 60px 20px;

  background-color: #fff;
}

.section-5-title {
  font-size: 40px;
  background: var(--clr-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-weight: 500;
  padding-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

.section-5-subtitle {
  max-width: 1400px;
  margin: 0 auto 50px;
  padding-bottom: 30px;

  font-size: 18px;
  font-weight: 400;

  line-height: 1.6;

  text-align: center;
  height: 100%;
}

.section5-container {
  display: grid;
  grid-template-columns: 50% 50%;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  /* background-image: url('../images/about/globej\ 1.png'); */
  background-repeat: no-repeat;
  padding-bottom: 50px;
  padding: 20px 80px;
  gap: 40px;

  background-color: white;
}

.image-containers {
  width: 100%;
  height: 100%;

  text-align: justify;
}

.cadre {
  background: var(--clr-orange);
  width: 90%;
  height: 640px;
  border-radius: 10px;
}

.cadre img {
  width: 100%;
  height: 640px;
  border-radius: 10px;
  object-fit: cover;
  transform: translate(10px, 10px);
}

.infos {
  width: 100%;
}

.info-pneus {
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
  background-color: #eeeeee;
  cursor: pointer;
  gap: 15px;
}

.info-header h5 {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  font-family: var(--ff-primary);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.info-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease-out;
}

.info-content.active {
  max-height: 500px;
  /* Ajuster selon le contenu */
  padding: 15px;
}

.info-content p {
  margin: 8px 0;
  line-height: 1.5;
  font-size: 15px;
}

.rotate {
  transform: rotate(90deg);
}

@media (max-width: 1100px) {
  .cadre {
    display: none;
  }

  .section5-container {
    grid-template-columns: repeat(1, 1fr);
    padding: 20px 40px;
  }
}

@media (max-width: 768px) {
  .section5-container {
    grid-template-columns: repeat(1, 1fr);
    padding: 20px;
  }

  .info-header h5 {
    font-size: 15px;
  }

  .section-5-title {
    font-size: 28px;
  }

  .section-5-subtitle {
    font-size: 15px;
  }

  /* .section-5-icon {
        width: 90px;
        height: 64px;
    }

    .section-5-icon img {
        width: 80%;
        height: 80%;
    } */
}

@media (max-width: 700px) {
  .section-5-container {
    grid-template-columns: repeat(1, 1fr);
  }
}


