/* Import variables */

/* Testimonials base styles */
.ccc-testimonials {
  position: relative;
  padding: 80px 120px;
  overflow: hidden;
  background: var(--ccc-theme-gradient);

  svg.swiper-navigation-icon {
    display: none;
  } 

}

.ccc-testimonial-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 1024px) {
  .ccc-testimonials {
    padding: 15px;
  }
}

/* Testimonial slide */
.ccc-testimonial-slide {
  display: flex;
  align-items: center;
  gap: 60px;
  color: var(--ccc-white);
}

@media only screen and (max-width: 1024px) {
  .ccc-testimonial-slide {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* Profile image */
.ccc-testimonial-image {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--ccc-white);
  margin-bottom: 20px;
}

.ccc-testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.ccc-testimonial-content {
  flex: 1;
  max-width: 800px;
}

.ccc-testimonial-content,
.ccc-testimonial-content div,
.ccc-testimonial-content p,
.ccc-testimonial-quote {
  font-family: 'Gibson', sans-serif !important;;
  font-size: 1.5rem !important;;
  line-height: 1.5 !important;;
  margin-bottom: 2rem !important;;
  color: var(--ccc-white) !important;;
  
}

.ccc-testimonial-quote  a {
  color:var(--ccc-btn-color);
    text-decoration: underline;
    

}
.ccc-testimonial-quote  a:hover {
 font-weight: bold;
  color:var(--ccc-btn-color);
  
}



.ccc-testimonial-name {
  font-family: 'Biorhyme', sans-serif !important;
  font-size: 2rem !important; 
  margin-bottom: 0.5rem !important;
  color: var(--ccc-white) !important;
  xtext-transform: uppercase;
}

.ccc-testimonial-title {
  font-family: 'Gibson Semi Bold', sans-serif !important;;
  font-size: 1.125rem !important;;
  color: var(--ccc-white) !important;;
}

/* Navigation */
.ccc-testimonials .swiper-button-next,
.ccc-testimonials .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: var(--ccc-white);
  border-radius: 50%;
  color: var(--ccc-theme-color);
  transition: all var(--ccc-transition-normal);
  top: auto;
  bottom: 20px;
}
.ccc-testimonials .swiper-pagination-bullets {
      justify-content: center !important;
}

.ccc-testimonials .swiper-button-next {
  right: calc(50% - 200px);
}

.ccc-testimonials .swiper-button-prev {
  left: calc(50% - 200px);
}

.ccc-testimonials .swiper-button-next:hover,
.ccc-testimonials .swiper-button-prev:hover {
  background: var(--ccc-light-gray);
}

.ccc-testimonials .swiper-button-next::after,
.ccc-testimonials .swiper-button-prev::after {
  font-size: 1.5rem;
}

/* Pagination */
.ccc-testimonials .swiper-pagination {
  position: absolute;
  bottom: 40px !important;
  width: 300px !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  z-index: 1;
}

.ccc-testimonials .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: var(--ccc-white);
  opacity: 0.5;
  margin: 0;
}
 
.ccc-testimonials .swiper-pagination-bullet-active {
  opacity: 1;
}

@media only screen and (max-width: 1024px) {
  .ccc-testimonials .swiper-button-next {
    right: 20px;
  }

  .ccc-testimonials .swiper-button-prev {
    left: 20px;
  }
}
@media only screen and (max-width:560px) {
.ccc-testimonials .swiper-button-next {
  right: 0;
}

.ccc-testimonials .swiper-button-prev {
  left: 0;
}


}
.ccc-testimonials  {

  .swiper-button-next:after,
  .swiper-button-prev:after {
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
  }
  .swiper-button-next:after {
    content:"\f061"
  }
  .swiper-button-prev:after {
    content:"\f060"
  }  
}

.ccc-testimonials .swiper {
  padding-bottom: 50px;
}



@media screen and (max-width: 760px) {
  

  .ccc-testimonial-image {
    width: 150px !important;
    height: 150px !important
  }
  
  .ccc-testimonial-content {
    margin-bottom:0px !important;
  }
 .ccc-testimonial-content .ccc-testimonial-quote > *,
 .ccc-testimonial-content .ccc-testimonial-quote {
    font-size: 1.1rem !important;
  }
  .ccc-testimonial-name{
    font-size: 1.4rem !important;
  }

  .ccc-testimonials  p { 
    margin-bottom:0px !important
  }
  .ccc-testimonials .swiper {
    xpadding-bottom:0px;
  }

}

