.testimonials {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.testimonials-left {
    padding-right: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.badge i {
    margin-right: 0.5rem;
}

.testimonials-wrapper .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: left !important;
    margin-bottom: 1rem;
    color: #1a1a1a !important;
}
.testimonials-wrapper .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 9%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}
.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 2rem;
    background-color: #1877f2;
    border-radius: 1rem;
}

.testimonials-right {
    position: relative;
}

.testimonial-carousel {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial-slides-container {
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rating {
    margin-bottom: 1rem;
}

.rating i {
    color: #ffd700;
    margin-right: 0.25rem;
}

.quote-icon {
    font-size: 2rem;
    color: #1877f2;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.trusted-companies {
    text-align: center;
    margin-top: 4rem;
}

.trusted-companies h3 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-logos span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #999;
}

@media (max-width: 768px) {
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
    
    .testimonials-left {
        padding-right: 0;
    }
}