.timeline-container {
    width: 100%;
    padding: 20px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, #4CAF50, #2E8B57);
    height: 100%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 30px;
}

.timeline-content {
    flex: 1;
}

.timeline-content.left {
    text-align: right;
    padding-right: 30px;
}

.timeline-content.right {
    text-align: left;
    padding-left: 30px;
}

.timeline-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.timeline-content.right .timeline-card {
    border-left: none;
    border-right: 4px solid #4CAF50;
}

.timeline-card h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    margin-top: 0;
}

.timeline-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(76,175,80,0.3);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-content.left,
    .timeline-content.right {
        text-align: left;
        padding: 0 0 0 50px;
        width: 100%;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-card {
        border-left: 4px solid #4CAF50 !important;
        border-right: none !important;
    }
}