.three-steps {
    max-width: 900px;
    margin: auto;
}

/* TIMELINE */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* SINGLE LINE - STOPS AT LAST DOT */
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    right: calc(220px - 7px); /* Right edge: container width minus half dot */
    height: 2px;
    background: #1e73be;
    top: 50%;
    transform: translateY(-50%);
}

/* DOT WRAPPER - SAME WIDTH AS LABEL */
.dot {
    width: 220px;
    height: 14px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ACTUAL DOT CIRCLE */
.dot::before {
    content: "";
    width: 14px;
    height: 14px;
    background: #1e73be;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}

/* ✅ LABELS — MATCHES TIMELINE FLEX LAYOUT */
.labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* TEXT - LEFT ALIGNED */
.labels p {
    width: 220px;
    margin: 0;
    color: #1e73be;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    flex-shrink: 0;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;

}

/* =========================
   MOBILE – SEPARATE DOTS
   ========================= */
@media (max-width: 767px) {

    .three-steps {
        width: 100%;
        padding: 0px;
    }

    /* HIDE DESKTOP TIMELINE + DOTS */
    .timeline {
        display: none;
    }

    /* STACK STEPS */
    .labels {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* STEP ITEM */
    .labels p {
        position: relative;
        padding-left: 20px; /* space for dot */
        width: 100% !important;
        font-size: 16px;
        line-height: 1;
        text-align: left;
    }

    /* MOBILE DOT */
    .labels p::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.4em;
        width: 10px;
        height: 10px;
        background: #1e73be;
        border-radius: 50%;
    }
}
