/* ==========================================================================
   Mother & Baby - Minimalist Modern Testimonials Carousel (Matching Design)
   ========================================================================== */

/* Testimonials Header Block */
.testimonials-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
    padding-bottom: 5px;
}

.testimonials-header-left {
    text-align: left;
}

.testimonials-header-title {
    font-family: 'Philosopher', serif;
    font-size: 34px;
    font-weight: 700;
    color: #2C5E3B;
    margin: 0 0 8px 0;
    position: relative;
    display: inline-block;
}

.testimonials-header-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 2.5px;
    background-color: #3d7a4f;
    margin-top: 6px;
}

.testimonials-header-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* Nav Arrows (Top Right) */
.testimonials-nav-arrows {
    display: flex;
    gap: 10px;
    align-items: center;
}

.testimonials-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #cce0d2;
    background-color: #ffffff;
    color: #2C5E3B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.25s ease;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.testimonials-nav-btn:hover {
    background-color: #3d7a4f;
    border-color: #3d7a4f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 122, 79, 0.25);
}

.testimonials-nav-btn:active {
    transform: translateY(0);
}

/* Testimonial Card Styling */
.modern-testimonial-card {
    background: linear-gradient(145deg, #E2ECE5 0%, #D6E6DA 100%);
    border-radius: 18px;
    padding: 35px 35px 30px 35px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 5px;
    border: 1.5px solid rgba(44, 94, 59, 0.22);
    box-shadow: 0 6px 20px rgba(44, 94, 59, 0.08);
    position: relative;
    overflow: hidden;
}

.modern-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2C5E3B 0%, #4D8B60 100%);
    border-radius: 18px 18px 0 0;
}

.modern-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(44, 94, 59, 0.16);
    background: linear-gradient(145deg, #D4E4D8 0%, #C7DEC9 100%);
    border-color: rgba(44, 94, 59, 0.4);
}

/* Giant Quote Mark */
.modern-testimonial-quote-icon {
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 0.8;
    color: #2C5E3B;
    user-select: none;
    margin-bottom: 15px;
    display: block;
    opacity: 0.85;
}

/* Quote Text */
.modern-testimonial-quote {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #173320;
    font-weight: 450;
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Author Row */
.modern-testimonial-author-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modern-testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2C5E3B;
    box-shadow: 0 4px 10px rgba(44, 94, 59, 0.22);
    flex-shrink: 0;
}

.modern-testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.modern-testimonial-name {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #112918;
    line-height: 1.3;
}

.modern-testimonial-location {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: #3b5c43;
    font-weight: 500;
    margin-top: 2px;
}

.modern-testimonial-meta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #3d7a4f;
    background: #e4ebe5;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 4px;
    width: fit-content;
}

/* Responsive adjust */
@media (max-width: 767px) {
    .testimonials-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .testimonials-nav-arrows {
        align-self: flex-end;
    }
    .modern-testimonial-card {
        padding: 28px 24px 24px 24px;
        min-height: auto;
    }
}
