/* Wrapper needs relative position */
.stacked-cases-wrapper-8aa8a0dc {
    position: relative;
    width: 100%;
}

/* Items take full height and stick to the top on scroll */
.stacked-case-item-8aa8a0dc {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
}

.stacked-case-bg-8aa8a0dc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.stacked-case-overlay-8aa8a0dc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.stacked-case-content-8aa8a0dc {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.stacked-case-label-8aa8a0dc {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stacked-case-title-8aa8a0dc {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #ffffff;
    line-height: 1.1;
}

.stacked-case-desc-8aa8a0dc {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
}

.stacked-case-btn-8aa8a0dc {
    display: inline-block;
    padding: 15px 35px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.stacked-case-btn-8aa8a0dc:hover {
    background-color: #000000;
    color: #ffffff;
}

@media (max-width: 767px) {
    .stacked-case-title-8aa8a0dc {
        font-size: 2.5rem;
    }
}
