/*section feedback của khách hàng*/
.sec-testimonial {
    position: relative;
    z-index: 2;
}

.sec-testimonial .swiper-wrapper {
    align-items: center;
}

.testimonial-swiper .swiper-slide {
    padding-bottom: 20px;
}

.inner-testimonial-item {
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-color);
}

.testimonial-item-right {
    justify-content: flex-end;
}

.testimonial-author {
    font-size: 1rem;
    color: var(--gray-color)
}

.testimonial-author .logo {
    height: clamp(1.25rem, 4vw, 2rem);
    width: auto;
}

.testimonial-author .logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.testimonial-author .avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-author .circle-avatar {
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(var(--primary-color) 0deg 18deg, transparent 18deg 30deg);
    width: 100%;
    height: 100%;
    -webkit-animation: animation-circle-avatar 25s linear infinite;
    animation: animation-circle-avatar 25s linear infinite;
}

.testimonial-author .avatar img {
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 3.5rem;
    max-height: 3.5rem;
    object-fit: cover;
    position: absolute;
    overflow: hidden;
}

@-webkit-keyframes animation-circle-avatar {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.testimonial-author span.name {
    display: block;
    color: var(--text-color);
}

.icon-quote {
    max-width: 110px;
    height: auto;
    overflow: hidden;
    margin-bottom: clamp(20px, 4vw, 50px);
}

.icon-quote img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sec-testimonial .swiper-pagination {
    bottom: 0 !important;
}

@media (min-width: 992px) {
    .testimonial-content {
        line-height: 1.2;
    }
}

@media (min-width: 1600px) {
    .testimonial-content {
        margin-bottom: 35px;
    }

    .testimonial-author {
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .testimonial-content {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .testimonial-content {
        font-size: 1.5rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        font-size: 1.25rem;
    }

    .inner-testimonial-item {
        padding-top: 30px;
    }

    .icon-quote {
        max-width: 100px;
    }
}