.process-timeline {
    padding: 120px 0;
    position: relative;
    background: #f6f6f6;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-heading {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 200;
    text-align: center;
    margin-bottom: 80px;
    color: #30373E; /* Changed from white to your heading color */
    position: relative;
}

.timeline-heading::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #DDB75D; /* Changed to your primary color */
}

.timeline-track {
    position: relative;
    padding: 40px 0;
}

.timeline-progress {
    position: absolute;
    left: 50px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #DDB75D 10%, #DDB75D 90%, transparent);
    opacity: 0.4; /* Reduced opacity for subtlety on light background */
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideIn 0.6s ease forwards;
    animation-delay: calc(var(--step) * 0.15s);
}

.timeline-step[data-step="1"] { --step: 1; }
.timeline-step[data-step="2"] { --step: 2; }
.timeline-step[data-step="3"] { --step: 3; }
.timeline-step[data-step="4"] { --step: 4; }
.timeline-step[data-step="5"] { --step: 5; }
.timeline-step[data-step="6"] { --step: 6; }

.step-marker {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161324; /* Changed from dark to white */
    border: 2px solid #DDB75D; /* Changed to primary color */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.marker-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, #DDB75D 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.timeline-step:hover .marker-glow {
    opacity: 0.3; /* Reduced for light background */
}

.timeline-step:hover .step-marker {
    background: #DDB75D; /* Primary color on hover */
    transform: scale(1.1);
    border-color: #DDB75D;
    box-shadow: 0 6px 20px rgba(177, 151, 119, 0.3);
}

.timeline-step:hover .step-num {
    color: #ffffff !important; /* White text on hover */
}

.step-num {
    font-size: 32px;
    font-weight: 700;
    color: #DDB75D; /* Primary color */
    transition: color 0.4s ease;
}

.step-content {
    flex: 1;
    padding-left: 50px;
    padding-top: 15px;
}

.step-heading {
    font-size: 24px;
    font-weight: 600 !important;
    color: #30373E; /* Your heading color */
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.timeline-step:hover .step-heading {
    color: #DDB75D; /* Primary color on hover */
}

.step-text {
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    position: relative;
    padding: 20px;
    background: #161324;
    border-radius: 12px;
    border: 1px solid rgba(177, 151, 119, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-text {
    background: #161324;
    border-color: rgba(177, 151, 119, 0.5);
    box-shadow: 0 4px 16px rgba(177, 151, 119, 0.15);
    transform: translateX(10px);
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .timeline-container {
        padding: 0 20px;
    }

    .timeline-heading {
        margin-bottom: 60px;
    }

    .timeline-progress {
        left: 35px;
    }

    .timeline-step {
        margin-bottom: 60px;
    }

    .step-marker {
        width: 70px;
        height: 70px;
    }

    .step-num {
        font-size: 24px;
    }

    .step-content {
        padding-left: 30px;
        padding-top: 5px;
    }

    .step-heading {
        font-size: 20px;
    }

    .step-text {
        font-size: 15px;
        padding: 15px;
    }

    .timeline-step:hover .step-text {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .timeline-progress {
        left: 25px;
    }

    .step-marker {
        width: 50px;
        height: 50px;
    }

    .step-num {
        font-size: 18px;
    }

    .step-content {
        padding-left: 20px;
    }

    .step-heading {
        font-size: 18px;
    }

    .step-text {
        font-size: 14px;
    }
}