/* Reset css */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Fonts */

@font-face {
    font-family: "Nespresso Lucas Regular";
    src: url("./assets/fonts/NespressoLucas-Regular.woff2") format("woff2"),
        url("./assets/fonts/NespressoLucas-Regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Nespresso Lucas Medium";
    src: url("./assets/fonts/NespressoLucas-Medium.woff2") format("woff2"),
        url("./assets/fonts/NespressoLucas-Medium.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Nespresso Lucas Bold";
    src: url("./assets/fonts/NespressoLucas-Bold.woff2") format("woff2"),
        url("./assets/fonts/NespressoLucas-Bold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Nespresso Lucas Light";
    src: url("./assets/fonts/NespressoLucas-Light.woff2") format("woff2"),
        url("./assets/fonts/NespressoLucas-Light.woff") format("woff");
    font-display: swap;
}

/* Smooth Scroll */

html {
    scroll-behavior: smooth;
}

/* Top Swiper */

.top-swiper {
    width: 100%;
    height: auto;
}

.top-swiper_image-desktop {
    display: block;
}

.top-swiper_image-mobile {
    display: none;
}

.top-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.swiper-pagination-bullet {
    background: transparent;
    opacity: 1;
    border: 1px solid #ffffff;
    height: .5rem;
    width: .5rem;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

/* Nav */

.nav-swiper {
    width: 53rem;
    height: 3.8rem;
    background-color: #B59B69;
    border-radius: 5.625rem;
    margin-top: 1.45rem;
}

.nav-swiper .swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 300;
    text-decoration: none;
    font-family: "Nespresso Lucas Light";
    opacity: 1;
}

.swiper-button-disabled {
    display: none;
}

.nav-swiper .swiper-slide:not(.last-slide):after {
    content: "";
    position: absolute;
    right: 0;
    height: 2.1875rem;
    width: 0.0625rem;
    background-color: #fff;
}

.nav-swiper .swiper-slide:nth-of-type(1) {
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1rem;
}

/* Title Bold */

.title-bold {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.62rem 0;
}

.title-bold h1 {
    font-size: 3.75rem;
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
    margin-top: 2.5rem;
    text-align: center;
    text-transform: uppercase;
}

/* Two Images */

.two-images {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .2rem;
}

.two-images__left,
.two-images__right {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-images__left img,
.two-images__right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

/* Title Cta */

.title-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4.12rem 0;
    gap: 2.25rem;
}

.title-cta h1 {
    font-size: 3.75rem;
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
    text-align: center;
    text-transform: uppercase;
}

.title-cta a {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 1.44rem 2.5rem;
    background-color: #D7B2A2;
    border-radius: 12.5rem;
    font-family: "Nespresso Lucas Medium";
    text-transform: uppercase;
}

.title-cta .cta-second {
    background-color: #B59B69;
}

/* Images Text */

.image-text-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4.63rem 3.16rem;
    gap: 4.25rem;
    background-color: #E5DBD2;
}

.image-text-box__title {
    font-size: 3.75rem;
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
    text-align: center;
    text-transform: uppercase;
}

.image-text-box__container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FEFEFC;
    height: 25.6875rem;
}

.image-text-box__image{
    width: 25.25rem;
    height: 100%;
    object-position: center center;
    object-fit: cover;
}

.image-text-box__text-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 11rem;
    gap: 1.88rem;
    font-size: 1rem;
    line-height: 1.4375rem;
    font-weight: 300;
    font-family: "Nespresso Lucas Light";
    text-align: center;
}

.image-text-box__text-container span {
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
}

.image-text-box__text-container .certificated {
    position: absolute;
    bottom: 3rem;
    right: 4.06rem;
    width: 2.125rem;
    height: auto;
}

.image-text-box__text-container a {
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
    color: #000;
    text-decoration: none;
}

/* Services */

.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4.63rem 0;
    gap: 3rem;
}

.services__title {
    font-size: 3.75rem;
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
    text-align: center;
    text-transform: uppercase;
}

.image-text{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8.6rem;
    padding: 0 8.3rem 0 3.2rem;
}

.reverse {
    flex-direction: row-reverse;
    padding: 0 3.2rem 0 8.3rem;
}

.image-text__image {
    width: 41.25rem;
    height: 24.5rem;
    object-position: center center;
    object-fit: cover;
}

.image-text__text {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 300;
    font-family: "Nespresso Lucas Light";
    text-align: left;
}

.image-text__text p {
    line-height: 1.4375rem;
}

.image-text__text span {
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
}

.image-text__text h2 {
    font-size: 2rem;
    font-weight: 700;
    font-family: "Nespresso Lucas Bold";
    text-transform: uppercase;
    line-height: 2.25rem;
}

.services-swiper {
    display: none;
}

/* Responsive */

@media screen and (max-width: 1421px){
    .image-text-box__text-container {
        padding: 0 5rem;
    }
}

@media screen and (max-width: 1230px){
    .image-text-box__text-container {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 1100px) {
    .image-text {
        gap: 4.5rem;
    }

    .image-text__image {
        width: 24.5rem;
        height: 24.5rem;
    }

    .image-text-box__text-container{
        gap: 1.2rem;
    }

    .image-text-box__text-container .certificated {
        bottom: 2rem;
        right: 2.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .nav-swiper {
        width: 90%;
        height: 3.8rem;
        margin-top: 1.45rem;
    }

    .nav-swiper .swiper-slide:not(.last-slide):after {
        height: 1.875rem;
    }

    .title-cta h1 {
        font-size: 2.5rem;
    }

    .image-text__text {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 999px){
    .image-text-box {
        padding: 3.12rem .8rem 1.7rem .8rem;
        gap: 2rem;
    }

    .image-text-box__title {
        font-size: 2.1875rem;
    }

    .image-text-box__image{
        width: 100%;
        height: 21.1875rem;
        object-position: center center;
        object-fit: cover;
    }

    .image-text-box__container {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .image-text-box__text-container{
        padding: 2.59rem 11rem;
        gap: 1.88rem;
    }

    .image-text-box__text-container .certificated {
        display: none;
    }
}

@media screen and (max-width: 860px){
    .services{
        padding: 3.12rem 0;
        gap: 2.4rem;
    }

    .image-text{
        display: none;
    }

    .services__title {
        font-size: 2.1875rem;
    }

    .services-swiper {
        display: block;
        width: 100%;
        height: 100%;
    }

    .services-swiper .swiper-wrapper {
        width: 100%;
        height: 100%;
        /*padding: 0 1.2rem;*/
    }

    .services-swiper .swiper-slide {
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-swiper .swiper-slide img {
        height: 17rem;
        object-fit: cover;
        object-position: center center;
    }

    .services-swiper .swiper-slide h2 {
        font-size: 1.375rem;
        font-weight: 700;
        font-family: "Nespresso Lucas Bold";
        text-transform: uppercase;
    }

    .services-swiper .swiper-slide p {
        font-size: 1rem;
        font-weight: 300;
        font-family: "Nespresso Lucas Light";
        line-height: 1.3125rem;
    }

    .services-swiper .swiper-slide p span {
        font-weight: 700;
        font-family: "Nespresso Lucas Bold";
    }
}

@media screen and (max-width: 768px){
    .title-bold h1 {
        font-size: 2.5rem;
        margin: 0;
    }

    .image-text-box__text-container{
        padding: 2.59rem 5rem;
    }

    .two-images__left,
    .two-images__right {
        width: 100%;
        height: auto;
    }

    .two-images {
        flex-direction: column;
    }
}

@media screen and (max-width: 430px) {
    .top-swiper_image-desktop {
        display: none;
    }

    .top-swiper_image-mobile {
        display: block;
    }

    .nav-swiper .swiper-slide{
        opacity: .5;
    }

    .nav-swiper .swiper-slide-prev,
    .nav-swiper .swiper-slide-active,
    .nav-swiper .swiper-slide-next {
        opacity: 1;
    }

    .title-bold{
        padding: 3rem 0;
    }

    .title-bold h1 {
        font-size: 2rem;
        margin: 0;
    }

    .title-cta {
        padding: 2.5rem 0;
        gap: 2rem;
    }

    .title-cta h1 {
        font-size: 2rem;
    }

    .image-text-box__text-container{
        padding: 2.59rem 1.31rem;
    }
}