.masthead-homepage {
    position: relative;
    color: var(--color-dark-blue-01);
    overflow: hidden;
}

.masthead__image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.masthead__image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,rgba(255,255,255,.8) 0%,rgba(255,255,255,.25) 100%);
    z-index: 2;
}

.masthead__image::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5));
    filter: blur(8px);
}

.masthead__image img {
    display: block;
}

@media(max-width: 1199px) {
    .masthead__image img {
        height:100%!important;
    }
}

.masthead__wrap {
    position: relative;
    z-index: 2;
    padding: 60px 0 116px;
}

.masthead__wrap h4 {
    margin: 0;
    padding: 0 0 10px;
    font-weight: 700;
    color: var(--color-green);
    font-size: 22px;
    line-height: 1.18em;
    font-style: italic;
}

.masthead__content h1 {
    margin: 0;
    padding: 0;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.13em;
    padding-bottom: 20px;
    color: var(--color-dark-blue-01);
    font-style: italic;
}

.masthead__content__image {
    position: absolute;
    right: -37px;
    bottom: -20px;
    max-width: 417px;
}

.masthead__content {
    max-width: 470px;
}

.round-border {
    position: absolute;
    left: 50%;
    bottom: -1066px;
    width: 3170px;
    height: 1097px;
    transform: translate(-50%,0);
    z-index: 0;
}

.wc-product-logo-true .masthead__content h1 {
        font-size: 25px !important;
    }

@media (min-width: 768px) {
    .masthead__wrap {
        padding:75px 0 216px;
    }

    .masthead__content h1 {
        font-size: 46px!important;
    }

    .round-border {
        bottom: -1052px;
    }
    .wc-product-logo-true .masthead__content h1 {
        font-size: 35px !important;
    }
}

@media (min-width: 900px) {
    .round-border {
        bottom:-1034px;
    }
    .wc-product-logo-true .masthead__content h1 {
        font-size: 35px !important;
    }
}

@media (min-width: 1200px) {
    .masthead__wrap {
        padding:0;
    }

    .masthead__wrap__content {
        padding: 110px 0 260px;
    }

    .masthead__content {
        max-width: 608px;
    }

    .masthead__content h1 {
        font-size: 54px!important;
    }

    .home .masthead__content h1 {
        font-size: 64px!important;
    }

    .masthead__image::before {
        background: linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,0) 100%);
    }

    .masthead__image::after {
        background-image: linear-gradient(rgba(255,255,255,.15),rgba(255,255,255,.15));
        filter: blur(8px);
    }

    .masthead__wrap__content {
        position: relative;
    }

    .masthead__content__image {
        right: 0;
        bottom: auto;
        top: -65px;
        max-width: 668px;
    }

    .round-border {
        bottom: -953px;
    }
    
    .masthead__content__image.contain {
        top: 0;
        max-height: 484px;
    }
    .masthead__content__image.contain img {
        object-fit: contain;
        max-height: 520px;
    } 
    
    .wc-product-logo-true .masthead__content h1 {
        font-size: 35px !important;
    }
}

@media (min-width: 1366px) {
    .round-border {
        bottom:-931px;
    }
}

.certifications {
    max-width: 330px;
    margin: -66px auto -80px;
    background: var(--color-white);
    border-radius: 13px;
    box-shadow: 5px 5px 12px rgba(0,0,0,.3);
    position: relative;
    z-index: 6;
}

.certifications h4 {
    margin: 0;
    padding: 5px 0;
    font-weight: 700;
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.18em;
    font-style: italic;
    background: var(--color-dark-blue);
    border-radius: 13px 13px 0 0;
    text-align: center;
}

.certifications__logo {
    padding: 16px 32px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.certifications__logo img {
    max-width: 85px;
}

@media (min-width: 768px) {
    .certifications {
        max-width:650px;
        margin: -78px auto -83px;
    }

    .certifications__logo {
        padding: 12px 100px 16px;
        gap: 40px;
    }

    .certifications__logo img {
        max-width: 80px;
        width: 100%;
        height: auto;
    }
}

@media (min-width: 1200px) {
    .certifications {
        max-width:650px;
        margin: 0 auto;
        display: inherit;
    }

    .certifications__wrap {
        border-radius: 13px;
        box-shadow: 5px 5px 12px rgba(0,0,0,.3);
        background: var(--color-white);
        margin-top: -180px;
        position: absolute;
    }
}

@media (min-width: 1366px) {
    .certifications__wrap {
        margin-top:-206px;
    }
}


.masthead__slider__item {
    position: relative;
}

.masthead__slider .slick-dots {
    position: absolute;
    left: 30px;
    bottom: 78px;
    padding-left: 0;
    display: flex;
    gap: 10px;
}

.masthead__slider .slick-dots button {
    display: none;
}

.masthead__slider .slick-dots li {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    transition: all ease-in-out 300ms;
}

.masthead__slider .slick-dots li.slick-active {
    width: 30px;
}

.masthead__slider .slick-dots li.slick-active:before {
    background: #033141;
}

.masthead__slider .slick-dots li:before {
    background: #016483;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50px;
}

@media (min-width: 768px) {
    .masthead__slider .slick-dots {
        left: 56px;
        bottom: 134px;
    }
}

@media (min-width: 1200px) {
    .masthead__slider .slick-dots {
        left: calc(50% - 660px);
        bottom: 185px;
    }  
}

.masthead__wrap__content.wc-product-logo-true img {
    display: none;
}

.masthead__wrap__content.wc-product-logo-true .masthead__content {
    flex: 1;
}

.masthead__wrap__content.wc-product-logo-true img {
    max-width: 300px;
    width: 100%;
}

@media( min-width: 768px ) {
    .masthead__wrap__content.wc-product-logo-true img {
        display: block;
    }

    .masthead__wrap__content.wc-product-logo-true {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
}