.sliderWrapper {
  .swiper {
    .swiper-wrapper {
      align-items: stretch;

      .swiper-slide {
        height: auto;
        display: flex;
      }
    }
  }

  .videoTestimonialSlider {
    .swiper {
      .swiper-wrapper {
        align-items: stretch;

        .swiper-slide {
          display: block;
        }
      }
    }
  }
}

.service_slide {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  .service-highlight {
    background: radial-gradient(circle at center,
        #efffb8 0%,
        #f8f8ef 45%,
        #f7f5eb 100%);
    padding: 90px 0;
  }

  .container {
    width: 100%;
    margin: auto;
  }

  .service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  /* Left */
  .service-content {
    --gap: 19px;
    padding-right: 80px;

    & h2 {
      font-family: Georgia, serif;
      font-size: 54px;
      font-weight: 400;
      margin-bottom: var(--gap);
      margin-top: 16px;
      text-transform: capitalize;
      color: #171717;
    }

    & p {
      color: #5B564A;
      line-height: 160%;
      margin-bottom: var(--gap);
      font-size: 15px;
    }
  }

  /* Buttons */
  .service-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border: 1px solid #171717;
    border-radius: 50px;
    text-decoration: none;
    color: #171717;
    font-size: 14px;
    transition: 0.35s;
  }

  .btn-primary:hover {
    background: #171717;
    color: #fff;
  }

  .btn-link span {
    transition: 0.3s;
  }

  .slider-bottom {
    position: absolute;
    margin-top: 0;
    bottom: 100px;
    right: 45px;
  }

  /* Image */
  .service-image {
    --height: 660px;
    position: relative;
    max-width: var(--height);
    max-height: var(--height);
    min-height: var(--height);
    width: 100%;
    height: 100%;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out;
    border-radius: 16px;
    overflow: hidden;

    & img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      border-radius: 14px;
      transition: transform 1.2s ease-in-out;
    }
  }

  .slider-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

    &:hover {
      background: #b7ef38;
    }
  }

  /* Thumbnail / services-slider */
  .services-slider {
    margin-top: 40px;
    max-width: calc(100% - ((100% - 1380px) / 2));
  }

  .serviceSwiperThumbs {
    width: 100%;
    overflow: visible;
    padding-bottom: 40px;
  }

  .service-card {
    --width: 100px;
    min-height: 111px;
    width: fit-content;
    height: 100%;
    display: flex;
    gap: 15px;
    padding: 14px 19px;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition:
      border-color 0.3s,
      transform 0.3s;
    border-radius: 16px;
    border: 1px solid #dbdbbb;
    background-color: #fdfdf1;
    align-items: center;

    & img {
      max-width: var(--width);
      max-height: var(--width);
      min-width: var(--width);
      width: var(--width);
      height: var(--width);
      object-fit: cover;
      display: block;
      border-radius: 8px;
    }
  }

  .service-card .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;

    & h6 {
      font-size: 18px;
      margin-bottom: 0;
      line-height: 150%;
      text-transform: capitalize;
    }

    & p {
      font-size: 14px;
      color: #5B564A;
      margin-bottom: 0;
    }
  }

  .swiper-slide-thumb-active .service-card {
    background-color: #fff;
  }
}

.service_slide {
  .service-content {

    .service-tag,
    .slider-card-heading,
    p,
    .service-buttons a {
      opacity: 0;
    }
  }

  .swiper-slide:not(.swiper-slide-active) .service-content {
    pointer-events: none;
  }

  & .sliderWrapper {
    .swiper-slide.swiper-slide-active {
      & .service-image {
        opacity: 1;
        visibility: visible;

        & img {
          transform: scale(1.03);
        }
      }
    }
  }
}

.hero_effect_main {
  display: flex;
  justify-content: flex-end;
  top: 25%;
  position: relative;
  z-index: 10;

  .hero_effect_card {
    width: 100%;
    height: 220px;
    max-width: 420px;
    margin: 0;

    & .swiper-slide {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;

      & .swiper-slide-shadow {
        display: none;
      }

      & .content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 18px;
        padding: 20px;
        gap: 24px;
        border-radius: 16px;
        border: 1px solid #dbdbbb;
        background-color: #fdfdf1;
        box-shadow: 0 4px 14px 0 #e3e3d8;

        p {
          color: #5B564A;
        }

        * {
          margin-bottom: 0;
        }
      }
    }
  }
}

.testimonial_main_wraper {
  position: relative;

  &::after {
    content: "";
    width: 100%;
    height: 100%;
    max-width: 600px;
    background-image: url(https://hohstagging.quadranttech.co/wp-content/uploads/2026/08/image.png);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5%;
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.testimonialSwiper_main {
  --padding-left: 50px;

  .testimonialSwiper {
    position: relative;
    padding-top: 30px;

    &::before {
      content: "";
      width: 125px;
      height: 100px;
      background: url("https://hohstagging.quadranttech.co/wp-content/uploads/2026/07/unnamed-file.png") center no-repeat;
      position: absolute;
      top: 0;
      left: 0;
      background-size: contain;
    }

    .testimonial-card {
      display: flex;
      flex-direction: column;
      gap: 24px;

      h5 {
        line-height: 160%;
      }

      * {
        color: #fff;
        margin-bottom: 0;
      }
    }
  }

  & .swiper-pagination {
    /* left: var(--padding-left); */
    /* top: 60px; */
  }
}

.benefits_main {
  max-width: calc(100% - ((100% - 1380px) / 2));
}

.spinalSliderSection{
	.benefits_main_wraper{
		.program-card {
			height: auto;
			gap: 30px;
			 & img {
				 height: 100%;
			}
		}
		.swiper-slide-active {
			.program-card {
				background: #fff;
			}
		}
	}
}

.benefits_main_wraper {
  .programSwiper {
    overflow: visible;
  }

  .swiper-wrapper {
    align-items: stretch;
  }

  .swiper-slide {
    height: 100%;
    /* &.swiper-slide-active {
                .program-card {
                    background-color: #fff;
                    box-shadow: 0 9px 28px 0 rgba(0, 0, 0, 0.06);
                }
            } */
  }

  .swiper-pagination {
    /* margin-top: 80px; */
  }

  .program-card {
    background-color: #fdfdf1;
    border: 1px solid #ece4d4;
    border-radius: 12px;
    overflow: hidden;
    height: 645px;
    gap: 48px;
    display: flex;
    flex-direction: column;
    transition: 0.35s ease;
    justify-content: space-between;

    &:hover {
      background-color: #fff;
      box-shadow: 0 9px 28px 0 rgba(0, 0, 0, 0.06);
    }

    .content {
      padding: 40px 52px 0;

      & h3 {
        margin: 0 0 16px;
        font-size: var(--h4);
      }

      & p {
        margin: 0;
        font-size: 15px;
        line-height: 1.7;
        color: #5B564A;
      }
    }

    img {
      width: 100%;
      height: 420px;
      object-fit: contain;
      display: block;
      margin-top: auto;
      object-position: bottom;
    }
  }

  .program-header {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 25px;

    button {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1px solid #ddd;
      background: #fff;
      cursor: pointer;
      transition: 0.3s;

      &:hover {
        background: #7c9f37;
        color: #fff;
        border-color: #7c9f37;
      }

      &.swiper-button-disabled {
        opacity: 0.35;
        pointer-events: none;
      }
    }
  }
}

.benefitSwiper {
  overflow: visible;
}

/* endstyle */

@media screen and (max-width: 1439px) {
  .service_slide {
    .services-slider {
      margin-top: 40px;
      max-width: 100%;
    }
  }

  .benefits_main_wraper {
    .program-card {
      height: 520px;
    }
  }

  .sliderWrapper.benefits_main_wraper {
    padding: 0 16px;
  }
}

@media screen and (max-width: 1024px) {
  .benefits_main_wraper {
    .program-card {
      height: 450px;
    }
  }

  .testimonialSwiper_main {
    --padding-left: 10px;
  }

  .testimonial_main_wraper {
    &::after {
      content: none;
    }

    & .testimonialSwiper {
      &::before {
        width: 80px;
        height: 70px;
      }
    }
  }

  .benefits_main_wraper {
    & .program-card {
      .content {
        padding: 30px 25px 0;
      }
    }
  }
}

@media screen and (max-width: 991px) {
  .service_slide {
    .service-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }

    .service-content {
      order: 1;
    }

    .service-image {
      order: 2;
      --height: 400px;
    }

    .service-content h2 {
      font-size: 42px;
    }

    .service-buttons {
      flex-direction: column;
      align-items: flex-start;
    }
  }
}

@media screen and (max-width: 768px) {
  .sliderWrapper.benefits_main_wraper {
    padding: 0px;
  }

  .benefits_main_wraper {
    & .program-card {
      & .content {
        & h3 {
          font-size: 22px;
        }
      }
    }
  }
}

@media screen and (max-width: 540px) {
  .service_slide {
    .service-content {
      padding-right: 0;
    }

    .services-slider {

      padding: 0 20px;
    }
  }

  .service_slide {
    .service-image {
      display: none;
    }

    .slider-bottom {
      bottom: 0;
      right: 20px;
    }

    .service-buttons {
      gap: 20px;
      margin-top: 30px;
    }

    .serviceSwiperThumbs {
      padding-bottom: 10px;
    }
  }
}