/* Testimonials Block Styles */
.testimonials-section {
    padding: 80px 20px;
    margin: 0;
}

.testimonials-section__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.testimonials-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-section__title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
    line-height: 1.2;
}

.testimonials-section__subtitle {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-section__content {
    display: grid;
    gap: 30px;
}

/* Grid Layout (3 columns) */
.testimonials-section__content--grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* List Layout (1 column) */
.testimonials-section__content--list {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

/* Slider Layout */
.testimonials-section__content--slider {
    grid-template-columns: 1fr;
    overflow: hidden;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4em;
    color: #007cba;
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-item__content {
    margin-bottom: 25px;
}

.testimonial-item__quote {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-item__rating {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.star {
    font-size: 1.2em;
    color: #ddd;
}

.star--filled {
    color: #ffd700;
}

.star--empty {
    color: #ddd;
}

.testimonial-item__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-item__avatar {
    flex-shrink: 0;
}

.testimonial-item__avatar img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007cba;
}

.testimonial-item__info {
    flex: 1;
}

.testimonial-item__name {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.testimonial-item__position {
    color: #666;
    font-size: 0.9em;
}

/* Slider specific styles */
.testimonials-section__content--slider .testimonial-item {
    display: none;
}

.testimonials-section__content--slider .testimonial-item:first-child {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 15px;
    }
    
    .testimonials-section__title {
        font-size: 2em;
    }
    
    .testimonials-section__subtitle {
        font-size: 1.1em;
    }
    
    .testimonials-section__content--grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 25px;
    }
    
    .testimonial-item__quote {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .testimonials-section__title {
        font-size: 1.8em;
    }
    
    .testimonial-item {
        padding: 20px;
    }
    
    .testimonial-item__author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
