/* assets/css/frontend.css */

.tvtc-carousel-wrapper {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    padding: 80px 20px 80px;
    max-width: 650px;
    margin: 0 auto;
}

.tvtc-carousel-container {
    position: relative;
    overflow: hidden;
}

.tvtc-testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tvtc-testimonial-slide.active {
    display: block;
    opacity: 1;
}

/* Container اصلی */
.tvtc-carousel-wrapper .testimonial-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

/* عکس پروفایل */
.tvtc-carousel-wrapper .avatar {
    position: absolute;
    top: -80px;
    right: 30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
    background: #fff;
}

.tvtc-carousel-wrapper .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* هدر بیرون از کارت */
.tvtc-carousel-wrapper .card-header {
    position: absolute;
    top: -60px;
    right: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 5;
}

.tvtc-carousel-wrapper .user-name {
    color: #e91e8c;
    font-size: 1.15rem;
    font-weight: 800;
}

.tvtc-carousel-wrapper .user-date {
    color: #4a9fd4;
    font-size: 0.85rem;
    display: flex;
    gap: 20px;
    font-weight: 500;
}

/* کارت اصلی */
.tvtc-carousel-wrapper .testimonial-card {
    background: rgba(230, 244, 253, 0.75);
    border: 2px solid #4da3e8;
    border-radius: 25px;
    border-bottom-left-radius: 60px;
    padding: 30px 35px 45px;
    position: relative;
    backdrop-filter: blur(10px);
    margin-top: 60px;
}

/* متن نظر */
.tvtc-carousel-wrapper .testimonial-text {
    color: #3d6a82;
    font-size: 0.92rem;
    line-height: 2.1;
    text-align: justify;
    margin: 0;
}

/* ناوبری */
.tvtc-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.tvtc-carousel-wrapper .nav-btn {
    width: 60px;
    height: 45px;
    background: rgba(230, 244, 253, 0.9);
    border: 2px solid #4da3e8;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tvtc-carousel-wrapper .nav-btn:hover {
    background: #4da3e8;
}

.tvtc-carousel-wrapper .nav-btn:hover svg {
    stroke: #fff;
}

.tvtc-carousel-wrapper .nav-btn svg {
    width: 22px;
    height: 22px;
    stroke: #4da3e8;
    stroke-width: 2.5;
    fill: none;
    transition: all 0.3s ease;
}

/* نقاط ناوبری */
.tvtc-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tvtc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c5dff0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tvtc-dot:hover,
.tvtc-dot.active {
    background: #4da3e8;
    transform: scale(1.2);
}

/* پیام خالی */
.tvtc-no-testimonials {
    text-align: center;
    padding: 40px;
    color: #666;
    font-family: 'Vazirmatn', sans-serif;
}

/* ریسپانسیو */
@media (max-width: 550px) {
    .tvtc-carousel-wrapper {
        padding: 100px 15px 60px;
    }

    .tvtc-carousel-wrapper .avatar {
        right: 50%;
        transform: translateX(50%);
        top: -10px;
        width: 90px;
        height: 90px;
        dispaly:none;
    }

    .tvtc-carousel-wrapper .card-header {
        top: -110px;
        right: 50%;
        transform: translateX(50%);
        align-items: center;
        padding-top: 50px;
    }

    .tvtc-carousel-wrapper .testimonial-card {
        margin-top: 60px;
        padding: 25px 20px 35px;
        border-bottom-left-radius: 40px;
    }

    .tvtc-carousel-wrapper .testimonial-text {
        font-size: 0.88rem;
        line-height: 1.9;
    }

    .tvtc-carousel-wrapper .nav-btn {
        width: 50px;
        height: 40px;
    }

    .tvtc-navigation {
        gap: 15px;
    }
}