.main_content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    background-color: #000b1b2a;
    backdrop-filter: blur(10px);
}

.content_wrapper {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 10%;
}

.content_image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.content_text {
    max-width: 600px;
}

.content_text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ecf0f1;
}

.content_text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #d9dcdd;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    background-color: #007bff;
    color: #ecf0f1;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 50px;
    border-radius: 15px;
    font-size: 1.2rem;
    transition: background-color 0.5s ease;
}

.btn:hover {
    background-color: #0068d8;
}


/* Загальні стилі для всіх секцій */

.home_cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 150px;
}

.home_card {
    padding: 20px;
    border-radius: 15px;
    background-color: #000b1b2a;
    backdrop-filter: blur(10px);
    text-align: center;
}

/* Заголовки секцій */
.text_card {
    font-size: 2.2rem;
    color: #ecf0f1;
    font-weight: bold;
}

/* Стилі для секцій, де елементи мають бути в ряд (окрім відгуків) */
.features-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto; 
}

/* Картки для "Why Choose Us?" та "How It Works" */
.card-feature {
    flex: 1 1 48%; /* За замовчуванням 4 елементи в ряд (23% для кожного) */
    padding: 20px;
    background: linear-gradient(135deg, #005db9 0%, #0074D9 100%);
    border-radius: 15px;
    transition: transform 0.3s ease;
    text-align: left;
}

.card-feature:hover, .card-step:hover {
    transform: translateY(-5px);
}

.card-feature h3, .card-step h3 {
    font-size: 1.5rem;
    color: #ecf0f1;
    margin-bottom: 10px;
}

.card-feature p, .card-step p {
    font-size: 1rem;
    color: #d9dcdd;
    line-height: 1.5;
}


/* Адаптивні стилі */
@media (max-width: 800px) {
    .home_cards {
        margin: 0 20px 20px 20px;
    }

    .card-review {
        width: 100%;
    }

    .card-feature,
    .card-step {
        flex: 1 1 100%; /* 1 елемент в ряд */
    }
    /* Для слайдера на мобільних */
    .reviews-slider {
        flex-direction: column;
        align-items: center;
    }

    .slider-container {
        margin-right: 0;
    }

    .content_wrapper {
        flex-direction: column;
        align-items: left;
        gap: 20px;
    }

    .content_image img {
        max-width: 90%;
        height: auto;
    }

    .content_text {
        text-align: left;
    }

    .content_text h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .content_text p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .text_card {
        font-size: 1.6em;
    }

    .card-feature h3, .card-step h3 {
        font-size: 1.2rem;
    }
    
    .card-feature p, .card-step p {
        font-size: 1rem;
    }

}

@media (min-width: 801px) and (max-width: 1000px) {
    .content_text h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .content_text p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .btn {
        padding: 15px 30px;
    }

    .home_cards {
        margin: 0 50px;
    }

    .text_card {
        font-size: 1.6em;
    }

    .card-feature h3, .card-step h3 {
        font-size: 1.2rem;
    }
    
    .card-feature p, .card-step p {
        font-size: 1rem;
    }
}

@media (min-width: 1001px) and (max-width: 1450px) {
    .home_cards {
        margin: 0 50px;
    }
}