body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    margin: 0;
    padding: 1rem;
}

.process-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.image-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: clamp(10vw, 20vw, 25vw);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f6fa;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
    min-width: 120px;
    min-height: 120px;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.progress-ring circle {
    fill: none;
    stroke-width: 4;
}

.progress-ring circle.progress {
    stroke: url(#gradient);
    stroke-linecap: round;
    stroke-dasharray: 785;
    stroke-dashoffset: 785;
    transition: stroke-dashoffset 1s ease;
}

.image-wrapper img {
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    background: #e0e7ef;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    pointer-events: none;

}

.step-img.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}



.content {
    flex: 1 1 300px;
    text-align: left;
    max-width: 500px;
    min-width: 220px;
    padding: 1rem 1rem;
}

.content h2 {
    color: #002b5c;
    font-size: clamp(1.3rem, 2vw, 2rem);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.content p {
    color: #333;
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    line-height: 1.6;

}

.content button {
    background: linear-gradient(90deg, #00338D, #0091DA);
    color: #fff;
    border: none;
    padding: 0.7rem 1.6rem;
    margin-top: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
}

.content button:hover {
    opacity: 0.9;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}


.controls button {
    background: none;
    color: #00338D;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls button:hover {
    background: #00338D;
    color: white;
}

.step-counter {
    font-weight: bold;
    color: #002b5c;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .process-container {
        gap: 1.5rem;
        max-width: 100vw;
    }

    .content {
        max-width: 100vw;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .process-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .image-area {
        width: clamp(160px, 60vw, 320px);
    }

    .content {
        text-align: center;
        padding: 0.5rem 2rem;
    }

    .controls {
        margin-top: 1rem;
    }


}

@media (max-width: 480px) {
    .image-area {
        width: 90vw;
        min-width: 120px;
    }

    .content {
        min-width: 0;
        padding: 0.2rem 2rem;
    }
}