.hero__section {
    background-color: #000000;
    color: #ffffff;
    margin-top: 3.75rem;
}
.hero__section .container {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
}
.hero__section .container div:nth-child(2) {
    max-width: 300px;
    margin: 0 auto;
}
.hero__section .container div:nth-child(2) img {
    aspect-ratio: 1/1;
    width: 100%;
}
.hero_section_cta_wrapper > a {
    cursor: pointer;
    min-width: 10rem;
    max-width: 100%;
    text-decoration: none;
    font-size: 0.875rem;
    text-align: center;
    flex-basis: 100%;
}

.hero_section_cta_wrapper {
    margin-top: 1rem;
}

.hero_section_cta_wrapper > a {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    display: inline-block;
    width: 100%;
}
.hero__section h1 {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 3rem;
}
.hero__section p {
    font-weight: 300;
    font-size: 0.875rem;
    padding: 1rem 0;
    line-height: 1.875rem;
    max-width: 500px;
}
.lone__section {
    text-align: center;
    padding: 2rem 0;
}
.lone__section h2 {
    font-weight: 300;
    font-size: 1.35rem;
}
.lone__section p {
    font-weight: 300;
    font-size: 0.875rem;
    padding-top: 1.35rem;
    line-height: 1.65rem;
}
.discover-services__section {
    background-repeat: no-repeat;
    background-color: #000000;
    padding: 2rem 0;
    color: white;
}
.discover-services__section h2 {
    font-weight: 300;
    font-size: 1.35rem;
}
.discover-services__section .image-services-grid {
    display: grid;
    gap: 1rem;
    padding-top: 1.5rem;
}
.discover-services__section .image-services-grid a {
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    border: 2px solid white;
    padding: 2rem;
    border-radius: 0.8rem;
    background-color: #0000008d;
    background-blend-mode: multiply;
    font-weight: bold;
    font-size: 1rem;
    height: 200px;
    display: grid;
    place-items: center;
    background-position: center;
    background-size: 150%;
    background-repeat: no-repeat;
}
.discover-services__section .image-services-grid a:nth-child(1) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734604027/image_fx__-_2024-12-11T121849.103_bgpwum.png");
}
.discover-services__section .image-services-grid a:nth-child(2) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734604035/image_fx__-_2024-12-11T122901.037_jerhds.png");
}
.discover-services__section .image-services-grid a:nth-child(3) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734604051/image_fx__-_2024-12-19T090809.328_x363wk.png");
}
.discover-services__section .image-services-grid a:nth-child(4) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734604027/image_fx__-_2024-12-11T121849.103_bgpwum.png");
}
.discover-services__section .image-services-grid a:nth-child(5) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734603471/image_fx__-_2024-12-19T090904.123_rqplpa.png");
}
.discover-services__section .image-services-grid a:nth-child(6) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734603470/image_fx__-_2024-12-19T091241.762_g7lhf9.png");
}
.discover-services__section .image-services-grid a:nth-child(7) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734603464/image_fx__-_2024-12-19T091430.136_ilkw3y.png");
}
.discover-services__section .image-services-grid a:nth-child(8) {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/v1734604013/image_fx__-_2024-12-19T092146.933_h1aoxc.png");
}

@media (min-width: 500px) and (max-width: 1024px) {
    .hero__section h1 {
        text-align: center;
    }
}
@media (min-width: 500px) {
    .hero_section_cta_wrapper > a {
        max-width: 19.75rem;
        margin: 0 auto;
    }
    .hero_section_cta_wrapper {
        display: flex;
        justify-content: center;
        padding-bottom: 2rem;
    }
    .discover-services__section .image-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .lone__section h2 {
        font-size: 1.5rem;
    }
    .lone__section p {
        font-size: 1rem;
        padding-top: 1.35rem;
        line-height: 1.65rem;
    }
}

@media (min-width: 800px) {
    .discover-services__section .image-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .discover-services__section h2 {
        font-size: 1.75rem;
    }
    .lone__section h2 {
        font-size: 1.8rem;
    }
    .lone__section p {
        font-size: 1.12rem;
        padding-top: 1.35rem;
        line-height: 1.65rem;
        max-width: 75%;
        margin: 0 auto;
    }
}
@media (min-width: 1024px) {
    .hero_section_cta_wrapper {
        display: block;
        padding-bottom: 0;
    }

    .hero__section {
        margin-top: 3.75rem;
    }
    .hero__section .container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0;
    }
    .hero__section .container div:nth-child(2) {
        min-width: 500px;
        min-height: 500px;
        margin: 0;
    }
    .hero_section_cta_wrapper > a {
        cursor: pointer;
        min-width: 10rem;
        text-decoration: none;
        font-size: 0.875rem;
        text-align: center;
        flex-basis: 100%;
    }

    .hero_section_cta_wrapper {
        margin-top: 1.5rem;
    }

    .hero_section_cta_wrapper > a {
        background-color: var(--primary);
        color: var(--white);
        border: none;
        padding: 1rem;
        display: inline-block;
        width: 100%;
    }
    .hero__section h1 {
        font-weight: 400;
        font-size: 2.4rem;
        line-height: 3rem;
    }
    .hero__section p {
        font-weight: 300;
        font-size: 1rem;
        padding: 2rem 0;
        line-height: 1.875rem;
    }
    .discover-services__section {
        padding: 4rem 0;
    }
    .discover-services__section h2 {
        font-size: 2rem;
        padding-bottom: 1rem;
    }
    .discover-services__section .image-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .lone__section {
        padding: 4rem 0;
    }
    .discover-services__section .image-services-grid div {
        font-size: 1.3rem;
    }
}
