.slider-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    margin: 0px auto;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    width: 25%;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

.slide:hover img {
    transition: transform 0.5s ease;
    transform: scale(1.05);
}

.slide img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 40px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.slide h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    position: relative;
}

.slide-description {
    margin-bottom: 100px;
    font-size: 20px;
}

.slide-text {
    text-align: right;
    width: 105%;
    padding-right: 15%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8));
    background: linear-gradient(to right, transparent, #F3F3F3);
    color: #424146;
}

.slide-btn {
    display: inline-block;
    position: relative;
    top: -50px;
    text-decoration: none;
    background-color: #424146;
    color: white;
    padding: 10px 30px;
    margin-bottom: 5px;
    border-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: background-color 0.3s;
    
}

.slide-btn:hover {
    content: '';
    background-color: #035CB0;
}

/* Стрелки */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(66, 65, 70, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(3, 92, 176, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.arrow-prev {
    left: 20px;
}

.arrow-next {
    right: 20px;
}

.arrow::before {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 3px solid #424146;
    border-right: 3px solid #424146;
}

.arrow:hover::before {
    border-top: 3px solid #035CB0;
    border-right: 3px solid #035CB0;
}

.arrow-prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.arrow-next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

/* Индикаторы */
.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255,255,255,0.8);
    background-color: #035CB0;
    transform: scale(1.2);
}

/* MOBILE */
@media (max-width: 820px) {
    .slider-container {
        height: 650px;
        margin: 20px auto;
    }

    .slide h2 {
        position: initial;
        top: initial;
        font-size: 2em;
    }

    .slide p {
        font-size: 1em;
        position: relative;
        top: -100px;
        left: initial;
    }

    .slide-text {
        text-align: center;
        width: 100%;
        padding-right: 0px;
        background: linear-gradient(
            to right,
            transparent,
            #F3F3F3,
            #F3F3F3,
            #F3F3F3,
            transparent
        );
        color: #424146;
    }

    .slide-content {
        padding: 20px;
    }

    .arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
        background-color: #424146;
    }

    .arrow:hover {
        background: rgba(255, 255, 255, 0.3);
        background-color: #035CB0;
        transform: translateY(-50%) scale(1.1);
    }

    .arrow::before {
        content: '';
        border-top: 3px solid #F3F3F3;
        border-right: 3px solid #F3F3F3;
    }

    .arrow:hover::before {
        border-top: 3px solid #F3F3F3;
        border-right: 3px solid #F3F3F3;
    }

    .arrow-prev {
        left: 10px;
    }

    .arrow-next {
        right: 10px;
    }

    .slide img {
        height: 100%;
        width: 100%;
        left: 0;
        margin: 0 auto;
        position: absolute;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 350px;
    }

    .slide h2 {
        position: initial;
        top: initial;
        font-size: 1.5em;
    }

    .slide p {
        position: relative;
        top: -100px;
        left: initial;
    }

    .slide-btn {
        padding: 8px 20px;
        font-size: 0.9em;
        background-color: #035CB0;
        background-color: #424146;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .arrow::before {
        width: 12px;
        height: 12px;
    }

    .slide img {
        height: 100%;
        width: 100%;
        left: 0%;
        top: 10%;
        margin: 0 auto;
        position: absolute;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
}

@media (max-width: 390px) {
    .slide img {
        height: 100%;
        width: 100%;
        left: 0%;
        margin: 0 auto;
        position: absolute;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
}