.process-section {
    padding: 8rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(var(--accent-rgb), 0.03) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.process-section .section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-section .section-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 6rem;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-step {
    flex: 1;
    position: relative;
    padding: 0 1.5rem;
}

.step-wrapper {
    position: relative;
    padding-top: 4rem;
}

.step-number {
    position: relative;
    width: 0px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-number .number {
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--accent-color);
}

.step-number .number-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.step-number .number-bg circle {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transform: rotate(-90deg);
    transform-origin: center;
    animation: numberFill 1s ease-out forwards;
}

@keyframes numberFill {
    to {
        stroke-dashoffset: 0;
    }
}

/* Optional: Add hover effect */
.timeline-step:hover .step-number .number-bg circle {
    stroke-width: 3;
    transition: stroke-width 0.3s ease;
}

.timeline-step:hover .step-number {
    color: var(--accent-color);
}

.step-content {
    background: var(--background);
    border: 1px solid rgba(var(--text-rgb), 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    margin-top: -2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
    transform: rotate(-45deg);
}

.timeline-step:hover .step-icon {
    transform: rotate(225deg);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.step-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.step-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 0%;
    transform: translateY(-50%);
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(var(--accent-rgb), 0.3),
        rgba(var(--accent-rgb), 0.1)
    );
}

.timeline-step:last-child .step-connector {
    display: none;
}

@media (max-width: 1200px) {
    .process-section .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
    }

    .timeline-step {
        padding: 0;
    }

    .step-wrapper {
        padding-top: 3rem;
    }

    .step-number {
        font-size: 5rem;
    }

    .step-content {
        margin-top: -1.5rem;
    }

    .step-connector {
        right: 50%;
        top: auto;
        bottom: -3rem;
        width: 2px;
        height: 3rem;
        transform: translateX(50%);
        background: linear-gradient(
            to bottom,
            rgba(var(--accent-rgb), 0.3),
            rgba(var(--accent-rgb), 0.1)
        );
    }
}

@media (max-width: 576px) {
    .process-section {
        padding: 6rem 0;
    }

    .process-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 4rem;
    }

    .step-wrapper {
        padding-top: 2.5rem;
    }

    .step-number {
        font-size: 4rem;
    }

    .step-content {
        padding: 1.5rem;
        margin-top: -1rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

    .step-content p {
        font-size: 1rem;
    }
}
