* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.process-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background-color: white;
    overflow: hidden;
    padding: 0 64px;
}

.process-section-inner-wrapper {
    display: flex;
    flex-flow: row;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 1096px;
    gap: 160px;
}

.process-section-title-container {
    max-width: 536px;
}

.process-section-inner-wrapper > h2 {
    color: black;
    font-family: "Montserrat Alternates";
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 72.8px */
    letter-spacing: -1.6px;
    text-align: center;
    max-width: 872px;
}


.process-list-container {
    display: flex;
    gap: 48px;
    counter-reset: circle-numbers;
    list-style: none;
    color: black;
}

.process-list-item {
    max-width: 238px;
    counter-increment: circle-numbers;
    position: relative;
    font-family: Montserrat, sans-serif;
    text-align: center;
}

.process-list-item::before {
    display: flex;
    justify-content: center;
    align-items: center;
    content: counter(circle-numbers);
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    --size: 40px;
    left: calc(50% - 24px);
    line-height: var(--size);
    width: 40px;
    height: 40px;
    top: -72px;
    border-radius: 240px;
    text-align: center;
    z-index: 1;
    background: white;
    border: 1px solid black;
    color: black;
}

.process-list-item::after {
    content: '';
    position: absolute;
    top: -52px;
    left: 128px;
    width: calc(100% + 48px);
    height: 1px;
    background-color: black;
    z-index: 0;
}

.process-list-item:last-child::after {
    display: none;
}

.process-list-item:last-child::before {
    background-color: black;
    color: white;
}


.process-list-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 424px;
}

.process-list-text-container > h5 {
    color: black;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 100%; /* 24px */
    letter-spacing: -0.48px;
}

.process-list-text-container > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    opacity: 0.8;
    color: black;
    opacity: 50%;
}

/* Responsive Styles */

@media only screen and (max-width: 1256px) {
    .process-section {
        padding: 120px 40px;
    }
    
    .process-section-title-container {
        max-width: 480px;
    }

    .process-list-text-container > h5 {
        font-size: 20px;
    }
    
    .process-list-text-container > p {
        font-size: 14px;
    }

    .process-list-item::after {
        left: 96px;
    }
}

@media only screen and (max-width: 1048px) {
    .process-section {
        flex-direction: column;
        height: unset;
        padding: 120px 24px;
    }
    
    .process-section-inner-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 160px;
    }

    .process-section-title-container {
        max-width: 640px;
    }

    .process-section-inner-wrapper > h2 {
        font-size: 24px;
        letter-spacing: -1px;
        max-width: 640px;
    }

     .process-list-item::after {
        left: 80px;
    }

}

@media only screen and (max-width: 720px) {

    .process-section-inner-wrapper {
        align-items: start;
        gap: 80px;
    }

    .process-section-title-container {
        width: unset !important;
    }

    .process-list-text-container {
        align-items: start;
    }

    .process-section-inner-wrapper > h2 {
        text-align: left;
        font-size: 24px;
        letter-spacing: -1px;
    }

    .process-list-text-container > h5 {
        font-size: 18px;
    }
    
    .process-list-text-container > p {
        font-size: 14px;
    }

    .process-list-container {
        flex-direction: column;
        padding-left: 64px;
        gap: 38px;
    }

    .process-list-item {
        text-align: left;
    }

    .process-list-item::before {
        content: counter(circle-numbers);
        font-size: 16px;
        --size: 36px;
        left: calc(-1 * var(--size) - 26px);
        line-height: var(--size);
        width: var(--size);
        height: var(--size);
        top: 0px;
    }

    .process-list-item::after {
        left: -43px;
        height: calc(100% + 38px);
        top: 0px;
        width: 1px;
    }
}