/* Стили для блока с отзывами */
section[data-w-id="7c129178-7dea-c72d-ce7c-a82b9c33ba08"] {
    position: relative; /* Для правильной работы с псевдоэлементами */
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

/* Градиент сверху */
section[data-w-id="7c129178-7dea-c72d-ce7c-a82b9c33ba08"]::before,
section[data-w-id="7c129178-7dea-c72d-ce7c-a82b9c33ba08"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 75px; /* Высота градиента */
    background: linear-gradient(to bottom, #ff4400 0%, transparent 100%);
    z-index: 2; /* Чтобы градиент был поверх контента */
}

/* Градиент сверху */
section[data-w-id="7c129178-7dea-c72d-ce7c-a82b9c33ba08"]::before {
    top: 0;
    background: linear-gradient(to bottom, #ff4400 0%, transparent 100%);
}

/* Градиент снизу */
section[data-w-id="7c129178-7dea-c72d-ce7c-a82b9c33ba08"]::after {
    bottom: 0;
    background: linear-gradient(to top, #ff4400 0%, transparent 100%);
}

/* Общие стили */
/* Общие стили для карусели */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    height: 750px; /* Высота блока для отображения одного отзыва */
}

.testimonials-list {
    position: absolute;
    top: 0;
    animation: scroll-testimonials 90s linear infinite;
}

.testimonial-item {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Переводим все элементы в колонку */
    align-items: flex-start; /* Выравниваем элементы по левому краю */
    justify-content: flex-start; /* Выравниваем элементы сверху */
}

/* Заголовок отзыва (имя и фото) */
.testimonial-header {
    display: flex;
    flex-direction: column; /* Располагаем имя и фото вертикально */
    align-items: center; /* Выравниваем по центру */
    margin-bottom: 10px; /* Отступ между заголовком и текстом */
}

/* Фото автора отзыва */
.testimonial-photo {
    width: 145px;
    height: 28px;
    margin-top: 5px;
    object-fit: contain;
}

/* Имя автора отзыва */
.testimonial-author {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-top: 5px;
}

/* Текст отзыва */
.testimonial-text {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    flex: 1;
}

/* Медиазапрос для мобильных устройств */
@media (max-width: 768px) {
    /* Уменьшаем высоту блока отзыва */
    .testimonial-item {
        padding: 15px; /* Уменьшаем отступы */
        margin: 10px 0; /* Уменьшаем промежутки между отзывами */
        max-height: 250px; /* Устанавливаем максимальную высоту */
    }

    /* Переносим фото и имя вверх */
    .testimonial-header {
        margin-bottom: 10px;
    }

    .testimonial-photo {
        width: 120px; /* Уменьшаем размер фото */
        height: 24px; /* Уменьшаем размер фото */
    }

    .testimonial-author {
        font-size: 14px; /* Уменьшаем размер шрифта для имени */
    }

    /* Уменьшаем размер текста */
    .testimonial-text {
        font-size: 14px; /* Уменьшаем размер шрифта для текста */
    }
}

/* Анимация для движения отзывов */
@keyframes scroll-testimonials {
    0% {
        top: 0; /* Стартовая позиция */
    }
    5% {
        top: -140px;
    }
    10% {
        top: -280px;
    }
    15% {
        top: -420px;
    }
    20% {
        top: -560px;
    }
    25% {
        top: -700px;
    }
    30% {
        top: -840px;
    }
    35% {
        top: -980px;
    }
    40% {
        top: -1120px;
    }
    45% {
        top: -1260px;
    }
    50% {
        top: -1400px; /* 50% = 1400px */
    }
    55% {
        top: -1260px;
    }
    60% {
        top: -1120px;
    }
    65% {
        top: -980px;
    }
    70% {
        top: -840px;
    }
    75% {
        top: -700px;
    }
    80% {
        top: -560px;
    }
    85% {
        top: -420px;
    }
    90% {
        top: -280px;
    }
    95% {
        top: -140px;
    }
    100% {
        top: 0; /* Возврат в начало */
    }
}




/* Стили для шторки */
.menu-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Скрываем за пределами экрана */
    width: 20%; /* Ширина шторки */
    height: 100%;
    background-color: #fff;
    color: #00aeef;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
}

/* Остальной CSS для шторки */
body {
    font-family: 'Inter', sans-serif;
}

.menu-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.menu-drawer ul li {
    margin: 25px 0; /* Увеличиваем отступы между кнопками */
}

.menu-drawer ul li a {
    color: #00aeef;
    font-family: 'Inter', sans-serif;
    font-size: 1vw; /* Размер шрифта зависит от ширины экрана */
    font-weight: 450;
    text-decoration: none;
    transition: font-size 0.3s ease-in-out; /* Плавное изменение размера */
}

/* Стили для кнопки закрытия */
.menu-drawer .close-menu {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: #00aeef;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 1.5vw;
    font-weight: 500;
}

.menu-drawer .close-menu:hover {
    background-color: #ff2200;
}

.menu-drawer.open {
    right: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .menu-drawer {
        width: 60%;
    }
    .menu-drawer ul li a {
        font-size: 2.8vw;
    }
    .menu-drawer .close-menu {
        font-size: 3vw;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .menu-drawer {
        width: 55%;
    }
    .menu-drawer ul li a {
        font-size: 3.2vw;
    }
    .menu-drawer .close-menu {
        font-size: 3.2vw;
    }
}

@media (max-width: 768px) {
    .menu-drawer {
        width: 70%;
        padding: 15px;
    }
    .menu-drawer ul li a {
        font-size: 4vw;
    }
    .menu-drawer .close-menu {
        font-size: 4vw;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .menu-drawer {
        width: 80%;
        padding: 25px;
    }
    .menu-drawer ul li a {
        font-size: 7vw;
    }
    .menu-drawer .close-menu {
        font-size: 5vw;
        padding: 15px 30px;
    }
}





  .navbar-wrapper {
  position: fixed; /* Фиксируем блок */
  top: 0; /* Привязываем к верхней части экрана */
  left: 0;
  width: 100%; /* Растягиваем на всю ширину экрана */
  z-index: 999; /* Выводим поверх других элементов */
  background-color: #fff; /* Цвет фона шапки */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Добавляем небольшой тень */
}

/* Стиль для изображения */
.youtube-image {
    width: 100%;         /* Растягивает изображение на всю ширину контейнера */
    height: auto;        /* Сохраняет пропорции изображения */
    margin-bottom: 2rem; /* Отступ в 20px снизу, чтобы разделить изображение с заголовком */
    display: block;      /* Убирает возможные отступы вокруг изображения */
}