.yes-timeline {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 231px 20px;
    width: 100%;
    gap: 30px;
}
.yes-timeline__track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 91%;
    height: 1px;
    background: rgba(0, 164, 209, 1);
    transform: translate(-50%, -50%);
}
.yes-timeline__item {
    position: relative;
    width: 120px;
    text-align: center;
    color: #fff;
    z-index: 2;
}
.yes-timeline__year {
    position: absolute;
    left: 50%;
    top: -58px;
    transform: translateX(-50%);
    color: rgba(0, 164, 209, 1);
    font-family: "Overpass";
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 24px;
    text-align: center;
}
.yes-timeline__node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 164, 209, 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}
.yes-timeline__inner-node {
    width: 14px;
    height: 14px;
    background-color: rgba(0, 164, 209, 1);
    border-radius: 50%;
}
.yes-timeline__text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    font-family: Overpass;
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    margin-top: 34px;
}
.yes-timeline__item.is-top .yes-timeline__text {
    bottom: 147px;
}
.yes-timeline__item.is-top .yes-timeline__text::after {
    content: "";
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -69px;
    width: 1px;
    height: 52px;
    background: rgba(236, 236, 236, 1);
    transform: translateX(-50%);
}
.yes-timeline__item.is-bottom .yes-timeline__text {
    top: 80px;
}
.yes-timeline__item.is-bottom .yes-timeline__text::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -80px;
    bottom: auto;
    width: 1px;
    height: 52px;
    background: rgba(236, 236, 236, 1);
    transform: translateX(-50%);
}
.yes-timeline__item.is-bottom .yes-timeline__text::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -80px;
    bottom: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(236, 236, 236, 1);
    transform: translateX(-50%);
}
.yes-timeline__item.is-top .yes-timeline__text::before {
    content: "";
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -19px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(236, 236, 236, 1);
    transform: translateX(-50%);
}
.yes-timeline__item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.yes-timeline__item.active {
    opacity: 1;
    transform: translateY(0);
}

.yes-timeline__progress {
    transition: width 0.6s ease;
}
@media (max-width: 768px) {
    .yes-timeline {
        padding: 240px 20px;
        gap: 40px;
    }
    .yes-timeline__item {
        width: 120px;
    }
    .yes-timeline__text {
        width: 140px;
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    .yes-timeline {
        flex-direction: column;
        padding: 50px 10px 100px;
        gap: 90px;
        justify-content: flex-start;
    }
    .yes-timeline__track {
        position: absolute;
        top: 0;
        left: 50%;
        width: 1px;
        height: 100%;
        background: rgba(0, 164, 209, 1);
        transform: translateX(-50%);
    }
    .yes-timeline__item {
        position: relative;
        width: 100%;
        text-align: center;
        color: #fff;
        z-index: 2;
    }
    .yes-timeline__year {
        left: 62%;
        top: -12px;
        transform: translateX(-50%);
        font-size: 15px;
    }
    .yes-timeline__node {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        border: 3px solid rgba(0, 164, 209, 1);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent;
    }
    .yes-timeline__inner-node {
        width: 12px;
        height: 12px;
        background-color: rgba(0, 164, 209, 1);
        border-radius: 50%;
    }
    .yes-timeline__text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        font-family: Overpass;
        font-weight: 600;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        margin-top: 20px;
    }
    .yes-timeline__item.is-top .yes-timeline__text {
        width: 88px;
        left: auto;
        right: -65px;
        top: -30px !important;
        white-space: pre-wrap;
    }
    .yes-timeline__item.is-top .yes-timeline__text {
        top: 30px;
    }
    .yes-timeline__item.is-top .yes-timeline__text::after {
        content: "";
        position: absolute;
        width: 1px;
        left: auto;
        right: 88px;
        top: -3px;
        bottom: auto;
        background: rgba(236, 236, 236, 1);
        transform: rotate(90deg);
        height: 22px;
    }
    .yes-timeline__item.is-bottom .yes-timeline__text {
        top: -27px;
        left: 36px;
        width: 100px;
    }
    .yes-timeline__item.is-bottom .yes-timeline__text::before {
        content: "";
        position: absolute;
        left: auto;
        right: -19px;
        top: -8px;
        bottom: auto;
        transform: rotate(90deg);
        height: 31px;
    }
    .yes-timeline__item.is-bottom .yes-timeline__text::after {
        content: "";
        position: absolute;
        left: auto;
        right: -38px;
        top: 4px;
        bottom: auto;
    }
    .yes-timeline__item.is-top .yes-timeline__text::before {
        content: "";
        position: absolute;
        left: -15%;
        top: auto;
        bottom: -11px;
        width: 6px;
        height: 6px;
    }
}