/* Hero section */
.timeline-hero {
    position: relative;
    background: url('../img/timeline-hero.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.timeline-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.timeline-hero-content {
    position: relative;
    z-index: 2;
}

.timeline-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.timeline-hero-content p {
    font-size: 1.2rem;
}

/* Timeline container */
.timeline-section {
    padding: 60px 0;
    background: #f4f4f4;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding: 20px 0;
}

/* Garis tengah timeline */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #2196F3;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Timeline item */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
    margin-bottom: 60px; /* jarak antar item cukup */
}

/* Posisi kiri-kanan */
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

/* Titik di garis tengah */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #2196F3;
    border: 4px solid #fff;
    border-radius: 50%;
    top: 20px;
    right: -10px;
    z-index: 1;
}

.timeline-item.right::after { left: -10px; }

/* Konten timeline */
.timeline-content {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    position: relative;
}

/* Judul & teks */
.timeline-content h3 {
    margin-top: 0;
    color: #2196F3;
}

.timeline-content p {
    margin: 10px 0;
}

.timeline-content .status {
    font-weight: bold;
    margin-top: 10px;
}

/* Responsive: full width untuk mobile */
@media screen and (max-width:768px){
    .timeline-item, .timeline-item.left, .timeline-item.right { 
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 20px;
        margin-bottom: 40px;
    }
    .timeline-item::after { left: 50px; }
}


