.fu-step-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.fu-step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-right: 30px;
    /* Space for the line to breathe */
}

.fu-step-item:last-child {
    padding-right: 0;
}

.fu-step-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    transition: all 0.3s ease;
}

.fu-step-marker-container {
    width: 100%;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.fu-step-dot {
    width: 10px;
    height: 10px;
    background-color: #bcde2e;
    border-radius: 50%;
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.fu-step-line {
    position: absolute;
    left: 5px;
    /* Half of default dot size */
    right: -5px;
    /* Extend to the next dot's start (approx) */
    height: 1px;
    background-color: #f1f1f1;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* Adjust line for the last-child is already handled by if condition in PHP, 
   but this is a safety measure */
.fu-step-item:last-child .fu-step-line {
    display: none;
}

.fu-step-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a2b3c;
    transition: all 0.3s ease;
}

.fu-step-desc {
    font-size: 16px;
    color: #6d7c8b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Tablet Layout */
@media (max-width: 1024px) {
    .fu-step-item {
        padding-right: 20px;
    }

    .fu-step-title {
        font-size: 20px;
    }
}

/* Mobile Responsiveness - Vertical Layout */
@media (max-width: 767px) {
    .fu-step-container {
        flex-direction: column;
    }

    .fu-step-item {
        padding: 0 0 40px 40px;
        /* Space for vertical line on the left */
        align-items: flex-start;
        width: 100%;
    }

    .fu-step-item:last-child {
        padding-bottom: 0;
    }

    .fu-step-marker-container {
        width: 20px;
        height: auto;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        /* Align dot with content approximately */
    }

    .fu-step-dot {
        margin-bottom: 0;
    }

    .fu-step-line {
        width: 1px;
        height: calc(100% - 10px);
        /* Fill the space between dots */
        left: 50%;
        top: 40px;
        /* Start below the dot */
        right: auto;
        transform: translateX(-50%);
    }

    .fu-step-content-top {
        margin-top: 0;
    }
}