/* --- Section Background --- */
.modern-testimonial-section {
    background-color: #f3f1e9; /* Light beige background */
    font-family: var(--font-02);
}

/* --- Masonry Grid Layout --- */
.testimonial-masonry {
    column-count: 3;
    column-gap: 24px;
}

/* --- Card Styling --- */
.modern-testi-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    break-inside: avoid; /* Prevents cards from splitting across columns */
    box-shadow: 0 4px 20px rgba(0,0,0,0.02); /* Very soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* --- Avatar Styling --- */
.modern-testi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f3f1e9;
}

/* --- Typography --- */
.modern-testi-name a {
    color: #1a2332; /* Dark slate */
    font-size: 18px;
    font-weight: 700;
    transition: color 0.2s ease;
    font-family: var(--font-03);
}

.modern-testi-name a:hover {
    color: #b34a36; /* Rust accent */
}

.modern-testi-designation {
    font-size: 14px;
    color: #8c8a82 !important;
    font-family: var(--font-03);
}

.modern-testi-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
}

.modern-testi-text p {
    margin-bottom: 0;
}

/* Read More Link */
.modern-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #b34a36;
    text-decoration: none;
    transition: opacity 0.2s;
}

.modern-read-more:hover {
    opacity: 0.7;
    color: #b34a36;
}
.modal-header{
	background: var(--color-1)!important;
}
/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
    .testimonial-masonry {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .testimonial-masonry {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .testimonial-masonry {
        column-count: 1;
    }
    .modern-testi-card {
        padding: 25px;
    }
}