.step-by-step-container .wrapper {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-by-step-container .methods-note-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.step-by-step-container .service-title-card {
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px 0 var(--bleu-de-france-a10);
    background-color: var(--white);
}

.step-by-step-container .services .service-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: var(--polynesian-blue);
}

.step-by-step-container .service-title img {
    width: 32px;
    height: 32px;
}

.step-by-step-container .method-description {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.475rem;
    color: var(--black-a80);
    margin: 0 0 1rem 0;
}

.step-by-step-container .method-description a {
    color: var(--bleu-de-france);
    text-decoration: none;
}

.step-by-step-container .method-description a:hover {
    color: var(--celtic-blue);
    text-decoration: 2px solid underline var(--celtic-blue-a30);
}

.step-by-step-container .steps-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 2rem 0 1.5rem 0;
}

.step-by-step-container .steps-intro {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.475rem;
    color: var(--black-a80);
    margin: 0 0 2rem 0;
}

.step-by-step-container .cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0 0 0;
}

.step-by-step-container .cards::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-radius: 4px;
    background: var(--celtic-blue-a50);
    z-index: 0;
}

.step-by-step-container .card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    padding-top: 3rem;
    box-shadow: 0 0 32.14px 0 var(--polynesian-blue-a10);
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.step-by-step-container .card::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bleu-de-france);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--bleu-de-france-a40);
    z-index: 3;
}

.step-by-step-container .card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    text-align: center;
}

.step-by-step-container .card-image {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    border: 2px solid var(--polynesian-blue-a20);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}

.step-by-step-container .card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .step-by-step-container {
        padding: 3rem 0;
    }

    .step-by-step-container .wrapper {
        padding: 0 1.5rem;
    }

    .step-by-step-container .service-title-card {
        padding: 1rem 1.5rem;
    }

    .step-by-step-container .service-title {
        font-size: 24px;
    }

    .step-by-step-container .service-title img {
        width: 28px;
        height: 28px;
    }

    .step-by-step-container .method-description,
    .step-by-step-container .steps-intro {
        font-size: 1rem;
    }

    .step-by-step-container .steps-section-title {
        font-size: 20px;
    }

    .step-by-step-container .card {
        padding: 1.5rem;
        padding-top: 2.5rem;
    }

    .step-by-step-container .cards {
        gap: 2rem;
        padding: 0;
    }

    .step-by-step-container .cards::before {
        display: none;
    }
    
    .step-by-step-container .card::before {
        display: none;
    }
}

@media (max-width: 500px) {
    .step-by-step-container {
        padding: 2rem 0;
    }

    .step-by-step-container .wrapper {
        padding: 0 1rem;
    }

    .step-by-step-container .methods-note-title {
        font-size: 20px;
    }

    .step-by-step-container .service-title-card {
        padding: 1rem;
    }

    .step-by-step-container .service-title {
        font-size: 22px;
    }

    .step-by-step-container .service-title img {
        width: 24px;
        height: 24px;
    }

    .step-by-step-container .method-description,
    .step-by-step-container .steps-intro {
        font-size: 0.9rem;
    }

    .step-by-step-container .steps-section-title {
        font-size: 18px;
    }

    .step-by-step-container .card-title {
        font-size: 18px;
    }
}