@media(max-width:1199px) {
    body {
        margin: 10px 10px;
    }
    .service-item .content {
        max-width: unset;
    }

}

@media(max-width:991px) {
    body {
        margin: 5px 5px;
    }
    .slider .container-fluid {
        padding: 0;
    }

    .mobile-nav {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: end;
    }

    .top-nav {
        display: none;
    }

    .header {
        height: 80px;
    }

    .logo img {
        display: block;
        width: auto;
        height: 40px;
    }

    .mobile-nav .hamburger-lines {
        display: block;
        height: 26px;
        width: 32px;
        z-index: 2;
        display: flex;
        /* margin-right: 15px; */
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-nav .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #0e2431;
    }

    .mobile-nav .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .mobile-nav .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .mobile-nav .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .mobile-nav.active .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .mobile-nav.active .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .mobile-nav.active .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    .mobile-nav.active .logo {
        display: none;
    }

    .nav-box {
        display: flex;
        height: 100vh;
        width: 100%;
        align-items: center;
        top: 0;
        left: 0;
        background-color: #fff;
        transform: translateX(-150%);
        position: absolute;
        transition: transform 0.4s ease-in-out;
        ;
    }

    .mobile-nav.active .nav-box {
        transform: translateX(0);
    }


    .nav-box ul {
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-box ul li a {
        display: flex;
        height: 6rem;
        align-items: center;
        justify-content: center;
        font-size: 2.4rem;
        line-height: 2.4rem;
        font-weight: 400;
        text-decoration: none;
    }


    .nav-box ul li a:hover,
    .nav-box ul li a.active {
        background-color: #E11B22;
        color: #fff;
    }

    .cases-list a {
        display: flex;
        width: 30%;
        justify-content: center;
    }

    .cases-list a img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    .partners-list a {
        display: flex;
        width: 50%;
    }

    .partners-list a img {
        display: block;
        max-width: 100%;
        height: auto;
    }


    .partners-list.three-item{
        justify-content: center;
    }

    .partners-list.three-item a,
    .partners-list.four-item a{
        justify-content: center;
    }
    
     

    .partners-list.four-item a:nth-child(2) {
        order: -1;
        
    }

    .partners-list.four-item a:nth-child(1),
    .partners-list.four-item a:nth-child(2){
        margin-bottom: 30px;
    }

    .partners-list.three-item a:nth-child(2) {
        order: 1;
        width: 100%;
    }

    .footer{
        height: auto;
    }

    .about-img{
        display: flex;
        justify-content:center;
    }

}

@media (max-width:767px) {
    body {
        margin: 0 0 0 0;
    }
   .bottom-nav ul{
    margin-top: 20px;
    flex-wrap: wrap;
    height: auto;

   }

   .top-nav ul li, .bottom-nav ul li{
    margin: 0;
    margin-right: 30px;
    margin-bottom: 10px;
   }
.copyright br{
    display: none;
}
.ilinks{
    margin: 15px 0;
}

}

@media (max-width:574px) {
    body {
        margin: 0 0 0 0;
    }
    .slide-body {  
        background-size: 150%;
        height: 300px;
        padding: 0 50px;
    }

    .service-item

    h2 {
        font-size: 30px;
        line-height: 54px;
    }

    .slide-text {
        font-size: 30px;
        line-height: 38px;
    }

    .cases-list a {
        display: flex;
        width: 30%;
    }

    .cases-list a img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    .partners-list a{
        width: 100%;
    }

    .partners-list.partners-list.three-item{
        margin-bottom: 0;
    }
    .partners-list.partners-list.three-item a:last-child{
        margin-bottom: 0;
    }

    .partners-list.four-item a{
        margin-bottom: 30px;
    }

    .partners-list.three-item a:nth-child(2) {
       margin-top: 30px;
    }
}

@media (max-width:480px) {
    body {
        margin: 0 0 0 0;
    }
    .about p{
        font-size: 16px;
        line-height: 24px;
    }
    .service-item {
        flex-direction: column;
    }

    .service-item .picture {
        display: flex;
        justify-content: center;
    }

    .service-item .subtitle {
        text-align: center;
    }

    .service-item .picture {
        margin-left: 0;
        margin-right: 0;
    }

    .cases-list a {
        display: flex;
        width: 45%;
    }

    .cases-list a img {
        display: block;
        max-width: 100%;
        height: auto;
    }
}

@media (max-width:375px) {
    body {
        margin: 0 0 0 0;
    }
    .slide-body {
        background-size: 150%;
        height: 200px;
        padding: 0 15px;
    }

    .slide-text {
        font-size: 20px;
        line-height: 28px;
    }
}