.testimonial {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 150px;
    width: 60%;
}

.testimonial-header {
    width: 100%;
}

.testimonial-title {
    font-size: 3.5em;
    font-weight: 300;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(2, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: linear-gradient(360deg, #e8f4fd 0%, #f0e6ff 100%);
    border-radius: 20px;
    padding: 35px 30px;
    backdrop-filter: blur(10px);
    border: 3px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

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

.testimonial-card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testimonial-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-company-logo img {
    width: 90px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonial-company-logo-soup {
    padding: 5px !important;
    object-fit: fill !important;
}

.testimonial-company-logo-illume {
    background: rgb(17, 185, 166) !important;
    padding: 5px !important;
    object-fit: fill !important;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.25em;
    color: #2c3e50;
    margin-bottom: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.testimonial-content {
    margin-top: auto;
    text-align: left;
    flex: 1;
    display: flex;
    align-items: center;
}

.testimonial-text {
    font-size: 0.85em;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    position: relative;
}

@media (max-width: 980px) {
    .testimonial-container {
        width: 80%;
        padding: 50px;
    }

    .testimonial-header {
        width: 100%;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 10px;
        column-gap: 5px;
    }

    .testimonial-title {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .testimonial-container {
        width: 95%;
        padding: 50px 20px;
    }

    .testimonial-title {
        margin-bottom: 30px;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    .testimonial-card-header {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-avatar img {
        width: 45px;
        height: 45px;
        object-fit: cover;
    }

    .testimonial-company-logo img {
        width: 70px;
        height: 35px;
        object-fit: cover;
    }

    .testimonial-name {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .testimonial-text {
        font-size: 0.7em;
    }
}
