/* ================================
   Process Section - COMPLETE
================================ */
.process-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 50%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.process-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.process-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
}

.process-circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
}

.process-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
}

/* Process Steps Container */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Process Step Card */
.process-step {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.process-step:hover::before {
    transform: scaleX(1);
}

/* Step Number */
.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    opacity: 0.25;
    transform: scale(1.1);
}

/* Step Icon */
.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.process-step:hover .step-icon {
    transform: rotateY(360deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.step-icon svg {
    stroke: white;
    transition: transform 0.4s ease;
}

.process-step:hover .step-icon svg {
    transform: scale(1.1);
}

/* Step Title */
.step-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.process-step:hover .step-title {
    color: #667eea;
}

/* Step Description */
.step-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Step Duration */
.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9ff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.process-step:hover .step-duration {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step-duration svg {
    stroke: currentColor;
}

/* Process CTA */
.process-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.process-cta-btn {
    text-decoration: none;
    font-family: 'Vazirmatn';
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.process-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.process-cta-btn:hover::before {
    left: 100%;
}

.process-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.process-cta-btn svg {
    transition: transform 0.3s ease;
}

.process-cta-btn:hover svg {
    transform: translateX(-5px);
}

/* Animation for Steps (on scroll - optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.process-step[data-step="1"] { animation-delay: 0.1s; }
.process-step[data-step="2"] { animation-delay: 0.2s; }
.process-step[data-step="3"] { animation-delay: 0.3s; }
.process-step[data-step="4"] { animation-delay: 0.4s; }
.process-step[data-step="5"] { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

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

    .step-icon svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 60px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step {
        padding: 30px 25px;
    }

    .step-number {
        font-size: 36px;
    }

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

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

    .process-cta-btn {
        font-size: 15px;
        padding: 16px 35px;
    }

    .process-circle-1,
    .process-circle-2 {
        width: 300px;
        height: 300px;
    }
}
