/* Стили для слайдера на странице features */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    min-height: 200px; /* Минимальная высота до загрузки изображений */
}

.slide {
    width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slide:first-child {
    position: relative;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-progress {
    width: 100%;
    height: 5px;
    background-color: rgba(181, 86, 157, 0.3);
    position: relative;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #B5569D;
    transition: width 0.1s linear;
}

/* Стили для навигации слайдера */
.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(181, 86, 157, 0.3);
    margin: 0 5px;
    cursor: pointer;
}

.slider-dot.active {
    background-color: #B5569D;
} 