/* Стили слайдеров */

/* Общие стили */
.swiper-container {
    position: relative;
    overflow: hidden;
}
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #4285f4;
}

.swiper-button-prev:hover:after,
.swiper-button-next:hover:after {
  color: white;
}

.swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 20px;
}

.swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #4285f4;
  transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Главный слайдер */
.homeslider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%; /* Убираем 100vw, чтобы контейнер растягивался по родителю */
}

.homeslider-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Чтобы изображение заполняло контейнер */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.slide-text {
    max-width: 800px;
    margin: 0 auto;
}

/* Слайдер отзывов */
.testimonial-slider .swiper-slide {
    padding: 10px 0;
}

