/* Scoped vars on the wrapper */
.wml-interactive-testimonials {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #f4f3f0;
    user-select: none;
    cursor: grab;
}

.wml-interactive-testimonials:active {
    cursor: grabbing;
}

.wml-it-center-overlay {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.wml-it-center-overlay h2.wml-it-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0 0 16px 0;
    color: #111111;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.wml-it-center-overlay p.wml-it-subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin: 0 0 32px 0;
    max-width: 500px;
    line-height: 1.5;
}

.wml-it-btn {
    pointer-events: auto;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wml-it-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.wml-it-canvas {
    position: absolute;
    width: 6000px;
    height: 6000px;
    top: 62%;
    left: 50%;
    transform: translate(-3350px, -3000px);
    will-change: transform;
    pointer-events: none;
}

.wml-it-card {
    position: absolute;
    width: 320px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.wml-it-card:first-child {
    z-index: 2;
}

.wml-it-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
}

.wml-it-card p {
    margin: 0 0 24px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.wml-it-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.wml-it-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
}

.wml-it-user-details h4 {
    margin: 0;
    font-size: 0.9rem;
}