:root {
  --wellness-color: #1b90fb;
  --rewards-color: #6fcf97;
  --recognition-color: #ffc107;
  --base-font-color: #1b1d35;
  --wellness-tab-color: #cde6fe;
  --rewards-tab-color: #d9f2e3;
  --recognition-tab-color: #f6e2b7;
  --card-padding-vertical: 12px;
  --card-padding-vertical-mobile: 8px;
  --tab-font-size: 20px;
}

@font-face {
  font-family: "Averta ExtraBold";
  src: url("../fonts/averta/averta-extra-bold.otf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

.flex-1 {
  flex: 1;
}

.home-page-hero-banner {
  padding: 70px 0 64px;
  position: relative;
  min-height: 613px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    #f0f5f8 0%,
    #eff4f8 26.48%,
    #e5eaf4 71.48%,
    #dfe5f1 99.99%
  );

  overflow: hidden;
}

.home-page-hero-banner::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 120%;
  height: 120px;
  z-index: 0;
  background: white;
  transform: rotate(180deg) translate(9%, 0);
  mask-image: url("data:image/svg+xml;utf8,<svg data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,0V15C0,50,250,90,600,90S1200,50,1200,15V0Z' fill='white'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M0,0V15C0,50,250,90,600,90S1200,50,1200,15V0Z' fill='white'/></svg>");
  mask-size: cover;
  -webkit-mask-size: cover;
}

.home-page-hero-banner .page-center {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.home-banner {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.home-banner img {
  width: 620px;
}

.top-employer-title {
  width: 1000px;
  max-width: calc(100% - 16px - 16px);
  top: -3rem;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 24px !important;
  overflow: hidden;
}

#animatedHeading .slick-slider .slick-track {
  display: block;
}

#animatedHeading {
  margin: 0;
  width: 300px;
}

#animatedHeading .slick-track {
  width: auto !important;
  display: block !important;
  text-align: center;
}

#animatedHeading .slick-slide {
  width: auto !important;
  padding: 4px 0;
}

#animatedHeading {
  transition: width 0.2s ease;
  display: inline-block;
  vertical-align: middle;
}

.header-slider {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0 0.5rem;
  width: 100%;
  height: 100%;
}

.animated-text-slider {
  display: flex;
  align-items: flex-end;
  justify-content: start;
}

.object-bottom {
  object-position: bottom;
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.platform-card {
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.5s ease;
  overflow: hidden;
}

.platform-card .h5-style {
  padding: var(--card-padding-vertical) 30px 0;
  font-size: calc(11px + 0.5vw);
  line-height: 1.2;
}

.platform-card.cs-button {
  border: 3px solid #f47920;
}

.platform-card.cs-button .h5-style {
  color: #fff;
  font-size: calc(12px + 0.5vw);
}

.platform-card.cs-button:hover {
  background: transparent;
  color: #f47920;
}

.platform-card.cs-button:hover .h5-style {
  color: #f47920;
}

.platform-card.cs-button:hover img {
  filter: invert(58%) sepia(77%) saturate(2322%) hue-rotate(345deg)
    brightness(96%) contrast(99%);
}

.platform-card .monthly-img-box {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 90%;
}

/* WELLNESS content */
.platform-card.wellness {
  background-color: rgba(203, 230, 254, 0.45);
  border: var(--wellness-color) 3px solid;
}

/* REWARDS content */
.platform-card.rewards {
  background-color: rgba(217, 242, 227, 0.45);
  border: var(--rewards-color) 3px solid;
}

/* RECOGNITION content */
.platform-card.recognition {
  background-color: rgba(255, 236, 179, 0.45);
  border: var(--recognition-color) 3px solid;
}

.flip-card {
  width: 100%;
  height: 100%;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card:hover .monthly-icon-tag,
.flip-card.flipped .monthly-icon-tag {
  opacity: 0;
  transition: all 0.8s;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.flip-card-front {
  z-index: 2;
}

.flip-card-back {
  color: white;
  transform: rotateY(180deg);
  flex-direction: column;
  text-align: center;
  pointer-events: auto;
  user-select: text;
  font-size: calc(11px + 0.3vw);
  z-index: 2;
}

.flip-card-back.wellness {
  background: var(--wellness-color);
}

.flip-card-back.rewards {
  background: var(--rewards-color);
}

.flip-card-back.recognition {
  background: var(--recognition-color);
}

.flip-card-back * {
  color: white !important;
}

.flip-card-back.recognition * {
  color: var(--base-font-color) !important;
}

.flip-card-back a {
  /* margin-top: 1rem; */
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  text-decoration: underline;
  pointer-events: auto;
  z-index: 10;
  text-decoration: none;
  font-size: calc(11px + 0.4vw);
}

.platform-card img.arrow-right {
  width: 6px;
  height: auto;
}

.flip-card-inner .monthly-icon-tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 0 0 8px;
  width: 50px;
  height: 50px;
  z-index: 2;
  border-top-left-radius: 16px;
  transition: all 0.8s;
}

.flip-card-inner .monthly-icon-tag img {
  width: 18px;
  max-height: 100%;
  position: absolute;
  left: 13%;
}

.flip-card-inner:has(.platform-card.recognition) .monthly-icon-tag {
  padding: 6px 0 0 8px;
}

.flip-card-inner:has(.platform-card.rewards) .monthly-icon-tag img {
  width: 16px;
}

.flip-card-inner:has(.platform-card.wellness) .monthly-icon-tag {
  background: linear-gradient(
    135deg,
    var(--wellness-color) 50%,
    transparent 50%
  );
}

.flip-card-inner:has(.platform-card.rewards) .monthly-icon-tag {
  background: linear-gradient(
    135deg,
    var(--rewards-color) 50%,
    transparent 50%
  );
}

.flip-card-inner:has(.platform-card.recognition) .monthly-icon-tag {
  background: linear-gradient(
    135deg,
    var(--recognition-color) 50%,
    transparent 50%
  );
}

.content-show-text {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  visibility: visible !important;
  height: auto !important;
  opacity: 1;
}

.logo-slider .slick-dots {
  bottom: -30px;
}

.logo-slider {
  transition: all 0.2s ease-in-out;
}

.tab-switcher .testimonial-slider .slick-dots {
  bottom: 15px;
}

.tab-switcher {
  border-radius: 16px;
  transition: all 0.4s linear;

  &.wellness-active {
    background: var(--wellness-tab-color);
  }

  &.rewards-active {
    background: var(--rewards-tab-color);
  }

  &.recognition-active {
    background: var(--recognition-tab-color);
  }
}

.tabs {
  width: 100%;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin-bottom: 0 !important;
  padding: 0;
}

/* --- When Wellness is active --- */
.tabs:has(.wellness.active) .rewards {
  border-bottom-left-radius: 16px;
}

/* --- When Rewards is active --- */
.tabs:has(.rewards.active) .wellness {
  border-bottom-right-radius: 16px;
}
.tabs:has(.rewards.active) .recognition {
  border-bottom-left-radius: 16px;
}

/* --- When Recognition is active --- */
.tabs:has(.recognition.active) .rewards {
  border-bottom-right-radius: 16px;
}

.tab {
  flex: 1 auto;
  cursor: pointer;
  padding: 14px 20px;
  background: #f9fbfe;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--base-font-color);
  font-size: 24px;
  position: relative;
  transition: color 0.3s cubic-bezier(0.19, 1, 0.22, 1);

  img {
    width: 30px;
    filter: brightness(0) saturate(100%) invert(9%) sepia(8%) saturate(4653%)
      hue-rotate(198deg) brightness(98%) contrast(92%);
  }
}
.tab:not(.active):hover {
  color: #f47920;

  img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(73%) saturate(1122%)
      hue-rotate(351deg) brightness(109%) contrast(91%);
  }
}

.tab.active {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  &.wellness {
    background: var(--wellness-tab-color);

    img {
      filter: brightness(0) saturate(100%) invert(46%) sepia(36%)
        saturate(4442%) hue-rotate(190deg) brightness(100%) contrast(97%);
    }

    &::after {
      position: absolute;
      top: 0;
      right: 0px;
      border-top-right-radius: 50%;
      box-shadow: 15px -10px 0 0 #fff;
      height: 40px;
      width: 40px;
      border-top-left-radius: 50%;
      background: 0 0;
      content: "";
      z-index: 0;
    }
  }

  &.rewards {
    background: var(--rewards-tab-color);

    img {
      filter: brightness(0) saturate(100%) invert(70%) sepia(7%) saturate(2181%)
        hue-rotate(92deg) brightness(106%) contrast(86%);
    }

    &::before {
      position: absolute;
      border-top-right-radius: 50%;
      top: 0;
      left: 0;
      box-shadow: -20px -10px 0 0 #fff;
      height: 40px;
      width: 40px;
      border-top-left-radius: 50%;
      background: 0 0;
      content: "";
      z-index: 0;
    }

    &::after {
      position: absolute;
      top: 0;
      right: 0px;
      border-top-right-radius: 50%;
      box-shadow: 15px -10px 0 0 #fff;
      height: 40px;
      width: 40px;
      border-top-left-radius: 50%;
      background: 0 0;
      content: "";
      z-index: 0;
    }
  }

  &.recognition {
    background: var(--recognition-tab-color);

    img {
      filter: brightness(0) saturate(100%) invert(80%) sepia(65%)
        saturate(1982%) hue-rotate(349deg) brightness(101%) contrast(107%);
    }

    &::before {
      position: absolute;
      border-top-right-radius: 50%;
      top: 0;
      left: 0;
      box-shadow: -20px -10px 0 0 #fff;
      height: 40px;
      width: 40px;
      border-top-left-radius: 50%;
      background: 0 0;
      content: "";
      z-index: 0;
    }
  }
}

.tab-panels {
  position: relative;
  padding: 35px 40px;
}

.tab-panel {
  position: absolute;
  width: 100%;
  opacity: 0;
}

.tab-panel.active {
  opacity: 1;
  pointer-events: all;
  position: relative;
}

/* Animation for Tab switcher content */
#wellness,
#rewards,
#recognition {
  transition: opacity 0.8s linear;

  .tab-panel:not(.active) & {
    opacity: 0;
  }

  .tab-panel.active & {
    opacity: 1;
  }
}

/* End: Animation for Tab switcher content */

.tab-switcher .stat-percent {
  margin-bottom: 0;
  font-family: "Averta ExtraBold", sans-serif;
  font-size: 54px;
  line-height: 1;
}

.tab-switcher .slick-slider .slick-track {
  align-items: start !important;
}

.rewards-badges-note {
  font-size: 19px;
}

.stat-desc {
  font-size: 18px;
}

.testi-quotes p {
  font-size: var(--tab-font-size);
}

.testimonial-box-one.testi-quotes p {
  text-align: left !important;
}

.tab-switcher .testimonial {
  width: 60%;
}

.tab-switcher #wellness .testimonial {
  width: 64%;
}

.tab-switcher .testimonial-slider {
  display: flex;
  align-items: start;
  background-color: #fff;
  border-radius: 16px;

  #wellness & {
    border: var(--wellness-color) 2px solid;
  }

  #rewards & {
    border: var(--rewards-color) 2px solid;
  }

  #recognition & {
    border: var(--recognition-color) 2px solid;
  }
}

.tab-switcher .testimonial-box-one {
  border: none;
  margin: 0;
  text-align: left;
  padding: 18px 60px 40px;

  p {
    flex-wrap: wrap;
    display: flex;
  }
}

.tab-switcher .testimonial-client-box-one {
  padding: 0;
  gap: 20px;

  img {
    width: 120px;
  }

  p {
    margin: 0;
  }
}

.tab-switcher .testimonial-client-box-one .img-user-bg {
  width: 60px;
  height: 60px;
  aspect-ratio: 1/1;
  border-radius: var(--card-padding-vertical);
  padding: 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: end;
}
.tab-switcher .testimonial-client-box-one {
  font-size: 20px;
}

.tab-switcher .testimonial-client-box-one span {
  color: var(--base-font-color);
  font-weight: 400;
}

.tab-switcher
  .testimonial-client-box-one
  .testimonial-client-name-one
  a:hover
  img {
  filter: unset;
}

.tab-switcher .testimonial-client-box-one img {
  border-radius: var(--card-padding-vertical);
  width: 60px;
}

.tab-switcher .testimonial-client-box-one img.img-user {
  width: 55px;
}
.tab-switcher #wellness .testimonial-client-box-one img.img-user {
  filter: invert(39%) sepia(99%) saturate(2012%) hue-rotate(192deg)
    brightness(101%) contrast(103%);
}
.tab-switcher #rewards .testimonial-client-box-one img.img-user {
  filter: invert(71%) sepia(20%) saturate(747%) hue-rotate(90deg)
    brightness(94%) contrast(91%);
}
.tab-switcher #recognition .testimonial-client-box-one img.img-user {
  filter: invert(61%) sepia(91%) saturate(504%) hue-rotate(1deg) brightness(97%)
    contrast(102%);
}
.tab-switcher #wellness .testimonial-client-box-one .img-user-bg {
  background-color: #e8f4ff;
}
.tab-switcher #rewards .testimonial-client-box-one .img-user-bg {
  background-color: #eef9f2;
}
.tab-switcher #recognition .testimonial-client-box-one .img-user-bg {
  background-color: #fef5dc;
}

.slick-arrow {
  z-index: 2;
  width: 28px;
  height: 32px;
  margin: 0 12px;
  cursor: pointer;
  padding: 10px;
}

.slick-arrow.prev .button-bg {
  transform: rotate(180deg);
}

.slick-arrow.prev {
  position: absolute;
  left: 0;
  top: 50%;
  margin-left: -5px;
  transform: translate(50%, -50%);
}

.slick-arrow.next {
  position: absolute;
  right: 0;
  top: 50%;
  margin-right: -5px;
  transform: translate(-50%, -50%);
}

.slick-arrow .button-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-image: url(../images/icon/arrow-right.svg);
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slick-arrow.next:hover .button-bg,
.slick-arrow.prev:hover .button-bg {
  background-image: url(../images/icon/arrow-right-primary.svg);
}

.slick-arrow.next:hover .button-bg {
  transform: none;
}

.rewards-content,
.recognition-content {
  max-width: 100%;
}

.tab-badges {
  width: 55%;
}

.rewards-stats p {
  font-size: var(--tab-font-size);

  strong {
    font-size: 24px;
    font-family: "Averta ExtraBold", sans-serif;
  }
}

.reason-customers-love-wellable {
  background-color: rgba(255, 234, 219, 0.5);
}

.reason-customers-love-wellable .badge-icon-1 {
  bottom: 0%;
  left: 11%;
  width: 20%;
}

.reason-customers-love-wellable .badge-icon-2 {
  top: -9%;
  right: 13%;
  width: 20%;
}

.reasons-cta img {
  display: inline;
  vertical-align: middle;
  margin-bottom: 6px;
}

.tab-switcher .tab-content-text {
  text-align: left;
  flex: 1;
}

.reasons-content {
  text-align: left;
}

/* Curve Border */
.tab-panel.active::before,
.tab-panel.active::after {
  position: absolute;
  content: "";
  top: -35px;
  width: 40px;
  height: 40px;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  opacity: 1;
  z-index: 0;
  background: transparent;
}

/* Right-side curve (after) */
.tab-panel.active:has(#wellness)::after,
.tab-panel.active:has(#rewards)::after {
  right: -40px;
  box-shadow: 20px -20px 0 0 #f9fbfe;
}

/* Left-side curve (before) */
.tab-panel.active:has(#recognition)::before,
.tab-panel.active:has(#rewards)::before {
  left: -40px;
  box-shadow: -20px -20px 0 0 #f9fbfe;
}

/* End: Curve Border */

.h5-style {
  color: #1b1d35;
  font-family: Averta;
  font-size: 22px;
  font-weight: 700;
}

.h6-style {
  color: #1b1d35;
  font-family: Averta;
  font-size: 20px;
  font-weight: 700;
}

.platform-card.flip-card-back {
  padding-top: var(--card-padding-vertical);
  padding-bottom: var(--card-padding-vertical);
}

.platform-card.flip-card-back .h5-style {
  padding: 0;
}

@media (max-width: 1140px) {
  .home-page-hero-banner {
    min-height: 491px;
    padding: 120px 0;
  }

  .platform-card .monthly-img-box {
    background-size: contain !important;
  }
}

@media (max-width: 1110px) {
  #animatedHeading .slick-slider {
    margin-top: 10px;
  }
}

@media (max-width: 992px) {
  .platform-card {
    border-radius: 8px;
  }

  .flip-card-inner .monthly-icon-tag {
    border-top-left-radius: 8px;
  }

  .platform-card .h5-style {
    font-size: calc(11px + 0.5vw);
  }

  .flip-card-back {
    font-size: calc(9px + 0.3vw);
  }

  .flip-card-back a {
    font-size: calc(9px + 0.4vw);
  }

  .platform-card img.arrow-right {
    width: 5px;
    height: auto;
  }
}

@media (max-width: 991.5px) {
  .tab-switcher #wellness .testimonial,
  .tab-switcher .testimonial {
    width: 100%;
  }
}

@media (min-width: 767px) and (max-width: 1070px) {
  .header-slider {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 767.5px) {
  .home-page-hero-banner {
    padding: 100px 0;
  }

  .home-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-slider {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #animatedHeading .slick-slide {
    width: 200px !important;
  }

  #header-text {
    font-size: 35.64px;
    align-items: center;
  }

  #animatedHeading {
    width: 200px;
  }

  .tab-switcher {
    border-radius: var(--card-padding-vertical-mobile);
  }

  .tab-switcher .testimonial-client-box-one img {
    border-radius: var(--card-padding-vertical-mobile);
  }

  /* Curve Border */
  .tab-panel.active::before,
  .tab-panel.active::after {
    border-top-left-radius: var(--card-padding-vertical-mobile);
    border-top-right-radius: var(--card-padding-vertical-mobile);
  }

  /* Right-side curve (after) */
  .tab-panel.active::after {
    top: -30px;
    right: -20px !important;
    box-shadow: 13px -11px 0 0 #f9fbfe;
  }

  /* Left-side curve (before) */
  .tab-panel.active::before {
    top: -30px;
    left: -20px !important;
    box-shadow: -10px -10px 0 0 #f9fbfe;
  }

  /* End: Curve Border */
  .tab-panels {
    padding: 30px 20px;
  }

  .tab-switcher .testimonial-slider {
    border-radius: var(--card-padding-vertical-mobile);
  }

  .tab-switcher .testimonial-box-one {
    padding: 12px 46px 35px;
  }

  .tab-switcher
    .testimonial-client-box-one
    .testimonial-client-name-one
    .h6-style {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .partner-logo-box {
    padding: 0 8px;
  }

  .why-content-container {
    padding-bottom: 55px !important;
  }

  .platform-card.cs-button .h5-style {
    font-size: calc(18px + 0.3vw);
  }

  .platform-card .h5-style {
    font-size: calc(17px + 0.3vw);
  }

  .flip-card-back {
    font-size: calc(14px + 0.3vw);
  }

  .flip-card-back a {
    font-size: calc(14px + 0.4vw);
  }

  .modular-tools-container {
    max-width: 540px;
    margin: auto;
  }
  .tab-switcher .stat-percent {
    font-size: 36px;
  }
  .stat-desc {
    font-size: 16px;
  }
  .text-base {
    font-size: 14px !important;
  }

  .rewards-badges-note {
    font-size: 18px;
  }
  .testi-quotes p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .tab {
    flex-direction: column;
    padding: 20px 10px;
    width: 120px;

    span {
      font-size: 20px;
    }
  }

  .platform-card .h5-style {
    padding: var(--card-padding-vertical-mobile) 28px 0;
  }

  .platform-card.flip-card-back {
    padding-top: var(--card-padding-vertical-mobile);
    padding-bottom: var(--card-padding-vertical-mobile);
  }

  /* .platform-card.flip-card-back .h5-style {
    padding: 8px 4px 0;
  } */
  .flip-card-inner .monthly-icon-tag {
    width: 40px;
    height: 40px;
    padding: 5px 0 0 4px;
  }

  .flip-card-inner .monthly-icon-tag img {
    width: 14px;
    left: 14%;
  }

  .flip-card-inner:has(.platform-card.rewards) .monthly-icon-tag img {
    width: 13px;
    left: 14%;
  }

  .platform-card.gift-cards .h5-style {
    max-width: 70px;
    margin-left: auto;
    margin-right: auto;
  }

  .platform-card.cs-button .h5-style {
    font-size: calc(15px + 0.3vw);
  }

  .platform-card .h5-style {
    font-size: calc(14px + 0.5vw);
  }

  .flip-card-back {
    font-size: calc(13px + 0.3vw);
  }

  .flip-card-back a {
    font-size: calc(13px + 0.4vw);
  }

  .flip-card-buzz.animate-on-scroll {
    transform: rotateX(10deg);
    animation: rotateAngle 1.2s linear infinite;
  }

  .flip-card-buzz.animate-on-scroll:hover {
    transform: unset;
    animation: unset;
  }
}

@media (max-width: 520px) {
  .top-employer-title {
    font-size: 18px !important;
  }
}

@media (max-width: 490px) {
  .platform-card.cs-button .h5-style {
    font-size: calc(15px + 0.3vw);
  }

  .platform-card .h5-style {
    font-size: calc(14px + 0.5vw);
  }

  .flip-card-back {
    font-size: calc(10px + 0.3vw);
  }

  .flip-card-back a {
    font-size: calc(10px + 0.4vw);
  }
}

@media (max-width: 420px) {
  .tab-switcher .testimonial-box-one {
    padding: 16px 38px 35px;

    > p {
      font-size: 16px;
      margin-bottom: 16px;
    }
  }

  .testimonial-client-name-one > div {
    line-height: 1.3;
    font-size: 16px;
  }

  .tab-badges {
    width: 100%;
  }

  .slick-arrow.prev {
    left: -2%;
  }

  .slick-arrow.next {
    right: -2%;
  }

  .platform-card.cs-button .h5-style {
    font-size: calc(13px + 0.3vw);
  }

  .platform-card .h5-style {
    font-size: calc(12px + 0.5vw);
  }

  .flip-card-back {
    font-size: calc(9px + 0.35vw);
  }

  .flip-card-back a {
    font-size: calc(9px + 0.45vw);
  }
}

@media (max-width: 376px) {
  .tab span {
    font-size: 16px;
  }
}

@media (max-width: 345px) {
  .platform-card.cs-button .h5-style {
    font-size: calc(9px + 0.3vw);
  }

  .platform-card .h5-style {
    font-size: calc(8px + 0.5vw);
  }

  .flip-card-back {
    font-size: calc(8px + 0.3vw);
  }

  .flip-card-back a {
    font-size: calc(8px + 0.4vw);
  }

  .platform-card img.arrow-right {
    width: 4px;
  }
}

@media (max-width: 321px) {
  .tab span {
    font-size: 14px;
  }
}

.solution-card-wrapper > a {
  color: #595959;
}

.working-content .view-more {
  color: var(--base-font-color);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.working-content .view-more span {
  transition: 0.15s linear;
  opacity: 0;
  visibility: hidden;
  width: 0;
  white-space: nowrap;
}

.working-card:hover .working-content .view-more {
  color: #f47920;
  justify-content: space-between;
}

.working-card:hover .working-content .view-more span {
  width: auto;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .home-banner-content-container-inner {
    text-align: left;
  }

  .list-item-group > div:nth-child(even) {
    width: 45%;
    padding-right: 15px;
  }

  .list-item-group > div:nth-child(odd) {
    width: 55%;
    padding-right: 15px;
  }

  .award-title {
    max-width: 300px;
  }
}

.list-item {
  padding-left: 2.5rem;
  position: relative;
  margin-bottom: 1.25rem;
  font-size: 16px;
  font-weight: 400;
}

.wisepops-root {
  transition: all 0.6s linear;
  opacity: 1;
  visibility: visible;
}

.wisepops-root-vanished {
  opacity: 0;
  visibility: hidden;
}

.badge-gap {
  gap: 12px;
}

.banner-msg {
  font-family: Averta;
  color: var(--base-font-color);
}

.rate-text-header {
  font-size: 26px;
  color: #1a1d35;
  font-weight: bold;
  font-family: Averta;
  text-align: center;
}

.cs-divider-text {
  font-size: 18px;
  display: flex;
  align-items: center;
  color: #1a1d35;
  font-weight: bold;
  font-family: Averta;
  text-align: center;
}

.cs-divider-text::before,
.cs-divider-text::after {
  content: "";
  flex: 1;
  padding: 1px 8px;
  background-color: #1a1d35;
  margin: 0 8px;
}

.cs-divider-text > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes rotateAngle {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
    animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
  }
  25% {
    transform: rotateY(10deg) rotateX(0deg);
  }
  50% {
    transform: rotateY(0deg) rotateX(0deg);
    animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
  }
  75% {
    transform: rotateY(-10deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(0deg) rotateX(0deg);
  }
}

div:has(> .flip-card) {
  perspective: 1000px;
}

@media (min-width: 2190px) {
  .platform-card .h5-style {
    font-size: calc(8px + 0.5vw);
  }

  .flip-card-back {
    font-size: calc(9px + 0.3vw);
  }
}

@media (min-width: 992px) {
  .badge-gap {
    gap: 26px;
  }

  a.platform-card.cs-button {
    min-height: 75px;
    justify-content: center;
  }

  .tab-switcher .testimonial-box-one {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: -webkit-fill-available;
  }

  .tab-switcher .testimonial-slider .slick-list,
  .tab-switcher .slick-slider .slick-track {
    height: inherit;
  }
}

@media (max-width: 768px) {
  .badge-one {
    max-width: 135px;
  }

  .badge-two {
    width: 100%;
    max-width: 300px;
  }

  .badge-two img {
    max-width: 120px;
    margin: auto;
  }

  .rate-text-header {
    font-size: 20px;
  }
}

@media (max-width: 470.5px) {
  .cs-divider-text::before,
  .cs-divider-text::after {
    padding: 1px 30px;
  }
}

@media (max-width: 425px) {
  .cs-divider-text {
    font-size: 16px;
  }

  .cs-divider-text > span {
    display: flex;
    flex-direction: column;
  }

  .rate-text-header {
    font-size: 18px;
  }

  .tab-switcher .testimonial-client-box-one img {
    width: 50px;
  }

  .tab-switcher .testimonial-client-box-one .img-user-bg {
    width: 50px;
    height: 50px;
  }
  .tab-switcher .testimonial-client-box-one img.img-user {
    width: 45px;
  }
}

@media (max-width: 375px) {
  .rate-text-header {
    font-size: 16px;
  }

  .cs-divider-text::before,
  .cs-divider-text::after {
    padding: 1px 5px;
  }
}

/* Mobile tab menu */
.tab-menu-mobile {
  display: flex;
  padding: 0;
  margin: 0;
}

.tab-menu-mobile li {
  list-style: none;
  flex: 1;
  border-bottom: 3px solid #f4f8ff;
}

.tab-menu-mobile button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  height: 60px;
  border: unset !important;
  color: var(--base-font-color);
  background-color: #f9fbfe;
  transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.tab-menu-mobile li.wellness.active button {
  background-color: var(--wellness-tab-color);
}

.tab-menu-mobile li.wellness.border-active {
  border-bottom: 3px solid var(--wellness-color);
}

.tab-menu-mobile li.rewards.active button {
  background-color: var(--rewards-tab-color);
}

.tab-menu-mobile li.rewards.border-active {
  border-bottom: 3px solid var(--rewards-color);
}

.tab-menu-mobile li.recognition.active button {
  background-color: var(--recognition-tab-color);
}

.tab-menu-mobile li.recognition.border-active {
  border-bottom: 3px solid var(--recognition-color);
}

.full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin: 0 -50vw;
  width: 100vw;
  max-width: 100vw;
}

/* =============================================
   Wellable Savings ("How much could Wellable save your organization?")
   ============================================= */
.wellable-savings-card {
  background: #e5eaf4;
  border-radius: 16px;
  padding: 48px 56px;
}

.wellable-savings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.wellable-savings-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.wellable-savings-title img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.wellable-savings-link {
  flex-shrink: 0;
  font-size: 18px;
  color: #1b1d35;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.wellable-savings-link:hover,
.wellable-savings-link:focus-visible {
  text-decoration: underline;
  color: #f47920;
}

.wellable-savings-top {
  display: grid;
  gap: 36px;
}
.wellable-savings-bottom {
  display: grid;
  gap: 40px;
}

/* Top row: the two stats sit centered within each half, like the design */
.wellable-savings-top {
  grid-template-columns: repeat(2, 1fr);
  padding: 0 15%;
}

.wellable-savings-top .wellable-savings-stat {
  justify-self: center;
}

.wellable-savings-bottom {
  grid-template-columns: repeat(3, 1fr);
}

.wellable-savings-number {
  margin-bottom: 10px;
  font-family: "Averta ExtraBold", sans-serif;
  font-size: 54px;
  line-height: 1.2;
  /* Digits keep the same width while counting, so the text doesn't jitter */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wellable-savings-bottom .wellable-savings-number {
  margin-bottom: 24px;
}

.wellable-savings-desc {
  font-size: 18px;
  line-height: 1.4;
}

.wellable-savings-divider {
  margin: 32px 0 56px;
  border: 0;
  border-top: 2px solid #1b1d35;
  opacity: 1;
}

/* Tablet + mobile: one stat per row, number on the left and description on
   the right (same as the "92% of customers..." stats above).
   Each group is a 2-column grid and its stats use display: contents, so all
   numbers of a group share one `auto` column = as wide as that group's
   longest number ("22,000+" on top, "$2,642" at the bottom) and every
   description in the group starts at the same x */
@media (max-width: 991.98px) {
  .wellable-savings-card {
    padding: 36px 32px;
  }

  .wellable-savings-title {
    font-size: 22px;
  }

  .wellable-savings-top {
    padding: 0;
  }

  .wellable-savings-top,
  .wellable-savings-bottom {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px 24px;
  }

  .wellable-savings-stat {
    display: contents;
  }

  .wellable-savings-number,
  .wellable-savings-bottom .wellable-savings-number {
    font-size: 36px;
    margin-bottom: 0;
    line-height: 1.1;
  }

  .wellable-savings-desc {
    font-size: 16px;
  }

  .wellable-savings-bottom .wellable-savings-desc {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .wellable-savings-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }

  .wellable-savings-title {
    font-size: 20px;
    gap: 12px;
  }

  .wellable-savings-link {
    font-size: 16px;
  }

  .wellable-savings-top .wellable-savings-stat:last-child {
    justify-self: start;
  }

  .wellable-savings-top,
  .wellable-savings-bottom {
    column-gap: 16px;
  }

  .wellable-savings-divider {
    margin: 24px 0 28px;
  }
}
