/* Container Slider */
.ayeneh-team-slider {
    width: 100%;
    padding: 15px 0 40px 0;
    position: relative;
    overflow: hidden;
}

/* Swiper Slide Styling */
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px; /* عرض کارت */
    height: auto;
    /* تغییر مهم: حذف blur و grayscale برای دیده شدن کارت‌های کناری */
    opacity: 0.5; /* کمی شفافیت برای کارت‌های کناری تا کارت وسط متمایز شود */
    transform: scale(0.9); /* کارت‌های کناری کمی کوچکتر */
    transition: all 0.5s ease;
}

/* کارت فعال (وسطی) */
.swiper-slide-active {
    opacity: 1; /* کارت وسط کاملاً شفاف و واضح */
    transform: scale(1); /* سایز اصلی */
    z-index: 10;
}

/* Card Styling */
.team-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, background 0.3s ease;
}

/* استایل کارت فعال */
.swiper-slide-active .team-card {
    border-color: var(--color-secondary, #d4af37);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15); /* کمی روشن‌تر */
}

/* Image Wrapper */
.team-image-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    padding: 5px;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.swiper-slide-active .team-image-wrapper img {
    transform: scale(1.05);
    border-color: transparent;
}

/* Glowing Ring Animation */
.glow-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, var(--color-secondary, #d4af37) 50%, transparent 100%);
    animation: rotateRing 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.swiper-slide-active .glow-ring {
    opacity: 1;
}

/* Typography */
.team-name {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: var(--color-primary, #23395b);
    font-weight: 800;
}

.team-job {
    font-size: 0.95rem;
    color: var(--color-secondary, #d4af37);
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
}

/* Pagination Dots */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: var(--color-secondary, #d4af37);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Shine Effect overlay */
.card-shine {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 1;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-slide {
        width: 260px;
    }
}
