.timeline-section {
    padding: 60px 20px;
    text-align: center;
}

.timeline-section h1 {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.timeline-section h2 {
    color: #363636;
    margin-bottom: 50px;
    font-weight: normal;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* Linia verticală */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #94a3b8;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

/* Item */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

/* Cerc pe linie */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -12px;
    background-color: white;
    border: 3px solid #ff9700;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -12px;
}

/* Card */
.content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: left;
}

.year {
    display: inline-block;
    background-color: #ff9700;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.intro {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    font-weight: bold;
}

.era-title {
    text-align: center;
    background: linear-gradient(135deg, #ff9700, #ffb347);;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    width: fit-content;
    margin: 2rem auto;
    position: relative;
    z-index: 1;
}

.content h3 {
    margin-bottom: 10px;
    color: #1e293b;
}

.content p {
    font-size: 14px;
    color: #475569;
}

/* Responsive */
@media screen and (max-width: 768px) {

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 22px;
    }

    .right {
        left: 0%;
    }
}