.howPlanWorksCard .advantage-section {
  background-color: #f0f3fa;
  padding: 50px 0;
}

.howPlanWorksCard .container {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.howPlanWorksCard h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 56px;
  margin-bottom: 40px;
  color: #374254;
}

.howPlanWorksCard .highlight-red {
  color: #ed1c24;
  font-weight: 600;
}

.howPlanWorksCard .highlight-blue {
  color: #005E9E;
  font-weight: 600;
}

.howPlanWorksCard .desktop-slider .cards-grid {
  overflow: hidden;
  padding-bottom: 20px;
}

.howPlanWorksCard .mobile-slider .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.howPlanWorksCard .swiper-wrapper.justify-between {
  justify-content: space-between;
}

.howPlanWorksCard .adv-card {
  background: #fff;
  border-radius: 15px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0px 20px 60px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 20px; */
  height: 100%;
}

.howPlanWorksCard .adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 32px 80px rgba(15, 23, 42, 0.14);
}

.howPlanWorksCard .adv-card .card-img {
  position: relative;
  width: 150px;
  width: 150px;
}

/* Version 1: Image under card (default) */
.howPlanWorksCard .image-under .adv-card .card-img img {
  position: static;
  margin-bottom: 16px;
  width: 100%;
  width: 100%;
  height: auto;
}

/* Version 2: Image half overlapping above card */
.howPlanWorksCard .image-overlap .adv-card {
  position: relative;
  padding-top: 60px;
  margin-top: 90px;
  margin-top: 90px;
}

.howPlanWorksCard .image-overlap .adv-card .card-img {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  overflow: hidden;
}

.howPlanWorksCard .image-overlap .adv-card .card-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.howPlanWorksCard .adv-card .title {
  font-size: 18px;
  font-weight: 600;
  color: #4b5563;
  line-height: 28px;
}

.howPlanWorksCard .adv-card .uin {
  color: #717684;
  font-size: 12px;
  line-height: 16px;
  font-size: 500;
  text-align: center;
}

.howPlanWorksCard .image-under .adv-card .description {
  font-size: 14px;
  line-height: 20px;
}

.howPlanWorksCard .adv-card .description {
  font-size: 14px;
  font-weight: 400;
  color: #1c2633;
  margin-bottom: 13px;
  line-height: 24px;
}

.howPlanWorksCard .active-slide {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.howPlanWorksCard .swiper-pagination-bullet {
  width: 20px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}

.howPlanWorksCard .swiper-pagination-bullet-active {
  width: 20px !important;
  border-radius: 4px !important;
  background: #e63946 !important;
  transition: all 0.3s ease;
}

.howPlanWorksCard .cta-btns {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.howPlanWorksCard .cta-btns.hide-btn-border a, .howPlanWorksCard .cta-btns.hide-btn-border button {
  border: none;
}

.howPlanWorksCard .cta-btns .border-red-button {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 8px;
}

.howPlanWorksCard .desktop-slider .cta-btns .border-red-button,
.howPlanWorksCard .mobile-slider .cta-btns .border-red-button {
  border: none;
}

.howPlanWorksCard .desktop-slider .cta-btns .border-red-button:hover,
.howPlanWorksCard .mobile-slider .cta-btns .border-red-button:hover {
  box-shadow: none;
}

.howPlanWorksCard .cta-btns .download-btn {
  width: 15px;
  height: auto;
}

.howPlanWorksCard .swiper-pagination {
  position: relative;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.howPlanWorksCard .swiper-pagination-bullet {
  width: 20px !important;
  height: 8px !important;
  background: #ccc !important;
  border: none !important;
  border-radius: 20px !important;
  margin: 0 4px !important;
  transition: all 0.25s ease;
  opacity: 1;
}

.howPlanWorksCard .swiper-pagination-bullet-active {
  width: 56px !important;
  height: 8px !important;
  border-radius: 4px !important;
  background: #e63946 !important;
  /* red */
  transition: all 0.25s ease;
}

@media (min-width: 769px) {
  .howPlanWorksCard .mobile-slider.image-under .cards-grid.howPlanWorksCardsSwiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 25px;
    transform: none !important;
  }

  .howPlanWorksCard .image-overlap .cards-grid.howPlanWorksCardsSwiper .swiper-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px 25px;
    transform: none;
  }

  .howPlanWorksCard .cards-grid.howPlanWorksCardsSwiper .swiper-slide {
    height: auto;
    flex: 0 0 340px;
  }
}

@media (max-width: 768px) {
  .howPlanWorksCard .advantage-section {
    padding: 20px 0px;
  }

  .howPlanWorksCard h2 {
    font-size: 24px;
    line-height: 36px;
  }

  .howPlanWorksCard .cards-grid {
    display: block;
  }

  .howPlanWorksCard .image-overlap .adv-card {
    margin-top: 100px;
  }

  .howPlanWorksCard .swiper-slide {
    width: 80%;
    transition: all 0.3s ease;
  }

  .howPlanWorksCard .cards-grid {
    display: block;
    overflow: hidden;
    padding-bottom: 28px;
  }

  .howPlanWorksCard .swiper-slide {
    width: 80%;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .howPlanWorksCard .cta-btns {
    margin-top: 20px;
  }

  .howPlanWorksCard .adv-card .title {
    margin-bottom: 12px;
  }
}

.howPlanWorksCard .swiper-container-horizontal>.swiper-pagination-bullets,
.howPlanWorksCard .swiper-pagination-custom,
.howPlanWorksCard .swiper-pagination-fraction {
  bottom: -10px !important;
}


.howPlanWorksCard .image-overlap .adv-card .description {
  color: #4B5563;
}


.howPlanWorksCard .image-overlap .adv-card .title {
  color: #1C2633;
}