/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    padding: 5rem 0;
}

/* Section Header */
.testimonials-heading {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonials-subheading {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* MASONRY GRID LAYOUT - Cards fill gaps automatically */
.testimonials-masonry {
    column-count: 3;
    column-gap: 1.5rem;
}

.testimonial-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #152943 0%, #0c1018 100%);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}



.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: #244a7b;
    box-shadow: 0 20px 60px #152943;
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* Testimonial Text */
.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Testimonial Footer */
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.client-title {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin: 0;
}

.verified-badge {
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .testimonials-heading {
        font-size: 2.2rem;
    }
    
    .testimonials-subheading {
        font-size: 1rem;
    }
    
    .testimonials-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-heading {
        font-size: 1.8rem;
    }
    
    .testimonials-subheading {
        font-size: 0.95rem;
    }
    
    .testimonials-masonry {
        column-count: 1;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .client-logo {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .testimonials-heading {
        font-size: 1.6rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .client-name {
        font-size: 0.9rem;
    }
    
    .client-title {
        font-size: 0.8rem;
    }
}