/* Basic Reset */
.testimonial-section, .testimonial-section * {
    box-sizing: border-box;
}

/* Section Background */
.testimonial-section {
    padding: 60px 15px;
    /*background: #f7f9fc;*/
    font-family: Arial, sans-serif;
}

/* Container */
.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Heading */
.testimonial-heading {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-heading h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonial-heading h2 span {
    color: #f7941d; /* Accent color – adjust to your brand */
}

.testimonial-heading p {
    font-size: 14px;
    color: #666;
}

/* Slider Wrapper */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

/* Individual Slides */
.testimonial-slide {
    display: none;
    animation: fadeSlide 0.6s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

/* Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* Text */
.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 25px;
}

/* User Info */
.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f7941d;
}

.testimonial-user-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.testimonial-user-info span {
    display: block;
    font-size: 13px;
    color: #777;
}

/* Controls */
.testimonial-controls {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Prev/Next Buttons */
.testimonial-prev,
.testimonial-next {
    border: none;
    background: #ffffff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.16);
}

/* Dots */
.testimonial-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-dots .dot.active {
    background: #f7941d;
    transform: scale(1.1);
}

/* Animation */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px 18px;
    }

    .testimonial-heading h2 {
        font-size: 24px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-user {
        flex-direction: row;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        padding: 40px 10px;
    }

    .testimonial-heading h2 {
        font-size: 22px;
    }

    .testimonial-user-info h4 {
        font-size: 14px;
    }

    .testimonial-user-info span {
        font-size: 12px;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}