/* Process Section Styles */
.process-section {
    position: relative;
    min-height: 100vh;
    background-color: #000000;
    color: white;
    overflow: hidden;
    padding: 60px 0;
}

.process-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(2px 2px at calc(random(100) * 1vw) calc(random(100) * 1vh),
            rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at calc(random(100) * 1vw) calc(random(100) * 1vh),
            rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at calc(random(100) * 1vw) calc(random(100) * 1vh),
            rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0));
}

.process-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.process-title {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(to right, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

.process-description {
    color: #9ca3af;
    font-size: 18px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: bahnschrift;
}

.globe-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    margin-top: 80px;
}

.globe-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: grab;
    display: block;
}

.process-steps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Allow interaction with globe underneath */
}

.process-step {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    z-index: 10;
    transition: transform 0.3s ease;
}

.step-number {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.step-title {
    color: #10b981;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.process-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.2);
    background: radial-gradient(circle at center, transparent, rgba(16, 185, 129, 0.05));
    pointer-events: none;
    box-shadow: inset 0 0 50px rgba(16, 185, 129, 0.1), 0 0 30px rgba(16, 185, 129, 0.1);
}

/* Position each step precisely in a circle */
.process-step:nth-child(1) {
    /* Identify and simplify */
    left: -15%;
    top: 50%;
}

.process-step:nth-child(2) {
    /* Build & develop */
    left: 0%;
    top: 15%;
}

.process-step:nth-child(3) {
    /* Test & verify */
    left: 50%;
    top: 0%;
}

.process-step:nth-child(4) {
    /* Quality and Fitness */
    left: 100%;
    top: 15%;
}

.process-step:nth-child(5) {
    /* Scale & Deploy */
    left: 115%;
    top: 50%;
}

.process-step:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.process-step:hover .step-number {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .globe-container {
        width: 400px;
        height: 400px;
    }

    .process-circle {
        width: 80%;
        height: 80%;
    }

    .process-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .process-step:nth-child(1) {
        /* Identify and simplify */
        left: 0%;
        top: 15%;

    }

    .process-step:nth-child(2) {
        /* Build & develop */
        left: 50%;
        top: 0%;

    }

    .process-step:nth-child(3) {
        /* Test & verify */
        left: 100%;
        top: 15%;

    }

    .process-step:nth-child(4) {
        /* Quality and Fitness */
        left: 100%;
        top: 85%;

    }

    .process-step:nth-child(5) {
        /* Scale & Deploy */
        left: 0%;
        top: 85%;
    }

    .globe-container {
        width: 250px;
        height: 250px;
    }

    .process-circle {
        width: 80%;
        height: 80%;
    }

    .step-number {
        width: 36px;
        height: 36px;
    }

    .process-title {
        font-size: 28px;
    }
}