.swiper {
  width: 100%;
  height: 100%;
  padding: 0 !important;
}
.swiper-wrapper {
  align-items: stretch;
}
.swiper-slide {
  height: auto !important;
  display: flex !important;
  justify-content: center;
  align-items: stretch;
}
body {
  overflow-x: hidden;
}
.testimonials {
  overflow-x: hidden;
  max-width: 100vw;
}
@media (max-width: 767px) {
  .testimonials {
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
    max-width: 100%;
  }
  .testimonials .container {
    max-width: 100%;
    padding: 0 15px;
    overflow: hidden;
  }
  .testimonials .swiper {
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    padding-bottom: 60px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .swiper-slide {
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  /* the card is in the center */
  .testimonial,
  #solutions .testimonial,
  #products2 .testimonial {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

.swiper-slide {
  padding: 8px;
}
.testimonial {
  background: #ffffff;
  border-radius: 28px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 
    0 8px 30px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.03);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, #7ab644, #5a9634, #7ab644);
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.testimonial:hover::before {
  opacity: 1;
}
.testimonial:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(122,182,68,0.25),
    0 0 0 1px rgba(122,182,68,0.1);
}
.testimonial img {
  width: calc(100% - 40px);
  height: 240px;
  object-fit: contain;
  padding: 25px;
  background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
  margin: 20px 20px 0 20px;
  border-radius: 20px;
  transition: all 0.5s ease;
  box-shadow: 
    inset 0 2px 10px rgba(0,0,0,0.03),
    0 4px 15px rgba(0,0,0,0.05);
}
.testimonial:hover img {
  transform: translateY(-14px) scale(1.1);
  filter: 
    drop-shadow(0 18px 25px rgba(0,0,0,0.3))
    drop-shadow(0 8px 15px rgba(0,0,0,0.2));
}
.testimonial > *:not(img) {
  padding: 0 28px;
}
.testimonial .urho-title-24 {
  font-size: 19px;
  min-height: 58px;
  font-weight: 800;
  background: linear-gradient(135deg, #092030 0%, #1a4d5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 24px;
  margin-bottom: 14px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}
.testimonial .urho-lead-20 {
  font-size: 14.5px;
  line-height: 1.75;
  color: #5a6268;
  flex-grow: 1;
  margin-bottom: 24px;
  position: relative;
  padding-left: 16px;
}
.testimonial .urho-lead-20::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: calc(100% - 12px);
  background: linear-gradient(180deg, #7ab644, transparent);
  border-radius: 4px;
}
.testimonial span:last-child {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #7ab644, #5a9634);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 2px solid #7ab64420;
  border-radius: 50px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.testimonial span:last-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #7ab644, #5a9634);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.testimonial:hover span:last-child::before {
  opacity: 0.1;
}
.testimonial span:last-child::after {
  content: '→';
  margin-left: 10px;
  transition: transform 0.3s ease;
  -webkit-text-fill-color: #7ab644;
  font-size: 16px;
}
.testimonial:hover span:last-child {
  border-color: #7ab644;
  transform: translateX(5px);
}
.testimonial:hover span:last-child::after {
  transform: translateX(6px);
}
.testimonials .swiper {
  padding-bottom: 90px;
  overflow: visible;
}
.testimonials .swiper-wrapper {
  padding: 10px 0;
}
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  background: #ffffff;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  width: 32px;
  height: 12px;
  border-radius: 6px;
  opacity: 1;
  background: #7ab644;
  transform: translateY(0);
}
/* mobile responsive */
@media (max-width: 768px) {
  .testimonial img,
  #solutions .testimonial img {
    height: 180px;
  }
  #products2 .testimonial img {
    height: 160px;
  }
  .testimonial,
  #solutions .testimonial,
  #products2 .testimonial {
    margin: 4px;
  }
  .testimonials .swiper {
    padding-bottom: 45px;
    padding-left: 0;
    padding-right: 0;
  }
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .testimonial .urho-title-24,
  #solutions .testimonial .urho-title-24,
  #products2 .testimonial .urho-title-24 {
    min-height: 50px;
    font-size: 17px;
  }
  .testimonial .urho-lead-20,
  #solutions .testimonial .urho-lead-20,
  #products2 .testimonial .urho-lead-20 {
    font-size: 13.5px;
    line-height: 1.65;
  }
  .testimonial > *:not(img),
  #solutions .testimonial > *:not(img),
  #products2 .testimonial > *:not(img) {
    padding: 0 20px;
  }
}
.swiper-slide {
  box-sizing: border-box;
  flex-shrink: 0;
}
.testimonial {
  will-change: transform;
  backface-visibility: hidden;
}
.swiper {
  touch-action: pan-y;
}
.swiper-wrapper {
  box-sizing: border-box;
}
.testimonial {
  height: 100%;
}
.swiper-slide > * {
  width: 100%;
}
.swiper-pagination {
  position: absolute;
  width: 100%;
  text-align: center;
  pointer-events: auto;
}
.testimonials {
  position: relative;
}
.swiper,
.swiper-slide,
.testimonial {
  max-width: 100%;
}
.swiper-slide,
.testimonial,
.testimonial img {
  transform: translateZ(0);
}
.swiper-slide {
  align-items: stretch;
}
.swiper-wrapper {
  align-items: stretch;
}
.testimonial {
  box-sizing: border-box;
}
.testimonial::before {
  background: linear-gradient(135deg, #d5d5d5, #e5e5e5, #e7e7e7);
}
.testimonial:hover {
  box-shadow: 
    0 25px 60px rgba(120,120,120,0.35),
    0 0 0 1px rgba(160,160,160,0.3);
}
.testimonial span:last-child {
  display: block !important;
  width: fit-content;
  margin-top: 20px !important;
}
.testimonial .urho-title-24 {
  margin-bottom: 0px;
}
.testimonial .urho-lead-20 {
  flex-grow: 0;
  margin-bottom: 10px;
}
.testimonial span:last-child {
  margin-bottom: 10px;
}
.swiper-pagination {
  bottom: -25px !important;
}
.testimonials .swiper {
  padding-bottom: 30px !important;
}
.testimonials .swiper-wrapper {
  padding-bottom: 40px !important;
}
.swiper-pagination {
  bottom: 20px !important;
}

.testimonial img {
  background: none !important;
  padding: 0 !important;
  margin: 20px auto 0 auto !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: all 0.5s ease;
}
.testimonial:hover img {
  transform: translateY(-12px) scale(1.08);
  filter: 
    drop-shadow(0 12px 18px rgba(0,0,0,0.25))
    drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}
