.testimonials {
    padding: 130px 0;
    background-color: #ffffff;
}
.testimonials .container{
    position: relative;
}
.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #262626;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
    max-width: 1030px;
    margin: auto;
}
.testimonials-slider .swiper-wrapper {
    display: flex;
    justify-content: space-between; /* Espacio uniforme entre los slides visibles */
    align-items: center;
}
.testimonials-slider .swiper-slide {
    flex: 0 0 calc(50% - 15px); /* Cada slide ocupa el 50% del ancho menos el espacio entre ellos */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Asegura que el padding y border no afecten el tamaño */
    padding: 10px; /* Espaciado interno */
    flex-direction: column;
}
.testimonial-card{
    max-width: 500px;
    padding: 30px;
    background-color: #F8F8F8;
}
.testimonial-card p {
    font-size: 1em;
    color: #606060;
    margin-bottom: 20px;
    text-align: left;
    line-height: 25.6px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.customer-details {
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-size: 1em;
    font-weight: 600;
    color: #262626;
}

.customer-role {
    font-size: 0.875em;
    color: #606060;
}
.testimonials .swiper-button-next, .testimonials .swiper-button-prev {
    height: 36px;
    width: 36px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0; /* Reduce el padding para pantallas más pequeñas */
    }

    .testimonials h2 {
        font-size: 2em; /* Reduce el tamaño del título */
        margin-bottom: 30px; /* Reduce el margen inferior */
    }

    .testimonials-slider .swiper-slide {
        flex: 0 0 100%; /* Cada slide ocupa el 100% del ancho */
        padding: 20px; /* Ajusta el espaciado interno */
    }

    .testimonial-card {
        max-width: 100%; /* Ajusta el ancho de la tarjeta */
        padding: 20px; /* Reduce el padding interno */
    }

    .customer-info img {
        width: 40px; /* Reduce el tamaño de la imagen */
        height: 40px;
    }

    .customer-name {
        font-size: 0.875em; /* Reduce el tamaño del nombre */
    }

    .customer-role {
        font-size: 0.75em; /* Reduce el tamaño del rol */
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 50px 0; /* Reduce aún más el padding */
    }

    .testimonials h2 {
        font-size: 1.75em; /* Reduce el tamaño del título */
        margin-bottom: 20px; /* Reduce el margen inferior */
    }

    .testimonial-card p {
        font-size: 0.875em; /* Reduce el tamaño del texto */
        line-height: 22.4px; /* Ajusta el line-height */
    }

    .customer-info img {
        width: 30px; /* Reduce aún más el tamaño de la imagen */
        height: 30px;
    }

    .customer-name {
        font-size: 0.75em; /* Reduce el tamaño del nombre */
    }

    .customer-role {
        font-size: 0.625em; /* Reduce el tamaño del rol */
    }
}