@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --background: #f4f6f9;
    --primary: #0b1524;
}

html {
    scroll-behavior: smooth;
}

.container {
    position: relative;
    width: 100%;
    background: var(--background);
}

button, a {
    text-decoration: none;
    cursor: pointer;
    transition: .2s all;
    outline: none !important;
}

.img {
    width: 100%;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex--start {
    justify-content: flex-start;
}

.flex--end {
    justify-content: flex-end;
}

.w {
    width: 1200px;
    max-width: 85vw;
    margin-left: auto;
    margin-right: auto;
}

.w--narrow {
    width: 800px;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    position: relative;
}

.container--page .hero {
    background: #fff;
    height: 150px;
}

.container--page .hero__top .img {
    filter: brightness(0.2);
}

.container--page .hero__top__menu__item {
    color: var(--primary);
}

.container--page .hero__top__menu__item--contact {
    border: 1px solid var(--primary);
}

.hero__video {
    width: 100%;
    height: auto;
    position: relative;
}

.wpcf7-response-output {
    text-align: center !important;
    font-size: 15px;
}

.hero__top {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__top__logo {
    width: 250px;
}

.hero__top__menu {
    width: 70%;
    max-width: 500px;
}

.hero__top__menu__item {
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 17px;
    padding: 10px 20px;
}

.hero__top__menu__item--contact {
    border: 1px solid #fff;
}

.hero__top__menu__item:hover {
    opacity: .75;
}

.main {
    padding: 100px 0;
}

.main__box {
    background: var(--primary);
    border-radius: 50px;
    padding: 50px 50px 60px;
    flex-direction: column;
}

.main__box__logo {
    width: 450px;
    margin: 0 auto 30px;
}

.main__box__text * {
    color: #fff;
    font-size: 18px;
}

.main__box__text > * {
    margin-bottom: 20px;
}

.main__box__boxes {
    gap: 40px;
    margin-top: 50px;
}

.main__box__boxes__item {
    justify-content: space-evenly;
    background: var(--background);
    padding: 60px 25px;
    border-radius: 20px;
    flex-direction: column;
    width: 200px;
    height: 250px;
}

.main__box__boxes__item > .img {
    width: 40px;
    margin-bottom: 35px;
}

.main__box__boxes__item__text {
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    font-size: 18px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 15px 0;
    width: 300px;
}

.btn:hover {
    background: var(--primary);
    color: #fff;
}

.btn--portfolio {
    position: relative;
    margin: 50px auto 0;
    z-index: 10;
}

.services {
    position: relative;
    padding-top: 30px;
}

.services .w--narrow {
    position: relative;
    z-index: 3;
}

.services__background {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    z-index: 1;
    opacity: .1;
}

.services__item {
    margin-bottom: 140px;
}

.services__item {
    gap: 100px;
}

.services__item:nth-child(even) .services__item__content {
    order: -1;
}

.services__item__img {
    width: 200px;
    height: 200px;
    border-radius: 50px;
}

.services__item__content__title {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

.services__item__content__text {
    font-size: 18px;
    margin-top: 15px;
}

.portfolio {
    padding: 100px 0;
}

.header {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 52px;
    text-align: center;
    color: var(--primary);
    margin: 0 auto 80px;
}

.portfolio__item {
    margin-bottom: 120px;
}

.portfolio__item__img {
    width: 46%;
}

.portfolio__item__content {
    width: 30%;
    position: relative;
}

.portfolio__item__content::after {
    content: "";
    background-image: url("./assets/connector-right.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    top: 50%;
    left: -150px;
    width: 80px;
    height: 20px;
}

.portfolio__item:nth-child(even) .portfolio__item__content::after {
    background-image: url("./assets/connector-left.svg");
    right: -100px;
    left: unset;
}

.portfolio__item__content__title {
    font-weight: 400;
    font-size: 28px;
    color: var(--primary);
}

.portfolio__item__content__subtitle {
    color: var(--primary);
    font-weight: 400;
    font-size: 24px;
    margin-top: 20px;
}

.portfolio__item:nth-child(even) .portfolio__item__content {
    order: -1;
}

.portfolio__all {
    margin-bottom: -50px;
    visibility: hidden;
}

.contact {
    margin: 80px auto 50px;
}

.contact__header {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.contact__header__background {
    width: 100%;
    height: auto;
}

.contact__main {
    align-items: flex-start;
    margin-top: 30px;
}

.contact__main__left {
    width: 42%;
}

.contact__main__left__logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 50px;
}

.contact__main__left__item {
    color: var(--primary) !important;;
    font-size: 21px;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact__main__left__item > .img {
    width: 20px;
    margin-right: 25px;
}

.contact__main__right {
    width: 55%;
}

.contact__main__right form {
    width: 100%;
}

.label {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    color: var(--primary);
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 20px;
}

.input {
    margin-top: 5px;
    width: 100%;
    height: 50px;
    background: #fff;
    padding: 10px 20px;
    border: 1px solid transparent;
    transition: .2s all;
}

.input:focus,
.input:active {
    outline: none;
    border: 1px solid var(--primary);
}

.input--textarea {
    padding: 20px;
    height: 200px;
    resize: none;
}

.btn--submit {
    width: 100%;
    margin-top: 40px;
}

.footer {
    background: var(--primary);
    padding: 30px 0;
    margin-top: 70px;
    flex-direction: column;
}

.footer__header {
    text-transform: uppercase;
    font-weight: 900;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer__links {
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer__links__item {
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: center;
}

.mobileMenu {
    display: none;
    transform-origin: left;
    transform: scaleX(0);
}

.d-mobile {
    display: none;
}

.btn--menu {
    background: transparent;
    width: 30px;
    height: auto;
    border: none;
    outline: none;
}

@media(max-width: 1200px) {
    .contact__main__left__logo {
        max-width: 300px;
    }
}

@media(max-width: 996px) {
    .hero__top__logo {
        width: 80px;
    }

    .hero__top__menu__item {
        font-size: 14px;
        max-width: 350px;
    }

    .services__item__img {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .services__item__content__title {
        font-size: 18px;
    }

    .services__item__content__text {
        font-size: 15px;
    }

    .portfolio__item__content::after {
        display: none;
    }

    .portfolio__item__content {
        width: 45%;
    }

    .header {
        font-size: 32px;
    }

    .portfolio__item__content__title {
        font-size: 24px;
    }

    .portfolio__item__content__subtitle {
        font-size: 21px;
    }
}

@media(max-width: 768px) {
    .d-desktop {
        display: none;
    }

    .d-mobile {
        display: block;
    }

    .hero__top {
        top: 20px;
    }

    .mobileMenu {
        display: block;
        z-index: 100000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 40px 0;
        transform-origin: left;
        transform: scaleX(0);
    }

    .mobileMenu,
    .mobileMenu > * {
        transition: .2s all;
    }

    .mobileMenu > * {
        opacity: 0;
    }

    .mobileMenu__inner {
        width: 100%;
    }

    .mobileMenu__logo {
        width: 200px;
        height: auto;
        margin: 50px auto;
        display: block;
    }

    .mobileMenu__close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        font-size: 32px;
        font-weight: 700;
        color: var(--primary);
        border: none;
        outline: none;
    }

    .mobileMenu__item {
        display: block;
        padding: 15px 0;
        text-align: center;
        font-weight: 700;
        border-bottom: 1px solid var(--primary);
    }

    .main {
        padding: 40px 0;
    }

    .main__box {
        padding: 10px 25px 25px;
    }

    .main__box__logo {
        width: 150px;
        margin: 0 auto 20px;
    }

    .main__box__text,
    .main__box__text * {
        font-size: 14px;
        text-align: center;
    }

    .main__box__boxes {
        flex-direction: column;
    }

    .main__box__boxes__item {
        padding: 20px;
        height: 200px;
    }

    .main__box__boxes__item > .img {
        margin-bottom: 15px;
    }

    .main__box__boxes__item__text {
        font-size: 16px;
    }

    .btn {
        width: 200px;
        font-size: 18px;
    }

    .contact__main {
        flex-direction: column;
    }

    .contact__main > * {
        width: 100%;
    }

    .contact__main__left {
        margin-bottom: 30px;
    }
}

@media(max-width: 576px) {
    .portfolio__item,
    .services__item {
        flex-direction: column;
    }

    .portfolio__item > *,
    .services__item__content {
        width: 100%;
    }

    .services__item__img {
        order: -2;
    }

    .services__item__content * {
        text-align: center;
    }

    .services__item {
        gap: 30px;
    }

    .services__item__content__text {
        font-size: 14px;
    }

    .portfolio__item {
        margin-bottom: 60px;
    }

    .portfolio__item__content {
        margin-top: 20px;
    }

    .portfolio__item__img {
        order: -2;
    }

    .portfolio__item__content__subtitle {
        margin-top: 10px;
    }

    .portfolio__item__content * {
        text-align: center;
        font-size: 18px;
    }

    .header {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .portfolio {
        padding: 20px 0 0;
    }

    .portfolio__all {
        margin-bottom: 0;
    }

    .contact__main__left__logo {
        max-width: 220px;
    }

    .contact__main__left__item {
        font-size: 16px;
    }

    .label {
        font-size: 14px;
    }

    .input {
        height: 40px;
        padding: 5px 10px;
    }

    .input--textarea {
        height: 120px;
        padding: 15px;
    }
}
