/* SA Steps Carousel Widget — Sabbir Ahmed
   REWORK: Sticky-stack scroll. No carousel. All cards use active styling. */

/* ── Outer wrapper ── */
.sa-sc-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ── Slide (full-width row that stacks) ── */
.sa-sc-slide {
    width: 100%;
    box-sizing: border-box;
    /* sticky behaviour set by JS */
}

/* ── Card — all cards look like the active state ── */
.sa-sc-card {
    width: 100%;
    box-sizing: border-box;
    background: #0f0f1a;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 20px 60px rgba(0,0,0,0.18); */
    will-change: transform;
}

/* ── Overlay ── */
.sa-sc-card-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* ── Background overlay (for bg-image mode) ── */
.sa-sc-bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* ── Decoration image ── */
.sa-sc-deco-img {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* ── Content ── */
.sa-sc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Step number badge ── */
.sa-sc-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.60);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    width: fit-content;
}

/* ── Title ── */
.sa-sc-title {
    margin: 0;
    padding: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

/* ── Description ── */
.sa-sc-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .sa-sc-title {
        font-size: 20px;
    }
    .sa-sc-desc {
        font-size: 14px;
    }
    .sa-sc-card {
        padding: 24px;
    }
}
