/* =========================================
   THE PATH (PROCESS) SECTION
   ========================================= */
.process-section {
    width: 100%;
    max-width: 1400px;
    margin: 1rem auto;
    padding: 1.5rem 2rem;
    background: #0a0a0a;
    border-radius: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
}

.process-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.process-header .itm-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.process-header .section-title {
    font-size: 3.5rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-header .section-subtitle {
    color: #666;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Vertical Line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(0, 210, 255, 0),
            rgba(0, 210, 255, 0.5),
            rgba(144, 17, 207, 0.5),
            rgba(144, 17, 207, 0));
    transform: translateX(-50%);
}

/* Timeline Item - General */
.timeline-item {
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    /* Centered dot */
    align-items: center;
    opacity: 0;
    /* Hidden for animation */
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Left vs Right Content */
.timeline-item .timeline-content {
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    /* Left aligned content */
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    /* Right aligned content */
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    padding-left: 2rem;
    text-align: left;
}

/* Central Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    /* Align with top of card */
    width: 16px;
    height: 16px;
    background: #0a0a0a;
    border: 2px solid #555;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.timeline-item.visible .timeline-dot {
    background: #00d2ff;
    /* Active color */
    border-color: #00d2ff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
}

.timeline-item:nth-child(even).visible .timeline-dot {
    background: #9011cf;
    /* Purple for even items */
    border-color: #9011cf;
    box-shadow: 0 0 20px rgba(144, 17, 207, 0.6);
}

/* Step Card Styles */
.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -1.5rem;
    transition: all 0.5s ease;
}

.timeline-item:nth-child(odd) .step-number {
    right: 3rem;
}

.timeline-item:nth-child(even) .step-number {
    left: 3rem;
}

.timeline-item.visible .step-number {
    color: rgba(255, 255, 255, 0.1);
    top: -2rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-weight: 400;
    color: white;
}

.step-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.step-card p {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .process-section {
        margin: 1.5rem auto;
        padding: 2rem 1.5rem;
    }

    .process-header {
        margin-bottom: 2rem;
    }

    .process-header .section-title {
        font-size: 2.5rem;
    }

    .timeline-item {
        margin-bottom: 1.5rem;
    }

    .step-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .process-section {
        margin: 1rem auto;
        padding: 1.5rem 1rem;
        border-radius: 24px;
    }

    .process-header {
        margin-bottom: 1.5rem;
    }

    .process-header .section-title {
        font-size: 2rem;
    }

    .process-header .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .timeline {
        padding: 0.5rem 0;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        justify-content: flex-start !important;
        margin-bottom: 1.5rem;
    }

    .timeline-item .timeline-content {
        width: 100%;
        margin-left: 50px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 20px;
        top: 1.5rem;
        width: 12px;
        height: 12px;
    }

    .step-number {
        left: auto !important;
        right: 0.5rem !important;
        top: 0.5rem !important;
        font-size: 1.5rem;
    }

    .step-card {
        padding: 1rem;
    }

    .step-card h3 {
        font-size: 1.2rem;
    }

    .step-card h4 {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }

    .step-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}