.services {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
}

.services__wrapper{
    gap: 5rem;
    display: flex;
    flex-direction: column;

}

.services__container {
    display: flex;
    align-items: center;
    width: 100%;
}

.reverse{
    flex-direction: row-reverse;
}

.services__text{
    padding-left: 2rem;
    padding-right: 1rem;
    line-height: 2;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.reverse .services__text{
    padding-left: 1rem;
    padding-right: 2rem;
}

.services__text{
  border-radius: 1rem 0 0 1rem;
}

.services__title{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--secondary-color);
}

.services__image{
    width: 50%;
    height: 280px;
    border-radius: 1rem;
    object-fit: cover;
    flex-shrink: 0;
    object-position: center;
}

@media screen and (max-width: 768px) {
    .services__wrapper{
        padding: 0 1rem;
    }
    .services__container{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .services__text{
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        gap: 10px;
    }

    .reverse .services__text{
        padding-left: 0;
        padding-right: 0;
    }

    .services__image{
        width: 100%;
        height: auto;
        aspect-ratio: 7/5;
        max-width: 600px;
        margin: 0 auto;
    }
    
}