/* ============================================
   TIMELINE SECTION — Majestic Journey
   ============================================ */
.timeline-section {
    position: relative;
    padding: var(--space-28) 0;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-12) 0;
}

/* Central Glowing Line */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            var(--color-primary) 15%,
            var(--color-secondary) 85%,
            transparent 100%);
    box-shadow: 0 0 20px var(--color-primary);
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: var(--space-16);
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

/* Journey Card */
.timeline-journey-card {
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.4s ease;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-item:hover .timeline-journey-card {
    border-color: var(--color-primary);
    transform: scale(1.02);
    background: rgba(139, 92, 246, 0.05);
}

.timeline-year {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-4);
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
    opacity: 1;
    line-height: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
    background: linear-gradient(to left, #fff, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Connector Dot */
.timeline-dot {
    position: absolute;
    top: 30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
}

@media (max-width: 768px) {
    .timeline-wrapper::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 13px;
        right: auto;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        font-size: 2rem;
        margin-bottom: var(--space-4);
    }
}