.therapeutic-potential {
  padding: 0 20px;
  width: 100%;
  margin-top: 50px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.therapeutic-potential h2 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  text-align: center;
  font-family: var(--font-montserrat_sans);
  margin-bottom: 20px;
  background: var(--webkitmask-gradient-colors) no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.therapeutic-potential h3 {
  font-size: 34px;
  line-height: 44.84px;
  text-align: center;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-roboto_serif);
  margin: 0 auto;
}

.therapeutic-potential sup {
  font-size: 57%;
  line-height: 0px;
}

.flipped-cards-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 65px;
  align-items: center;
  justify-content: center;
  min-height: 384px;
  gap: 38px;
}

.flipped-card {
  width: 100%;
  max-width: 300px;
  margin-bottom: 25px;
  position: relative;
  perspective: 1000px;
  flex: 1 1 auto;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  border-radius: 20px;
}

.card-back,
.card-front {
  backface-visibility: hidden;
}

.card-front {
  transform: rotateY(-180deg);
  width: 100%;
  height: 100%;
}

.flipped-card.reverse .card-inner {
  transform: rotateY(-180deg);
  transition: 0.75s cubic-bezier(0.5, 0.5, 0, 1.6);
}

.card-back {
  width: 96%;
}

.card-front {
  position: absolute;
  left: 0;
  top: 0;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.card-content h4 {
  font-size: 34px;
  line-height: 44.84px;
  color: var(--font-color-blue);
  font-family: var(--font-roboto_serif);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 0px;
}

.flipped-card:last-of-type .card-content h4 {
  margin-top: -45px;
}

.card-content p {
  font-weight: 300;
  margin: 0px;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  font-family: var(--font-montserrat_sans);
}

.reverse .card-inner:after {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  right: 13px;
  bottom: 13px;
  padding: 3px;
  background: var(--gradient-colors);
  border-radius: 20px;
  -webkit-mask: linear-gradient(white 0 0) content-box,
    linear-gradient(white 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@media screen and (min-width: 769px) {
  .flipped-card {
    width: 100%;
    max-width: 35%;
  }

  .therapeutic-potential h2 {
    font-size: 20px;
    line-height: 24.38px;
  }

  .therapeutic-potential h3 {
    font-size: 36px;
    line-height: 47.84px;
  }

  .card-content h4 {
    font-size: 34px;
    line-height: 47.84px;
    letter-spacing: 1px;
  }

  .card-content{
    padding: 0 20px;
  }

  .card-content p {
    font-size: 18px;
    line-height: 26px;
  }

  .flipped-cards-wrapper {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 60px;
  }
}

@media screen and (min-width: 820px) {
  .flipped-card {
    width: 100%;
    max-width: 33.8%;
  }
}

@media screen and (min-width: 1025px) {
  .card-content p {
    font-size: 18px;
  }

  .card-content{
    padding: 0 40px;
  }
  .therapeutic-potential h2 {
    margin-bottom: 30px;
  }

  .flipped-card {
    width: 100%;
    max-width: 330px;
  }

  .flipped-cards-wrapper {
    flex-wrap: nowrap;
    gap: 55px;
    margin-top: 95px;
  }

  .card-back {
    width: 98%;
  }

  .flipped-cards-wrapper {
    gap: 34px;
  }
}

@media screen and (min-width: 1100px) {
  .therapeutic-potential {
    padding: 0 0;
  }
}
