.hero {
    padding-top: 90px;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-background {
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 24px;
}

.hero-container {
    height: 630px;
    justify-content: space-between;
}

.hero-texts {
    width: 50%;
    align-items: flex-start;
    gap: 20px;
}

.hero-heading {
    margin-bottom: 16px;
}

.hero-par,
.hero-link {
    color: var(--white);
    transition: all .4s;
}

.hero-link {
    display: inline-flex;
}

.hero-link:hover {
    opacity: 0.7;
}

.hero-link-icon {
    margin-left: 10px;
    font-size: 13px;
    line-height: 1;
}

.hero-buttons {
    margin-top: 50px;
    gap: 25px;
}

.hero-image {
    width: 40%;
    border-radius: 24px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    object-fit: cover;
}


.about-container {
    justify-content: space-between;
}

.about-image {
    width: 545px;
    border-radius: 24px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    object-fit: cover;
}

.about-texts {
    width: 45%;
    align-items: flex-start;
}

.about-itens {
    align-items: flex-start;
    margin-top: 50px;
    gap: 30px;
}

.about-item {
    gap: 30px;
}

.about-value {
    font-size: 46px;
    font-weight: 600;
    line-height: 1em;
}

.about-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    opacity: 0.3;
}

.services {
    position: relative;
}

.services,
.services-container {
    padding-bottom: 0px;
}

.services-title,
.services-title-par {
    text-align: center;
}

.services-title-par {
    max-width: 800px;
    margin-bottom: 20px;
}

.services-cards {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    column-gap: 30px;
    row-gap: 16px;
    width: 100%;
    z-index: 1;
}

.services-card {
    align-items: flex-start;
    padding: 50px;
    gap: 20px;
    border-radius: 24px;
    background-color: var(--secondary-color);
}

.services-card-icon {
    width: 48px;
    margin-bottom: 20px;
}

.services-card-icon img {
    width: 100%;
    object-fit: contain;
}

.services-link {
    margin-top: 10px;

    color: var(--primary-color);
}

.services-absol-background {
    background-color: var(--primary-color);
    position: absolute;
    width: 100%;
    height: 211px;
    inset: auto 0% 0%;
}

.why {
    background-color: var(--primary-color);
    padding-top: 120px;
    padding-bottom: 0px;
}

.why-container {
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 0px;
}

.why-texts {
    width: 46%;
}

.why-texts * {
    color: var(--white);
}

.why-itens {
    align-items: flex-start;
    gap: 40px;
    padding-top: 20px;
}

.why-item {
    align-items: flex-start;
    gap: 20px;
}

.why-link {
    margin-top: 5px;
}

.why-image {
    width: 47%;
    max-width: 100%;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;

    object-fit: cover;
    min-height: 830px;
}

.outset {
    background-color: var(--secondary-color);
}

.outset-texts {
    margin-bottom: 60px;
    justify-content: space-between;
    align-items: flex-end;
}

.outset-title {
    max-width: 60%;
}

.outset-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    gap: 40px;
    width: 100%;
}

.outset-card {
    align-items: flex-start;
    gap: 10px;
}

.outset-card-image {
    margin-bottom: 20px;

    width: 100%;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
}

.outset-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-container {
    padding-top: 120px;
    padding-bottom: 120px;
}

.testimonial-card {
    margin-top: 70px;

    justify-content: space-between;
    align-items: flex-start;
}

.testimonial-name {
    font-family: var(--title-font-family);
    font-size: 22px;
}

.testimonial-review {
    width: 65%;

    font-size: 26px;
    line-height: 1.3em;
    text-align: left;
    letter-spacing: -.16px;
}

.cta {
    background-color: var(--primary-color);
    padding-top: 80px;
}

.cta-container {
    text-align: center;
}

.cta h2,
.cta p {
    color: var(--white);
    text-transform: none;
}

.cta p {
    margin-bottom: 40px;
}

.cta-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    opacity: 0.7;
    margin-top: 80px;
}

@media screen and (max-width: 991px) {
    .hero {
        padding-top: var(--header-height);
    }

    .hero-container {
        flex-direction: column-reverse;
        height: auto;
        padding: 60px 20px;
        gap: 40px;
    }

    .hero-image {
        width: 60%;
    }

    .hero-texts {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
    }

    .about-texts {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .hero-heading {
        margin-bottom: 0;
    }

    .services-title,
    .services-title-par {
        text-align: left;
        align-self: flex-start;
    }

    .services-title-par {
        max-width: none;
        margin-bottom: 20px;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .services-absol-background {
        height: 550px;
    }

    .why,
    .why-container {
        padding-bottom: 20px;
    }

    .why-container {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: center;
        gap: 30px;
    }

    .why-image {
        object-position: 50% 0%;
        border-radius: 24px;
        width: 100%;
        height: 400px;
        min-height: auto;
    }

    .why-texts {
        width: 100%;
    }

    .outset-texts {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 30px;
    }

    .outset-title {
        max-width: none;
    }

    .outset-cards {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 40px;
    }

    .testimonial-review {
        width: 100%;
    }
}

@media screen and (max-width: 479px) {
    .hero-container {
        padding-top: 20px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 1280px) {
    .hero {
        padding-left: 50px;
        padding-right: 50px;
    }
}