
/* Procurement Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding: 10px 0;
}

/* Center vertical line */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #dce5ef;
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 50%;
    padding: 0 45px 50px;
    box-sizing: border-box;
}

/* Alternate left and right */
.timeline__item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    justify-content: flex-end;
}

.timeline__item:nth-child(even) {
    margin-left: 50%;
    text-align: left;
}

/* Step number */
.timeline__num {
    position: absolute;
    top: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1769aa;
    color: #1769aa;
    font-size: 15px;
    font-weight: 700;
    z-index: 2;
    box-sizing: border-box;
}

.timeline__item:nth-child(odd) .timeline__num {
    right: -23px;
}

.timeline__item:nth-child(even) .timeline__num {
    left: -23px;
}

/* Content card */
.timeline__content {
    width: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(20, 45, 75, 0.06);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.timeline__content:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20, 45, 75, 0.10);
}

.timeline__content h4 {
    margin: 0 0 10px;
    color: #172b45;
    font-size: 20px;
    line-height: 1.4;
}

.timeline__content p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

/* Mobile layout */
@media (max-width: 767px) {
    .timeline {
        margin: 35px auto;
        padding-left: 0;
    }

    .timeline::before {
        left: 23px;
        transform: none;
    }

    .timeline__item,
    .timeline__item:nth-child(odd),
    .timeline__item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 30px 65px;
        text-align: left;
        justify-content: flex-start;
    }

    .timeline__item:nth-child(odd) .timeline__num,
    .timeline__item:nth-child(even) .timeline__num {
        left: 0;
        right: auto;
    }

    .timeline__content {
        padding: 20px;
    }

    .timeline__content h4 {
        font-size: 18px;
    }

    .timeline__content p {
        font-size: 14px;
    }
}
