.timeline-sec {
    padding: 80px 0;
    background-color: #ffffff;
}

.timeline-sec .section-title {
    text-align: center;
    margin-bottom: 0;
}

.aligncenter {
    margin-bottom: 10px;
}

.section-description {
    margin: 10px 0 50px;
}

.timeline-box {
    background: #F7F7F7;
    padding: 25px;
    width: 42.1%;
    position: relative;
    border-radius: 13px;
    box-shadow: 0px 2px 10px 0px #0000000D;
}

.timeline-box:before {
    content: "";
    display: block;
    background: var(--blue);
    height: 16px;
    width: 16px;
    border-radius: 50px;
    outline: 2px solid var(--orange);
    border: 2px solid #ffffff;
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-row>div:nth-child(odd) .timeline-box {
    margin-left: auto;
}

.timeline-box .title-width-img {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.timeline-box .title-width-img .icon {
    height: 53px;
    width: 53px;
    background: var(--sky-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-right: 10px;
    flex-shrink: 0;
    padding: 10px;
}

.timeline-box p {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #1B1822;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.title-width-img h6 {
    margin-bottom: 0;
}

.timeline-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-row:before {
    content: "";
    display: block;
    height: calc(100% - 31%);
    position: absolute;
    right: 0;
    width: 1px;
    left: 0;
    margin: auto;
    border: 1px solid #000000;
    opacity: 0.15;
}

.timeline-row>div:nth-child(even) .timeline-box:before {
    right: -32px;
    left: auto;
}

.timeline-box:after {
    content: "";
    display: block;
    width: 11%;
    height: 1px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -19%;
    border: 1px solid #000000;
    opacity: 0.15;
}

.timeline-row>div:nth-child(even) .timeline-box:after {
    left: auto;
    right: -19%;
}

.timeline-row>div:not(:first-child) {
    margin-top: -40px;
}

.timeline-sec .btn-primary-wrapper {
    text-align: center;
}

@media only screen and (min-width:991px) {
    .title-width-img h6 {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 700;
        font-size: 18px;
        line-height: 25px;
        color: #1B1822;
    }
    .timeline-sec .btn-primary-wrapper {
        margin-top: 70px;
    }
}

@media (min-width: 1200px) {
    .timeline-row:before {
        height: calc(100% - 38%);
    }
}

@media only screen and (max-width:1199px) {
    .timeline-box {
        width: 40%;
    }
    .timeline-box:after {
        left: -25%;
    }
    .timeline-row>div:nth-child(even) .timeline-box:after {
        left: auto;
        right: -25%;
    }
    .timeline-row>div:nth-child(even) .timeline-box:before {
        right: -60px;
        left: auto;
    }
    .timeline-box:before {
        left: -62px;
    }
    .timeline-row:before {
        height: calc(100% - 38%);
    }
}

@media only screen and (max-width:991px) {
    .timeline-sec {
        padding: 60px 0;
    }
    .section-description {
        margin: 10px 0 30px;
    }
    .timeline-row>div:nth-child(even) .timeline-box:before {
        right: -40px;
        left: auto;
    }
    .timeline-box:before {
        left: -42px;
    }
    .timeline-row:before {
        height: calc(100% - 38%);
        margin-top: -27px;
    }
}

@media only screen and (max-width:767px) {
    .timeline-sec {
        padding: 50px 0;
    }
    .timeline-row {
        padding-left: 20px;
        margin: auto;
    }
    .timeline-box:after {
        display: none;
    }
    .timeline-row:before {
        margin: unset;
    }
    .timeline-box:before {
        height: 14px;
        width: 14px;
    }
    .timeline-row>div:nth-child(even) .timeline-box:before {
        right: auto;
        left: -27px;
    }
    .timeline-row>div:nth-child(even) .timeline-box:after {
        left: -25%;
        right: auto;
    }
    .timeline-box {
        width: 100%;
    }
    .timeline-row>div:not(:first-child) {
        margin-top: 20px;
    }
    .timeline-box:before {
        left: -27px;
    }
    .timeline-box .title-width-img .icon {
        height: 50px;
        width: 50px;
        margin-right: 0;
        padding: 8px;
    }
    .timeline-box {
        padding: 15px;
    }
    .timeline-box .title-width-img {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 8px;
    }
    .timeline-row:before {
        height: calc(100% - 33%);
        margin-bottom: 20px;
    }
    .timeline-box p {
        -webkit-line-clamp: unset;
    }
}