.slider1 {
  position: relative;
  /* text-align: center; */
  /* width: 1780px; */
  max-width: unset; 

  /* overflow: hidden; */
}

.arrows.arrows-slider1 {
   width: 1180px;
   max-width: calc(100vw - 140px);
   margin-right: auto;
   left: 0;
}

@media (max-width:785px) {
  .arrows.arrows-slider1 {
  max-width: calc(100vw - 60px);
}}

/* .slider1 .swiper-wrapper {
  width: 1780px;
} */
.slider1-group {
  display: flex;

  width: 100%;
  padding: 0;
}
.slider1-group::-webkit-scrollbar {
  display: none;
}
.slider1__caption-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 54px;
}
.steps__caption-wrapper,
.testimonials__caption-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0px;
  padding: 50px 0 57px;
}

.slider1__caption {
  color: #000;
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 28px;
  text-align: center;
  padding: 0;
  letter-spacing: 0.03em;
  background: #fff !important;
  width: max-content;
}

.slider1__item-image {
  margin-bottom: 20px;
}
.slider1__item-caption {
  margin-bottom: 12px;
  color: #111111;
  font-weight: 400;
  font-size: 20px;
}

.slider1__item-text {
  font-size: 16px;
}
.slider1-group .swiper-slide {
  box-sizing: border-box;
  text-align: left;
  padding: 20px 20px 60px 20px;
  width: 100%;
  background: #F1F1F1;
  margin-bottom: 60px;
  height: 300px;
}

/* Стили для стрелок slider1 */

.prev__slider1,
.next__slider1 {
  width: auto;
  color: #e11229;
  font-weight: bold;
  font-size: 15px;
  transition: 0.6s ease;
  border-radius: 5px;
  z-index: 10;
  width: 50%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E4E4E4;
  opacity: 0.5;
}
.prev__slider1:hover,
.next__slider1:hover {
  opacity: 1;
}

  .slider1-group .swiper-slide {
    /* flex: 1 1 auto; */
    box-sizing: border-box;
    padding: 20px; /* Отступы внутри слайда */
    width: 248px;
  }
@media (min-width: 320px) {
  /* .slider1-group .swiper-slide {
    flex: 1 1 100%;
  } */
}

/* Адаптивные стили для уменьшения слайдов на определенных разрешениях */
@media (min-width: 1024px) {
  .slider1-group .swiper-slide {
    height: 300px;
    /* flex: 1 1 50%; */
  }
}

/* Стили для второго слайдера (testimonials-slider) без отступов */
.testimonials__caption-wrapper {
  margin-bottom: 0px;
}
.testimonials__title {
  font-size: 28px;
  color: #000;
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 0 0;
  max-width: 860px;
  
  margin: 0;
  max-width: 480px;
  padding: 0 30px;
  margin-left: auto;
  margin-right: auto;
  /* padding-left: 16px; */
  font-size: 28px;
font-style: normal;
font-weight: 600;
line-height: 100%;
}
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.testimonials-slider .swiper-wrapper {
  width: 100%;
  display: flex;
  transition: transform 0.3s ease-in-out;

  height: max-content !important;
}
.slideshow-dots {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #11111166;
  padding: 12px 10px;
  width: 120px;
}
.testimonials-slider .swiper-slide {
  flex-direction: column;
  flex: 0 0 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  gap: 15px;
  position: relative;
  min-height: unset;
  height: min-content;
  max-width: calc(100% - 10px);
  width: calc(100% - 10px);
  margin: 0 5px;
}
.show .prev,
.show .next {
  color: #111;
}

.testimonials-slider .card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-width: 480px;
  text-align: left;
  padding: 0 11px;
  padding-top: 0;
  justify-content: center;
}

.card__caption {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  color: #111111;
}
.card__caption-min {
  font-size: 16px;
  margin-top: 8px;
}
.card__text {
  color: #333;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 160%; 
  margin: 0;
  margin-bottom: 20px;
}

.card__header {
  display: flex
;
    align-items: center;
    gap: 21px;
    margin-bottom: 14px;
    background: #EDEDED;
    padding: 12px;
    border-radius: 4px;
}

.card {
  order: 1;
}
.show {
  order: 2;
  position: relative;
  height: 260px;
  margin-bottom: 4px;

}
/* Стили для стрелок */
.arrows {
  display: none;
  justify-content: center;
  gap: 20px;

  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
}
.arrows-slider1 {
  display: flex;
}
.arrows-mobile {
  display: flex;
  justify-content: center;
  gap: 20px;

}

.arrows img {
  width: 12px;
  height: 16px;
  transition: transform 0.2s ease;
}

.arrows img:hover {
  transform: scale(1.1);
}
/* .show {
  display: none;
} */

h3.card__caption {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0;
}

@media (min-width: 425px) {
  .testimonials-slider .card {
    padding: 0 30px;
    padding-top: 0px;
  }
  /* .show {
    padding: 0 30px;
  } */
}
@media (min-width: 575px) {
  .slideshow-dots {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
  }
  /* .testimonials .slideshow-container img {
    max-height: 400px;
  } */
  .show {
    padding: 0 30px;
  }
}
@media (min-width: 768px) {
  .slideshow-dots {
    position: absolute;
  }
  .arrows {
    gap: 50px;
  }
  .prev__slider1,
.next__slider1 {
  background: transparent;
}
  /* .slider1__caption-wrapper::after,
.testimonials__caption-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 100%;
  height: 1px;
  background: #CCCCCC;
  z-index: 1;
} */
.steps__caption-wrapper::after {
  display: none;
}
  .arrows {
    display: flex;
  }
  .arrows-mobile {
    display: none;
  }
  .show {
    order: 1;
 
  }

  .show {
    padding: 0 0px;
  }
  .card {
    order: 2;
  }
  
  
  .testimonials-slider .swiper-wrapper {
    margin-bottom: unset;
  }
  .testimonials-slider .swiper-slide {
    flex-direction: row;
    padding-bottom: 45px;
    min-height: 500px;

 
  }
  .slider1__caption-wrapper {
    margin-bottom: 58px;
    width: fit-content;
   
  }
  .slider1__caption {
    font-size: 40px;
    padding: 0 40px;

  }
  .show,
  .card {
    flex: 1;
  }
  .show {
    display: block;
  }

  .arrows {
    justify-content: space-around;
  }
  .testimonials-slider .card {
    padding: 0 0px;
    padding-top: 0px;
  }
  .testimonials-slider .swiper-slide {
    gap: 20px;
  }
  .testimonials-slider .swiper-slide {
    max-width: 100%;

    max-width: calc(100% - 10px);
    width: calc(100% - 10px);
    margin: 0 5px;
  }
  .testimonials {
    max-width: 740px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .testimonials-slider .card {
    height: 100%;
    padding-top: 0px;
  }
  .arrows {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-around;
  }
  .show {
    width: calc(62% - 15px);
   
  }
  
  .card {
    width: calc(50% - 15px);
  }
}
@media (min-width: 1024px) {
  .testimonials {
    max-width: 994px;
  }
  .show {
    margin-bottom: 20px;
    height: 512px;
  }
  .slider1__item-text {
    font-size: 16px;
  }
  .slider1__caption {
    font-size: 40px;
    padding: 0;
  }
  .card__text {
    margin-bottom: 15px;
  }
  /* .card * {
    max-width: 70%;
  } */

  .card__caption {
    font-size: 20px;
  }
  .card .card__text {
    font-size: 20px;
  }
}
@media (min-width: 1280px) {
  .card__caption {
    font-size: 20px;
  }
}
@media (min-width: 1600px) {
  .slider1__caption {
    font-size: 40px;
  }
}
