/* =========================================
   Timeline Wrapper
   ========================================= */
.timeline-wrapper {
    position: relative;
    padding-left: 1.75rem; 
    border-left: 2px solid #e2e8f0; 
    margin-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* =========================================
   Timeline Item
   ========================================= */
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem; 
    padding-left: 1.5rem; 
}


.timeline-item:last-child {
    margin-bottom: 100px;
}

/* =========================================
   The Dot Design
   ========================================= */
.timeline-dot {
    position: absolute;
    left: calc(-2rem - 9px);
    top: 3px; 
    width: 25px;
    height: 25px;
    border-radius: 50%;
    
    background-color: #cbd5e1; 
    border: 3px solid #ffffff; 
    box-shadow: 0 0 0 1px #e2e8f0; 
    z-index: 1;
}

/* =========================================
   Dot Colors
   ========================================= */
.timeline-dot.work { background-color: #f59e0b; }      
.timeline-dot.personal { background-color: #10b981; }  
.timeline-dot.toph { background-color: #0ea5e9; }      
.timeline-dot.contest { background-color: #ef4444; }   
.timeline-dot.education { background-color: #94a3b8; }

/* =========================================
   Content Styling
   ========================================= */
.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.timeline-date {
    font-size: 0.85rem;
    color: #64748b;
    font-family: monospace;
    margin-bottom: 0.25rem;
}

.timeline-subtitle {
    font-size: 1rem;
    color: #475569;
    font-weight: 400;
    line-height: 1.5;
}

/* =========================================
   Hover Effect
   ========================================= */
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}