/*--------------------- Responsive (Start) ---------------------*/
@media (max-width: 1399px) {
    .footer .box-container {
        gap: 1rem;
        padding: 3rem 2%;
    }

    .footer-item .info a {
        font-size: 14px;
        color: #000000;
    }

    .service-item h3 {
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    .header .navbar .nav-btn {
        /* font-size: 14px; */
    }

    .logo h2 {
        font-size: 14px;
        color: #5ccae4;
        text-align: center;
    }

    .header .container {
        flex: 1 1 34rem;
    }

    .header .header-contacts li {
        font-size: 14px;
    }
}

@media (max-width: 991px) {

    html {
        font-size: 75%;
    }

    .header .navbar {
        display: none;
    }

    .header #menu-btn {
        display: initial;
    }

    .header .icon-container .btn {
        display: none;
    }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 10000;
        max-height: 80vh;
        overflow-y: auto;
        background: #5ccae4;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
        -webkit-box-shadow: var(--box-shadow);
        box-shadow: var(--box-shadow);
        border-bottom: 0.2rem solid var(--main-color);
        padding: 2rem 4rem;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header.active .mobile-menu {
        padding-top: 6rem;
    }

    .mobile-menu.active {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-navbar {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 0rem;
    }

        .mobile-navbar .nav-link {
            overflow: hidden;
        }

        .mobile-navbar .main-nav-link,
        .mobile-navbar .sub-nav-link a {
            display: inline-block;
            color: #000000;
            font-size: 16px;
            font-weight: normal;
            cursor: pointer;
            width: 100%;
            padding: 10px 15px;
            border-bottom: 0.1rem solid rgba(255, 255, 255, 0.2);
        }

        .mobile-navbar .main-nav-link {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }

            .mobile-navbar .main-nav-link a {
                color: #000000;
            }

        .mobile-navbar .sub-nav-link {
            padding: 1rem 0;
            padding-left: 4rem;
            display: none;
            -webkit-transition: all 0s;
            -moz-transition: all 0s;
            -o-transition: all 0s;
            transition: all 0s;
        }

            .mobile-navbar .sub-nav-link a:hover {
                color: var(--main-color);
            }

    .mobile-menu::-webkit-scrollbar {
        width: 0.8rem;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        border-radius: 1rem;
        background-color: var(--main-color);
    }

    .mobile-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .blog.grid, .blog.list {
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
    }

    .shop {
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
    }

    .features .box-container {
        -ms-grid-columns: (minmax(28rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    }

    .team .box-container {
        -ms-grid-columns: (minmax(28rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    }

    .page-single {
        gap: 3rem;
    }

    .portfolio-item {
        width: 50%;
    }

    .team-item {
        height: 45rem;
    }

    .shop,
    .blog.grid,
    .blog.list {
        gap: 3rem;
    }

    .vendor-categories .box-container {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            'category-1 category-1'
            'category-2 category-3'
            'category-4 category-5'
            'category-6 category-6'
    }

    .header .header-contacts {
        gap: 1rem
    }

        .header .header-contacts li {
            font-size: 14px;
        }

    .header .social-contacts li a {
        height: 2rem;
        width: 2rem;
        font-size: 18px;
    }

    .logo img {
        height: 7rem;
        width: auto;
        /* position: absolute; */
    }
    .logotext h1 {
        line-height: 3;
        font-size: 25px;
    }
}

@media (max-width: 768px) {

    html {
        font-size: 65%;
    }

    section {
        padding: 3rem 2rem;
    }

    .header .header-1 {
        /* justify-content: flex-end; */
    }

    .header-1 {
        display: none !important;
    }

    .mobile-menu {
        padding: 2rem;
    }

    .header .header-1 {
        /* padding-left: 2rem; */
    }

    .header .header-2 {
        padding: 0rem 2rem;
        height: 9.7rem !important;
    }

    .header .social-contacts {
        padding: 0.5rem 2rem;
    }

    .footer .box-container {
        padding: 2rem;
    }

    .search-container {
        right: 1rem;
    }

    .home-item {
        height: 30rem;
        margin-top: 86px;
    }

        .home-item .content {
            padding: 10rem 2rem;
        }

    .project-item {
        width: 50%;
    }

    .team-item {
        height: 45rem;
    }

    .gallery .box-container {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        grid-template-areas:
            'gallery-1 gallery-4'
            'gallery-2 gallery-4'
            'gallery-3 gallery-7'
            'gallery-3 gallery-8'
            'gallery-5 gallery-9'
            'gallery-6 gallery-9';
    }

    .home-item {
        margin-top: 46px !important;
    }

    .heading h2 {
        text-align: center;
        font-size: 22px;
        font-weight: 500;
    }
}

@media (max-width: 450px) {

    html {
        font-size: 50%;
    }

    section {
        padding: 3rem 1rem;
    }

    .mobile-menu {
        padding: 1rem;
    }

    .career .career-intro,
    .career-positions,
    .career-benefits,
    .contact .box-container {
        padding: 3rem 1rem;
    }

    .header .header-1 {
        padding-left: 1rem;
    }

    .header .header-2 {
        padding: 0rem 1rem;
    }

    .header .social-contacts {
        width: 50%;
        padding: 0.5rem 1rem;
    }

    .footer .box-container {
        padding: 2rem 1rem;
    }

    .footer-item > p {
        font-size: 1.8rem;
    }

    .footer-item .info a {
        font-size: 14px;
    }

    .home-item {
        height: 34vh;
        margin-top: 86px;
    }

        .home-item .content .text {
            margin-top: 6rem;
        }

    .home-slider .swiper-button-next,
    .home-slider .swiper-button-prev {
        display: none;
    }

    .features {
        padding-bottom: 1rem;
    }

    .about .experience {
        padding: 2rem;
    }

    .testi-item .intro {
        padding: 0;
    }

    .comment .comment-content {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 25rem;
        flex: 1 1 25rem;
    }

    .comment.reply .comment-content {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 15rem;
        flex: 1 1 15rem;
    }

    .form .input-box,
    .dark-form .input-box {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

        .dark-form .input-box .input-field,
        .dark-form .select {
            -webkit-box-flex: 1;
            -ms-flex: 1 1 25rem;
            flex: 1 1 25rem;
        }

    .team-single .image {
        width: 100%;
    }

    .team-item .team-image {
        height: 40rem;
    }

    .gallery-item {
        height: 40rem !important;
    }

    .gallery .box-container {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-template-areas:
            'gallery-1'
            'gallery-2'
            'gallery-3'
            'gallery-4'
            'gallery-5'
            'gallery-6'
            'gallery-7'
            'gallery-8'
            'gallery-9';
    }

    .account-form {
        max-width: 100%;
    }

    .portfolio-item {
        width: 100%;
    }

    .shop .product-container.list .product-item {
        gap: 0rem;
    }

        .shop .product-container.list .product-item .image {
            width: 30rem;
        }

        .shop .product-container.list .product-item .content {
            padding: 1rem;
            width: 100%;
        }

            .shop .product-container.list .product-item .content p {
                line-height: 1.5;
            }

    .product-info .leave-reply {
        width: 100%;
    }

    .cart .cart-summary {
        width: 100%;
    }

    .whyUs .content,
    .custom-form .content {
        padding: 4rem 5%;
        -webkit-clip-path: none;
        clip-path: none;
    }

    .contact .contact-info .info-item {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 15rem;
        /* flex: 1 1 15rem; */
    }
}

@media(max-width:1340px) {
    .header .container:last-child .navbar {
        padding-right: 5rem;
    }

    .header .navbar {
        gap: 4rem;
    }
}

@media (max-width: 1190px) {
    .header .container:last-child .navbar {
        padding-right: 2rem;
    }

    .header .navbar {
        gap: 2rem;
    }

    .btn {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        padding: 1rem 2rem;
    }

    .home-item {
        height: 48rem;
        margin-top: 104px;
    }
}

@media (max-width: 991px) {
    .header .container {
        flex: 0 0 0rem;
    }

    .social-contacts {
        display: none !important;
    }

    .home-item {
        height: 38rem;
        margin-top: 80px;
    }

    .header .header-2 {
        /* height: 7.7rem; */
        position: relative;
    }

    .logo {
        height: 7.7rem;
        /* position: absolute; */
        top: 0;
    }

    #menu-btn {
        position: absolute;
        right: 24px;
        top: 25px;
    }
}

@media (max-width: 991px) {
    .header .header-2 {
        height: 0;
        position: absolute;
        background: #fcfebb00;
        right: 0;
        top: 0;
        border-top: none;
        border-bottom: none;
    }

    .date1 a, .date2 a {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 7.7rem;
        /* position: absolute; */
        top: 15px;
    }

        .logo img {
            height: 7rem;
            width: auto;
            /* position: absolute; */
        }

    .mob_career .dark-form {
        width: 100%;
    }

    .logotext h1 {
        line-height: 3.9;
        font-size: 20px;
        color: #ff55a9;
    }
}

@media (max-width:1200px) {
    .ml70 {
        margin-left: 36px;
    }
}

@media (max-width:576px) {
    .logotext h1 {
        line-height: 5.9;
        font-size: 15px;
        color: #ff55a9;
    }

    .logo img {
        height: 9rem;
        margin: 0px 1px;
    }

    .logo {
        height: 8.7rem;
    }
}

@media (max-width:470px) {
    .logotext h1 {
        display: none;
    }
}
