/* BENEFITS */
.benefits {
  padding: 0 15px;
  max-width: 1210px;
  margin-top: 111px;
  margin-bottom: 140px;
}

.card-holder p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.card-holder {
  width: 381px;
  height: 233px;
}

.card-holder .card-front {
  width: 100%;
  height: 100%;
  background-color: #f1f1f1;
}

.card-holder .card-front p {
  color: #00447c;
  text-align: center;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  /* 114.286% */
  max-width: 388px;
  max-width: 264px;
  margin-top: 10px;
}

.card-holder .card-back {
  width: 100%;
  height: 100%;
  background-color: #00447c;
  padding: 0 35px;
}

.card-holder .card-back p {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  color: #ffffff;
}

.benefits-title {
  color: #00447c;
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 12px;
}

.benefits-subtitle {
  color: #272727;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 133.333% */
  margin-bottom: 10px;
  max-width: 762px;
}

.benefits-text {
  color: #272727;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 133.333% */
  margin-bottom: 50px;
  max-width: 536px;
}

.benefits-text a {
  color: #d31346;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.benefits-cards {
  flex-wrap: wrap;
  gap: 15px;
  row-gap: 17px;
}

.benefit-buttons {
  gap: 60px;
  margin-top: 20px;
}

.benefit-buttons .button {
  width: 250px;
  height: 46px;
  border-radius: 23px;
  background-color: #d31346;
  color: white;
  font-weight: 500;
  font-style: Medium;
  font-size: 18.7px;
  line-height: 31.41px;
  letter-spacing: 0%;
  text-align: center;
}

.card-holder {
  cursor: pointer;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Front shown, info hidden by default. */
.card-front {
  opacity: 1;
}

.card-back {
  opacity: 0;
  pointer-events: none;
  display: flex !important;
}

.card-holder.open .card-front {
  opacity: 0;
  pointer-events: none;
}

.card-holder.open .card-back {
  opacity: 1;
  pointer-events: auto;
}

@supports (background: -webkit-named-image(i)) {
  .benefits-text {
    max-width: 569px;
  }
}

@media screen and (max-width: 567px) {
  .benefits {
    padding: 0;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 101px;
  }

  .benefits-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    max-width: 337px;
    margin-bottom: 18px;
    padding: 0 15px;
  }

  .benefits-subtitle {
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0%;
    text-align: center;
    padding: 0 15px;
    max-width: 347px;
  }

  .benefits-text {
    color: #272727;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 137.5% */
    max-width: 347px;
    margin-bottom: 41px;
  }

  .benefits-text a {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
  }

  .benefits-cards {
    flex-wrap: nowrap;
    gap: unset;
    row-gap: unset;
    padding-top: 1em;
    padding-bottom: 3em;
  }

  .card-holder {
    max-width: unset;
    width: unset;
    height: 204px;
  }

  .card-holder .card-front p {
    font-weight: 700;
    font-style: Bold;
    font-size: 21px;
    letter-spacing: 0%;
    text-align: center;
  }

  .benefit-buttons {
    gap: 33px;
    margin-top: 40px;
    flex-direction: column;
    padding: 0 15px;
  }

  .benefit-buttons .button {
    font-weight: 500;
    font-style: Medium;
    font-size: 18.7px;
    line-height: 31.41px;
    letter-spacing: 0%;
    text-align: center;
  }

  .benSwiper {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .benefit-buttons .swiper-wrapper {
    padding-left: 15px;
  }

  .benefits .swiper-pagination {
    top: 14em;
  }

  .swiper-pagination-bullet-active {
    background: transparent !important;
    border: 2px solid #707070;
  }

  .swiper-pagination span {
    opacity: 1;
    background-color: #707070;
    width: 15px;
    height: 15px;
  }

  .benefits .swiper-pagination {
    top: 15em;
  }
}