
/* ─────────────────────────────────────────────────────────────────────────────
   SLIDERS, PANES & TRANSITIONS
───────────────────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-slider-container {
    position: sticky;
    top: 5rem;              /* adjust to match your header’s total height */
    z-index: 900;           /* sit under the header but above content */
    
    width: 100%;
    max-width: 300px;
    height: 80vh;
    max-height: 700px;
    margin: 1.25rem auto 0; /* only vertical margin on top */
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    background: var(--color-card-bg);
    transition: background var(--transition-speed);
}


:root[data-theme="dark"] .vertical-slider-container {
    background: var(--color-card-bg);
}

#leftSliderWrapper,
#rightSliderWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
    box-sizing: border-box;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 1s var(--transition-ease);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.slide-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease-out;
}

.slide-image:hover {
    transform: scale(1.05);
}

#leftSliderWrapper .slide:nth-child(1) {
    background: var(--color-rose);
}

#leftSliderWrapper .slide:nth-child(2) {
    background: #277da1;
}

#leftSliderWrapper .slide:nth-child(3) {
    background: #43aa8b;
}

#leftSliderWrapper .slide:nth-child(4) {
    background: #f3722c;
}

#rightSliderWrapper .slide:nth-child(1) {
    background: #7209b7;
}

#rightSliderWrapper .slide:nth-child(2) {
    background: var(--color-rose);
}

#rightSliderWrapper .slide:nth-child(3) {
    background: #3a0ca3;
}

#rightSliderWrapper .slide:nth-child(4) {
    background: #90be6d;
}

@media (max-width: 768px) {
    .vertical-slider-container {
        display: none;
    }
}

#stepContent .tab-pane {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.3s var(--transition-ease),
        max-height 0.3s var(--transition-ease);
}

#stepContent .tab-pane.show.active {
    opacity: 1;
    max-height: 100vh;
}