
/* ====== CLIENTS & TESTIMONIALS SECTION ====== */
.clients-logo {
    margin-bottom: 4rem;
}

.client-item {
    text-align: center;
    padding: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-name {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    text-align: center;
}

.client-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.client-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%);
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    height: 100%; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distributes content evenly */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-content {
    flex: 1; /* Takes up available space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
}

.testimonial-content p {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 80px; /* Minimum height for content */
}

.testimonial-content p::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #e9ecef;
    position: absolute;
    top: -20px;
    left: -30px;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; /* Prevents image from shrinking */
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Focuses on the face */
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}