/*
------------------
# Testimonials
------------------
*/
.reskill-testimonial .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  padding: 60px !important;
  transition: all 1s 0s ease;
  transform: translateY(0px) translateZ(0px) rotate(0deg) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1, 0.8) !important;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 1;
}

.reskill-testimonial .swiper-slide::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(
    rgba(7, 10, 24, 0.4), /* dark color overlay */
    rgba(7, 10, 24, 0.4)
  ),
  #EE4A62; /* primary red underneath */
  transition: all 1s 0s ease-in-out;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.reskill-testimonial .swiper-slide-prev,
.reskill-testimonial .swiper-slide-next {
  transform: translateY(0px) translateZ(0px) rotate(0deg) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1, 0.9) !important;
}

.reskill-testimonial .swiper-slide-prev::after,
.reskill-testimonial .swiper-slide-next::after{
  background: #962D42;
}

.reskill-testimonial .swiper-slide-active {
  transform: translateY(0px) translateZ(0px) rotate(0deg) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1, 1) !important;
}

.reskill-testimonial .swiper-slide-active::after{
   background: #E1415E;
}

.reskill-testimonial .swiper-slide h3 {
  font-size: 29px;
  line-height: 1.5em;
  margin-bottom: 16px;
  font-weight: 600;
  color: #fff;
  text-transform: capitalize;
}

.reskill-testimonial .swiper-slide p {
  color: #fff;
}

.reskill-testimonial .swiper-slide a {
   position: relative;
  text-decoration: none;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 5px; /* space between text and arrow */
  color: #fff;
  font-size: 16px;
}

.reskill-testimonial .swiper-slide a::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);  /* creates a right-angle arrow > */
  transition: transform 0.3s;
}


/*----- button style -------*/
.reskill-button-next,
.reskill-button-prev {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #EE4A62;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.reskill-button-prev{
  left: 39.5%;
}

.reskill-button-next{
  right: 39.5%;
}


/* Pseudo-element for arrows */
.reskill-button-next::after,
.reskill-button-prev::after {
  content: '';
  /* required for pseudo-element */
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* center the arrow */
  width: 12px;
  height: 10px;
}

/* Right arrow */
.reskill-button-next::after {
   background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 46 39" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M25.625 2L44 19.5M44 19.5L25.625 37M44 19.5L2 19.5" stroke="%23EE4A62" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Left arrow (flipped version) */
.reskill-button-prev::after {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 46 39" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.375 2L2 19.5M2 19.5L20.375 37M2 19.5L44 19.5" stroke="%23EE4A62" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}