.testimonials-wrapper {
    background: #fefefe;
    width: 100%;
    padding: 120px 0;
}

.testimonials-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 32px;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.testimonials-title-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonials-title {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.22;
    color: #222021;
    letter-spacing: -1.08px;
    margin: 0;
}

.smiley-icon {
    width: 44px;
    height: 22px;
}

.smiley-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-square {
    width: 16px;
    height: 16px;
    border: 2px solid #222021;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-square.active {
    background-color: #fee400;
}

.slider-square:hover {
    background-color: rgba(254, 228, 0, 0.5);
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
}

.testimonials-grid {
    display: flex;
    gap: 16px;
    min-width: 100%;
}

.testimonial-card {
    border: 2px solid #222021;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 calc(33.333% - 11px);
    width: calc(33.333% - 11px);
    max-width: 370px;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 0px #fee400;
}

.testimonial-quote {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.6;
    color: #222021;
    letter-spacing: -0.63px;
    margin: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    color: #222021;
    letter-spacing: -0.48px;
    margin: 0;
}

.testimonial-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    color: #222021;
    letter-spacing: -0.48px;
    margin: 0;
}

/* Responsive design */
@media (max-width: 1200px) {
    .testimonial-card {
        max-width: 350px;
    }
}

@media (max-width: 1024px) {
    .testimonials-wrapper {
        padding: 80px 0;
    }

    .testimonials {
        gap: 32px;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 24px;
    }

    .testimonials-wrapper {
        padding: 60px 0;
    }

    .testimonials-title {
        font-size: 28px;
        letter-spacing: -0.84px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        padding: 20px;
        gap: 32px;
    }

    .testimonial-quote {
        font-size: 18px;
    }

    .smiley-icon {
        width: 36px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .testimonials-container {
        padding: 0 16px;
    }

    .testimonials-wrapper {
        padding: 40px 0;
    }

    .testimonials-title {
        font-size: 24px;
        letter-spacing: -0.72px;
    }

    .testimonials-title-wrapper {
        gap: 16px;
    }

    .testimonial-quote {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 16px;
        gap: 24px;
    }

    .smiley-icon {
        width: 32px;
        height: 16px;
    }

    .slider-square {
        width: 12px;
        height: 12px;
    }
}