﻿.cera-testimonials-section {
    background-color: #ffffff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.cera-testimonials-section-with-header {
    background-color: #ffffff;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.testimonials-carousel-wrapper {
    max-width: 1200px;
    margin: 0;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 200px;
    width: 100%;
    position: relative;
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.03);
    }

    .testimonial-card::before {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: var(--stfm-secondary);
        opacity: 0.04;
        top: -100px;
        left: -100px;
        z-index: 1;
    }

    .testimonial-card::after {
        content: '';
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background-color: var(--stfm-tertiary);
        opacity: 0.05;
        bottom: -90px;
        right: -90px;
        z-index: 1;
    }

    .testimonial-card:nth-child(2)::before {
        background-color: var(--stfm-tertiary);
        top: -100px;
        left: -100px;
    }

    .testimonial-card:nth-child(2)::after {
        background-color: var(--stfm-secondary);
        bottom: -90px;
        right: -90px;
    }

.testimonial-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    text-align: center;
}

    .testimonial-text p {
        font-size: 1rem;
        line-height: 1.6;
        color: #888;
        margin: 0;
        font-style: normal;
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-text {
    margin-bottom: 1.5rem;
}


.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--stfm-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-placeholder-icon {
    color: var(--stfm-tertiary);
    font-size: 1.5rem;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-family: var(--stfm-heading-font);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--stfm-primary);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}



@media (max-width: 991.98px) {

    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-card {
        min-height: 180px;
    }
}

@media (max-width: 767.98px) {
    .testimonial-content {
        padding: 1.25rem;
    }

    .testimonial-text p {
        font-size: 0.95rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-title {
        font-size: 0.85rem;
    }

    .testimonial-card {
        min-height: 160px;
    }

    .testimonials-carousel {
        gap: 1rem;
    }
}
