:root {
    --primary-color: #fa9237;
    --bg-line: #e0e0e0;
    --circle-size: 50px;
    --sticky-top-position: 250px;
}

.timeline-container {
    max-width: 1000px;
    margin: 50px auto;
    position: relative;
    font-family: 'poppins', Roboto, sans-serif;
}

.timeline-track {
    position: absolute;
    left: 50px;
    top: 25px;
    width: 4px;
    height: calc(100% - 50px);
    background-color: var(--bg-line);
    z-index: 1;
}

.progress-line {
    position: absolute;
    left: 50px;
    top: 25px;
    width: 4px;
    height: 0%;
    background-color: var(--primary-color);
    z-index: 2;
    transition: height 0.1s linear;
}

.step-wrapper {
    position: relative;
    display: flex;
    height: 220px;
    margin-bottom: 50px;
}

.step-wrapper:last-child {
    height: auto;
    min-height: 250px;
}

.moving-header-box {
    position: absolute;
    left: 27px;
    top: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.timeline-sticky-head {
    position: sticky;
    top: var(--sticky-top-position);
    display: flex;
    align-items: center;
    z-index: 20;
}

.number-circle {
    width: var(--circle-size);
    height: var(--circle-size);
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.moving-heading {
    margin-left: 10px;
    font-size: 1.5rem !important;
    font-family: poppins !important;
    font-weight: 600 !important;
    color: #000;
    white-space: nowrap;
    padding-right: 20px;
}

.content-area {
    margin-left: 425px !important;
    padding-top: 60px;
    width: 100%;
}

.content-card {
    background: #ffffff;
    padding: 20px;
    max-width: 550px;
}

.content-card p {
    color: #444;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.content-card img {
    width: 90px;
    margin-top: 25px;
    display: block;
}

@media (max-width: 1024px) {
    .content-area {
        margin-left: 320px;
    }
    .moving-heading {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    :root {
        --sticky-top-position: 100px;
    }

    .timeline-container {
        padding-left: 10px;
    }

    .moving-heading {
        font-size: 1.2rem;
        white-space: normal;
        max-width: 200px;
        line-height: 1.2;
    }

    .content-area {
        margin-left: 60px;
        padding-top: 80px;
    }

    .step-wrapper {
        height: 350px;
    }

    .content-card {
        padding: 15px;
    }

    .content-card p {
        font-size: 16px;
    }
}
