.seo-projects-timeline {
    padding: 80px 0;
    background: #fff;
}

.timeline {
    position: relative;
}


.timeline-row {
    display: grid;
    grid-template-columns: 0.9fr 80px 1.1fr;
    align-items: center;
    margin-bottom: 70px;
}

.timeline-row.reverse {
    direction: rtl;
}

.timeline-row.reverse>* {
    direction: ltr;
}


.timeline-col.center {
    position: relative;
    text-align: center;
}

.timeline-col.center::before {
    content: '';
    position: absolute;
    top: -70px;
    bottom: -70px;
    left: 50%;
    width: 2px;
    background: #d1d5db;
    transform: translateX(-50%);
}

.timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    border: 2px solid #2563eb;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    position: relative;
    z-index: 2;
}


.timeline-box {
    background: #fff;
    padding: 26px 28px;
    border-radius: 18px;
}

.timeline-col.content .timeline-box {
    max-width: 420px;
}

.timeline-col.content h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    border: 1px solid;
    border-radius: 25px;
    background-color: rgb(78, 166, 218);
    color: white;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-col.content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}


.timeline-col.image {
    display: flex;
    justify-content: center;
}

.timeline-col.image .timeline-box {
    max-width: 420px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.timeline-col.image img {
    max-width: 90%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {

    .timeline-row,
    .timeline-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .timeline-col.center {
        display: none;
    }

    .timeline-col.image {
        margin-top: 16px;
    }
}