body {
    background-color: rgb(24, 11, 39);
    font-family: Courier New;
    color: #ffffff;
    text-align: center;
}

.phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(255, 160, 190);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.benefits {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.whywe {
    border: 2px solid #333;
    padding: 15px;
    border-radius: 8px;
    flex: 1 1 250px;
}

.lesson {
    text-align: left;
    margin-top: 200px;
}

.lessontwo {
    text-align: left;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1000px;

    margin: 0 auto;
}


.slides-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* Дозволяє свайп/скроль всюди */
    scroll-behavior: smooth;
    padding: 40px 0;
    /* Щоб збільшене фото не обрізалося */
    align-items: center;
    scrollbar-width: none;
    /* Приховує смугу скролу */

    /* Дозволяє і вертикальну прокрутку сторінки, і горизонтальний свайп */
    touch-action: pan-x pan-y;
}

.slides-wrapper::-webkit-scrollbar {
    display: none;
    /* Приховує скролбар в Chrome/Safari */
}



.slide {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;


    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: scale(0.85);

    opacity: 0.6;

}


.slide.active {
    transform: scale(1.1);

    opacity: 1;

    z-index: 2;

}



.dance-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #ffffff;
}


.slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}


.prev-btn,
.next-btn {
    background: rgb(24, 11, 39);
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s;
}


#article {
    border: #333 3px solid;
}


.reviews-section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-title {
    text-align: start;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #ff8c00;
}

.reviews-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;

    justify-content: center;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    width: 240px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background-color: #ff8c00;

    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.95rem;
}

.reviewer-name {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.dance-direction {
    font-size: 0.8rem;
    color: #777;
    display: block;
}

.rating {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1rem;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #444;
    margin: 0;
}


.schedule-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #1a1a2e;

    border-radius: 16px;
    margin: 30px 0;
}

.schedule-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 28px;
    background-color: #ffa0be;

    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s, background-color 0.2s;
}

.schedule-btn:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);

}

.theorder {
    text-align: start;
}

/* Для мобільних пристроїв та планшетів */
@media (max-width: 768px) {
    .slides-wrapper {
        /* Приховуємо горизонтальну смугу прокрутки, але залишаємо можливість програмного скролу */
        overflow-x: hidden;
        /* Дозволяємо вертикальну прокрутку сторінки пальцем */
        touch-action: pan-y;
    }
}


@media (max-width: 768px) {
    .reviews-grid {
        flex-wrap: nowrap;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        padding-bottom: 15px;

        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }


    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .reviews-grid {
        scrollbar-width: none;
    }

    .review-card {
        flex: 0 0 82%;

        width: auto;
        scroll-snap-align: center;

    }
}