.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.testimonials-title-wrapper {
    display: flex;
    flex-direction: column;
}

.testimonials-badge {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000000;
    line-height: 1.2;
}

.testimonials-navigation {
    display: flex;
    gap: 15px;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-nav-btn:hover {
    background: #2c2c2c;
    border-color: #2c2c2c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-nav-btn:hover svg {
    fill: white;
}

.testimonial-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: #666;
    transition: fill 0.3s ease;
}

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

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
}

.testimonial-card {
    flex: 0 0 calc(50% - 15px);
    background: #EFEFF1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    background: #000000;
    display: flex;
    min-height: 300px;
}

.testimonial-image {
    margin-top: 20px;
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image img {
    width: 150px;
    height: 200px;
    object-fit: contain;
}

.testimonial-text {
    flex: 1;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.testimonial-location {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-container {
        padding: 0 40px;
    }

    .testimonials-title {
        font-size: 2.5rem;
    }

    .testimonial-text {
        padding: 30px 25px;
    }
}

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

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

    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 40px;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-content {
        flex-direction: column;
        min-height: auto;
    }

    .testimonial-image {
        flex: 0 0 250px;
    }

    .testimonial-image img {
        width: 250px;
        height: 250px;
    }

    .testimonial-text {
        padding: 25px 20px;
    }

    .testimonial-quote {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

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

    .testimonials-title {
        font-size: 1.8rem;
    }

    .testimonial-nav-btn {
        width: 45px;
        height: 45px;
    }

    .testimonial-nav-btn svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-image {
        flex: 0 0 200px;
    }

    .testimonial-image img {
        width: 200px;
        height: 200px;
    }

    .testimonial-text {
        padding: 20px 15px;
    }

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

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

/* Animation for smooth sliding */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card.animate {
    animation: slideIn 0.6s ease forwards;
}