/* File: assets/style/testimonial.css */
.testimonial {
    padding: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    background-color: var(--cream);
    box-shadow: 0px 0px red, 0 4px 10px #4a4a4a;
    z-index: 10;

    h1 {
        font-size: 2.5rem;
        color: #3b0927;
        margin-bottom: 1.5rem;
        font-family: 'Great Vibes', sans-serif;
    }

    .testimonial-slider {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;

        .slider-btn {
            background-color: #fff;
            border: none;
            border-radius: 50%;
            box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
            cursor: pointer;
            font-size: 1.5rem;
            height: 2.5rem;
            width: 2.5rem;
            margin: 0 1rem;
        }

        .testimonial-wrapper {
            overflow: hidden;
            width: 80%;
        }

        .testimonial-container {
            display: flex;
            justify-content: center;
            transition: transform 0.5s ease-in-out;
        }
    }

    .testimonial-item {
        /*flex: 1;*/
        box-sizing: border-box;
        padding: 1.5rem;
        border-radius: 0.6em;
        text-align: center;
        background-color: rgba(59, 9, 39, 0.12);
        margin: 0 1rem;
        width: 30%;
    }

    .testimonial-item p {
        color: #2d3d67;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        width: 100%;
        animation: ease-in-out 0.5s;
    }

    .testimonial-item h3 {
        color: #8c8c90;
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        animation: ease-in-out 0.5s;
    }

    .testimonial-item h6 {
        color: #bcc4da;
        font-size: 0.9rem;
        font-weight: 400;
    }
}

/* Add media query for mobile devices */
@media screen and (max-width: 650px) {
    .testimonial {
        padding: 1rem;

        h1 {
            font-size: 2rem;
        }

        .testimonial-container {
            display: flex;
            flex-direction: column;
            row-gap: 1rem;
        }

        .slider-btn {
            font-size: 1.2rem;
            height: 2rem;
            width: 2rem;
        }

        .testimonial-wrapper {
            width: 100%;
        }

        .testimonial-item {
            padding: 1rem;
            width: auto;
            word-break: normal;
        }

        .testimonial-item h3 {
            font-size: 1rem;
        }

        .testimonial-item p {
            font-size: 0.8rem;
        }

        .testimonial-item h6 {
            font-size: 0.8rem;
        }
    }
}