section {
  width: 100%;
}

.header-text__content {
  padding-top: 25px;
}

.header-text__content h1 {
  font-size: 40px;
  color: var(--color-text);
}

.header-text__help-text {
  color: rgb(86, 86, 86);
  margin-top: 10px;
  font-size: 20px;
}

.our-mission {
  margin-top: 50px;
}

.our-mission__content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #d0fff5;
  padding: 25px 0;
}

.our-mission__text {
  width: 45%;
  color: var(--color-text);
}

.our-mission__image {
  width: 50%;
}

.our-mission__header-text {
  font-size: 30px;
  font-weight: 600;
}

.our-mission__main-text {
  font-size: 18px;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.advantages {
  padding: 50px 0;
}

.advantage {
  margin: 50px 0 40px 0;
}

.text-header {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 25px;
}

.text-header p {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--color-text);
}

.line {
  flex: 1;
  height: 1.5px;
  background-color: var(--color-primary); /* цвет полосок */
}

.block {
  display: flex;
  align-items: center;
}

.text-main p {
  font-size: 20px;
  margin-right: 10px;
}

a.partners-link {
  position: relative;
  display: inline-block;
  color: #0077ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a.partners-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #0077ff;
  transition: width 0.3s ease;
}

a.partners-link:hover {
  color: #0056b3;
}

a.partners-link:hover::after {
  width: 100%;
}

.picture {
  width: 100%;
  height: 400px;
  overflow: hidden; /* обрезает всё, что выходит за рамки */
  display: flex;
  align-items: center;
  justify-content: center;
}

.picture.partners-custom {
  height: 400px;
  width: 3500px;
}

.picture.team-custom {
  height: 400px;
  width: 2500px;
}

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

@media (max-width: 1280px) {
}

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .advantages {
    padding: 0 0 50px 0;
  }

  .our-mission {
    margin-top: 25px;
  }

  .our-mission__content {
    flex-direction: column;
  }

  .our-mission__text {
    padding-top: 25px;
  }

  .our-mission__text,
  .our-mission__image {
    margin: 0 auto;
    width: 95%;
  }

  .block {
    flex-direction: column;
  }

  .text-main p {
    font-size: 18px;
    margin: 0;
  }

  .picture {
    margin-top: 25px;
    height: auto;
  }

  .picture img {
    width: 100%;
  }

  .picture.partners-custom {
    width: 100%;
    height: 400px;
  }

  .picture.team-custom {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .header-text__content h1 {
    font-size: 28px;
  }

  .header-text__content p {
    font-size: 18px;
  }

  .text-header .line {
    display: none;
  }

  .text-header p {
    font-size: 22px;
    margin: 0 auto;
    text-align: center;
  }

  .picture.partners-custom {
    height: auto;
  }

  .picture.team-custom {
    height: auto;
  }
}
