/* Testimonials section container */
.drmariia-testimonials-section {
    background-color: #ffe5b4; /* Light orange background */
    padding: 40px 20px;
    margin: 2vh 0;
}

/* Large "WHAT OUR PATIENTS SAY" heading */
.testimonials-heading {
    font-size: clamp(2em, 5vw, 3em); /* Large, responsive font size */
    color: #2c3e50; /* Matches clinic theme */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Grid layout for testimonial cards - Two columns side by side */
.drmariia-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Exactly two columns */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual testimonial card */
.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Customer image (left side) */
.testimonial-image {
    flex: 0 0 80px; /* Fixed width for the image */
    width: 80px;
    height: 80px;
    overflow: hidden; /* Ensure any overflow is hidden */
}

.testimonial-image img {
    width: 80px !important; /* Force exact dimensions */
    height: 80px !important;
    border-radius: 50% !important; /* Force round shape */
    object-fit: cover; /* Ensure image fills the space without distortion */
    border: 2px solid #17a2b8; /* Teal border to match theme */
    display: block; /* Remove any inline spacing */
}

/* Testimonial content (right side) */
.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Testimonial text */
.testimonial-text {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Star rating */
.testimonial-rating {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 1.2em;
    color: #f1c40f; /* Yellow for all stars */
}

.star.filled {
    color: #f1c40f; /* Same yellow for filled stars */
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3); /* Subtle shadow to make filled stars stand out */
}

/* Testimonial author */
.testimonial-author {
    font-size: 1.1em;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .drmariia-testimonials-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .testimonials-heading {
        font-size: clamp(1.5em, 4vw, 2.5em);
    }

    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-image {
        flex: 0 0 auto;
        margin-bottom: 10px;
        width: 60px;
        height: 60px;
    }

    .testimonial-image img {
        width: 60px !important;
        height: 60px !important;
    }
}