/* ===================================
   TOPPERS WALL - MINIMAL SCROLLING MARQUEE
   =================================== */

.toppers-showcase {
    background: #ffffff;
    /* Clean White Background */
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Header Section */
.success-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-content {
    max-width: 600px;
}

.toppers-showcase-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a8a;
    /* Deep Blue */
    margin: 0 0 0.5rem 0;
    line-height: 1.1;
}

.toppers-showcase-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    /* Slate */
    margin-bottom: 0;
}

.counter-badge {
    background: #f1f5f9;
    /* Very Light Grey/Blue */
    color: #0284c7;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.count-number {
    font-size: 1.4rem;
    font-weight: 800;
}


/* Marquee Container */
.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Space between rows */
    position: relative;
    padding: 1rem 0;
    /* mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); */
    /* -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); */
}

/* Individual Marquee Track */
.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    /* Allow track to be as wide as content */
}

/* Animations */
#marqueeRow1 {
    animation: scrollLeft 60s linear infinite;
}

#marqueeRow2 {
    animation: scrollRight 60s linear infinite;
}


/* Pause on Hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}


@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}


/* Minimalist Card - Redesigned with Bigger Image */
.success-card {
    background: #ffffff;
    width: 300px;
    /* Slightly wider for better layout */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
    /* Prevent shrinking */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 1rem 1rem 0;
}

.card-avatar {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 4px solid #ffffff;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1.5rem 0.75rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.card-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.35rem 0;
}

.card-role-highlight {
    font-size: 0.85rem;
    color: #0284c7;
    /* Brand Blue */
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(2, 132, 199, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.card-score-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    padding: 1rem 1.5rem;
    border-radius: 0;
    margin: 0;
}

.score-badge {
    font-weight: 900;
    color: #ffffff;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.score-details {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: none;
    font-weight: 600;
    text-align: center;
}

.card-testimonial {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
    font-style: italic;
}

.read-more-link {
    color: #0284c7;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 5px;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.read-more-link:hover {
    color: #0369a1;
}

/* Play button minimal */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.has-video .card-avatar:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Loading & Button */
.loading-indicator {
    display: none;
}

.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-text-link {
    color: #1e3a8a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {`r`n    .marquee-container {`r`n        gap: 1.5rem;`r`n    }`r`n`r`n    .success-card {`r`n        width: 260px;`r`n    }`r`n`r`n    .card-avatar {`r`n        height: 150px;`r`n    }`r`n`r`n    .card-name {`r`n        font-size: 1rem;`r`n    }`r`n`r`n    .score-badge {`r`n        font-size: 1.3rem;`r`n    }`r`n`r`n    .toppers-showcase-title {`r`n        font-size: 2.25rem;`r`n    }`r`n}
