.cc_client_testimonial_wrapper {
  text-align: center;
  position: relative;
}

.cc_client_testimonial_wrapper .cc_testimonial_desc_wrapper {
  max-width: 850px;
  margin: 0 auto 32px;
}

.cc_client_testimonial_wrapper .cc_testimonial_desc_text {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  font-family: Inter, sans-serif;
  font-weight: 400;
  text-align: center;
}

.cc_client_testimonial_wrapper .cc_testimonial_profile_box {
  position: relative;
}

.cc_client_testimonial_wrapper .cc_testimonial_profile_card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.cc_client_testimonial_wrapper .cc_testimonial_profile_img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.cc_client_testimonial_wrapper .cc_testimonial_profile_name {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(17, 24, 39, 1);
  text-align: left;
  margin: 0px;
}

.cc_client_testimonial_wrapper .cc_testimonial_profile_designation {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  text-align: left;
  color: #2e3a52;
  margin: 0px;
}

.sec_client_testimonial .cc_testimonial_slider_nav {
  position: absolute;
  top: 25%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  pointer-events: none;
}

/* arrows placed far left/right */
.sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_prev,
.sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_next {
  position: absolute;
  top: 0;
  width: 56px;
  height: 40px;
  border: 1px solid rgba(209, 213, 219, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  pointer-events: auto;
  background: #ffffff;
}

/* left + right positions */
.sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_prev {
  left: 0;
}

.sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_next {
  right: 0;
}

.sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_prev:hover,
.sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_next:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sec_client_testimonial .cc_testimonial_profile_detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: start;
}

.cc_client_testimonial_wrapper
  .cc_testimonial_desc_wrapper
  .cc_testimonial_desc_text {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  color: #2e3a52;
}

@media screen and (max-width: 991px) {
  /* Remove absolute positioning → behaves like it sits in .cc_client_testimonial_wrapper */
  .sec_client_testimonial .cc_testimonial_slider_nav {
    position: static;
    transform: none;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
    pointer-events: auto;
  }

  .sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_prev,
  .sec_client_testimonial .cc_testimonial_slider_nav .cc_testimonial_next {
    position: static;
  }

  .cc_client_testimonial_wrapper
    .cc_testimonial_desc_wrapper
    .cc_testimonial_desc_text {
    font-size: 18px;
    line-height: 28px;
  }
}

@media screen and (max-width: 767px) {
  .cc_client_testimonial_wrapper {
    padding: 24px;
    box-shadow: 0px 1px 5px #ddd;
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 8px;
  }

  .cc_client_testimonial_wrapper
    .cc_testimonial_desc_wrapper
    .cc_testimonial_desc_text {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
  }
}

/* Star Rating Styles */
.cc_client_testimonial_wrapper .cc_testimonial_star_rating {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 4px;
}

.cc_client_testimonial_wrapper .cc_testimonial_star_rating .cc_star {
  display: inline-block;
  vertical-align: middle;
}
