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

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

.timeline-box {
    background: #ffffff;
    padding: 24px;
    width: 42%;
    position: relative;
    border-radius: 10px;
    box-shadow: 8px -5px 67.5px 0px #0000001A;
}

.timeline-box:before {
    content: "";
    display: block;
    background: var(--blue);
    height: 16px;
    width: 16px;
    border-radius: 50px;
    outline: 1px 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: 12px;
}

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

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

.timeline-row {
    position: relative;
}

.timeline-row:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    width: 1px;
    left: 0;
    margin: auto;
    background-image: url(../images/dashed-line.webp);
}

.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%;
    background-image: url(../images/small-line.webp);
    background-repeat: no-repeat;
}

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

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

@media only screen and (max-width:1399px) {}

@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%;
    }
}

@media only screen and (max-width:991px) {
    .timeline-sec {
        padding: 60px 0;
    }
}

@media only screen and (max-width:767px) {
    .timeline-sec {
        padding: 50px 0;
    }
    .timeline-row {
        padding-left: 20px;
        max-width: 400px;
        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;
    }
}