.itw-timeline-wrapper {
    width: 100%;
    margin: 40px auto;
    font-family: inherit;
    position: relative;
    user-select: none;
    overflow: hidden;
}

/* Track Area */
.itw-track-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    padding: 20px 0;
}

.itw-timeline-track {
    flex-grow: 1;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
}

/* Connecting Horizontal Line */
.itw-line-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}

.itw-line-progress {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #4b88c4;
    width: 0%;
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.itw-nodes-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

/* Timeline bubble nodes */
.itw-node {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #4b88c4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.itw-node .itw-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4b88c4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.itw-node-year {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

/* Circular Zoom Sizes relative to Distance */
.itw-node.is-active {
    width: 90px;
    height: 90px;
    background-color: #4b88c4;
    border-color: #4b88c4;
}

.itw-node.is-active .itw-node-year {
    opacity: 1;
}

.itw-node.is-active .itw-dot {
    display: none;
}

.itw-node.is-near-1 {
    width: 54px;
    height: 54px;
}

.itw-node.is-near-1 .itw-dot {
    width: 8px;
    height: 8px;
}

.itw-node.is-near-2 {
    width: 36px;
    height: 36px;
}

.itw-node.is-near-2 .itw-dot {
    width: 6px;
    height: 6px;
}

.itw-node.is-far {
    width: 28px;
    height: 28px;
}

.itw-node.is-far .itw-dot {
    width: 5px;
    height: 5px;
}

/* Nav Buttons */
.itw-nav-btn {
    border: none;
    background-color: #4b88c4;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.itw-nav-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.itw-nav-btn svg {
    stroke: #ffffff;
}

/* Content slides */
.itw-content-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    min-height: 120px;
}

.itw-content-slide {
    display: none;
}

.itw-content-slide.is-active {
    display: block;
    animation: itwFadeInUp 0.4s ease forwards;
}

@keyframes itwFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.itw-active-year {
    font-size: 14px;
    font-weight: 700;
    color: #4b88c4;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.itw-active-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.itw-active-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}
