.svs-container-17957f80 {
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    background: #F3F3F3;
    overflow: hidden;
    align-items: center;
}
.svs-left-17957f80 {
    flex: 1 1 300px;
    padding-right: 40px;
}
.svs-right-17957f80 {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    position: relative;
    /* Fixed the massive scale/layout issue */
    height: auto;
    min-height: 600px;
    align-items: center;
}
.svs-stack-17957f80 {
    position: relative;
    width: 300px;
    height: 533px;
}
.svs-card-17957f80 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateX(100px) scale(0.8);
}
.svs-card-17957f80 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base stack layout using data attributes instead of nth-child for smoother loop */
.svs-card-17957f80[data-pos="0"] { z-index: 5; opacity: 1; transform: translateX(0) scale(1); }
.svs-card-17957f80[data-pos="1"] { z-index: 4; opacity: 0.9; transform: translateX(20px) scale(0.95); }
.svs-card-17957f80[data-pos="2"] { z-index: 3; opacity: 0.7; transform: translateX(40px) scale(0.9); }
.svs-card-17957f80[data-pos="3"] { z-index: 2; opacity: 0.5; transform: translateX(60px) scale(0.85); }
.svs-card-17957f80[data-pos="4"] { z-index: 1; opacity: 0.3; transform: translateX(80px) scale(0.8); }
.svs-card-17957f80[data-pos="5"] { z-index: 0; opacity: 0; transform: translateX(100px) scale(0.8); }

/* Animation state for card sliding out */
.svs-card-17957f80.slide-out {
    transform: translateX(-150px) scale(1.1);
    opacity: 0;
    z-index: 6;
}


@media (max-width: 767px) {
    .svs-container-17957f80 {
        flex-direction: column;
        padding: 30px 15px;
    }
    .svs-left-17957f80 {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .svs-right-17957f80 {
        min-height: 500px;
    }
    .svs-stack-17957f80 {
        width: 80vw;
        height: 142vw; /* 9:16 approx */
        max-height: 450px;
    }
}