/** START PAGE **/

/* ---------- Sections ---------- */

.start-page-sections > section:nth-child(2n+1) {
    background-color: var(--neutral-color-light);
}

/* ---------- Section header ---------- */

.section-header p {
    max-width: 60ch;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.section-header h2:has(+ p) {
    margin-bottom: clamp(0.25rem, 0.179rem + 0.302vw, 0.5rem);
}

.section-header {
    margin-bottom: clamp(1.5rem, 1.075rem + 1.811vw, 3rem);
}

/* ---------- Hero section ---------- */

.hero-mobile {
    position: relative;
    min-height: calc(100vh - var(--top-margin-lg));
    min-height: calc(100svh - var(--top-margin-sm));
}

.hero-desktop {
    position: relative;
    min-height: calc(100vh - var(--top-margin-sm));
    min-height: calc(100svh - var(--top-margin-sm));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}

@media screen and (min-width: 1700px) {

    .hero-desktop {
        min-height: calc(100vh - var(--top-margin-xl));
    }
}

@media screen and (min-width: 1700px) {

    .hero-desktop {
        min-height: calc(100vh - var(--top-margin-xl));
    }
}

@media screen and (min-width: 2400px) {

    .hero-desktop {
        min-height: unset;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

/* Hero background image*/

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.hero-background-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero video */

.hero-section video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero caption */

.hero-caption {
    position: relative;
    z-index: 1;
}

.hero-caption h1 {
    font-size: clamp(1.75rem, 1.255rem + 2.113vw, 3.5rem);
    color: var(--text-white);
    font-weight: 400;
    margin-bottom: 1.25rem;
    max-width: 20ch;
    line-height: 1.2;
}

.hero-caption h1 strong {
    font-weight: 800;
}

.hero-caption p {
    color: var(--text-white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: clamp(1.25rem, 1.049rem + 0.896vw, 2rem);
    max-width: 40ch;
}

.hero-caption p:has(+ .hero-button) {
    margin-bottom: 0;
}

.hero-caption a.btn,
.hero-caption a.solid-btn {
    margin-top: 2.25em;
}

/* ---------- Hero info ---------- */

.hero-info-section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

ul.hero-info-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 4rem;
    row-gap: 0.5rem
}

    ul.hero-info-links li {
        display: inline-block;
        text-align: center;
        color: var(--text-white);
        font-size: clamp(1.125rem, 1.09rem + 0.151vw, 1.25rem);
    }

ul.hero-info-links li a {
    color: var(--text-white);
    text-align: center;
}

    ul.hero-info-links li svg {
        margin-right: 0.25em;
        color: var(--text-white);
    }


/* ---------- Key figures ---------- */

.key-figures-boxes {
    margin-bottom: -1.5rem;
}

.key-figures-boxes > div {
    flex: 0 0 100%;
    margin: 0 0 1.5rem;
}

@media screen and (min-width: 576px) {

    .key-figures-boxes {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        margin-bottom: -1rem;
    }

    .key-figures-boxes > div {
        flex-basis: calc(50% - 1rem);
        margin: 0 0.5rem 1rem;
    }
}

@media screen and (min-width: 992px) {

    .key-figures-boxes {
        margin-left: -1rem;
        margin-right: -1rem;
        margin-bottom: -1rem;
    }

    .key-figures-boxes > div {
        flex-basis: calc(25% - 2rem);
        margin: 0 1rem 0;
    }
}

.key-figure-box {
    background-color: #FFFFFF;
    padding: 3rem 1.5rem;
    border-radius: 8px;
    container-type: inline-size;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
}

.key-figure-description {
    position: relative;
    line-height: 1.2;
    font-weight: 500;
    font-size: clamp(1rem, 0.929rem + 0.302vw, 1.25rem);
    text-wrap: balance;
    margin-bottom: 32px;
}

.key-figure-description::after {
    content: "";
    position: absolute;
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    bottom: -16px;
    left: calc(50% - 40px);
}

.key-figure-nbr {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (min-width: 992px) {

    .key-figure-nbr {
        font-size: clamp(2.5rem, -0.833rem + 19.048cqi, 3.5rem);
    }

    .key-figure-description {
        font-size: clamp(1.125rem, 0.292rem + 4.762cqi, 1.375rem);
    }
}

/* ---------- Our services ---------- */

/*.our-services-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: -1.5rem;
    gap: 1rem;
}*/

/*.our-services-boxes > * {
    flex: 0 0 100%;*/
    /*margin: 0 0 1.5rem;*/
/*}*/

/*@media screen and (min-width: 768px) {

    .our-services-boxes {*/
        /*margin-right: -0.5rem;
        margin-left: -0.5rem;*/
        /*margin-bottom: 0;
    }

    .our-services-boxes > * {
        flex-basis: calc(33.33% - 1rem);*/
        /*margin: 0 0.5rem;*/
    /*}
}

@media screen and (min-width: 992px) {

    .our-services-boxes {
        gap: 2rem;*/
        /*margin-right: -0.75rem;
        margin-left: -0.75rem;*/
    /*}

    .our-services-boxes > * {
        flex-basis: calc(33.33% - 1.5rem);*/
       /* margin: 0 0.75rem;*/
    /*}
}

@media screen and (min-width: 1200px) {

    .our-services-boxes {*/
        /*margin-right: -1rem;
        margin-left: -1rem;*/
    /*}

    .our-services-boxes > * {
        flex-basis: calc(33.33% - 2rem);*/
        /*margin: 0 1rem;*/
    /*}
}*/

a.service-box {
    color: var(--text-dark);
}

.service-box {
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
    container-type: inline-size;
}

.service-image {
    width: 100%;
    aspect-ratio: 5 / 3;
    position: relative;
}

.service-image-background-image {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
}

.service-image-background-image {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
}

.service-image-background-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.service-image-icon {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image-icon-wrap {
    height: 60%;
    aspect-ratio: 1 / 1;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #FFFFFF;
    padding: 1rem;
}

.service-image-icon-wrap img {
    height: 70%;
}

.service-content {
    padding: clamp(1.5rem, 0.827rem + 4.938cqi, 2rem) clamp(1rem, 0.327rem + 4.938vw, 1.5rem);
    text-align: center;
}

.service-content p {
    margin-bottom: 0;
}

/* ---------- Banner section ---------- */

.banner + .banner {
    margin-top: clamp(2rem, 0.868rem + 4.83vw, 6rem);
}

@media screen and (min-width: 768px) {

    .banners > .banner:nth-child(2n+1) .banner-image {
        order: 2;
    }
}

.banner {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);   
}

.banner > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .banner > div {
        flex-basis: 50%;
    }
}

.banner-image {
    position: relative;
    display: flex;
    aspect-ratio: 3 / 2;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    
    
}
    .banner-image img.contain-img {
        max-width: calc(100% - 2rem);
    }

.banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    container-type: inline-size;
    padding: clamp(1.5rem, 0.509rem + 4.226vw, 5rem) clamp(1.25rem, 0.472rem + 3.321vw, 4rem);
    background-color: #FFFFFF;
}

.banner-content p:has(+ a.btn),
.banner-content p:has(+ a.solid-btn) {
    margin-bottom: 0;
}

.banner-content a.btn,
.banner-content a.solid-btn {
    margin-top: 2.25em;
}

/* ---------- CTA section ---------- */

.cta-section {
    background-color: var(--primary-color-dark) !important;
    position: relative;
    aspect-ratio: 4 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-section * {
    color: #FFFFFF;
}

.cta-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-background-image img {
    height: 75%;
}

.cta-content {
    position: relative;
    max-width: 1000px
}

.cta-content p {
    font-size: clamp(1.125rem, 1.09rem + 0.151vw, 1.25rem);
}

.cta-content p:has(+ a.btn) {
    margin-bottom: 0;
}

.cta-content a.btn {
    margin-top: 2.25em;
}

/* ---------- Certifications section ---------- */

.certification-image-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 0.5rem;
    column-gap: 0.75rem;
}

@media screen and (min-width: 768px) {

    .certification-image-boxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
}

.certification-image-box img {
    height: 96px;
}

/* ---------- Slider section ---------- */

.disable-scroll-snap {
    scroll-snap-type: unset !important;
}

.block-slider-arrows {
    display: flex;
    gap: 1.5rem;
}

button.block-slider-indicators-arrow {
    appearance: none;
    border: none;
    background-color: transparent;
    font-size: 2.5rem;
    padding: 0;
    line-height: 1;
    color: var(--text-dark);
}

button.block-slider-indicators-arrow[disabled] {
    opacity: 1;
    color: var(--text-dark);
}

.block-slider-items-wrap {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: auto;
    padding: 0.5rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.block-slider-items-wrap > .block-slider-item {
    flex: 0 0 calc(100% - 3.5rem + 1.25rem);
    display: flex;
    padding-left: 1.25rem;
    scroll-snap-align: start;
}

@media screen and (pointer: fine) {

    .block-slider-items-wrap {
        overflow: hidden;
        scroll-snap-type: unset;
    }

    .block-slider-items-wrap > .block-slider-item {
        scroll-snap-align: unset;
    }
}

@media screen and (min-width: 400px) {

    .block-slider-items-wrap > .block-slider-item {
        flex-basis: calc(300px + 1.25rem);
        width: calc(400px + 2rem);
    }
}

@media screen and (min-width: 768px) {

    .block-slider-items-wrap > .block-slider-item {
        padding-left: 2rem;
    }
}

@media screen and (min-width: 1400px) {


    .block-slider-items-wrap > .block-slider-item {
        scroll-snap-align: unset;
        padding-left: 0;
        padding-right: 2rem;
    }
}


@media screen and (min-width: 1700px) {

    .block-slider-items-wrap {
        padding-left: calc(50% - 800px);
    }

    .block-slider-items-wrap > .block-slider-item {
        flex-basis: 400px;
    }
}

.block-slider-item-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.block-slider-item img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.block-slider-item-caption {
    position: relative;
    z-index: 1;
    padding: 1rem;
    background-color: rgba(0,0,0,0.4);
}

.block-slider-item-caption h3 {
    color: #FFFFFF;
    margin: 0;
}

/** HOMEPAGE **/

.contact-section .contact-image {
    height: 90px;
    width: auto;
}

/** NEWS PAGE **/

.news-item-boxes {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -1.5rem;
}

.news-item-boxes > a {
    flex: 0 0 100%;
    margin-bottom: 1.5rem;
}

.news-image {
    max-height: 800px;
}

.news-image img {
    max-height: 800px;
    height: auto;
}

@media screen and (min-width: 768px) {

    .news-item-boxes {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        display: flex;        
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .news-item-boxes > a {
        flex-basis: calc(33.33% - 1rem);
        margin: 0 0.5rem;
    }
}

@media screen and (min-width: 992px) {

    .news-item-boxes {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
   }

    .news-item-boxes > a {
        flex-basis: calc(33.33% - 1.5rem);
        margin: 0 0.75rem;
    }
}

@media screen and (min-width: 1200px) {

    .news-item-boxes {
        margin-left: -1rem;
        margin-right: -1rem;
   }

    .news-item-boxes > a {
        flex-basis: calc(33.33% - 2rem);
        margin: 0 1rem;
    }
}

.news-item-box {
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
    inline-size: container;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);   
}

a.news-item-box:hover {
    color: var(--text-dark);
}

.news-item-image {
    width: 100%;
    aspect-ratio: 5 / 3;
}

.news-item-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.news-item-content {
    padding: clamp(1.5rem, 0.827rem + 4.938cqi, 2rem) clamp(1rem, 0.327rem + 4.938vw, 1.5rem);
}

.news-item-content p.date {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.news-item-content p.date + h3 {
    margin-top: 0;
}

/* ------- Pagination ------- */

.active > .page-link, .page-link.active {
    background-color: var(--primary-color);
}

a.page-link {
    color: var(--text-dark)
}

a.page-link:hover {
    color: var(--text-dark);
    background-color: var(--neutral-color-light);
}

a.page-link:focus {
    box-shadow: none;
    color: var(--text-dark);
    background-color: var(--neutral-color-light);
}

/* CONTACT PAGE */
.contact .map iframe{
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* WePly Chat */

/*iframe[title="Weply chat"] {
    bottom: 100px !important;
}*/

/* reCAPTCHA */

.grecaptcha-badge {
    bottom: 100px !important;
}