* {
    box-sizing: border-box;
}

html {
    font-size: 1rem;
}

@font-face {
    font-family: "Bebas Neue";
    src: url("../fonts/BebasNeueBook.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Noto Sans", sans-serif;
}

.mobile-menu {
    display: none;
}

.container {
    max-width: 1440px;
    margin: auto;
}

.navbar {
    display: flex;
    align-items: center;
    color: #fff;
    height: 94px;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    border-bottom: .0625rem solid rgba(235, 235, 240, 0.2);
    transition: background-color 0.2s, height 0.2s;
}

.navbar-light {
    background-color: #fff;
    color: #292d33;
}

.logo-dark {
    display: none;
}

.navbar-light .logo-light {
    display: none;
}

.navbar-light .logo-dark {
    display: block;
}


.navbar-scroll {
    height: 4.5rem;
}

.phone-icon {
    fill: #5c8ee6;
}


.logo-svg {
    width: 9rem;
    height: 2.75rem;

}

.navbar-light .header-logo-path {
    fill: #292d33;
}

.header {
    padding-top: 94px;

}

.header-image {
    background-image: url("../img/header-bg.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    background-position: center bottom -3.4375rem;
    position: relative;
}

.header-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(41, 45, 51, 0.6);
    width: 100%;
    height: 100%;
    z-index: 0;
}


.header-logo {
    padding: 0 50px;
    display: flex;
    align-items: center;
    border-right: .0625rem solid rgba(235, 235, 240, 0.2);
    height: 100%;
}

.header-nav {
    display: flex;
    align-items: center;
    height: 100%;
    flex-grow: 1;
    list-style: none;
    padding: 0;
    padding-left: 3.125rem;
    margin: 0;

}

.header-nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.header-nav-item:not(:last-child) {
    margin-right: 4%;
}

.header-nav-link {
    display: flex;
    height: 100%;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    color: inherit;
    position: relative;
}

.header-nav-link:after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -1px;
    background-color: #5c8ee6;
    transition: width 0.2s;
    right: 0;
    left: auto;
}

.header-nav-link:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.header-phone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 50px;
}

.header-phone-link {
    text-decoration: none;
    font-size: 16px;
    color: inherit;
}

.button {
    font-weight: 600;
    font-size: 16px;
    line-height: 160%;
    color: #fff;
    background: #3a71d1;
    padding: 25px 60px;
    border: none;
    display: inline-block;
    cursor: pointer;
}

.navbar-button {
    flex-shrink: 0;
    height: 100%;
    padding: 1.5625rem 3.125rem;
}

.navbar-button .button-icon {
    display: none;
}

.header-button {
    height: 100%;
}

.seporator {
    background: #5c8ee6;
    width: 150px;
    height: .125rem;
}

.header-content {
    padding-top: 150px;
    position: relative;
    z-index: 1;
    color: #fff;
}

.header-title {
    max-width: 1080px;
    font-family: "Bebas Neue";
    font-size: 80px;
    line-height: 120%;
    margin: 30px 0;
    letter-spacing: -0.0563rem;
    word-spacing: -0.175rem;

}

.header-text {
    max-width: 720px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 50px;
    letter-spacing: 0.25px;
    word-spacing: -1.3px;
}

.header-features {
    display: flex;
    min-height: 10.5rem;
    padding: 0;
    margin-top: 100px;
    list-style: none;
    color: #fff;
    position: relative;
    height: 100%;
}

.header-features-item {
    padding: 1.75rem 3.125rem;
    height: auto;
    width: 18rem;
    border: 1px solid rgba(235, 235, 240, 0.2);
}

.slider-buttons {
    display: none;
    height: 44px;

}

.slider-button-prev,
.slider-button-next {
    height: 100%;
    flex-basis: 50%;
    border: 1px solid rgba(235, 235, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-button {
    padding: 26px 60px;
}

.header-features-text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;

    margin-top: 1.125rem;
    margin-bottom: 0;
}




.section {
    margin-top: 9.375rem;
    margin-bottom: 9.375rem;

}

.section-title {
    margin-top: 22px;
    font-family: "Bebas Neue";
    font-size: 3.75rem;
    line-height: 120%;
    color: #292d33;
    letter-spacing: -0.8px;
    word-spacing: -3.3px;
}

.steps {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 1.875rem;
}

.steps-item {
    max-width: 20.625rem;
}

.steps-num {
    font-family: Bebas Neue;
    font-size: 3rem;
    line-height: 120%;
    color: #5c8ee6;
    display: flex;
    align-items: center;
}

.steps-num::after {
    content: "";
    height: .0625rem;
    background: #ebebf0;
    width: 100%;
    display: inline-block;
    margin-left: 1.875rem;
}

.steps-title {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 160%;
    color: #292d33;
    margin-top: 2.25rem;
    margin-bottom: -0.5625rem;
    word-spacing: 40.2px;
}


.steps-text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    color: #828a99;
    margin-top: 1.25rem;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    word-spacing: -1.9px;

}

.button-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 160%;
    color: #5c8ee6;
    margin-top: 1.3125rem;
    margin-left: -1.375rem;
    letter-spacing: 0.045rem;
    word-spacing: -0.3387rem;
}


.primary-buttons-wrapper {
    display: flex;
    height: 60px;
    justify-content: flex-end;
}

.primary-button-prev,
.primary-button-next {
    background: #5c8ee6;
    height: 100%;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-link::before {
    content: "";
    height: .0625rem;
    background: #5c8ee6;
    width: 2.5rem;
    margin-right: 2.5rem;
    transition: width 0.2s;
}

.button-link:hover:before {
    width: 60px;
}

.steps-buttons {
    display: none;
}


.cards {
    display: flex;
    flex-wrap: wrap;
}

.card {
    text-decoration: none;
    flex-basis: 33%;
    border: 1px solid #ebebf0;
    position: relative;
    transition: border 0.2s;
}

.card:hover .card-title {
    color: #5c8ee6;
}

.card:hover {
    border-color: #5c8ee6;
}


.card-content {
    padding: 2.5rem 3.125rem;
}

.card-title {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 140%;
    color: #292d33;
    margin-top: 0;
    margin-bottom: 0.625rem;
    transition: color 0.2s;
}

.card-text {
    font-size: 1rem;
    line-height: 160%;
    color: #828a99;
    margin-bottom: 24.625rem;
}

.card-image {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
    width: 90%;
}

.trademark-cards {
    display: flex;
}

.trademark-card {
    flex-basis: 50%;
    text-decoration: none;
    border: 1px solid #ebebf0;
    transition: border 0.2s;
    padding: 3.125rem;
    display: grid;

    grid-template-columns: 180px 1fr;
    grid-template-rows: auto 2fr;
    grid-column-gap: 3.125;
    grid-template-areas:
        "logo title title"
        "logo text text";
}

.trademark-card-logo {
    width: 100%;
    fill: #828a99;
    grid-area: logo;
}

.trademark-card-title {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 160%;
    color: #292d33;
    grid-area: title;

}

.trademark-card-text {
    font-style: normal;
    font-weight: 400;
    font-style: 1rem;
    line-height: 160%;
    color: #828a99;
    grid-area: text;
    margin-top: 0;
}

.trademark-card:hover {
    border-color: #5c8ee6;
}

.trademark-card:hover .trademark-card-logo {
    fill: #5c8ee6;
}

.trademark-card:hover .trademark-card-title {
    color: #5c8ee6;
}

.trademark-card:hover .trademark-card-text {
    color: #5c8ee6;
}

.founder {
    min-height: 660px;
    position: relative;
}

.founder-photo {
    position: absolute;
    left: 0;
    width: 40%;
    top: 0;
    height: 100%;
    object-fit: cover;
}

.founder-content {
    max-width: 45rem;
}

.founder-content-wrapper {
    display: flex;
    justify-content: flex-end;
}

.founder-text {
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    color: #828a99;
}

.clients-wrapper {
    display: flex;
    gap: 3.125rem;
}

.clients-content {
    flex-basis: 50%;
}


.clients-list {
    list-style-type: none;
    padding: 0;
    columns: 2 auto;

}

.clients-list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    color: #292d33;

}


.clients-logo-list {
    flex-shrink: 10;
    display: flex;
    flex-wrap: wrap;
}



.clients-logo-item {
    flex-basis: 33%;
    min-height: 10rem;
    border: 1px solid #ebebf0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    filter: grayscale(100%);
    transition: filter 0.2s;
}

.clients-logo-item:hover {
    filter: grayscale(0%);
}

.clients-logo {
    max-width: 100%;
}

/* @media (max-width: 75rem) {
    html {
        font-size: .75rem;
    }

    .header-image {
        background-position: center;
    }

    .slider-buttons {
        display: flex;
    }

    .steps-buttons {
        display: flex;
    }

    .card {
        flex-basis: 50%;
    }

    .trademark-card {
        grid-template-columns: auto auto;
    }
} */

.blog-card {
    display: flex;
    position: relative;
    min-height: 400px;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    justify-content: flex-end;
    padding: 50px;

}

.blog-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(41, 45, 51, 0.6);
    z-index: -1;
}

.blog-card-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.blog-card-title {
    font-style: normal;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 160%;
    margin-bottom: 10px;
    margin-top: 0;
}

.blog-card-text {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    margin-top: 0;
}

.blog-slider-footer {
    display: flex;
    align-items: center;
    margin-top: 30px;
    justify-content: space-between;
}

.bg-grey {
    background: #f0f2f5;
}

.section-cta {
    position: relative;
    padding-top: 6.25rem;
    margin-top: 9.375rem;
    margin-bottom: 6.25rem;
}

.cta-image {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 45rem;
    width: 50%;
}

.cta-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.cta-form {
    max-width: 51.25rem;
}

.cta-form-text {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    color: #828a99;
    margin-top: 22px;
    margin-bottom: 40px;
    max-width: 640px;
}

.input-group-wrapper {
    display: flex;
    gap: 1.875rem;
}

.input-group-vertical {
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    height: 66px;
    flex-grow: 1;
    background-color: #f0f2f5;
}

.input {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 30px;
    border: 1px solid #e4e4eb;
    background-color: inherit;

}

.input-group-label {
    position: absolute;
    cursor: text;
    top: 1.2rem;
    left: 1.975rem;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #828a99;
    transition: top 0.2s, left 0.2s, ffont-size 0.2s;
}

.input:focus {
    border: 1px solid #5c8ee6;
    outline: 0;
}

.input:focus~.input-group-label,
.input:not(:placeholder-shown).input:not(:focus)~.input-group-label {
    top: -0.5rem;
    left: 1.25rem;
    font-size: 0.625rem;
    background-color: inherit;
    padding: 0 10px;
}

.input.is-invalid {
    border: 1px solid red;
}

.just-validate-error-label {
    position: absolute;
    top: 0;
    right: 10px;
    background-color: inherit;
    transform: translateY(-50%);
    font-size: 0.8rem;
    display: inline-block;

}

.cta-form-footer {
    gap: 30px;
    display: flex;
    align-items: center;
    margin-top: 1.25rem;

}

.cta-form-button {
    flex-shrink: 0;
}

.notify {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notify-icon {
    flex-shrink: 0;
}

.notify-text {
    max-width: 23.75rem;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 160%;
    color: #828a99;
}

@media (max-width: 90.625rem) {
    html {
        font-size: .8125rem;
    }

    .header-image {
        background-position: center;
    }
}

.footer-top {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    width: 200px;
    height: 60px;
}

.footer-info {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-style: normal;
    color: #292d33;
    gap: 10px;
}

.footer-info-address,
.footer-info-email {
    font-style: inherit;
    text-decoration: inherit;
    color: inherit;
}

.footer-phone {
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
    line-height: 160%;
    text-decoration-line: underline;
    color: #292d33;
}

.footer-social-link {
    text-decoration: none;
}

.footer-seporator {
    color: #EBEBF0;
    opacity: 0.5;
}

.footer-bottom {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
}

.footer-menu-title {
    margin-top: 0;
    margin-bottom: 2.5rem;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 160%;
}

.footer-menu-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;

}

.footer-menu-column-2 {
    columns: 20rem auto;
    min-width: 50rem;
}

.footer-menu-link {
    text-decoration: none;
    color: #828a99;
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    margin-bottom: 15px;
    display: block;
}

.footer-menu-link-bold {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    color: #292d33;
    line-height: 160%;
    margin-bottom: 1.875rem;
}

.footer-seporator {
    color: #ebebf0;
    background-color: #ebebf0;

}

.footer-bottom {
    display: flex;
}

.footer-menu-wrapper:last-child {
    margin-left: 5rem;

}

.footer-wrapper {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-style: normal;
    color: #828a99;
}

.footer-copyright,
.footer-policy {
    font-style: normal;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 160%;
    color: inherit;
}

.footer-wrapper,
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4.375rem;
}

.modal {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 45, 51, 0.5);
    z-index: 10;
    display: flex;
}

.modal.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

.modal.is-open .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-dialog {
    background: #fff;
    margin: auto;
    max-width: 28.75rem;
    padding: 2.5rem 3.125rem;
    position: relative;
    transform: translateY(-10%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.modal-close {
    display: block;
    position: absolute;
    top: 40px;
    right: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ebebf0;
}

.modal-title {
    font-family: "Bebas Neue";
    font-stretch: normal;
    font-weight: 400;
    font-size: 3rem;
    line-height: 120%;
    color: #292d33;
    margin-top: 0;
    margin-bottom: 20px;
}

.modal-text {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 160%;
    color: #828a99;
    margin-bottom: 30px;
}

.modal-input-group {
    background-color: #fff;
}

.modal-form-footer {
    margin-top: 30px;
}

.modal-form-button {
    display: block;
    width: 100%;
    margin-bottom: 24px;
}


@media (max-width: 106.25rem) {
    html {
        font-size: .875rem;
    }

    .header-image {
        background-position: center;
    }
}

@media (max-width: 120rem) {
    html {
        font-size: 1rem;
    }

    .header-image {
        background-position: center;
    }
}

@media (max-width: 1460px) {
    html {
        font-size: 13px;
    }

    .header-logo {
        padding: 2rem;
    }

    .logo-svg {
        max-width: 6rem;
    }

    .header-nav {
        padding-left: 2rem;
    }

    .header-nav-item:not(:last-child) {
        margin-right: 1rem;
    }

    .header-phone {
        margin-right: 2rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: .75rem;
    }

    .header-image {
        background-position: center;
    }

    .container {
        max-width: 70rem;
    }

    .header-phone {
        display: none;
    }

    .navbar {
        height: 5rem;
    }

    .navbar-button {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .slider-buttons {
        display: flex;
    }

    .primary-buttons-wrapper {
        height: 40px;
    }

    .primary-button-prev,
    .primary-button-next {
        width: 60px;
    }

    .steps-buttons {
        display: flex;
    }

    .card {
        flex-basis: 50%;
    }

    .trademark-card {
        grid-template-columns: auto auto;
    }

    .founder-content {
        max-width: 35rem;
    }

    .clients-content {
        flex-basis: 60%;
    }

}

@media (max-width: 992px) {
    .container {
        max-width: 60rem;
    }

    html {
        font-size: 12px;
    }

    .header-nav {
        display: none;

    }

    .header-logo {
        flex-grow: 1;
        justify-content: center;
        border: none;
    }

    .logo-svg {
        max-width: 10rem;
    }

    .navbar-button {
        padding-left: 2.3rem;
        padding-right: 2.3rem;
    }

    .mobile-menu-toggle {
        width: 80px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 2.3rem 2.5rem;
        border-right: 1px solid rgba(235, 235, 240, 0.2);
    }

    .navbar-light .mobile-menu-line {
        background-color: #333;
    }

    .mobile-menu-line {
        height: 1px;
        background-color: #fff;
        width: 100%;
        transition: transform 0.2s;

    }

    .mobile-menu-line:nth-child(2) {
        width: 80%;
    }

    .navbar-button .button-text {
        display: none;
    }

    .navbar-button .button-icon {
        display: block;
        fill: "#ffffff;

    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        z-index: 2;
        background-color: #fff;
        padding-top: 5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .mobile-menu.is-open {
        display: block;
    }

    .mobile-menu-nav {
        list-style: none;
        padding: 0;
    }

    .mobile-menu-nav-item {
        margin-bottom: 2rem;
    }

    .mobile-menu-link {
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        line-height: 160%;
        color: #292d33;
    }

    .mobile-submenu {
        list-style-type: none;
        padding: 0;
        padding-left: 1rem;
        margin-top: 1rem;

    }

    .mobile-submenu-link {
        text-decoration: none;
        color: #828a99;
        font-size: 14px;
        line-height: 160%;
    }

    .mobile-phone {
        display: block;
        font-weight: 600;
        font-size: 20px;
        line-height: 160%;
        color: #292d33;
        text-decoration: underline;
        border-top: 1px solid #EBEBF0;
        padding-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .mobile-info {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .mobile-info-address,
    .mobile-info-email {
        text-decoration: none;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 160%;
        color: #292d33;
    }

    .close-menu .mobile-menu-line:nth-child(2) {
        display: none;

    }

    .close-menu .mobile-menu-line:nth-child(1) {
        transform: rotate(45deg) translateY(17px);
    }

    .close-menu .mobile-menu-line:nth-child(3) {
        transform: rotate(-45deg) translateY(-17px);
    }

    .trademark-cards {
        flex-direction: column;
    }

    .clients-wrapper {
        flex-direction: column;
    }

}

@media (max-width: 768px) {
    .container {
        min-width: 40rem;
    }

    .header-title {
        font-size: 4rem;
    }

    .header-content {
        padding-top: 4rem;
    }

    .card {
        flex-basis: 100%;
    }

    .founder-photo {
        position: relative;
        width: 100%;
        margin-bottom: 3.125rem;
    }
}

@media (max-width: 576px) {
    .container {
        min-width: 90%;
    }

    .trademark-card {
        grid-template-areas:
            "logo title"
            "text text"
    }

    .client-list {
        columns: 1;
    }

    .clients-logo-item {
        flex-basis: 50%;
    }

    .trademark-card {
        grid-template-areas:
            "logo title"
            "text text";
    }

    .client-list {
        columns: 1;
    }

    .clients-logo-item {
        flex-basis: 50%;
    }
}