@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

.main-page .services__container {
    height: 690px;
}
.main-page .cases__slider-container .slide__item .case-item p {
    font-family: 'IBM Plex Sans', monospace;
}
.main-page .cases__slider-container .slide__item .case-result {
    font-weight: 600 !important;
    font-size: 20px !important;

    @media (max-width: 480px) {
        font-size: 16px !important;
    }
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

.scrollContainer {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scrollContainer .scrollWrapper {
    display: flex;
    gap: 40px;
    animation: scrollAnim 30s infinite linear;
    width: max-content;
}

.scrollContainer .scrollWrapper .item {
    transition: 200ms ease-in-out;
}

@keyframes scrollAnim {
    to {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

.header .header__container {
    height: 170px;
}

.header__navcontainer {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;

    @media (max-width: 1550px) {
        flex-direction: column-reverse;

        .nav__list {
            justify-content: flex-end;

        }

        .contacts {
            justify-content: flex-end;
            margin-bottom: 24px;
        }
    }

    @media (max-width: 1024px) {
        flex-grow: 0;

    }
}

.nav__list-link {
    font-weight: 600;
}

.contact__text {
    font-family: 'IBM Plex Mono', sans-serif;
    font-weight: 600;
}

.intro {
    margin: 0 40px;
}

.main-page .cases__slider-controls .prev-slide, .main-page .cases__slider-controls .next-slide {
    margin: 0;
}
.main-page .cases__slider-controls {
    gap: 16px;
}

@media (max-width: 1024px) {
    .intro {
        padding: 110px;
        max-height: 490px !important;
        margin: 0 24px;
    }

    .intro__container {
        position: static;
        margin-bottom: 50px;

        padding: 0;
    }
    .intro__title {
        margin-bottom: 20px;
    }
    .intro__stats {
        gap: 20px;

        .stat__number {
            font-size: 30px;
        }

        .stat__label {
            font-size: 14px;
        }
    }
    .header .header__container {
        height: 80px;
    }
    .main-page .services__container {
        height: auto;
    }
}

.products__title {
    max-width: 1024px;
}

.main-page .products {
    margin-bottom: 500px;
}

.main-page .products__row {
    max-width: 1024px;
    flex: 1;
}

.main-page .products__item {
    display: flex;
    justify-content: center;
    margin-top: 2px;
    border: none;
}

.main-page .services__item {
    border: 2px solid #E7EDF3 !important;
}

.main-page .partners {
    margin-bottom: 120px;
}

.main-page .services {
    margin-top: -300px !important;
}

.main-page .cases__container {
    height: auto;
    padding-top: 200px;
}

.main-page .gray-bg {
    height: 1530px;
}

.main-page .research {
    margin-bottom: 0;
}

.main-page .research__image img {
    margin-top: -100px;
}

.main-page .research__container {
    gap: 40px;
}

.main-page .research__content {
    align-self: flex-start;
}

.main-page .research__more {
    margin-top: 120px;
}

.main-page .suppliers {
    margin-bottom: 120px;
}

.main-page .suppliers__info {
    align-items: end;

    a {
        text-decoration: underline;
        color: #003ffd;
    }
}

.suppliers__link-icon {
    height: 20px;
}

.main-page .suppliers__link {
    margin-bottom: 24px;
}

.main-page .contacts-sec__adresses {
    flex: 22%;
    gap: 40px;
}

.main-page .contacts-sec__links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-page .contact__container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-page .contacts-sec {
    margin-bottom: 0;
}

.main-page .maps {
    margin-top: 40px;
}

.main-page .maps__container img {
    margin-bottom: 76px;
}

.main-page .research img {
    height: auto;
}

.main-page .maps__container {
    height: auto !important;
}

@media (max-width: 1280px) {
    .main-page .intro__container {
        font-size: 32px;
        max-width: 80%;
    }
}

@media (max-width: 1024px) {
    .main-page .intro__stats {
        gap: 20px;
    }
    .main-page .research__image {
        height: auto;
        /*width: 480px;*/
    }
    .main-page .intro__title {
        margin-bottom: 20px;
    }
    .main-page .research__container {
        padding: 170px 20px 90px 20px;
    }
    .mobile-menu-toggle {
        background-color: transparent;
        width: auto;
    }
    .main-page .maps {
        margin: 0;
    }
    .main-page .maps__container {
        height: auto;
    }
    .main-page .maps__container img {
        margin-bottom: 0;
    }
    .main-page {
        padding-bottom: 0;
    }
    .main-page .research__container {
        flex-direction: row;
    }
    .main-page .about__title {
        font-size: 32px;
    }
    .main-page .products__title {
        font-size: 32px;
    }
    .main-page .services__title {
        font-size: 32px;
    }
    .main-page .cases__title {
        font-size: 32px;
    }
    .main-page .research__title {
        font-size: 32px;
    }
    .main-page .suppliers__title {
        font-size: 32px;
    }
    .main-page .contacts-sec__title {
        font-size: 32px;
    }
    .main-page .contacts-sec__adress {
        font-size: 16px;
    }
    /* mobile-menu adaptive */
    .mobile-menu {
        margin-top: 80px;
    }
    .mobile-menu.active {
        width: 100%;
        left: 0;
        padding-left: 24px;
        margin-top: 80px;
    }
    .mobile-adress p {
        margin-bottom: 24px;
    }
    .mobile-menu .nav-menu {
        margin-bottom: 80px;
    }
    .mobile-menu .contacts {
        margin-bottom: 16px;
    }
    /* mobile-menu adaptive */
    .services__item-mobile-2:hover {
        height: 550px !important;
    }
    .services__item-mobile-4:hover {
        height: 300px !important;
    }
    .mobile-menu-toggle {
        width: auto;
        background-color: white;
    }
    .main-page .products__container {
        padding: 0 20px;
    }
    .main-page .products__list {
        padding: 0 20px;
    }
    .main-page .products__title {
        margin-bottom: 20px;
    }
    .main-page .products {
        margin-top: 80px;
    }
    .main-page .cases__slider-controls .prev-slide, .main-page .cases__slider-controls .next-slide {
        margin: 0;
    }
    .main-page .cases__slider-controls {
        gap: 16px;
        margin-bottom: 30px;
    }
    .main-page .services__item-name {
        top: inherit;
        bottom: 24px;
    }
    .main-page .services__item:hover {
        .services__item-name {
            top: 95px;
        }
    }
    .main-page .services__item-content {
        bottom: 24px;
    }
}
@media (max-width: 800px) {
    .main-page .research__container {
        flex-direction: column;
    }
    .main-page .research__image {
        margin-top: 350px;
    }
}
@media (max-width: 650px) {
    .main-page .research__image {
        margin-top: 280px;
    }
}
@media (max-width: 600px) {
    .main-page .research__image {
        margin-top: 370px;
    }
    .main-page .intro__stats .stat__number {
        font-size: 30px;
    }
    .main-page .intro {
        padding-top: 110px;
        padding-left: 0;
        padding-right: 0;
        margin: 0 ;
    }
    .main-page .intro__container {
        bottom: 0
    }
    .main-page .intro__title {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }
    .main-page .intro__stats {
        flex-wrap: nowrap;
    }
    .main-page .partners {
        margin-bottom: 50px;
    }
    .main-page .about {
        margin-bottom: 100px;
        padding: 0;
    }
    .main-page .products {
        padding: 0;
    }
    .main-page .suppliers {
        margin-bottom: 50px;

    }
    .main-page .services {
        padding: 0;
    }
    .main-page .research__more {
        margin-top: 24px;
    }
    .main-page .products {
        margin-bottom: 480px;
    }
    .main-page .stat__number {
        font-size: 48px !important;
    }
    .stat__number.counter {
        font-size: 48px !important;
    }
}

@media (max-width: 530px) {
    .main-page .research__image {
        margin-top: 450px;
    }
}

@media (max-width: 480px) {
    .services__item-mobile-2:hover {
        height: 610px !important;
    }
    .services__item-mobile-3:hover {
        height: 640px !important;
    }
    .main-page .intro__stats {
        gap: 20px;
        flex-direction: row;
    }

    .main-page .intro {
        padding-top: 110px;
        padding-left: 20px;
    }
    .main-page .research__image {
        margin-top: 170px;
    }
    .contacts {
        gap: 0;
        margin-bottom: 30px;
    }
    .main-page .products__container {
        padding: 20px;
    }
    .main-page .intro {
        padding-left: 0;
    }
    .main-page .intro__container {
        max-width: 90%;
    }
    .main-page .intro__title {
        max-width: 100%;
        margin-bottom: 92px;
    }
    .main-page .intro__title p {
        margin-bottom: 10px;
    }
    .main-page .intro__container {
        margin-bottom: 0;
    }
    .main-page .intro {
        padding-bottom: 0;
    }
    .main-page .intro__stats {
        margin-bottom: 20px;
    }
    .main-page .partners__logo {
        width: 70px;
    }
    .main-page .partners {
        margin-bottom: 30px;
    }
    .main-page .cases__slider-container .slide__item .case-card {
        padding: 16px;
    }
    .main-page .cases__slider-controls .prev-slide, .main-page .cases__slider-controls .next-slide {
        margin: 0;
    }
    .main-page .cases__slider-controls {
        gap: 16px;
        margin-bottom: 30px;
    }
    .main-page .cases .slide__item .case-card h4 {
        font-size: 20px;
        font-weight: 600;
    }
    .main-page .partners__logo {
        width: 70px;
        height: 50px;
    }
    .main-page .cases__slider-container .slide__item .case-item p {
        width: 90%;
    }

}

@media (max-width: 400px) {
    .main-page .research__image {
        margin-top: 270px;
    }
    .main-page .intro__title p:nth-child(1) {
        text-align: right;
    }
    .main-page .intro__title p:nth-child(2) {
        text-align: left;
    }
    .main-page .suppliers__container {
        gap: 64px;
    }
    .main-page .suppliers__email {
        align-self: flex-start;
        margin-bottom: 16px;
    }
    .main-page .services__item {
        width: 85%;
    }
    .main-page .services__item:hover {
        width: 85%;
    }
}

@media (max-width: 370px) {
    .main-page .research__image {
        margin-top: 290px;
    }
}

.main-page .services {
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1;
    padding-top: 180px;
    padding-bottom: 120px;

    @media (max-width: 1024px) {
        padding-top: 100px;
        padding-bottom: 70px;

    }
}
.main-page .cases__container {
    padding-top: 0 !important;
}
.main-page .cases {
    margin-top: 0;
    position: relative;
    padding-bottom: 200px;

    @media (max-width: 1024px) {
        padding-bottom: 120px;

    }
}
.main-page .cases-background {
    z-index: -1;
    position: absolute;
    top: -700px;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient( rgba(48,78,93, 0.9), rgba(48,78,93) ), url("../img/Page_header.png");
    background-repeat: no-repeat;
    background-position: right;
}
.main-page .products {
    margin-bottom: 0;
}
.main-page .research__image {
    margin-top: 0;
}

/* 1 */
@media (max-width: 395px) {
    .services__item-mobile-1:hover {
        height: 430px !important;
    }
}
@media (max-width: 390px) {
    .services__item-mobile-1:hover {
        height: 450px !important;
    }
}
@media (max-width: 385px) {
    .services__item-mobile-1:hover {
        height: 460px !important;
    }
}
@media (max-width: 380px) {
    .services__item-mobile-1:hover {
        height: 470px !important;
    }
}

/* 2 */
@media (max-width: 395px) {
    .services__item-mobile-2:hover {
        height: 580px !important;
    }
}
@media (max-width: 380px) {
    .services__item-mobile-2:hover {
        height: 590px !important;
    }
}
@media (max-width: 362px) {
    .services__item-mobile-2:hover {
        height: 620px !important;
    }
}

/* 3 */
@media (max-width: 395px) {
    .services__item-mobile-3:hover {
        height: 520px !important;
    }
}
@media (max-width: 377px) {
    .services__item-mobile-3:hover {
        height: 550px !important;
    }
}
@media (max-width: 370px) {
    .services__item-mobile-3:hover {
        height: 600px !important;
    }
}
@media (max-width: 362px) {
    .services__item-mobile-3:hover {
        height: 630px !important;
    }
}

/* 4 */
@media (max-width: 395px) {
    .services__item-mobile-4:hover {
        height: 190px !important;
    }
}
@media (max-width: 380px) {
    .services__item-mobile-4:hover {
        height: 200px !important;
    }
}
.main-page .services__item-name {
    white-space: break-spaces;
    word-wrap: inherit !important;
    font-size: 16px;
    /*max-width: 152px;*/
}
@media (max-width: 1024px) {
    .main-page .services__item-name {
        font-size: 20px;

    }
}
/*.main-page .services__accordion {*/
/*    height: 600px;*/
/*}*/

/*@media (max-width: 1024px) {*/
/*    .main-page .services__container {*/
/*        !*max-height: initial;*!*/

/*    }*/
/*}*/
/*.main-page .services__item-mobile-4 {*/
/*    min-width: 200px;*/
/*}*/