/* =========================================
   DARK RED TESTIMONIALS STYLE
   Arman Jafari Theme Edition
========================================= */

.testimonials {
    position: relative;
}

/* هماهنگ شدن ارتفاع اسلایدها */

.testimonials .owl-stage {
    display: flex;
    align-items: stretch;
}

.testimonials .owl-item {
    display: flex;
    height: auto;
}

/* کارت اصلی */

.testimonials .item {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    width: 100%;

    padding: 34px 34px 88px;
    margin: 18px 10px;

    direction: rtl;

    border-radius: 30px;

    background: linear-gradient(
        145deg,
        rgba(15, 15, 18, 0.98),
        rgba(5, 5, 7, 1)
    );

    border: 1px solid rgba(255, 40, 40, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    backdrop-filter: blur(12px);
}

/* افکت نور قرمز */

.testimonials .item::before {
    content: "";

    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at top right,
        rgba(255, 0, 60, 0.1),
        transparent 42%
    );

    pointer-events: none;
}

/* افکت نور پایین */

.testimonials .item::after {
    content: "";

    position: absolute;

    bottom: 0;
    right: 34px;

    width: 120px;
    height: 2px;

    border-radius: 50px;

    background: linear-gradient(90deg, #ff003c, #ff4545);

    opacity: 0.8;

    transition: 0.35s ease;
}

/* هاور */

.testimonials .item:hover {
    transform: translateY(-8px);

    border-color: rgba(255, 0, 60, 0.22);
}

.testimonials .item:hover::after {
    width: 190px;
}

/* متن */

.testimonials .item p,
.testimonials .item pre {
    position: relative;
    z-index: 2;

    margin: 0;

    padding: 0;

    background: transparent;
    border: none;

    color: #f1f1f1;

    font-size: 15px;
    line-height: 2.15;

    font-family: inherit;

    white-space: pre-wrap;
    word-break: break-word;

    overflow: visible;

    text-align: right;

    unicode-bidi: plaintext;
}
/* آیکون نقل قول
   بدون تغییر ارتفاع */

.testimonials .item p::before,
.testimonials .item pre::before {
    content: "\f10e";

    position: absolute;

    top: -18px;
    left: -5px;

    font-family: "Font Awesome 7 Free";
    font-weight: 900;

    font-size: 85px;
    line-height: 1;

    color: rgba(255, 0, 60, 0.045);

    pointer-events: none;

    z-index: -1;
}

/* نام کاربر */

.testimonials .item h4 {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 28px;
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 800;
}

/* دایره کنار اسم */

.testimonials .item h4::before {
    content: "";

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: linear-gradient(135deg, #ff003c, #ff5959);

    box-shadow: 0 0 14px rgba(255, 0, 60, 0.55);
}

/* لینک */

.testimonials .item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    margin-top: 12px;

    color: #ff6f91 !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

/* آیکون لینک */

.testimonials .item a::before {
    content: "\f07b";

    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

/* هاور لینک */

.testimonials .item a:hover {
    color: #ffb2c4 !important;

    transform: translateX(-4px);
}

/* تاریخ */

.testimonials .item span {
    position: absolute;

    bottom: 28px;
    right: 34px;

    color: #7f7f88;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.5px;

    direction: ltr;
}

/* حذف عکس */

.testimonials .item img {
    display: none;
}

/* دات‌ها */

.testimonials .owl-dots {
    text-align: center;

    margin-top: 38px;
}

/* دات عادی */

.testimonials .owl-dots .owl-dot {
    width: 12px;
    height: 12px;

    margin: 0 6px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    transition: all 0.35s ease;
}

/* هاور دات */

.testimonials .owl-dots .owl-dot:hover {
    transform: scale(1.2);

    background: rgba(255, 255, 255, 0.2);
}

/* دات فعال */

.testimonials .owl-dots .owl-dot.active {
    width: 34px;

    border-radius: 30px;

    background: linear-gradient(90deg, #ff003c, #ff5959);

    box-shadow: 0 0 18px rgba(255, 0, 60, 0.45);
}

/* موبایل */

@media (max-width: 768px) {
    .testimonials .item {
        min-height: 300px;

        padding: 28px 22px 80px;

        border-radius: 24px;
    }

    .testimonials .item p,
    .testimonials .item pre {
        font-size: 14px;
        line-height: 2;
    }

    .testimonials .item p::before,
    .testimonials .item pre::before {
        font-size: 65px;

        top: -10px;
    }

    .testimonials .item h4 {
        font-size: 15px;
    }

    .testimonials .item span {
        right: 22px;
        bottom: 22px;
    }

    .testimonials .item::after {
        right: 22px;
    }
}
