.timeline {
    position: relative;
    margin: 30px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 10px;
    background: linear-gradient(to bottom, #0a2d5c 33%, #0f77a7 33%, #0f77a7 66%, #e05c34 66% );
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step {
    position: relative;
    padding: 30px 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.step-1 .step-number {
    border: 8px solid #0a2d5c;
}

.step-2 .step-number {
    border: 8px solid #0f77a7;
}

.step-3 .step-number {
    border: 8px solid #e05c34;
}

.step-4 .step-number {
    border: 8px solid #004A87;
}

.step-content {
    width: calc(50% - 60px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.step-1 .step-content {
    background-color: #0a2d5c;
    margin-left: auto;
}

.step-2 .step-content {
    background-color: #0f77a7;
    margin-right: auto;
}

.step-3 .step-content {
    background-color: #e05c34;
    margin-left: auto;
}

.step-4 .step-content {
    background-color: #004A87;
    margin-right: auto;
}

.step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-list {
    list-style: none;
}

.step-list li {
    margin-bottom: 10px;
    position: relative;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 20px;
}

.step-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

.connector {
    position: absolute;
    height: 3px;
    width: 60px;
    z-index: 1;
    top: 50%;
}

.step-1 .connector, .step-3 .connector {
    left: 50%;
    background-color: inherit;
}

.step-2 .connector, .step-4 .connector {
    right: 50%;
    background-color: inherit;
}

/* Responsive Styles */

@media (max-width: 992px) {
    .timeline::before {
        left: 60px;
    }
}

@media (max-width: 992px) {
    .step {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 992px) {
    .step-number {
        left: 60px;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .step-content {
        width: calc(100% - 120px);
        margin-left: 120px !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 992px) {
    .connector {
        display: none;
    }
}

@media (max-width: 576px) {
    .timeline::before {
        left: 40px;
    }
}

@media (max-width: 576px) {
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 32px;
        left: 40px;
    }
}

@media (max-width: 576px) {
    .step-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .step-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .step-list li {
        font-size: 13px;
    }
}

