/* ============================================
   ADVANCED TESTIMONIAL SWIPER — style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=DM+Sans:wght@400;500;600&display=swap');

/* ── WRAPPER RESET — fully transparent, no extra space ── */
.ats-swiper-wrap {
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    font-family: 'DM Sans', sans-serif;
}

/* ── SWIPER WRAPPER ── */
.ats-swiper {
    padding: 20px 10px 60px !important;
    position: relative;
    z-index: 1;
}

/* ── CARD ── */
.ats-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 28px 26px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.35s ease;
    box-shadow:
        0 2px 6px rgba(108, 61, 244, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(108, 61, 244, 0.08);
    overflow: hidden;
}

/* ── LEFT ACCENT BAR ── */
.ats-card::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #6c3df4, #a78bfa);
    border-radius: 0 4px 4px 0;
    transition: height 0.35s ease;
}

/* ── QUOTE ICON ── */
.ats-card .ats-quote {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 52px;
    line-height: 1;
    color: #ede9fe;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    user-select: none;
}

/* ── HOVER ── */
.ats-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 12px rgba(108, 61, 244, 0.10),
        0 22px 50px rgba(0, 0, 0, 0.12);
}
.ats-card:hover::before { height: 70px; }

/* ── STARS ── */
.ats-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.ats-stars .star {
    width: 20px;
    height: 20px;
    display: inline-block;
}
.ats-stars .star svg {
    width: 100%;
    height: 100%;
}
.ats-stars .star.filled svg path { fill: #F5A623; }
.ats-stars .star.empty  svg path { fill: #E8E8E8; }

/* ── REVIEW TEXT ── */
.ats-card .ats-text {
    font-size: 15px;
    line-height: 1.75;
    color: #4b4468;
    margin: 0 0 22px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ── DIVIDER ── */
.ats-divider {
    height: 1px;
    background: linear-gradient(90deg, #ede9fe, #f3f0ff, #ede9fe);
    margin-bottom: 20px;
    border: none;
}

/* ── USER ROW ── */
.ats-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── AVATAR ── */
.ats-user img,
.ats-user .ats-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #ede9fe;
    box-shadow: 0 3px 10px rgba(108, 61, 244, 0.15);
    flex-shrink: 0;
}
.ats-avatar-placeholder {
    background: linear-gradient(135deg, #6c3df4, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

/* ── NAME + ROLE ── */
.ats-user-info strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a0a3c;
    margin-bottom: 2px;
}
.ats-user-info span {
    font-size: 12.5px;
    color: #9e8fc0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── SWIPER FIX ── */
.swiper-slide { height: auto; }

/* ── PAGINATION ── */
.ats-swiper .swiper-pagination {
    bottom: 0;
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c4b5fd;
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: #6c3df4;
    width: 24px;
    border-radius: 4px;
}
