*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #f3f4f9;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

.mar-r05 {
    margin-right: 0.5em;
}

.mar-r1 {
    margin-right: 1em;
}

.relative {
    position: relative;
}

/* Main container */

.root {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

/* Navigation */

.navigation__wrapper {
    position: absolute;
    max-width: 1829px;
    width: 100%;
    top: 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 130px;
}

.navigation__left {
    display: flex;
    align-items: center;
}

.navigation__left img {
    /* width: 126px; */
    /* width: 175px; */
    width: calc(75px + 4vw);
}

.navigation__left ul {
    list-style-type: none;
}

.navigation__left ul li {
    display: inline-block;
    margin: 0 20px;
    color: white;
    font-size: 18px;
    font-weight: 400;
    transition: 0.4s ease;
}

.quote {
    color: white;
    border: 1px solid white;
    padding: 12px 35px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

/* mobile navigation */
/* Style the navigation menu */
.hamburger {
    font-size: 24px;
    color: #fff;
    width: 50px;
    position: relative;
    margin: 0 15px;
}
.hamburger-menu {
    list-style: none;
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: rgb(18, 19, 19);
    padding: 30px 50px;
    z-index: 99;
}

.hamburger-menu a {
    color: white;
}
.hamburger-menu a:hover {
    color: #d62828;
}

/* Popup  quote request*/
.fancybox-bg {
    background-color: transparent !important;
}

.quote__wrapper {
    max-width: 1177px;
    width: 100%;
}
/* .quote__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.brake{
  display: none;
} */
.quote__wrapper h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #070b30;
}
.quote__wrapper input,
.quote__wrapper select {
    margin: 20px 0;
    text-align: center;
    padding: 3px 0;
    border: 0;
    outline: 0;
    border-bottom: 1px solid black;
    color: #070b30;
}

.quote__wrapper label {
    font-size: 18px;
    font-weight: 500;
    margin-left: 10px;
    color: #070b30;
}
.quote__wrapper select {
    width: 200px;
    text-align-last: center;
}

.quote__wrapper button {
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #070b30;
    font-size: 17px;
    font-weight: 500;
    margin-top: 40px;
}

#hidden-content-2 {
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s;
}

.fancybox-slide--complete #hidden-content-2 {
    opacity: 1;
    transform: translateY(0);
}

/* /////////////////////////////////////////////// */

/*///////////////////////////// popup-new book product demo  start //////////////////////////////////////////////////////*/

.fancybox-button {
    width: 35px !important;
    height: 35px !important;
}

.fancybox-slide--html .fancybox-close-small {
    border: 2px solid #c5c5c5;
    border-radius: 50%;
    padding: 3px !important;
    margin: 10px;
}

.btn {
    margin-top: 30px;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b5162b;
    border-radius: 10px;
    padding: 20px 50px;
    color: #fff;
    font-size: 18px;
    max-width: max-content;
    cursor: pointer;
    max-height: max-content;
    outline: none;
    border: none;
}

.btn:hover {
    background-color: #070b30;
}

#hidden-content-1 {
    /* Custom styling */
    padding: 0;
    border-radius: 4px;
    max-width: 1225px;
    /* Custom transition - fade from top*/
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s;
}

.book-demo-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.book-demo-wrapper > div:first-child img {
    height: 100%;
}

.book-demo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    grid-template-rows: max-content;
    padding: 100px 40px 100px 100px;
}

.fire-img-wrapper {
    grid-column: 1 / 3;
}

.book-demo h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 120%;
}

.book-demo-right p {
    padding-left: 50px;
}

.book-demo-input-wrapper {
    display: flex;
    flex-direction: column;
}

.book-demo input {
    border: none;
    border-bottom: 1px solid black;
    padding: 10px 5px;
    outline: none;
    background-color: transparent;
}

.book-demo-wrapper > div:first-child img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.book-demo-wrapper > div {
    max-width: 400px;
    width: 100%;
}

.book-demo-inputs .book-demo-input-wrapper:last-child {
    margin-top: 20px;
}

.book-demo-input-wrapper label {
    font-size: 14px;
}

.fancybox-bg {
    background-color: transparent !important;
}

.fancybox-slide--complete #hidden-content-1 {
    opacity: 1;
    transform: translateY(0);
}

/*////////////////////////// popup-new book product demo  end //////////////////////////////////////////*/

.cell {
    color: white;
    margin-right: 95px;
    font-size: 18px;
    font-weight: 600;
}

/* Header */

.head {
    max-width: 100%;
    height: 729px;
    padding: 210px 130px 0 130px;
    background-color: rgba(34, 39, 109, 0.753);
    background-blend-mode: multiply;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    /* background-image: url(/assets/img/page-products/header/bg.png); */
    background-image: url(/assets/img/hero.png);
}

.head__left {
    width: 560px;
}

.head__left h1 {
    font-size: 56px;
    line-height: 60px;
    color: white;
    font-weight: 500;
}

.head__left h4 {
    margin-top: 30px;
    color: white;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
}

.head__right + div {
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 10%;
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.video-link,
.video-link a {
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    /* margin-right: 50px; */
}

.arrow_down {
    color: #d62828;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.view__products {
    position: relative;
    margin-top: 90px;
    display: flex;
    align-items: center;
}

.view__products a {
    position: absolute;
    width: 100%;
    height: 100%;
}

.view__products h3 {
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
}

.head__right > a {
    display: block;
    writing-mode: vertical-rl;
    margin-top: 30px;
    color: white;
    transform: rotate(180deg);
}

.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 25px;
}
.video-container img {
    max-width: 310px;
}

/* Products */

.products {
    max-width: 100%;
    padding: 70px 130px;
}

.products h1 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #373542;
}

.products__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 10px;
    margin-bottom: 67px;
}

.products__item {
    padding: 30px 20px 10px 20px;
    background-color: white;
    text-align: center;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.products__item--overlay {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f3f3f3;
    transition: 0.4s ease;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    opacity: 0;
}

.products__item--overlay a {
    position: absolute;
    width: 100%;
    height: 100%;
}

.products__item:hover .products__item--overlay {
    display: flex;
    opacity: 1;
}

.products__item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.products__item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 180px;
}

.products__item p {
    line-height: 22px;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    color: #373f41;
    text-align: center;
}

.products h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #373542;
}

.swiper-container {
    width: 100%;
    height: auto;
}

/* About */

.about {
    max-width: 100%;
    padding: 70px 130px;
    height: 700px;
    background-color: #070b30;
    /* background-image: url('/assets/img/about/background.png'); */
}

.about__header {
    display: flex;
    justify-content: space-between;
}

.about__header h1 {
    width: 400px;
    font-size: 48px;
    line-height: 56px;
    font-weight: 600;
    color: white;
}

.arrow_right {
    color: white;
    background-color: #d62828;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.arrow_right.blue {
    background-color: #070b30;
    cursor: pointer;
}

/* .arrow_right a{
   position: absolute;
   width: 100%;
   height: 100%;
} */

.about_subheader {
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.about_subheader h3 {
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.about__header p {
    width: 629px;
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.about__imgblock {
    width: 100%;
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    grid-gap: 50px;
}

.about__imgblock > div {
    max-width: 470px;
    width: 100%;
    height: 500px;
    display: flex;
    box-shadow: 0px -200px 800px -45px #070b30 inset;
    align-items: flex-end;
    margin-bottom: 20px;
    color: #fff;
    padding: 30px 20px;
    font-size: 24px;
    font-weight: 500;
    position: relative;
    transition: 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
    overflow: hidden;
    background-position: center center;
}

.about__imgblock > div:hover {
    box-shadow: 0px -300px 800px -45px #070b30 inset;
}

.about__imgblock > div > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about__imgblock > div > div {
    width: max-content;
    position: relative;
}

.about__imgblock > div > div::after {
    content: '';
    position: absolute;
    width: 125px;
    height: 1px;
    background-color: #fff;
    bottom: 0;
}

/* Brands */

.brands {
    margin-top: 200px;
    max-width: 100%;
    padding: 40px 130px;
}

.brands h1 {
    /* width: 530px; */
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: #070b30;
    text-align: center;
}

.brands p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 70px;
    color: #3d3f4e;
}

.swiper-container1 {
    width: 400px;
    height: auto;
}

.swiper-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-container .swiper-wrapper {
    align-items: center;
}

.swiper-container.partners .swiper-wrapper .swiper-slide {
    display: flex;
    max-width: max-content;
    padding: 20px;
}

.swiper-container.brands .swiper-wrapper .swiper-slide {
    max-width: max-content;
    display: flex;
    justify-content: center;
}

.swiper-container.brands {
    margin: 0;
}

.swiper-slide img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 100%;
    object-fit: contain;
}

.index-partners {
    padding-top: 0;
}

/* Union */

.union {
    margin: 0 7%;
    margin-bottom: 100px;
    max-width: 100%;
    height: 790px;
    color: white;
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr; */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    /* grid-template-rows: 1fr 1fr; */
    grid-template-rows: max-content;
    gap: 4px;
    margin-top: 30px;
}
.union-item {
    /* min-height: 400px; */
}
.union__text {
    background-color: #f3f4f9;
    padding: 40px 30px;
}

.union__text h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: #070b30;
}

.union_learn {
    margin: 40px 0;
    display: flex;
    align-items: center;
}

.union_learn h2 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #070b30;
}

.union__circle {
    width: 45px;
    height: 45px;
    background-color: #070b30;
    border-radius: 50%;
    margin-right: 15px;
}

.union__text a {
    color: #070b30;
}

.union-item {
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    padding: 34px 31px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}

.union-item:hover:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(transparent, transparent, rgba(67, 17, 247, 0.616));
}

.ui-date i {
    margin-right: 10px;
}

.ui-date {
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.583333px;

    color: #ffffff;
}

.ui-title {
    font-family: Poppins;
    font-style: normal;
    font-weight: 500;
    font-size: 26px;
    line-height: 120%;
    margin-bottom: 15px;
    color: #ffffff;
}

.ui-footer {
    display: flex;
    justify-content: space-between;
}

.union-item a {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-align: right;
    letter-spacing: 0.583333px;

    color: #ffffff;
}

.link-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

/* About */

.contacts {
    background-color: #070b30;
    max-width: 1829px;
    width: 100%;
    height: 826px;
    margin: 0px auto 100px auto;
    position: relative;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.map {
    max-width: 868px;
    width: 100%;
    position: absolute;
    right: 0;
    /* top: -150px; */
}

.about_text {
    position: absolute;
    max-width: 680px;
    top: 150px;
    left: 150px;
}

.about_text h1 {
    color: white;
    font-size: 48px;
    font-weight: 600;
}

.about_text p {
    color: white;
}

.about_text form {
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 20px;
    grid-column-gap: 100px;
}

.about_text form p {
    font-size: 14px;
    font-weight: 200;
}

.about_text form input {
    width: 100%;
    background-color: transparent;
    color: white;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid white;
    margin-bottom: 40px;
    outline: none;
}

.about_text form button {
    background-color: #d62828;
    padding: 15px 25px;
    border: 0;
    border-radius: 4px;
    width: 200px;
    color: white;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
}
.about_text form button:hover {
    background-color: #ff1e1e;
}

/* Footer */

.footer {
    max-width: 100%;
    padding: 70px 130px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #070b30;
}

.footer__left {
    display: flex;
    flex-direction: row;
}

.footer__left img {
    max-width: 189px;
}

.footer__left h1 {
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 500;
    line-height: 42px;
    color: #070b30;
}

.footer__left > div:last-child {
    max-width: 500px;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
}

.footer__right {
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer__links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer__links ul {
    list-style-type: none;
    margin: 0;
}

.footer__links ul li {
    padding: 2px 0;
}

.footer__links ul li a {
    color: #070b30;
    font-size: 16px;
    font-weight: 400;
}

.footer__links ul li a:hover {
    text-decoration: underline;
}

.footer_copyright {
    position: absolute;
    bottom: 0;
}

.footer__links > div:last-child {
    margin-left: 20px;
}

.send-btn {
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.loading {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: url(/images/loading-btn.gif) center center no-repeat #070b30;
}

.f-msg {
    text-align: center;
    width: auto;
    max-width: 650px;

    position: absolute;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    right: 50%;
    transform: translate(50%, 0);
}
.contact .f-msg {
    width: auto;
    max-width: 1000px;
}
.f-msg div {
    color: #fff;
    padding: 20px 3%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 20px 0;
}
.form-err {
    background-color: #facccc !important;
}

.chf-err div {
    background-color: #ff0000 !important;
}

.chf-done div {
    background-color: #0e5f76 !important;
}

/* .footer__con */

@media only screen and (max-width: 1722px) {
    .contacts {
        height: unset;
    }
    .about_text {
        position: initial;
        padding: 30px;
    }
    .map {
        position: initial;
        display: block;
    }
}

@media only screen and (max-width: 1730px) {
    .navigation__wrapper {
        padding: 20px 20px;
    }
}

@media only screen and (max-width: 1530px) {
    .cell {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 1420px) {
    .contacts__grid {
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
        width: 100%;
    }
}

@media only screen and (max-width: 1250px) {
    .about_text h1 {
        font-size: 25px;
    }
    .footer {
        padding: 70px 40px;
    }
    .footer__left h1 {
        font-size: 24px;
    }
    .fire-img-wrapper {
        grid-column: 1;
    }
    .book-demo {
        grid-template-columns: 1fr;
        column-gap: 20px;
        grid-template-rows: max-content;
        padding: 100px 40px 100px 100px;
    }
    .book-demo-inputs .book-demo-input-wrapper {
        margin-top: 20px;
    }
    .book-demo-right p {
        padding: 0;
    }
}

@media only screen and (max-width: 1225px) {
    .navigation__left ul li {
        margin: 0 5px;
    }
}

@media only screen and (max-width: 1225px) {
    .about {
        padding: 70px 30px;
    }
}
@media only screen and (max-width: 1180px) {
    .head__right + div {
        display: NONE;
    }
}

@media only screen and (max-width: 1125px) {
    .about__header {
        flex-direction: column;
    }
    .about__header h1 {
        width: 100%;
    }
    .about__header p {
        width: 100%;
    }
    .contacts {
        margin-bottom: 0;
    }
    .brands {
    }
}

@media only screen and (max-width: 1050px) {
    .navigation__left ul li,
    .cell {
        font-size: 12px;
    }
}

@media only screen and (max-width: 950px) {
    .head__right + div {
        display: NONE;
    }
    .head__right {
        margin-left: 20px;
    }
    /* Quote popup */
    .quote__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    #hidden-content-2 {
        padding: 10px;
    }
    .brake {
        display: none;
    }
    .quote__wrapper h1 {
        font-size: 30px;
    }
    .quote__wrapper label {
        font-size: 16px;
        line-height: 20px;
    }
    .quote__wrapper select {
        width: 100%;
    }
    /* /////////////////// */
}

@media only screen and (max-width: 900px) {
    .footer__left {
        flex-direction: column;
    }
    .footer__left > div {
        margin-bottom: 15px;
    }
    .footer__left > div:last-child {
        padding: 0;
    }
    .about {
        height: unset;
    }
    .about__imgblock {
        grid-template-columns: 1fr;
    }
    .products h1 {
        font-size: calc(14px + 2vw);
    }
    .products__container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media only screen and (max-width: 960px) {
    .navigation__left ul {
        display: none;
    }

    /* Mobile navigation */
    .navigation__right {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .container {
        display: inline-block;
        cursor: pointer;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 35px;
        height: 5px;
        background-color: #d62828;
        margin: 6px 0;
        transition: 0.4s;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-9px, 6px);
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }

    /* /////////////////////////// */
}

@media only screen and (max-width: 860px) {
    .about__header p {
        margin-right: 0;
    }
    .head {
        padding: 225px 30px 0 30px;
    }
    .head__left h1 {
        font-size: calc(16px + 2vw);
        line-height: 120%;
    }
    .head__left h4 {
        font-size: calc(14px + 1vw);
    }

    .about__header h1 {
        font-size: 20px;
        line-height: 25px;
    }
    .about {
    }
}

@media only screen and (max-width: 786px) {
    .about_text form {
        grid-template-columns: 1fr;
    }

    .products {
        padding: 70px 30px;
    }
    .brands {
        margin-top: 0px;
        padding: 70px 30px;
    }
    .brands h1,
    .union__text,
    .union__text h1 {
        font-size: calc(14px + 2vw);
        width: 100%;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
    }
    .union__text h1 {
        line-height: 40px;
    }
    .union__text {
        padding: 20px;
        border: 0;
    }
    .union {
        height: unset;
    }
    .contacts {
        margin-top: 0;
    }
    /* .navigation__left img {
        width: 50px;
    }

    .navigation__left img {
        width: 50px;
    } */
}

@media only screen and (max-width: 600px) {
    .footer {
        grid-template-columns: 1fr;
    }
    .footer__left h1 {
        margin-bottom: 15px;
    }
    .footer__links ul {
        padding: 0;
    }
    .footer__links {
        margin: 20px 0;
    }
    .footer_copyright {
        position: initial;
    }
    .book-demo-wrapper > div {
        display: none;
    }
    .book-demo {
        padding: 100px 30px 100px 30px;
    }
    .navigation__left img {
        width: 100px;
    }
}

@media only screen and (max-width: 500px) {
    .products__container {
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .head {
        padding: 150px 30px 0 30px;
        height: 600px;
    }
    .cell {
        display: none;
    }
    /* Quote popup */
    .quote__wrapper label {
        font-size: 14px;
    }
}
