.steps-section {
    padding: clamp(36px, 6vw, 84px) 0;
}

.steps-left {
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(6px, 1.2vw, 8px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.steps-title {
    margin: 0;
    color: #252525;
    font-family: 'AktivGrotesk', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(22px, 3.4vw, 35px);
    line-height: 1.05;
    letter-spacing: 0.2px;
}

.steps-subtext {
    margin: 0.85rem 0 0;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 400;
    font-size: clamp(15px, 1.7vw, 20px);
    max-width: 60ch;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin: 2.4rem 0 0;
    padding-left: 0;
    color: #161616;
    font-size: clamp(18px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 2.2;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.1rem;
    min-height: 2.2rem;
    display: flex;
    align-items: center;
}

.steps-list li::before {
    content: counter(step-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.steps-list li+li {
    margin-top: 2.15rem;
}

.steps-right {
    min-height: 220px;
    width: 100%;
    height: 100%;
    max-height: min(80vh, 720px);
    overflow-y: auto;
    /* Hide native scrollbars while keeping content scrollable */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    
    scroll-behavior: smooth;
}

.steps-right::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (min-width: 992px) {
    .steps-row>[class*="col-"] {
        display: flex;
    }

    
    .steps-row {
        position: relative;
    }

    .steps-row::after {
        display: none !important;
    }

    .steps-sep {
        display: block;
        position: absolute;
        top: 6%;
        bottom: 6%;
        left: 50%;
        transform: translateX(-50%);
        width: 2px; /* thinner divider */
        box-sizing: border-box;
        border-radius: 2px;
        /* dashed appearance using repeating background ensures consistent dashes */
        background: repeating-linear-gradient(to bottom, #000 0 6px, transparent 6px 12px);
        z-index: 5;
        pointer-events: none;
    }

    .steps-left {
        /* keep spacing between the left content and the separator */
        padding-right: clamp(12px, 1.8vw, 20px);
    }

    .steps-right {
        padding: 12px;
        /* reserve space for the separator + gap inside the right column */
        padding-left: clamp(22px, 2.4vw, 38px);
    }
}

@media (min-width: 1600px) {
    .steps-left {
        justify-content: center;
    }
}

.steps-list li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.steps-list li a.active {
    color: #28c3be;
}

.steps-list li.active::before {
    background: #28c3be;
}

.step-panel {
    min-height: 56vh;
    border-radius: 16px;
    border: 1px solid #ececec;
    padding: clamp(16px, 2.2vw, 26px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 1.6vw, 18px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-panel+.step-panel {
    margin-top: 12px;
}

.step-panel-title {
    margin: 0;
    color: #111;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 700;
}

.step-panel-text {
    margin: 0.9rem 0 0;
    color: rgba(0, 0, 0, 0.6);
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.5;
}

.step-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: clamp(140px, 18vh, 260px);
}

.heading {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.sectionheading-number {
    width: 42px;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #28c3be;
    color: black;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.step-heading-content {
    min-width: 0;
}

.step-heading-title {
    margin: 0;
    color: #121212;
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    line-height: 1.15;
}

.step-heading-description {
    margin: 0.45rem 0 0;
    color: rgba(0, 0, 0, 0.62);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.45;
    max-width: 58ch;
}

.step-svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
    max-height: 180px;
    margin: 0 auto;
    object-fit: contain;
}

@media (min-width: 576px) {
    .step-svg { max-height: 220px; }
}

@media (min-width: 768px) {
    .step-svg { max-height: 240px; }
}

@media (min-width: 992px) {
    .step-svg { max-height: 280px; }
}

@media (min-width: 1400px) {
    .step-svg { max-height: 320px; }
}

.step-bottom-text {
    margin: 0;
    color: rgba(0, 0, 0, 0.55);
    font-size: clamp(13px, 1.1vw, 14px);
    line-height: 1.3;
}



@media (max-width: 991px) {
    .steps-left {
        height: auto;
    }

    .steps-right {
        max-height: none;
        height: auto;
        overflow: visible;
    }

    .step-panel {
        min-height: 220px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .steps-list {
        line-height: 1.8;
        margin: 1.2rem 0 0;
    }
}
