.testimonials-section {
    width: 100%;
    padding: 40px 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0;
}

.content-header {
    margin-bottom: 40px;
    text-align: center;
}

.content-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.content-title img {
    width: 40px;
    height: 37px;
    object-fit: contain;
}

.content-title span {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 600;
}

.content-title {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.content-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.reviews-container {
    position: relative;
    padding: 0;
}

.review-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin: 0 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 240px;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.username {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.review-date {
    color: #888;
    font-size: 0.85rem;
    display: block;
    text-align: right;
    margin-top: auto;
}

.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: white !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slick-prev:hover i:before,
.slick-next:hover i:before {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.slick-prev i:before,
.slick-next i:before {
    color: #bdc3c7 !important;
    font-size: 12px !important;
    opacity: 0.8;
    text-align: center;
}

.slick-prev {
    left: -20px !important;
}

.slick-next {
    right: -20px !important;
}

.slick-dots {
    bottom: -35px !important;
}

.slick-dots li button:before {
    font-size: 20px !important;
    color: #bdc3c7 !important;
}

.slick-dots li.slick-active button:before {
    color: var(--color-primary) !important;
}

.star-display {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    color: #ddd;
}

.star-display:before {
    content: "★★★★★";
    letter-spacing: 3px;
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffd700;
}

.stars-inner:before {
    content: "★★★★★";
    letter-spacing: 3px;
}

@media (max-width: 1200px) {
    .review-card {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .content-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .content-title img {
        margin-bottom: 5px;
    }

    .reviews-container {
        padding: 0 30px;
    }

    .review-card {
        height: 280px;
        margin: 0 8px;
    }

    .slick-prev,
    .slick-next {
        width: 35px;
        height: 35px;
    }

    .slick-prev {
        left: -15px !important;
    }

    .slick-next {
        right: -15px !important;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 30px 0;
    }

    .section-header {
        padding: 0 10px;
    }

    .content-title span {
        font-size: 1.5rem;
    }

    .reviews-container {
        padding: 0 20px;
    }

    .review-card {
        height: 300px;
        margin: 0 5px;
        padding: 20px;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }
}
