.our-partners {
  padding: 100px 0;
  background-color: #F4F6F5;
}
.our-partners .wrapper {
  max-width: 1290px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.our-partners-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  text-align: center;
  align-items: center;
}
.our-partners-text h2 {
  font-family: Unbounded;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: #181818;
}
.our-partners-text h4 {
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  color: #6A7375;
  max-width: 1009px;
}
.our-partners .partners-card__wrapper {
  flex-wrap: wrap;
  display: flex;
  gap: 28.48px;
  position: relative;
}
.our-partners .partners-card__wrapper .card {
  width: calc(25% - 21.48px);
  height: 241px;
  border-radius: 16px;
  perspective: 500px;
}
.our-partners .partners-card__wrapper .content {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
}
.our-partners .partners-card__wrapper .card:hover .content {
  transform: rotateY(180deg);
  transition: transform 1s;
}
.our-partners .partners-card__wrapper .front,
.our-partners .partners-card__wrapper .back {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  border-radius: 16px;
  height: 100%;
  width: 100%;
  background: white;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.our-partners .partners-card__wrapper .front img,
.our-partners .partners-card__wrapper .back img {
  width: 100%;
  height: 100%;
  max-width: 191px;
  max-height: 191px;
  -o-object-fit: contain;
     object-fit: contain;
}
.our-partners .partners-card__wrapper .back {
  background: #FFCE46;
  padding: 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  color: #181818;
}

@media screen and (max-width: 1024px) {
  .our-partners {
    padding: 48px 0;
    background-color: #F4F6F5;
  }
  .our-partners .wrapper {
    padding: 0 16px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .our-partners-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    text-align: center;
    align-items: center;
  }
  .our-partners-text h2 {
    font-family: Unbounded;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #181818;
  }
  .our-partners-text h4 {
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: #6A7375;
    max-width: 100%;
  }
  .our-partners .partners-card__wrapper {
    flex-wrap: wrap;
    display: flex;
    gap: 12px;
    position: relative;
  }
  .our-partners .partners-card__wrapper .card {
    display: flex;
    flex-direction: column;
    width: calc(50% - 6px);
    border-radius: 16px;
  }
  .our-partners .partners-card__wrapper .content {
    flex-shrink: 0;
    height: 149px;
    position: relative;
    width: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
  }
  .our-partners .partners-card__wrapper .card:hover .content {
    transform: unset;
    transition: unset;
  }
  .our-partners .partners-card__wrapper .mobile-desc {
    margin-top: 8px;
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: #181818;
  }
  .our-partners .partners-card__wrapper .front,
.our-partners .partners-card__wrapper .back {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 16px;
    height: 100%;
    width: 100%;
    background: white;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  .our-partners .partners-card__wrapper .front img,
.our-partners .partners-card__wrapper .back img {
    width: 100%;
    height: 149px;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .our-partners .partners-card__wrapper .back {
    display: none;
  }
}
