/*Services*/



#services-section .block-list {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;

    align-items: center;


}

#services-section .block-list .block {
    padding: 3rem;
    min-height: 8rem;
    max-width: 22rem;
    width: 90%;
    border: 1px solid var(--black-color);
    border-radius: 2rem;
    min-height: 8rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    box-shadow:
        0px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: 0.5s;
}

#services-section .block-list .block:hover {
    transform: translateY(-8px);
    box-shadow:
        0px 4px 9px -1px rgba(0, 0, 0, 1);
}

#services-section .block-list .block .title {
    font-size: var(--h3-size);
    font-weight: bold;
    padding: 4px;
    width: fit-content;
    border-radius: 4px;


}

#services-section .block-list .block .image {
    width: 100%;
    height: 196px;
    margin-top: 2rem;

    margin: 0 0 0;
}

#services-section .block-list .block .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#services-section .block-list .block:nth-child(3n - 2) {
    background-color: var(--gray-color);
}

#services-section .block-list .block:nth-child(3n - 2) .title {
    background-color: var(--primary-color);
}

#services-section .block-list .block:nth-child(3n - 1) {
    background-color: var(--primary-color);
}

#services-section .block-list .block:nth-child(3n - 1) .title {
    background-color: var(--gray-color);
}

#services-section .block-list .block:nth-child(3n) {
    background-color: var(--black-color);
}

#services-section .block-list .block:nth-child(3n) .title {
    background-color: var(--gray-color);
}

/*CTA Section*/

#cta-section {
    margin-top: 2rem;
    background-color: var(--gray-color);
    border-radius: 2rem;
    padding: 3rem;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#cta-section .title {
    font-size: var(--h3-size);
    font-weight: bold;
}

#cta-section img {
    display: none;
}

#cta-section .cta {
    width: 100%;
}

@media (min-width: 768px) {
    #cta-section img {
        display: block;
        position: absolute;
        right: calc(48px);
        top: -15%;
        height: 130%;
    }

    #cta-section p {
        max-width: 60%;
    }

    #cta-section .cta {
        width: fit-content;
    }
}

@media (min-width: 1024px) {}