﻿


.home #header {
    background: rgba(0, 4, 31, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.45s ease, backdrop-filter 0.45s ease, box-shadow 0.45s ease;
    box-shadow: none;
}

.home.scrolled #header {
    background: rgba(0, 4, 31, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.home #navigationLogo {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home.scrolled #navigationLogo {
    opacity: 1;
    transform: translateY(0);
}

.HomeHeader {
    background-color: #0B0B13;
    margin: 0;
    padding: 0;
}


#container .blockEditor > .beContainerBlock.HomeHeader:first-of-type {
    margin: 0 0 30px 0;
    padding: 0;
}

#container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .beSwiper-container .swiper-imageContent {
    background: none;
    max-width: 1530px;
    padding: 0;
}

.HomeHeaderLogo {
    position: absolute;
    bottom: 50%;
    left: Calc(50% + 25px);
}

.HomeHeaderLogo img {
    width: 630px;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home.loaded .HomeHeaderLogo img {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

.home.scrolled .HomeHeaderLogo img {
    opacity: 0;
    transform: scale(0.7);
    transition-delay: 0;
}

#header + #main {
    margin-top: 0;
}

.BlockEditorFullScreenWidthEnabled .blockEditor > .beContainer.HomeHeader > .beItemContainer {
    max-width: 4000px;
    padding: 0;
}


#container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
    margin-top: -200px;
    width: 262%;
    min-height: 1200px;
    max-height: 1200px;
    object-fit: cover;
    object-position: center;
    object-position: calc(50% - 160px) center;
}


#container::before {
    background: url('../../layout/images/bg1_large_home.webp') no-repeat center 900px;
    background-size: 4500px 5653px;
}

/* Stats-Counter */
.beContainer:has(#StatsCounter) .beItemContainer,
.beContainer:has(#StatsCounter) .beItem,
.beContainer:has(#StatsCounter) .beItemContent,
.beContainer:has(#StatsCounter) .beFieldDataTypetext {
    width: 100%;
}

.stats-grid {
    width: 100%;
    max-width: 900px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

/* Icon Container */
.stat-icon {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

    /* Default Icon Styling + Animation */
    .stat-icon img {
        max-width: 120px;
        max-height: 120px;
        width: auto;
        height: auto;
        display: block;
        transform: scale(0.88);
        opacity: 0;
        transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    }

/* Individual Icon Sizes */
.stat-item1 .stat-icon img {
    max-width: 135px;
    max-height: 135px;
}

.stat-item2 .stat-icon img {
    max-width: 170px;
    max-height: 85px;
}

.stat-item3 .stat-icon img {
    max-width: 115px;
    max-height: 100px;
}


/* Counter Number */
.stat-number {
    font-size: 46px;
    line-height: 1;
    font-weight: 400;
}

    .stat-number::after {
        content: "+";
    }

/* Description Text */
.stat-item p {
    margin: 12px auto 0;
    max-width: 260px;
    font-size: 22px;
    line-height: 1.28;
}

/* Mobile Stats Counter */
@media(max-width:768px) {

    .beContainer:has(#StatsCounter) {
        display: block;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 42px;
        margin-top: 40px;
        max-width: none;
    }

    .stat-icon {
        height: 85px;
        margin-bottom: 20px;
    }

        .stat-icon img {
            max-width: 76px;
            max-height: 76px;
        }

    .stat-number {
        font-size: 42px;
    }

    .stat-item p {
        font-size: 20px;
        max-width: 300px;
    }
}

/* ************************************************************* */

@media screen and (max-width: 2560px) {

    #container::before {
        background: url('../../layout/images/bg1_large_home.webp') no-repeat center 680px;
        background-size: 4500px 5653px;
    }

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -170px;
        min-height: 1000px;
        max-height: 1000px;
        object-position: calc(50% - 130px) center;
    }
}


@media screen and (max-width: 1919.9px) {

    #container::before {
        background: url('../../layout/images/bg1_medium_home.webp') no-repeat center 880px;
        background-size: 3000px 10289px;
    }

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -70px;
        min-height: initial;
        max-height: initial;
        object-fit: initial;
        width: 170%;
        max-width: initial;
        object-position: calc(50% - 800px) center;
    }

    .HomeHeaderLogo img {
        width: 500px;
    }
}

@media screen and (max-width: 1800px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        object-position: calc(50% - 700px) center;
    }
}

@media screen and (max-width: 1600px) {
    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        object-position: calc(50% - 650px) center;
    }

}

@media screen and (max-width: 1400px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        object-position: calc(50% - 550px) center;
    }

    .HomeHeaderLogo img {
        width: 450px;
    }
}


@media screen and (max-width: 1300px) {

    #container::before {
        background: url('../../layout/images/bg1_medium_home.webp') no-repeat center 750px;
        background-size: 1800px 6173px;
    }

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -80px;
        width: 180%;
        object-position: calc(50% - 600px) center;
    }
}

@media screen and (max-width: 1279.9px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -60px;
        width: 180%;
        object-position: calc(50% - 600px) center;
    }

    .HomeHeaderLogo img {
        width: 350px;
    }
}

@media screen and (max-width: 1100px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -60px;
        width: 180%;
        object-position: calc(50% - 500px) center;
    }
}

@media screen and (max-width: 1024px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -50px;
        width: 180%;
        object-position: calc(50% - 500px) center;
    }

    .HomeHeaderLogo img {
        width: 320px;
    }
}


@media screen and (max-width: 950px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -95px;
        width: 190%;
        object-position: calc(50% - 400px) center;
    }

    .HomeHeaderLogo {
        bottom: 57px;
    }
}

@media screen and (max-width: 800px) {

    #container::before {
        background: url('../../layout/images/bg1_medium_home.webp') no-repeat center 750px;
        background-size: 1300px 4458px;
    }
}

@media screen and (max-width: 768px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -70px;
        width: 220%;
        object-position: calc(50% - 400px) center;
    }

    .HomeHeaderLogo img {
        width: 275px;
    }

    .HomeHeaderLogo {
        bottom: 57px;
    }
}

@media screen and (max-width: 767.9px) {

    .HomeHeaderLogo {
        left: initial;
        right: 40px;
        bottom: 40px;
    }
}


@media screen and (max-width: 680px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -70px;
        width: 220%;
        object-position: calc(50% - 375px) center;
    }

    .HomeHeaderLogo {
        bottom: 25px;
    }

}

@media screen and (max-width: 600px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -60px;
        width: 220%;
        object-position: calc(50% - 310px) center;
    }

    .HomeHeaderLogo img {
        width: 210px;
    }

    .HomeHeaderLogo {
        bottom: 40px;
    }
}

@media screen and (max-width: 500px) {

    #container::before {
        background: url('../../layout/images/bg1_small_home.webp') no-repeat center 350px;
        background-size: 850px 6815px;
    }

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -75px;
        width: 260%;
        object-position: calc(50% - 335px) center;
    }

    .HomeHeaderLogo img {
        width: 210px;
    }

    .HomeHeaderLogo {
        bottom: 30px;
        right: 25px;
    }
}

@media screen and (max-width: 450px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -55px;
        width: 265%;
        object-position: calc(50% - 310px) center;
    }

    .HomeHeaderLogo img {
        width: 200px;
    }

    .HomeHeaderLogo {
        bottom: 20px;
    }
}

@media screen and (max-width: 400px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -55px;
        width: 275%;
        object-position: calc(50% - 290px) center;
    }

    .HomeHeaderLogo img {
        width: 190px;
    }

    .HomeHeaderLogo {
        bottom: 20px;
    }
}

@media screen and (max-width: 350px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -40px;
        width: 300%;
        object-position: calc(50% - 270px) center;
    }

    .HomeHeaderLogo img {
        width: 170px;
    }

    .HomeHeaderLogo {
        bottom: 10px;
    }
}

@media screen and (max-width: 300px) {

    #container .blockEditor > .beContainerBlock.HomeHeader:first-of-type .swiper-slide > img {
        margin-top: -20px;
        width: 305%;
        object-position: calc(50% - 250px) center;
    }

    .HomeHeaderLogo img {
        width: 170px;
    }

    .HomeHeaderLogo {
        bottom: 10px;
    }
}