html {
    scroll-behavior: smooth;
}

.text-dark\/85 {
    color: rgba(31, 41, 55, 0.85);
}

.timeline-line {
    background: #1f2937;
}

.timeline-item {
    transition: all 0.3s ease;
}

.timeline-mini {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-card {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.timeline-item.active .timeline-card {
    display: block;
}

.timeline-item.active .timeline-mini {
    display: none;  
}

.timeline-dot {
    transition: all 0.3s ease;
    border: 2px solid #1f2937;
    
    background: white;
    box-shadow: 0 0 0 4px #1f2937;
}

.timeline-item.active .timeline-dot {
    background: #1f2937;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.2);
}

.nav-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #1f2937;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 30;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-button:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.nav-button svg {
    color: white;
}

.nav-button.up {
    top: -60px;
}

.nav-button.down {
    bottom: -60px;
}

.timeline-item.active .nav-button {
    display: flex;
}

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

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  .animate-gradient {
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
  }

/* .timeline-line {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6, #3b82f6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
}

.timeline-dot {
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1);
}

.timeline-dot.active {
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 1), 0 0 20px rgba(59, 130, 246, 0.5);
}

.timeline-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.95);
    opacity: 0;
}

.timeline-card.active {
    transform: scale(1);
    opacity: 1;
}

.timeline-mini {
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-mini:hover {
    transform: scale(1.05);
}

.nav-arrow {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-arrow.visible {
    opacity: 1;
}

.nav-arrow:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.timeline-item {
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-line {
        left: 20px !important;
    }
    
    .timeline-dot {
        left: 20px !important;
    }
}
 */






/* .timeline-item {
    transform: scale(0.9);
    opacity: 0.6;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.active {
    transform: scale(1);
    opacity: 1;
}

.timeline-item.active .timeline-dot {
    transform: translate(-50%, -50%) scale(2);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.2),
                0 0 0 16px rgba(59, 130, 246, 0.1);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.timeline-item.active .timeline-card {
    animation: cardSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.timeline-dot {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 20;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transition: all 0.6s ease;
}

.timeline-item.active .timeline-dot::before {
    width: 12px;
    height: 12px;
}

.nav-arrow {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(30, 41, 59, 0.8);
}

.nav-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.timeline-line {
    background: linear-gradient(180deg, #e2e8f0, #94a3b8, #e2e8f0);
    border-radius: 2px;
}

.timeline-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.timeline-title {
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-item.active .timeline-title {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item .w-1\/2 {
        width: 100%;
        padding: 0;
        margin-bottom: 1rem;
    }
} */