/* Header */

.header {
    width: 100%;
    min-height: 100px;
    background-color: var(--first-color);
    transition: background-color .5s linear;
}

.header__scroll {
    width: 100%;
    position: fixed;
    top: -190px;
    background-color: #092943;
    box-shadow: 0px 1px 20px 7px rgba(34, 60, 80, 0.2);
    -webkit-transition: top 0.3s ease-in-out;
    -o-transition: top 0.3s ease-in-out;
    transition: top 0.3s ease-in-out;
    z-index: 50;
}

.fixed {
    position: fixed;
    top: 0;
}

.header__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 0;
}

.header__nav {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
    max-width: 889px;
}

.header__nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header__nav-title {
    position: relative;
    font-size: clamp(1rem, 0.25rem + 0.83vw, 1.25rem);
    font-weight: 600;
}

.header__nav-title a,
.header__nav ul li a {
    color: var(--second-color);
}

.header__nav .header__nav-btn,
.header__nav .header__nav-address {
    display: none;
}

.header__nav-address {
    max-width: 400px;
    font-weight: 400;
    font-size: 17px;
    text-align: center;
    color: var(--second-color);
    margin: 50px auto;
}

.header__nav-btn:hover {
    -webkit-box-shadow: unset;
    box-shadow: unset;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
}

.header__links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header__links-tel {
    font-size: clamp(1rem, 0.25rem + 0.83vw, 1.25rem);
    font-weight: 600;
    color: var(--second-color);
}

.header__links-social {
    width: 28px;
    height: 28px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.header__links-social:hover {
    opacity: 0.9;
}

.header__links.mob {
    display: none;
}

/* submenu */

.header__nav .header__nav-submenu {
    position: absolute;
    width: 300px;
    max-height: 450px;
    display: flex;
    align-items: baseline;
    flex-direction: column;
    top: 45px;
    left: 0px;
    background-color: #092c44;
    box-shadow: 0px 1px 20px 7px rgba(34, 60, 80, 0.2);
    z-index: 1;
    transform: scaleY(0);
    transform-origin: 0 0;
    overflow-y: scroll;
    scroll-behavior: smooth;
    transition: transform 0.4s;
}

.header__scroll .header__nav .header__nav-submenu {
    top: 60.9px;
}

.header__nav ul li {
    position: relative;
}

.header__nav .header__nav-submenu li {
    display: inline-block;
    width: 100%;
    color: var(--second-color);
    cursor: pointer;
    padding: 10px 20px 10px 20px;

}
.header__nav .header__nav-submenu li a {
    
}

.header__nav .header__nav-submenu li:not(:last-child) {
    border-bottom: 1px solid var(--secondary-color);
}

.header__nav .header__nav-submenu--active {
    transform: scaleY(1);
    transform-origin: 0 0;
    z-index: 3;
}

.header__nav .header__nav-submenu::-webkit-scrollbar {
    width: 8px;
}

.header__nav .header__nav-submenu::-webkit-scrollbar-track {
    background-color: white;
}

.header__nav .header__nav-submenu::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--main-color);
}

.no-scrollbar-track::-webkit-scrollbar-track {
    background: transparent !important;
}

.submenu-trigger {
    position: relative;
    color: var(--second-color);
    cursor: pointer;
    z-index: 3;
    padding-right: 15px;
}

.submenu-trigger::before {
    position: absolute;
    content: "";
    display: block;
    width: 2px;
    height: 10px;
    background: var(--main-color);
    border-radius: 5px;
    top: 4px;
    right: 5px;
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    -o-transition: transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
}

.submenu-trigger::after {
    position: absolute;
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: var(--main-color);
    border-radius: 5px;
    top: 8px;
    right: 1px;
}

.trigger__icon--active::before {
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
}

.hero {
    position: relative;
    height: 845px;
}

.hero__info {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    margin-top: 263px;
}

.hero__info-title {
    max-width: 900px;
    line-height: 110%;
}

.hero__line {
    border-color: #1d92dd;
    margin: 28px 0px 28px 0px;
}

.hero__info-descr {
    max-width: 901px;
    font-weight: 300;
    font-size: clamp(0.875rem, 0.738rem + 0.58vw, 1.438rem);
    line-height: 34px;
    color: #fff;
}

.hero__bg {
    position: absolute;
    width: 100%;
    height: 845px;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero__bg video {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 0%;
    object-position: 50% 0%;
    top: 0;
}

/* submenu */

/* hamburger */

.hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    right: 65px;
    top: 65px;
    height: 34px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
}

.hamburger--active span {
    margin-bottom: -5px;
}

.hamburger--active span:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(-45deg);
    -ms-transform: translateY(8px) rotate(-45deg);
    transform: translateY(8px) rotate(-45deg);
}

.hamburger--active span:nth-child(2) {
    display: none;
}

.hamburger--active span:nth-child(3) {
    -webkit-transform: translateY(7px) rotate(45deg);
    -ms-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}

/* hamburger */

/* Header */

@media(max-width: 1440px) {

    .header {
        min-height: 100px;
    }

    .header__wrapper {
        padding: 30px 0;
    }

    .header__nav {
        max-width: 700px;
    }

    .hero {
        height: 757px;
    }

    .hero__bg {
        height: 755px;
    }

    .hero__info {
        margin-top: 150px;
    }

}

@media(max-width: 1200px) {

    .header__nav .header__nav-submenu {
        max-height: fit-content;
        overflow-y: unset;
        scroll-behavior: unset;
        top: 0px;
        left: 0px;
    }

    .header__scroll .header__nav .header__nav-submenu {
        top: 0px;
    }

    .header__nav {
        display: block;
        position: fixed;
        top: 100.2px;
        right: -100%;
        width: 100%;
        max-width: 650px;
        height: 100vh;
        visibility: hidden;
        opacity: 0;
        border-radius: 0px;
        -webkit-transition: .6s all;
        -o-transition: .6s all;
        transition: .6s all;
        background-color: rgb(9 41 67 / 95%);
        z-index: 9999;
        overflow: scroll;
        padding: 40px 20px 20px 20px;
        margin-top: 0;
    }

    .header__scroll .header__nav {
        top: 95.7px;
    }

    .header__nav ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 30px;
    }

    .header__nav-title,
    .header__nav-title a {
        font-size: 18px;
    }

    .header__nav .header__nav-submenu {
        background-color: transparent;
        box-shadow: unset;
        gap: 0;
    }

    .header__nav--active {
        visibility: visible;
        right: 0;
        opacity: 1;
        overflow: scroll;
    }

    .header__nav--active .header__nav-wrapper {
        max-height: 500px;
        overflow: scroll;
    }

    .header__scroll.fixed .header__nav--active .header__nav-wrapper {
        max-height: 650px;
        overflow: scroll;
    }

    .header--active {
        background-color: rgb(9 41 67 / 95%);
    }

    .header__nav .header__nav-btn {
        display: block;
        position: relative;
        bottom: unset;
        left: unset;
        padding-top: 17px;
        margin: 50px auto;
    }

    .header__nav-address {
        display: block;
    }

    .hamburger {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .header__links {
        padding-right: 56px;
    }

    .header__nav-title {
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        margin: 0 auto;
    }

    /* submenu */

    .header__nav ul li {
        text-align: center;
    }

    .header__nav .header__nav-submenu {
        width: 100%;
        position: relative;
        display: none;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        line-height: 1.3;
        margin-top: 5px;
    }

    .header__nav .header__nav-submenu li {
        text-align: center;
    }

    .header__nav .header__nav-submenu--active {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        top: 0;
        left: 0;
    }

    .header__nav .header__nav-submenu--active li:not(:last-child) {
        border-bottom: 1px solid var(--secondary-color);
    }

    .header__nav .header__nav-submenu--active li {
        padding: 10;
    }

    /* submenu */

}

@media(max-width: 1024) {

    .hero,
    .hero__bg {
        height: 650px;
    }

}

@media(max-width: 768px) {

    .header {
        min-height: auto;
    }

    .header__wrapper {
        border-bottom: 1px solid white;
        padding: 15px 0;
    }

    .header__nav {
        width: 100%;
        max-width: 100%;
        top: 116px;
    }

    .header__scroll .header__nav {
        top: 115.2px;
    }

    .header__nav-title,
    .header__nav-title a,
    .header__nav ul li {
        font-size: 16px;
    }

    .header__links {
        display: none;
    }

    .header__links.mob {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 10px;
    }

    .header__nav-address {
        font-size: 15px;
    }

    .hero,
    .hero__bg {
        height: 550px;
    }

    .hero__info {
        margin-top: 90px;
    }

}

@media(max-width: 430px) {

    .hero,
    .hero__bg {
        height: 100%;
        min-height: 487px;
    }

    .hero__bg video {
        -o-object-fit: fill;
        object-fit: fill;
    }

    .hero__info {
        padding-bottom: 80px;
        margin-top: 65px;
    }

    .hero__info-title {
        margin-bottom: 15px;
    }

    .hero__info-descr {
        line-height: 28px;
    }

}