/* Testimonials Section */
.testimonials {
    background-image: url('../assets/patterns/t-pattern.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    margin-top: 120px
}

.hv-testimonials {
    position: relative;
}

.hv-testimonials-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 60px;
}

.hv-testimonials-title-icon {
    color: #2563eb;
}

.hv-testimonials-slider {
    position: relative;
    padding: 0 10px 50px;
    overflow: hidden;
}

.hv-testimonials-slider .swiper-slide {
    width: 100%;
    box-sizing: border-box;
    margin: auto;
}

.hv-testimonial-card {
    background-image: url('../assets/patterns/c-pattern.svg');
    background-repeat: no-repeat;
    background-size: 44%;
    background-position: 50% -130px;
    width: 100%;
    background-color: var(--w-color);
    border-radius: 32px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 20px 40px rgba(51, 109, 254, 0.12);
    width: 100%;
    box-sizing: border-box;
}

.hv-testimonial-card:hover {
    transform: translateY(-2px);
}

.hv-testimonial-header {
    display: flex;
    align-items: start;
    gap: 16px;
    justify-content: space-between;
}

.hv-testimonial-header-right {
    display: flex;
    gap: 12px;
}

.hv-testimonial-avatar {
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.hv-testimonial-avatar img {
    border-radius: 24px;
}

.hv-testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
    justify-content: center;
}

.hv-testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.hv-testimonial-specialty {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hv-specialty-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: var(--p-color);
    color: var(--w-color);
    display: flex;
    justify-content: spahvce-between;
    align-content: center;
    gap: 4px;
}

.hv-specialty-badge span {
    color: var(--w-color);
}

.testimonial-star {
    line-height: 0;
    margin-top: 1px;
}

.t-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
}

.hv-testimonial-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px;
}

.t-number {
    font-size: 17px;
    font-weight: 500;
    margin-top: 4px;
}

.hv-testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #6e7b8d;
    text-align: right;
    padding: 10px 4px;
}

.hv-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hv-slider-prev {
    right: -50px;
}

.hv-slider-next {
    left: -50px;
}

.swiper-hvgination {
    bottom: 0 !important;
}

.swiper-hvgination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
}

.swiper-hvgination-bullet-active {
    background: var(--p-color);
}

@media (max-width: 1400px) {
    .hv-slider-next {
        left: -20px;
    }

    .hv-slider-prev {
        right: -20px;
    }
}


@media (max-width: 1200px) {
    .testimonials {
        margin-top: 100px;
    }
}

@media (max-width: 992px) {
    .testimonials {
        margin-top: 80px;
    }

    .hv-slider-next,
    .hv-slider-prev {
        display: none;
    }
}

@media (max-width: 768px) {
    .testimonials {
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .testimonials {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        margin-top: 10px;
    }

    .t-stars img:nth-last-child(-n+4) {
        display: none;
    }
}

@media (max-width: 414px) {
    .hv-testimonial-name {
        font-size: 16px;
    }

    .hv-testimonial-avatar img {
        width: 80px;
        border-radius: 20px;
    }

    .hv-specialty-badge {
        padding: 5px 12px;
        font-size: 12px;
    }

    .hv-testimonial-header-left {
        margin: 8px;
    }

    .t-number {
        font-size: 15px;
        font-weight: 500;
        margin-top: 4px;
    }

    .hv-testimonial-text {
        font-size: 14px;
        line-height: 1.7;
        color: #6e7b8d;
        text-align: right;
        padding: 10px 4px;
    }
}

@media (max-width: 390px) {
    .t-number {
        font-size: 14px;
    }

    .hv-specialty-badge {
        padding: 4px 10px;
        font-size: 12px;
    }

    .hv-testimonial-header-left {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 4px;
    }

    .t-stars img {
        width: 80%;
    }
}

@media (max-width: 375px) {
    .hv-testimonial-header-right {
        gap: 8px;
    }

    .hv-testimonial-info {
        gap: 10px;
    }

    .hv-testimonial-name {
        font-size: 15px;
    }

    .hv-specialty-badge {
        padding: 4px 8px;
        font-size: 11px;
    }

    .hv-testimonial-header-left {
        gap: 4px;
    }

    .hv-testimonial-header-left {
        margin: 8px 0 0 8px;
    }
}

@media (max-width: 360px) {
    .hv-testimonial-header-left {
        margin: 10px 0 0 8px;
    }
}