/* Testimonials Section */
.testimonial-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Testimonial Container */
.testimonial-container {
    width: 90%;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allows stacking on mobile */
    padding-bottom: 20px;
}

/* Individual Testimonial */
.testimonial {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
    width: 100%; /* Full width on mobile */
    max-width: 450px; /* Prevents stretching too wide on large screens */
    flex-shrink: 0;
}

/* Hover Effect */
.testimonial:hover {
    transform: translateY(-5px);
}

/* Testimonial Image */
.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 4px solid #4CAF50;
}

/* Testimonial Text */
.testimonial p {
    font-size: 16px;
    color: #444;
    font-style: italic;
    margin: 10px 0;
    line-height: 1.5;
}

/* Testimonial Name */
.testimonial h4 {
    margin-top: 10px;
    font-size: 18px;
    color: #222;
    font-weight: bold;
}

/* Star Rating */
.stars {
    color: #FFD700;
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column; /* Force stacking */
        align-items: center; /* Centers testimonials */
    }

    .testimonial {
        width: 90%; /* Takes most of the screen */
    }
}