.step-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}

.step-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-primary);
    background: var(--color-bg);
    border-radius: var(--border-radius-full);
    font-family: var(--font-mono);
    width: 82px;
    height: 82px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    transition: color 0.4s, font-size 0.4s;
}

.calender-info {
    padding-top: 10px;
}

.step-line {
    position: absolute;
    left: calc(82px / 2);
    height: 100%;
    width: 4px;
    background: var(--color-bg);
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background-color: var(--color-primary);
    transition: height 0.5s ease;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: calc(var(--space-xl) * 2);
    height: 550px;
}

.step-number.scrolled {
    color: white;
    background-color: var(--color-primary);
    font-size: calc(var(--text-3xl) * 1.2);
    transition: font-size 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    transform: scale(1.4);
}

.step.visible .step-line::after {
    height: 100%;
}

.step .card {
    opacity: 0;
    width: 100%;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step .card p {
    display: flex;
    margin-bottom: var(--space-md);
    max-width: 540px;
}


.step .card p svg {
    max-width: 15px;
    height: 25px;
    margin-right: var(--space-sm);
    fill: var(--color-black);
    transition: 0.5s ease;
}

.step.visible .card {
    opacity: 1;
    transform: translateX(0);
    transition: 0.4s ease;
}

.step.visible .card-visible p svg {
    fill: var(--color-primary);
}

.step .card h3 {
    transition: 0.4s ease;
}


.card-visible {
    box-shadow: 0 0 3px 1px rgba(var(--color-primary-rgb), 0.4),
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.08);
}

.card-visible h3 {
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-container {
        flex-direction: column;
    }

    .step {
        margin-bottom: 30px;
        padding-left: calc(var(--space-xl));
    }

    .text-center h2 {
        font-size: var(--text-2xl);
    }

    .step-number {
        font-size: var(--text-sm);
        width: 35px;
        height: 35px;
        left: 4px;
    }

    .step-number.scrolled {
        font-size: calc(var(--text-sm) * 1.2);
        transform: scale(1.2);
    }

    .step-line {
        left: calc(40px / 2);
    }
}