.teamShowcase {
    position: relative;
    width: 100%;
    padding: 20px 0;
    height: 480px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    direction: rtl;
}

.teamShowcase *,
.teamShowcase *::before,
.teamShowcase *::after {
    box-sizing: border-box;
}

.teamShowcaseSwiper {
    width: 100%;
    overflow: hidden;
}

.teamShowcase .swiper-wrapper {
    align-items: center;
}

.teamShowcase .swiper-slide {
    width: 100%;
}

.teamShowcase-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    padding: 0 24px;
}

.teamShowcase-image {
    position: relative;
    flex: 0 0 auto;
    z-index: 1;
}

.teamShowcase-image img {
    display: block;
    width: 340px;
    height: 380px;
    object-fit: cover;
    border-radius: 30px;
}

.teamShowcase-bgtext {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 45px;
    line-height: 1;
    color: #eaeaea;
    font-weight: 800;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.teamShowcase-text {
    max-width: 520px;
    text-align: right;
    flex: 0 1 520px;
}

.teamShowcase-name {
    margin: 0 0 5px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
}

.teamShowcase-role {
    display: inline-block;
    font-size: 14px;
    line-height: 1.8;
    color: #888;
}

.teamShowcase-comment {
    margin: 25px 0 0;
    padding: 25px;
    border-radius: 30px;
    border: 1px solid #e6e6e6;
    line-height: 2;
    color: #666;
    background: #fff;
}

.teamShowcase-pagination {
    position: relative;
    margin-top: 42px;
    text-align: center;
}

.teamShowcase-pagination.swiper-pagination {
    bottom: auto;
}

.teamShowcase-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px;
    opacity: 1;
    background: #d1d5db;
    transition: all 0.25s ease;
}

.teamShowcase-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 999px;
    background: #111827;
}

/* اگر قبلا floating avatars داشتی */
.teamShowcase-avatars img {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* حالت لود */
.teamShowcaseSwiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}

/* لپ‌تاپ */
@media (max-width: 1199px) {
    .teamShowcase {
        padding: 20px 0;
    }

    .teamShowcase-item {
        gap: 56px;
    }

    .teamShowcase-image img {
        width: 300px;
        height: 350px;
    }

    .teamShowcase-bgtext {
        right: -62px;
        font-size: 38px;
    }

    .teamShowcase-name {
        font-size: 26px;
    }
}

/* تبلت */
@media (max-width: 991px) {
    .teamShowcase {
        padding: 20px 0;
    }

    .teamShowcase-item {
        gap: 40px;
        padding: 0 20px;
    }

    .teamShowcase-image img {
        width: 260px;
        height: 320px;
        border-radius: 26px;
    }

    .teamShowcase-bgtext {
        right: -48px;
        font-size: 32px;
    }

    .teamShowcase-text {
        max-width: 460px;
        flex-basis: 460px;
    }

    .teamShowcase-name {
        font-size: 24px;
    }

    .teamShowcase-comment {
        margin-top: 20px;
        padding: 22px;
        border-radius: 24px;
    }
}

/* موبایل */
@media (max-width: 767px) {
    .teamShowcase {
        padding: 20px 0;
    }

    .teamShowcase-item {
        flex-direction: column;
        gap: 28px;
        padding: 0 16px;
        text-align: center;
    }

    .teamShowcase-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .teamShowcase-image img {
        width: min(280px, 82vw);
        height: 330px;
        border-radius: 24px;
    }

    .teamShowcase-bgtext {
        right: 50%;
        top: auto;
        bottom: -22px;
        transform: translateX(50%);
        writing-mode: horizontal-tb;
        font-size: 34px;
        opacity: 0.55;
        z-index: -1;
    }

    .teamShowcase-text {
        width: 100%;
        max-width: 100%;
        flex-basis: auto;
        text-align: center;
    }

    .teamShowcase-name {
        font-size: 23px;
    }

    .teamShowcase-role {
        font-size: 13px;
    }

    .teamShowcase-comment {
        margin-top: 18px;
        padding: 20px;
        border-radius: 22px;
        text-align: right;
        font-size: 14px;
    }

    .teamShowcase-pagination {
        margin-top: 30px;
    }
}

/* موبایل کوچک */
@media (max-width: 479px) {
    .teamShowcase {
        padding: 52px 0;
        height: 600px;
    }

    .teamShowcase-item {
        gap: 24px;
        padding: 0 14px;
    }

    .teamShowcase-image img {
        width: min(250px, 84vw);
        height: 300px;
        border-radius: 22px;
    }

    .teamShowcase-bgtext {
        font-size: 28px;
        bottom: -18px;
    }

    .teamShowcase-name {
        font-size: 21px;
    }

    .teamShowcase-comment {
        padding: 18px;
        border-radius: 20px;
        line-height: 1.9;
    }
}
