/* Compact Timeline (Horizontal) */
.section-proses {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    /* Transparent for Galaxy BG */
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
    position: relative;
}

/* Connecting Line */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    display: block;
}

.timeline-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Number Node */
.timeline-node {
    width: 50px;
    height: 50px;
    background: #0f0f0f;
    border: 2px solid #e85a4f;
    /* Coral */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #e85a4f;
    font-size: 18px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(232, 90, 79, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node {
    background: #e85a4f;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(232, 90, 79, 0.5);
}

/* Content Box */
.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px 15px;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(232, 90, 79, 0.3);
}

.timeline-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive: Switch to Simple Vertical Grid (Not the giant timeline) */
@media (max-width: 900px) {
    .timeline-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .timeline-container::before {
        display: none;
        /* Hide line on tablet/mobile */
    }
}

@media (max-width: 600px) {
    .section-proses {
        padding: 40px 0;
    }

    .timeline-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    /* Mobile: Keep number centered on top (user request) */
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-node {
        margin-bottom: 16px;
        margin-right: 0;
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 15px;
    }

    .timeline-content p {
        font-size: 12px;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}