@media screen and (max-width: 1280px) {
    .site-header-main .site-branding,
    .site-header-menu {
        width: 100%;
    }

    .site-header-main .site-branding {
        position: relative;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .site-header-menu {
        align-items: flex-start;
    }

    .site-header-main .site-branding .custom-logo-link {
        margin: 0;
    }

    .head-search-cart-wrap {
        margin-left: auto;
    }

    #main-nav {
        flex-grow: 1;
    }

    a.ff-button.header-button {
        flex-shrink: 0;
    }
}

@media screen and (max-width: 1220px) {
    .section-wwd::before {
        width: 250px;
        height: 182px;
        background-size: 250px;
    }

    .wwd-block-item {
        width: 50%;
    }
}

@media screen and (max-width: 1150px) {
    .count-mission .wpsm_col-sm-6 {
        width: 100%;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1) .wpsm_number, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5) .wpsm_number {
        font-size: 30px !important;
    }

    .count-mission .wpsm_counterbox .wpsm_number {
        font-size: 40px !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) .wpsm_number {
        font-size: 70px !important;
    }

    .count-mission .wpsm_counterbox .wpsm_count-title {
        margin-top: 5px !important;
        font-size: 14px !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1)::before, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5)::before {
        width: 140px;
        height: 140px;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2)::before, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4)::before {
        width: 180px;
        height: 180px;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3)::before {
        width: 260px;
        height: 260px;
    }

    .count-content-section .section-featured-page::before {
        width: 200px;
        height: 132px;
        background-size: 200px;
    }

    .section-portfolio.style-two .portfolio-content::after {
        background-size: 100% 60px;
    }
}

@media screen and (max-width: 960px) {
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1)::before, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5)::before {
        width: 180px;
        height: 180px;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2)::before, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4)::before {
        width: 180px;
        height: 180px;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3)::before {
        width: 180px;
        height: 180px;
    } 

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5) {
        top: 0 !important;
        width: 20% !important;
    }
    
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4) {
        top: 0 !important;
        width: 20% !important;
    }
    
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) {
        top: 0 !important;
        width: 20% !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) .wpsm_number {
        font-size: 40px !important;
    }

    .count-mission .wpsm_counterbox .wpsm_count-title {
        margin-top: 20px !important;
        font-size: 12px !important;
    }

    .count-content-section {
        padding-bottom: 0;
    }

    .featured-page-desc p:first-of-type {
        margin-bottom: 30px;
        font-size: 16px !important;
    }
}

@media screen and (max-width: 960px) {
    .footer-widget-area.four .widget-column {
        width: 50%;
    }
}

@media screen and (max-width: 910px) {
    .site-header-menu {
        align-items: center;
        margin-top: -85px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        margin: 0;
    }

    #slider-section .swiper-slide.text-alignleft p {
        font-size: 23px;
        line-height: 30px;
    }
    
    .slider-image-wrapper,
    .slider-content-image {
        height: 100%;
    }
}

@media screen and (max-width: 870px) {
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5) {
        width: 33% !important;
    }
    
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4) {
        width: 33% !important;
    }
    
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) {
        width: 33% !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1)::before, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5)::before {
        width: 220px;
        height: 220px;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2)::before, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4)::before {
        width: 220px;
        height: 220px;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3)::before {
        width: 220px;
        height: 220px;
    } 

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1) .wpsm_number, .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5) .wpsm_number {
        font-size: 60px !important;
    }

    .count-mission .wpsm_counterbox .wpsm_number {
        font-size: 60px !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) .wpsm_number {
        font-size: 60px !important;
    }

    .count-mission .wpsm_counterbox .wpsm_count-title {
        max-width: 50% !important;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .section-wwd::before {
        opacity: 0.7;
    }

    .portfolio-item:hover .portfolio-thumb-wrap img {
        transform: unset;
    }
    
    .section-portfolio.style-two .item-inner-wrapper:hover .portfolio-content {
        bottom: 0;
    }
}

@media screen and (max-width: 670px) {
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5) {
        width: 50% !important;
    }
    
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4) {
        width: 50% !important;
    }
    
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) {
        width: 50% !important;
    }
}

@media screen and (max-width: 600px) {
    .site-header-main .site-branding {
        width: auto;
        margin: 0;
    }

    .site-header-menu {
        max-width: 260px;
    }

    .site-header-main .site-branding {
        flex-shrink: 0;
    }

    .site-header-menu {
        flex-grow: 1;
    }

    .site-header-menu {
        margin-top: 0px;
    }

    #slider-section.section .swiper-pagination {
        display: none;
    }

    .count-content-section .section-featured-page::before {
        width: 150px;
        height: 200px;
        background-size: 150px;
    }

    .featured-page-desc p:first-of-type {
        max-width: 100%;
    }

    .wwd-block-item {
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .site-header-main .site-branding,
    .site-header-menu {
        width: 100%;
        margin: 0 auto;
    }

    .site-header-main .site-branding {
        margin-bottom: 10px;
    }

    a.ff-button.header-button {
        flex-shrink: 1;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(1),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(5) {
        width: 100% !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(2),
    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(4) {
        width: 100% !important;
    }

    .count-mission .wpsm_counter_b_row div .wpsm_row:nth-child(3) {
        width: 100% !important;
    }
}

@media screen and (max-width: 360px) {
    #slider-section .slider-content p:first-of-type {
        max-height: 100px;
    }

    #slider-section .swiper-slide.text-alignleft.swiper-slide-active a.more-link {
        max-height: 49px;
        overflow: hidden;
        text-align: center;
    }
}