.bbt_timeline {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
    padding: 150px 15px 80px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #fff;
}

.bbt_timeline *,
.bbt_timeline *::before,
.bbt_timeline *::after {
    box-sizing: border-box;
}

.bbt_timeline .timeline_line {
    position: absolute;
    left: 50%;
    top: 55px;
    width: 11px;
    height: 0;
    background-color: #f5c518;
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.6s ease-out;
}

.bbt_timeline .timeline_line::after {
    display: none;
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #f5c518;
}

.bbt_timeline .timeline_intro_dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #0e1b2e;
    border-radius: 50%;
    border: 7px solid #FECD06;
    z-index: 3;
}

.bbt_timeline .timeline_intro {
    position: relative;
    margin-bottom: 100px;
    z-index: 1;
}

.bbt_timeline .timeline_intro_card {
    position: relative;
    width: 100%;
    margin-top: 24px;
    display: flex;
    background: linear-gradient(to right, #ffffff, #ffffff 80%, #0000ff00 80%, #0000ff00);
    align-items: flex-start;
}

.bbt_timeline .timeline_intro_text {
    width: 300px;
    padding: 35px;
    display: flex;
    align-items: center;
}

.bbt_timeline .timeline_intro_text_inner p {
    color: #172651;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.4em;
    font-family: 'Bebas Neue', display;
    margin: 0;
}

.bbt_timeline .timeline_intro_image {
    flex: 1;
    transform: translateY(-50px);
}

.bbt_timeline .timeline_intro_image img,
.bbt_timeline .timeline_intro_image video {
    width: 100%;
    display: block;
}

.bbt_timeline .video_controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.bbt_timeline .video_btn {
    backdrop-filter: blur(10px);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgb(0 0 0 / 25%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.bbt_timeline .video_btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.bbt_timeline .timeline_item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 70px;
    z-index: 1;
    justify-content: space-between;
}

.bbt_timeline .timeline_item:nth-child(odd) {
    flex-direction: row;
}

.bbt_timeline .timeline_item:nth-child(even) {
    flex-direction: row-reverse;
}

.bbt_timeline .timeline_side {
    width: calc(50% - 55px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bbt_timeline .timeline_item:nth-child(even) .timeline_side {
    align-items: flex-start;
}

.bbt_timeline .timeline_image img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.bbt_timeline .timeline_center {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.bbt_timeline .timeline_badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 201px;
    height: 86px;
    text-align: center;
    z-index: 2;
}

.bbt_timeline .timeline_badge:before {
    content: '';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 85%;
    left: 0;
    background-image: url(../img/arrow_right_img.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.bbt_timeline .timeline_item:nth-child(odd) .timeline_badge:before {
    background-image: url(../img/arrow_left_img.svg);
    left: 0;
}

.bbt_timeline .timeline_badge p {
    color: #000;
    font-size: 40px;
    font-weight: 600;
    font-family: 'Bebas Neue', display;
    position: relative;
    z-index: 99;
    margin-bottom: 0;
    padding-top: 3px;
}

.bbt_timeline .timeline_label {
    width: calc(50% - 120px);
    padding: 0 16px;
}

.bbt_timeline .timeline_label p {
    font-size: 20px;
    color: #fff;
    line-height: 1.5em;
    font-weight: 500;
    font-family: 'Open Sans', Arial, sans-serif;
    max-width: 355px;
    margin: 0;
}

.bbt_timeline .timeline_item:nth-child(even) .timeline_label {
    text-align: left;
}

.bbt_timeline .timeline_item:nth-child(even) .timeline_label p {
    margin-left: auto;
}

.bbt_timeline .timeline_item:nth-child(odd) .timeline_label p {
    margin-right: auto;
}

/* Entry animations */
.bbt_timeline .timeline_intro {
    transform: translateY(30px);
    transition: transform 0.7s ease-out;
}

.bbt_timeline .timeline_intro.is_visible {
    transform: translateY(0);
}

.bbt_timeline .timeline_item {
    transform: translateY(40px);
    transition: transform 0.6s ease-out;
}

.bbt_timeline .timeline_item.is_visible {
    transform: translateY(0);
}

.bbt_timeline .timeline_intro_dot {
    transform: translateX(-50%) scale(0);
    transition: transform 0.4s ease-out;
}

.bbt_timeline .timeline_intro_dot.is_visible {
    transform: translateX(-50%) scale(1);
}

@media(max-width: 1024px) {
    .bbt_timeline .timeline_intro_text_inner p {
        font-size: 32px;
        line-height: 1.4em;
    }

    .bbt_timeline .timeline_intro_text {
    }

    .bbt_timeline .timeline_intro_image {
        transform: translateY(-30px);
    }

    .bbt_timeline .timeline_item {
        margin-bottom: 50px;
    }

    .bbt_timeline .timeline_label p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .bbt_timeline .timeline_line {
        left: 30px;
    }

    .bbt_timeline .timeline_intro {
        padding-left: 0px;
        margin-bottom: 60px;
    }

    .bbt_timeline .timeline_intro_dot {
        left: 5px;
        transform: scale(0);
    }

    .bbt_timeline .timeline_intro_dot.is_visible {
        transform: scale(1);
    }

    .bbt_timeline .timeline_intro_card {
        flex-direction: column-reverse;
        margin-left: 45px;
        background: #fff;
        margin-right: 0px;
        width: auto;
    }

    .bbt_timeline .timeline_intro_text {
        padding: 15px;
        width: auto;
    }

    .bbt_timeline .timeline_intro_text_inner p {
        font-size: 18px;
    }

    .bbt_timeline .timeline_intro_image {
        transform: translateX(-50px);
        margin-top: -50px;
    }

    .bbt_timeline .timeline_item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 48px;
        padding-left: 42px;
    }

    .bbt_timeline .timeline_item:nth-child(even),
    .bbt_timeline .timeline_item:nth-child(odd) {
        flex-direction: column;
    }

    .bbt_timeline .timeline_center {
        position: absolute;
        left: 0;
        top: 14px;
        transform: none;
        width: 80px;
    }

    .bbt_timeline .timeline_badge {
        width: 120px;
        height: 64px;
    }

    .bbt_timeline .timeline_badge p {
        font-size: 28px;
        text-align: right;
        padding-left: 0px;
        width: 100%;
        padding-right: 40px;
    }
    
    .bbt_timeline .timeline_item:nth-child(even) .timeline_label p,
    .bbt_timeline .timeline_item:nth-child(odd) .timeline_label p {
        max-width: 100%;
        margin: 0px;
    }

    .bbt_timeline .timeline_side {
        width: 100%;
        align-items: flex-start;
        margin-top: 44px;
    }

    .bbt_timeline .timeline_item:nth-child(even) .timeline_side {
        align-items: flex-start;
    }

    .bbt_timeline .timeline_label p {
        font-size: 16px;
    }

    .bbt_timeline .timeline_image {
        width: 100%;
    }

    .bbt_timeline .timeline_label {
        width: 100%;
        padding: 8px 0 0;
        text-align: left;
        font-size: 13px;
    }

    .bbt_timeline .timeline_item:nth-child(even) .timeline_label {
        text-align: left;
    }

    .bbt_timeline .timeline_item:nth-child(odd) .timeline_badge:before{
        background-image: url(../img/arrow_right_img.svg);
    }
}
