

.testimonial-section {
    text-align: center;
    padding: 50px 20px;
}

.testimonial-section h1 {
    font-size: 2.5em;
    color: #8F8AFF;
    margin-bottom: 20px;
}

.testimonial-carousel {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%; /* Full width for better responsiveness */
    max-width: 1200px; /* Restrict maximum width */
    margin: 0 auto;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    padding-bottom: 20px; /* Add space for pagination */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px); /* Equal size for 3 cards per row */
    max-width: calc(33.333% - 20px);
    margin: 20px 10px;
    padding: 0 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    text-align: center;
	height: 300px;
    box-sizing: border-box; /* Ensure padding doesn’t affect size */
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.client-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF8000;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.5; /* Improve readability */
}



.client-role {
    font-size: 0.9em;
    color: gray;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 20px); /* Show 2 cards per row */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 20px); /* Full width for smaller screens */
        max-width: calc(100% - 20px);
        margin: 10px auto;
		height: auto; /* Center cards vertically */
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: 1em; /* Adjust font size for mobile */
    }
}
