/* Process Section Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    --secondary-gradient: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --accent-gradient: linear-gradient(135deg, #10B981 0%, #84CC16 100%);
    --dark-bg: #0F172A;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.process-section {
    padding: 1.5rem 5% 2rem 5%;
    /* Reduced bottom padding from 100px */
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.process-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Animated background elements */
.process-floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.process-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: processFloat 20s infinite ease-in-out;
}

.process-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.process-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #3B82F6, #06B6D4);
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.process-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10B981, #84CC16);
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes processFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.process-header {
    text-align: center;
    margin-bottom: 15px;
    /* Further reduced */
    position: relative;
    z-index: 2;
}

.process-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #1E293B;
}

.process-gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.process-gradient-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.process-header p {
    font-size: 1.2rem;
    /* Changed from 1.3rem */
    color: #64748B;
    max-width: 600px;
    /* Changed from 700px */
    margin: 2px auto 0;
    font-weight: 400;
    line-height: 1.6;
    /* Changed from 1.7 */
}

/* Timeline style steps */
.process-steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 15px;
}

.process-step:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.step-number-container {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.process-step-1 .step-number-container {
    background: var(--primary-gradient);
    color: white;
}

.process-step-2 .step-number-container {
    background: var(--secondary-gradient);
    color: white;
}

.process-step-3 .step-number-container {
    background: linear-gradient(135deg, #EC4899 0%, #F97316 100%);
    color: white;
}

.process-step-4 .step-number-container {
    background: var(--accent-gradient);
    color: white;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: white;
}

.process-step-1 .step-icon {
    background: var(--primary-gradient);
}

.process-step-2 .step-icon {
    background: var(--secondary-gradient);
}

.process-step-3 .step-icon {
    background: linear-gradient(135deg, #EC4899 0%, #F97316 100%);
}

.process-step-4 .step-icon {
    background: var(--accent-gradient);
}

.process-step h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1E293B;
    text-align: center;
}

.process-step p {
    color: #64748B;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

/* Decorative connectors */
.step-connector {
    position: absolute;
    top: 40px;
    width: calc(100% - 310px);
    /* Adjusted width */
    height: 2px;
    background: linear-gradient(90deg,
            rgba(99, 102, 241, 0.5) 0%,
            rgba(99, 102, 241, 0.8) 50%,
            rgba(99, 102, 241, 0.5) 100%);
    z-index: 1;
    left: 155px;
    /* Adjusted left position */
}

.step-connector::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(99, 102, 241, 0.1) 0%,
            rgba(99, 102, 241, 0.3) 50%,
            rgba(99, 102, 241, 0.1) 100%);
    filter: blur(5px);
}

/* Stats bar */
.process-stats-bar {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    /* Reduced to 30px */
    background: rgba(99, 102, 241, 0.03);
    border-radius: 24px;
    padding: 15px 20px;
    /* Reduced from 40px */
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    z-index: 2;
}

.process-stat {
    text-align: center;
}

.process-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 2px;
    /* Reduced from 5px */
}

.process-stat-label {
    font-size: 0.95rem;
    color: #64748B;
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 1200px) {
    .process-steps-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 80px;
    }

    .process-step {
        flex: 0 0 calc(50% - 60px);
        max-width: calc(50% - 60px);
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-steps-container {
        gap: 20px;
        padding: 0 10px;
    }

    .process-header h2 {
        font-size: 2.5rem;
    }

    .process-step {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin: 0 0 20px 0;
        padding: 2px;
    }

    .process-step h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .process-step p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        font-size: 1.8rem;
        margin: 0 auto 20px;
    }

    .process-stats-bar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
        padding: 20px 10px;
    }

    .process-stat {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
        margin-bottom: 10px;
    }

    .process-section {
        padding: 60px 20px;
    }
}