@media screen and (max-width: 1315px) {
    .banner-left, .industries-prev, .about-us-nav { padding-left: 20px; }
    .team-swiper-cont { padding: 0 20px 50px; }
    .team-swiper-head { padding-left: 0; }
    .team-swiper-cont .content1 hr { margin-left: 0px; }
}

@media screen and (max-width: 1230px) {
    .country-num {
        padding: 15px 30px;
    }

    .human-resources, .country-num {
        gap: 5px;
        margin-bottom: 25px;
        span:first-child {
            font-size: 30px;
            line-height: 35px;
        }
        span:last-child {
            font-size: 15px;
            line-height: 19px;
        }
    }

    .about-right > p:last-of-type { margin-left: 0; }

    .service-num {
        font-size: 95px;
        line-height: 121px;
        right: 10px;
    }
}

@media screen and (max-width: 1150px) {
    .countries-content {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        a { width: 100%; }
    }
    .countries-content a:nth-child(4n) { border-right: 1px solid var(--brand-grey); }
    .countries-content a:nth-last-child(-n+3) { border-bottom: 1px solid var(--brand-grey); }

    .member-grid {
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
    }

    .main-news-prev { padding-bottom: 0; }
    .news-grid-cont { padding: 0 20px 100px; }
    .news-grid { grid-template-columns: repeat(1, 1fr); }
}

@media screen and (max-width: 1023px) {
    .menu, .header-actions { display: none; }
    #menu-toggle-button { display: flex; }

    .about-prev::before {
        right: 0; top: 60px;
        width: 105px; height: 93px; 
    }

    .about-prev-content > img { width: 300px; height: 315px; }
    .about-right { 
        padding: 0;
        width: calc(100% - 335px); 
        > p:first-child { margin-bottom: 20px; }
    }

    .country-num { bottom: 20px; }
    .about-right > p:last-of-type { margin-left: 40px; }

    .service-prev .content {
        flex-direction: column;
        gap: 20px;
    }

    .service-prev-cont { 
        width: 100%; 
        > p:nth-child(2) { margin-bottom: 20px; }
    }

    .service-swiper-cont { width: 100%; }
    .join-us-right { padding: 20px; }

    .news-prev {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 30px;
        &::after { content: none; }
    }

    .news-left {
        width: 600px;
        margin: 0 auto;
    }
    .news-right { width: 100%; }

    .footer-content {
        flex-direction: column;
        gap: 55px;
        > div:first-child { order: 4; }
        .footer-menu:nth-child(2) { order: 1; }
        .footer-menu:nth-child(3) { order: 2; }
        .footer-contact { order: 3; }
    }

    .member-grid { display: none; }
    .member-swiper {
        display: block !important;
        width: 100% !important;
    }

    .service-grid .service-card, .other-service-swiper .service-card {
        .title { max-width: unset; }
        .service-num {
            bottom: -40px; top: unset; right: 20px;
            transform: none;
        }
    }

    .news {
        flex-direction: column;
        &::before { content: none; }
    }

    .current-news, .other-news {
        width: 600px;
        margin: 0 auto;
        > div {
            .goto-news { display: flex; }
            .news-prev-item::before { content: ''; }
        }
    }
}

@media screen and (max-width: 900px) {
    .industries-prev {
        padding: 50px 20px;
        flex-direction: column;
        gap: 30px;
    }

    .industries-container { padding: 30px 20px 80px; }
    .curr-industry-cont { padding: 140px 20px 80px; }
    .current-industry { padding-top: 20px; }

    .industries-left {
        width: 100%;
        &::after { content: none; }
    }

    .industries-swiper-cont { width: 100%; }

    .countries-content { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 767px) {
    .banner {
        flex-direction: column;
        height: unset;
        img {
            width: 100%;
            height: 400px; 
            object-fit: cover;
            object-position: unset;
        }
    }

    .banner-left { 
        padding: 120px 20px 0;
        width: 100%; 
        height: 420px; 
        > p:first-child {
            font-size: 40px;
            line-height: 40px;
            max-width: 320px;
            margin-bottom: 10px;
        }
        > p:nth-child(2) {
            font-size: 14px;
            line-height: 17px;
            margin-bottom: 30px;
            max-width: unset;
        }
    }

    .about-prev-content { flex-direction: column; }
    .about-prev { padding: 30px 20px; }
    .country-num {
        bottom: unset;
        top: 180px; left: 350px;
    }

    .about-right { 
        width: 100%; 
        > p:first-child {
            font-size: 20px;
            line-height: 24px;
            max-width: unset;
        }
        > p:last-of-type {
            font-size: 16px;
            line-height: 20px;
            margin-left: unset;
            max-width: unset;
        }
    }

    .human-resources {
        position: absolute;
        left: 330px; top: 0;
        margin-bottom: 0;
    }

    .join-us {
        flex-direction: column;
        min-height: unset;
        > img {
            width: 100%;
            height: 350px;
        }
    }

    .join-us-right {
        padding: 45px 20px;
        width: 100%;
        height: unset;
    }

    .curr-member {
        flex-direction: column;
        gap: 30px;
        > img:first-child {
            height: 450px;
            margin: 0 auto;
        }
    }

    .member-info { width: 100%; }

    .service-grid { grid-template-columns: repeat(1, 1fr); }

    .other-service-swiper .service-card { 
        width: 330px !important; 
        padding: 40px 30px 25px;
    }

    .contact-top > img { display: none; }
    .contact-form-cont, .contact-items1, .map { width: 100%; }
    .contact-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 650px) {
    .service-prev { padding: 30px 20px; }
    .service-prev-cont p:first-child {
        font-size: 30px;
        line-height: 35px;
        height: 35px;
        margin-bottom: 10px;
    }

    .service-swiper {
        border: none;
        height: unset !important;
        &::after { content: none; }
        .service-card:first-child, .service-card:nth-child(2),
        .service-card:last-child { border: unset; }
        .service-card { 
            border: 1px solid var(--brand-grey) !important;
            border-radius: 20px;
            width: 333px !important; 
        }
    }

    .service-card {
        padding: 40px 30px 25px;
        .title {
            font-size: 16px;
            line-height: 19px;
            height: 38px !important;
            margin-bottom: 10px;
        }
        .intro { margin-bottom: 25px !important; }
    }

    .service-card:hover .see-more { 
        width: 50px; 
        span { display: none; }
        img { left: 50%; top: 50%; transform: translate(-50%, -50%); }
    }

    .see-more {
        width: 50px;
        height: 35px;
    }

    .news-left, .current-news, .other-news  { width: 100%; }
}

@media screen and (max-width: 550px) {
    .news-left {
        position: relative;
        display: flex;
        flex-direction: column;
        > img:first-child {
            width: 100%; 
            height: 210px;
            margin-bottom: 20px;
        }
        .title {
            font: 14px 'BPG Excelsior';
            line-height: 18px;
            height: 54px;
            text-overflow: ellipsis;
            overflow: hidden;
            margin-bottom: 0;
            max-width: 220px;
            -webkit-text-stroke: unset;
        }
        .goto-news {
            position: absolute;
            display: flex;
            right: 0; bottom: 20px;
        }
    }

    .news-left::before, .news-prev-item::before {
        content: '';
        position: absolute;
        background: var(--brand-grey);
        right: 83px; bottom: 0;
        top: unset;
        height: 84px;
        width: 1px;
    }

    .news-prev-item {
        border-bottom: none;
        flex-direction: column;
        align-items: unset;
        padding-bottom: 0;
        > img:first-child {
            width: 100%; 
            height: 210px;
        }
        .goto-news {
            position: absolute;
            display: flex;
            right: 0; bottom: 20px;
        }
    }

    .team-swiper-head {
        span {
            font-size: 20px;
            line-height: 24px;
        }
        div { display: none; }
    }
    
    .countries-content { grid-template-columns: repeat(1, 1fr); }

    .service-title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .curr-service-text {
        padding: 30px 20px 30px 25px;
        .name {
            font-size: 20px;
            line-height: 24px;
            margin-bottom: 20px;
        }
    }

    .share {
        padding-left: 0;
        flex-direction: column;
        align-items: unset;
        gap: 15px;
    }

    .current-news {
        .title {
            font-size: 20px;
            line-height: 24px;
            margin-bottom: 20px;
        }
        > img:first-child { height: 210px; }
    }
}

@media screen and (max-width: 500px) {
    .about-prev-content {
        padding-top: 70px;
        > img { width: 200px; height: 250px; }
    }

    .country-num { top: 210px; left: 260px; }
    .human-resources { top: 70px; left: 230px; }
    .about-right p {
        max-width: 330px;
        text-align: center;
    }

    .about-right > p:first-child {
        position: absolute;
        top: 0;
    }

    .location-cont .title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .location-item { padding: 15px; }
    .region {
        display: flex;
        align-items: center;
        justify-content: space-between;
        p {
            font-size: 12px;
            line-height: 16px;  
        }
    }

    .service-head {
        flex-direction: column;
        gap: 20px;
        .page-title {
            font-size: 30px;
            line-height: 35px;
        }
    }

    .consult-link { width: 100%; }
    
    .business-item, .bussiness-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 30px 0;
    }
    .bussiness-head { 
        padding-top: 0; 
        margin-bottom: 30px;
    }

    .current-industry {
        > img:first-child { height: 300px; }
        .title {
            font-size: 30px;
            line-height: 35px;
        }
    }
}

@media screen and (max-width: 450px) {
    .banner img { height: 230px; }
    .learn-more, .see-all { width: 100%; }

    .join-us > img { height: 210px; }
    .join-us-right {
        .title {
            font-size: 20px;
            line-height: 24px;
            margin-bottom: 15px;
        }
        .intro {
            font-size: 12px;
            line-height: 15px;
            margin-bottom: 20px;
        }
    }

    .industries-left {
        .title {
            font-size: 20px;
            line-height: 24px;
            margin-bottom: 20px;
        }
        .intro { margin-bottom: 20px; }
    }

    .contact-items > a span { width: calc(100% - 50px); }
    .footer-content > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-us-nav { padding-top: 123px; }
    .members-container {
        padding: 123px 20px 110px;
        .page-nav { margin-bottom: 30px; }
    }

    .members { margin-bottom: 40px; }
    .curr-member > img:first-child { width: 100%; }

    .career-container { padding: 123px 20px 70px; }
    .vacancy {
        flex-direction: column;
        align-items: unset;
        gap: 20px;
    }

    .service-cont, .main-news-prev, .contact-cont,
    .curr-news-cont, .business-news-cont { padding: 140px 20px 100px; }
    .service-head .page-title {
        font-size: 20px;
        line-height: 24px;
    }

    .fullname {
        flex-direction: column;
        gap: 10px;
        input { width: 100%; }
    }

    .contact-form button { width: 100%; }
    .contact-items1 {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 380px) {
    .human-resources {
        left: 215px;
        span:first-child {
            font-size: 20px; 
            line-height: 22px;
        }
    }

    .curr-member > img:first-child { height: 400px; }

    .current-news .title {
        font-size: 18px;
        line-height: 22px;
    }

    .current-industry > img:first-child { height: 250px; }
}