/* About - Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Center Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--surface-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: "";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: 10px solid transparent;
    border-left-color: var(--surface-color);
}

.right::before {
    content: "";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: 10px solid transparent;
    border-right-color: var(--surface-color);
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.timeline-item:hover::after {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.timeline-content h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: 10px solid transparent;
        border-right-color: var(--surface-color);
    }

    .left::after,
    .right::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }
}