.timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0 auto;
    padding: 0 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    width: 4px;
    height: calc(100% - 40px);
    background: var(--bs-primary);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: 15px 30px;
    box-sizing: border-box;
}

.timeline__item::before {
    content: '';
    position: absolute;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--bs-primary);
    border: 3px solid var(--bs-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline__item--left {
    left: 0;
    text-align: right;
}

.timeline__item--left::before {
    right: -8px;
}

.timeline__item--right {
    left: 50%;
    text-align: left;
}

.timeline__item--right::before {
    left: -8px;
}

.timeline__year {
    font-weight: bold;
    font-size: 24px;
    color: var(--bs-primary);
    display: block;
    margin-bottom: 8px;
}

.feature-line {
    height: 4px;
    background-color: var(--bs-primary);
    width: 65%;
}

.feature-circle {
    width: 100px;
    height: 100px;
    padding: 10px;
    /*background-color: var(--bs-primary);*/
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
}

a.custom-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: rgba(var(--bs-primary-rgb), 0.3);
    transition: all 0.2s;
}
a.custom-underline:hover::after {
    background-color: rgba(var(--bs-primary-rgb), 1);
}

/* media */
@media screen and (max-width: 768px) {
    .timeline {
        margin-top: 0;
    }

    .timeline::before {
        left: unset;
    }

    .timeline__item {
        width: 100%;
    }

    .timeline__item--right-mobile,
    .timeline__item--right {
        left: unset;
        text-align: left;
    }

    .timeline__item--right-mobile::before {
        left: -8px;
    }

    .feature-section {
        position: relative;
        max-width: 1000px;
        padding: 0 40px;
        margin-bottom: 50px;
    }

    .feature-section::before {
        content: '';
        position: absolute;
        left: unset;
        width: 4px;
        height: 100%;
        background: var(--bs-primary);
        transform: translateX(-50%);
    }

    .feature-list {
        margin-top: 50px;
        margin-left: 20px;
    }

    .feature-item {
        gap: 30px
    }

    .feature-circle {
        width: 75px;
        height: 75px;
    }
}

@media screen and (max-width: 380px) {
    .feature-item {
        align-items: start !important;
        flex-direction: column !important;
        gap: 15px
    }
}
