* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    margin-bottom: 5px;
}

.journey-section {
    padding: 30px 20px;
    margin-top: 80px;
    background: #0a3d2c;
    color: #fff;
}

.journey-header {
    text-align: center;
    margin-bottom: 20px;
}

.journey-header h2 {
    margin-bottom: 22px;
}

.journey-timeline-horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* ⬅ DESKTOP item di tengah */
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    padding: 60px 0;
    overflow-x: visible;
}

.journey-timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #f4c542;
    z-index: 1;
}

.timeline-item {
    background: #fff;
    color: #0a3d2c;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 220px;
    max-width: 250px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 0 auto;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.timeline-item .dot {
    width: 16px;
    height: 16px;
    background: #0a3d2c;
    border: 3px solid #f4c542;
    border-radius: 50%;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 14px;
    margin-bottom: 6px;
}

.timeline-item small {
    font-size: 12px;
    color: #555;
}

.timeline-item i {
    margin-right: 4px;
    color: #f4c542;
}

.journey-tab {
    font-size: 12px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid #f4c542;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.journey-tab i {
    color: #f4c542;
    font-size: 20px;
}

.journey-tab.active {
    background: #f4c542;
    color: #0a3d2c;
}

.journey-tab.active i {
    color: #0a3d2c;
}

.journey-tab:hover {
    background: #f4c542;
    color: #0a3d2c;
}

.timeline-item h3 i {
    color: #f4c542;
    margin-right: 6px;
    font-size: 22px;
}

.timeline-item small i {
    color: #f4c542;
    margin-right: 4px;
}

.highlight-yellow {
    color: #f9a825;
    font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .journey-timeline-horizontal {
        justify-content: flex-start; /* MOBILE scroll ke kiri */
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding: 30px 0;
    }

    .journey-timeline-horizontal::before {
        left: 0;
        right: 0;
        width: 100%;
    }

    .timeline-item {
        min-width: 150px;
        max-width: 170px;
        padding: 12px;
    }

    .timeline-item h3 {
        font-size: 14px;
    }

    .timeline-item p {
        font-size: 12px;
    }

    .timeline-item small {
        font-size: 10px;
    }

    .journey-timeline-horizontal::after,
    .journey-timeline-horizontal::before {
        content: '';
        flex: 0 0 20px;
    }
}

@media (max-width: 480px) {
    .journey-timeline-horizontal {
        gap: 8px;
    }

    .timeline-item {
        min-width: 130px;
        max-width: 150px;
        padding: 10px;
    }
}

/* Scrollbar rapi */
.journey-timeline-horizontal {
    scrollbar-width: thin;
}
.journey-timeline-horizontal::-webkit-scrollbar {
    height: 6px;
}
.journey-timeline-horizontal::-webkit-scrollbar-thumb {
    background: #f4c542;
    border-radius: 3px;
}
.journey-timeline-horizontal::-webkit-scrollbar-track {
    background: #0a3d2c;
}
