.viktec-history-timeline .horizontal-timeline-section {
    background-color: transparent;
    padding: 10px 0 60px;
    color: #191919;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.viktec-history-timeline .timeline-viewport {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    box-sizing: border-box;
}

.viktec-history-timeline .fixed-center-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #8dc132;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    border-radius: 100px;
}

.viktec-history-timeline .bar-content {
    display: flex;
    align-items: center;
    padding-left: 5%;
    gap: 20px;
}

.viktec-history-timeline .bar-logo {
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    padding-bottom: 4px;
}

.viktec-history-timeline .bar-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.viktec-history-timeline .timeline-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: absolute;
    left: 0;
}

.viktec-history-timeline .timeline-item {
    width: 320px;
    flex-shrink: 0;
    position: relative;
    height: 100%;
}

.viktec-history-timeline .timeline-card {
    width: 260px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #333333;
    border-radius: 8px;
    padding: 20px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.viktec-history-timeline .timeline-item:hover .timeline-card {
    border-color: #8dc132;
    background: rgba(141, 193, 50, 0.08);
    transform: scale(1.03);
    z-index: 5;
}

.viktec-history-timeline .card-year {
    font-size: 28px;
    font-weight: 800;
    color: #8dc132;
    margin-bottom: 10px;
}

.viktec-history-timeline .card-text {
    font-size: 15px;
    line-height: 1.5;
    color: #191919;
    font-weight: 500;
}

.viktec-history-timeline .card-image {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 12px;
}

.viktec-history-timeline .item-top .timeline-card {
    bottom: calc(50% + 70px);
}

.viktec-history-timeline .item-top::before {
    content: "";
    position: absolute;
    left: 130px;
    width: 2px;
    background-color: #555555;
    bottom: calc(50% + 30px);
    height: 40px;
    transition: background-color 0.3s ease;
}

.viktec-history-timeline .item-bottom .timeline-card {
    top: calc(50% + 70px);
}

.viktec-history-timeline .item-bottom::before {
    content: "";
    position: absolute;
    left: 130px;
    width: 2px;
    background-color: #555555;
    top: calc(50% + 30px);
    height: 40px;
    transition: background-color 0.3s ease;
}

.viktec-history-timeline .timeline-item:hover.item-top::before,
.viktec-history-timeline .timeline-item:hover.item-bottom::before {
    background-color: #8dc132;
}

.viktec-history-timeline .timeline-controls {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
}

.viktec-history-timeline .nav-btn {
    background: transparent;
    border: 2px solid #191919;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #191919;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.viktec-history-timeline .nav-btn:not(.play-pause-btn):hover {
    border-color: #8dc132;
    color: #8dc132;
}

.viktec-history-timeline .nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.viktec-history-timeline .play-pause-btn {
    width: 60px;
    height: 60px;
    border: none;
    position: relative;
    padding: 0;
}

.viktec-history-timeline .progress-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.viktec-history-timeline .progress-track {
    fill: transparent;
    stroke: #333333;
    stroke-width: 3;
}

.viktec-history-timeline .progress-circle {
    fill: transparent;
    stroke: #8dc132;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 175.93;
    stroke-dashoffset: 175.93;
}

.viktec-history-timeline .icon-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .viktec-history-timeline .bar-logo {
        height: 18px;
    }

    .viktec-history-timeline .bar-title {
        font-size: 15px;
    }

    .viktec-history-timeline .bar-content {
        gap: 12px;
        padding-left: 15px;
    }

    .viktec-history-timeline .timeline-viewport {
        height: 460px;
        padding: 0 15px;
    }

    .viktec-history-timeline .fixed-center-bar {
        top: 80%;
    }

    .viktec-history-timeline .item-top .timeline-card,
    .viktec-history-timeline .item-bottom .timeline-card {
        top: auto;
        bottom: calc(20% + 60px);
    }

    .viktec-history-timeline .item-top::before,
    .viktec-history-timeline .item-bottom::before {
        top: auto;
        bottom: calc(20% + 30px);
    }
}
