.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 20px;
}
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #662D91;
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}
.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #662D91;
    border: 4px solid #fff;
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.timeline-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}
.timeline-item.left .timeline-content {
    width: 45%;
    margin-right: auto;
    margin-left: 0;
}
.timeline-item.right .timeline-content {
    width: 45%;
    margin-left: auto;
    margin-right: 0;
}
.timeline-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}
.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}
.timeline-text {
    padding: 20px;
}
.timeline-title {
    color: #662d91;
    font-size: 24px;
    margin: 0 0 10px 0;
    font-weight: 600;
}
.timeline-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}
.timeline-description {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-line { left: 30px; }
    .timeline-dot { left: 30px; }
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        margin-right: 0;
    }
    .timeline-title { font-size: 20px; }
    .timeline-date { font-size: 13px; }
    .timeline-description { font-size: 14px; }
}

/* Left aligned style */
.timeline-container.left .timeline-line { left: 30px; }
.timeline-container.left .timeline-dot { left: 30px; }
.timeline-container.left .timeline-item .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
    margin-right: 0;
}

/* Right aligned style */
.timeline-container.right .timeline-line { left: auto; right: 30px; }
.timeline-container.right .timeline-dot { left: auto; right: 30px; transform: translateX(50%); }
.timeline-container.right .timeline-item .timeline-content {
    width: calc(100% - 60px);
    margin-right: 60px;
    margin-left: 0;
}
