.s1 {
  color: white;
  text-align: center;
  text-transform: capitalize;
  background-image: url("../images/image-4.png"), url("../images/image-5.png"),
    linear-gradient(0deg, #86bfc8 -9.09%, #59a5b0 100%);
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  padding: 153px 20px 56px;
}

h1 {
    font-weight: 700;
    font-size: 2.125rem; /* 34px */
    line-height: normal;
    margin-bottom: 10px;
}

.s1 p {
    font-weight: 500;
    font-size: 1.25rem; /* 20px */
    line-height: normal;
    text-transform: none;
}



.s2 {
  padding: 80px 60px;
  max-width: 1395px;
  margin: 0 auto;
}

.s2 h2 {
  color: #303030;
  font-weight: 700;
  font-size: 2.125rem; /* 34px */
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 56px;
}

.s2 p {
  font-weight: 400;
  font-size: 1.063rem; /* 17px */
  line-height: normal;
  text-transform: none;
  text-align: center;
}

.s2 a {
  color: #59A5B0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.063rem; /* 17px */
  line-height: normal;
  text-transform: none;
}

.s2-s1 {
  margin-bottom: 90px;
}

.tab-links {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.tab-link {
  color: #838383;
  font-weight: 500;
  font-size: 17px;
  line-height: normal;
  letter-spacing: 10%;
  background-color: #F1F1F3;
  padding: 17px;
  border-radius: 0;
  flex-grow: 1;
}

.tab-link:hover,
.tab-link.active {
  color: white;
  background-color: #86BFC8;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.billed {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

label {
  font-weight: 400;
  font-size: 17px;
  line-height: normal;
}

.text-86BFC8 {
  color: #86BFC8;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 20px;
  margin: 0 13px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #86BFC8;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 20px;
}

.switch .slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  top: 2px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(30px);
  -ms-transform: translateX(30px);
  transform: translateX(30px);
}

.memberships {
  display: flex;
  gap: 50px;
  justify-content: center;
}

.membership {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 36px 27px 57px;
  border: 1px solid #5AA5B1;
  border-radius: 5px;
  flex-basis: 457px;
}

.membership:hover,
.membership.active {
  background-color: #F1F1F3;
}

.membership h3,
.membership h4 {
  color: #303030;
  font-weight: 600;
  font-size: 25px;
  line-height: normal;
  text-transform: none;
  text-align: center;
}

.membership ul {
  list-style: disc;
  padding-left: 20px;
}

.membership li {
  font-weight: 400;
  font-size: 17px;
  line-height: normal;
}

.mt-auto {
  margin-top: auto;
}

.membership .price {
  display: block;
}

.membership .price.hidden {
  display: none;
}

.membership button {
  color: white;
  font-weight: 600;
  font-size: 17px;
  line-height: normal;
  background-color: #EFABA7;
  width: 180px;
  height: 50px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.membership button:hover {
  background-color: #ad5d58;
}



/* Tablet */
@media screen and (max-width: 1024px) {
  .s2 {
    padding: 80px 20px;
  }
}



/* Mobile */
@media screen and (max-width: 767px) {
  .s1 {
    background-size: 100px, 200px, auto;
    padding: 120px 20px 80px;
  }

  h1 {
    font-size: 1.5rem; /* 24px */
  }

  .tab-links,
  .memberships {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 350px) {

  label {
    font-size: 12px;
  }

  .switch {
    width: 32px;
    height: 16px;
  }

  .switch .slider:before {
    position: absolute;
    content: '';
    height: 12px;
    width: 12px;
    top: 2px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
  }

  .switch input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
  }
  
}
