@media screen and (max-width: 1700px) {
    .navbar-brand img {
        width: 85%;
        height: 60px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .navbar-nav .nav-item {
        margin: 0px 8px;
    }

    header {
        width: 50%;
    }
}

@media screen and (max-width: 1500px) {
    .navbar-brand img {
        width: 85%;
        height: 50px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .navbar-nav .nav-item {
        margin: 0px 4px;
    }
}

@media screen and (max-width: 1440px) {
    header {
        width: 60%;
    }

    header .navbar-nav {
        padding-left: 60px;
    }

    .navbar-brand img {
        width: 79%;
        height: 54px;
    }

    .inner-banner {
        height: 600px;
    }

    .inner-banner .row {
        padding-top: 190px;
    }

    .about-inner .container-fluid {
        width: 90%;
    }

    .inner-product .container-fluid {
        width: 98%;
    }

    .testimonial-inner .testimonial-carousel .testimonial-item {
        margin: 40px 18px;
    }

    .inner-client h2 {
        font-size: 38px;
    }

    .inner-product-section .container-fluid {
        width: 95%;
    }

    .gallery-head h2 {
        font-size: 34px;
    }

    .inner-product .product-left h2 {
        font-size: 48px;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        font-size: 21px;
    }

    .inner-banner .banner-left h2 {
        font-size: 45px;
    }
}

@media screen and (max-width: 1300px) {
    .navbar-brand img {
        width: 83%;
        height: 48px;
    }
}

@media screen and (max-width: 1200px) {
    header {
        width: 75%;
    }

    .about-left img {
        width: 100%;
    }

    .year-overlay {
        position: absolute;
        left: -14%;
        top: -7%;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        font-size: 23px;
    }

    .inner-product {
        padding: 50px 0px 50px 0px
    }

    .inner-product .product-left h2 {
        font-size: 42px;
    }

    .testimonial-inner .testimonial-carousel .testimonial-item {
        margin: 40px 0px;
    }

    .gallery-head h2 {
        font-size: 30px;
    }

    .inner-gallery .container-fluid {
        width: 99%;
    }

    .inner-gallery .gallery-head {
        width: 98%;
        margin: 0px auto;
    }

    .quality-item {
        position: relative;
        padding-right: 0px;
    }

    .quality-item::after {
        content: '';
        position: absolute;
        right: 0px;
        height: 50%;
    }

    .inner-product-section .container-fluid {
        width: 99%;
    }

    .tab-btn {
        padding: 9px 15px;
    }

    .section-title {
        font-size: 18px;
        padding: 15px 17px;
    }

    .inner-banner .banner-left h2 {
        font-size: 38px;
    }

    .filter-inner ul li a {
        font-size: 16px;
    }

    header .navbar-nav {
        padding-left: 126px;
    }
}

@media screen and (max-width: 1100px) {
    header .navbar-nav {
        padding-left: 60px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-brand img {
        width: 79%;
        height: 45px;
        margin: 10px 10px;
    }

    header {
        width: 90%;
    }

    .inner-banner .row {
        padding-top: 190px;
    }

    .inner-banner {
        height: 500px;
    }

    header {
        position: absolute;
        top: 2%;
    }

    .year-overlay h2 span {
        font-size: 36px;
    }

    .year-overlay {
        position: absolute;
        left: -9%;
        top: -3%;
    }

    .year-overlay h2 {
        color: var(--color-white);
        font-size: 20px;
    }

    .about-left img {
        width: 41%;
    }

    .year-overlay {
        position: absolute;
        left: 61%;
        top: -12%;
    }

    .year-overlay {
        position: absolute;
        left: 60%;
        top: -7%;
        max-width: 139px;
        padding: 11px 4px;
    }

    .counter-wrap h2 span {
        font-size: 34px;
    }

    .inner-product .product-left h2 {
        font-size: 32px;
    }

    .inner-testimonial .testimonial-head h2 {
        font-size: 42px;
    }

    .inner-banner .banner-left h2 {
        font-size: 28px;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        transform: skewX(-30deg) scaleY(0);
        transform-origin: center;
        z-index: -1;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .navbar-nav .nav-link.active {
        color: #FA780A !important;
    }

    header {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link {
        position: relative;
        padding: 10px 10px
    }

    .navbar .nav-link {
        display: flex;
        align-items: center;
    }

    .navbar .nav-link i {
        display: block;
        padding-right: 5px;
    }

    .quality-item::after {
        display: none;
    }

    .left-about img {
        width: 50%;
    }

    .right-about h2 {
        font-size: 24px;
    }

    .right-about p {
        text-align: justify;
    }

    .why-left {
        text-align: left !important;
    }

    .why-left::after {
        content: '';
        position: absolute;
        top: 46%;

    }

    .why-left::after {
        content: '';
        position: absolute;
        top: 46%;
        left: 0;
    }

    .why-right::after {
        content: '';
        position: absolute;
        top: 41%;
        left: 0px;
    }

    .why-left img {
        margin-left: auto;
    }

    .why-inner h5 {
        font-size: 20px;
        padding-left: 10px;
    }

    .inner-client {
        padding: 0px 0px;
    }

    .contact-form,
    .contact-info {
        flex: 1 1 300px;
        padding: 20px;
    }

    .navbar {
        padding: 0px 20px !important;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        font-size: 19px;
    }

    .sidebar {
        padding: 0;
        background: transparent;
        border-radius: 16px;
        box-shadow: none;
        overflow: hidden;
        border: none;
    }

    header .navbar-nav {
        padding-left: 10px;
    }


}

@media screen and (max-width: 767px) {
    .top-bar a {
        font-size: 14px;
    }

    .navbar-brand img {
        width: 79%;
        height: 45px;
    }

    .banner-right img {
        display: none !important;
    }

    .counter-wrap {
        justify-content: center !important;
    }

    .counter-wrap .item {
        margin: 0px 20px;
        margin-top: 20px;
    }

    .inner-counter {
        padding: 20px 0px;
    }



    .galery-head {
        display: flex;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .product-left .item:last-child {
        display: flex;
        flex-direction: row;
    }

    .inner-client h2 {
        font-size: 28px;
    }

    .inner-subbanner {
        width: 100%;
        height: 300px;
    }

    .why-inner .why-img {
        width: 45px;
    }

    .why-inner h5 {
        font-size: 18px;
    }

    .why-right p {
        font-size: 14px;
    }

    .why-left::after {
        top: 35%;
    }

    .why-choose h2 {
        font-size: 26px;
    }

    .about-right p {
        text-align: justify;
    }

    .inner-product {
        padding: 20px 0px 50px 0px;
    }

    .top-contact {
        display: none;
    }

    .top-bar {
        justify-content: center !important;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* .parent {
        display: none;
    } */
    .parent {
        grid-template-columns: repeat(4, 1fr);
        /* No !important */
    }

    .parent {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 10px;
        grid-row-gap: 9px;
    }

    /* Matching the HTML class names */
    .item-1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .item-2 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .item-3 {
        grid-area: 1 / 3 / 2 / 4;
    }

    .item-4 {
        grid-area: 1 / 4 / 2 / 5;
    }

    .item-5 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .item-6 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .item-7 {
        grid-area: 2 / 3 / 3 / 4;
    }

    .item-8 {
        grid-area: 2 / 4 / 3 / 5;
    }

    .item-9 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .item-10 {
        grid-area: 3 / 2 / 4 / 3;
    }

    .filter-inner ul {
        display: flex;
        gap: 2px;
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .year-overlay h2 span {
        font-size: 28px;
    }

    .contact-form form button {

        padding: 7px 19px;
    }

    .contact-form,
    .contact-info {
        flex: 1 1 300px;
        padding: 10px;
    }

    .inner-product-section .header-product h2 {
        font-size: 24px;
    }

    .inner-banner .banner-left h2 {
        font-size: 38px;
    }

    .click-btn a {
        color: var(--color-white);
        font-size: 15px;
        padding: 10px 40px 10px 20px;
    }

    .item-content-warp p {
        font-size: 15px;
        text-align: justify;
    }
}


@media screen and (max-width: 575px) {
    .top-contact {
        display: none;
    }

    .top-bar {
        justify-content: center !important;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    header .top-bar {
        font-size: 14px;
        padding: 10px 15px;
    }

    .inner-banner .row {
        padding-top: 130px;
    }

    .inner-banner {
        height: 450px;
    }

    .about-left img {
        display: none !important;
    }

    .about-left .year-overlay {
        display: none !important;
    }

    .about-inner {
        padding: 34px 0px;
    }

    .about-right p {
        font-size: 15px;
        text-align: justify;
    }

    .footer-line {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }

    .inner-product .product-left h2 {
        font-size: 24px;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        font-size: 18px;
    }

    .product-card img {
        width: 60px;
        height: 60px;
    }

    .testimonial-inner .testimonial-item .profile {
        width: 80px;
        height: 80px;
    }

    .inner-testimonial .testimonial-head h2 {
        font-size: 36px;
    }

    header {
        position: absolute;
        top: 0%;
    }

    .top-contact a {
        display: none !important;
    }

    .back-to-top {
        width: 35px;
        height: 35px;
    }

    .inner-gallery {
        padding: 10px 0px 30px 0px;
    }

    .filter-inner ul {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .filter-inner ul li a {
        font-size: 16px;
    }

    .inner-gallery .align-items-end {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
    }

    .filter-inner ul {
        gap: 4px;
        flex-wrap: wrap;
    }

    .counter-wrap h2 {
        font-size: 18px;
    }

    .counter-wrap h2 span {
        font-size: 28px;
    }

    .inner-client h2 {
        font-size: 24px;
    }

    .inner-client {
        padding: 20px 0px;
    }

    .why-right::after {
        content: '';
        position: absolute;
        top: 46%;
        left: 5px;
    }

    .why-inner h5 {
        padding-left: 15px;
    }

    .inner-subbanner {
        width: 100%;
        height: 250px;
    }

    .why-choose h2 {
        font-size: 20px;
    }

    .page-title {
        font-size: 32px;
    }

    .breadcrumb-nav ol {
        font-size: 18px;
    }

    .contact-form form input,
    .contact-form form select,
    .contact-form form textarea {
        width: 100%;
        padding: 10px 16px;
        margin-bottom: 15px;
    }

    .contact-form,
    .contact-info {
        padding: 20px 10px;
    }

    .navbar-brand img {
        width: 79%;
        height: 45px;
        margin: 9px 5px;
    }

    .accordion-section h2 {
        font-size: 24px;
    }

    .click-btn a {
        color: var(--color-white);
        font-size: 14px;
        padding: 10px 50px 9px 20px;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        text-align: center;
        justify-content: center;
    }

    .parent {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
        grid-column-gap: 0px;
        grid-row-gap: 9px;
    }

    .item-1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .item-2 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .item-3 {
        grid-area: 1 / 3 / 2 / 4;
    }

    .item-4 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .item-5 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .item-6 {
        grid-area: 2 / 3 / 3 / 4;
    }

    .item-7 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .item-8 {
        grid-area: 3 / 2 / 4 / 3;
    }

    .item-9 {
        grid-area: 3 / 3 / 4 / 4;
    }

    .item-10 {
        grid-area: 4 / 1 / 5 / 2;
    }

    .inner-banner .banner-left h2 {
        font-size: 28px;
    }

    .product-warp {
        background-color: #fff;
        padding: 15px;
    }

    .cover-inner h4 {
        font-size: 18px;
    }
}

@media screen and (max-width: 425px) {
    .navbar-brand img {
        width: 79%;
        height: 40px;
        margin: 5px 10px;
    }

    .inner-banner .row {
        padding-top: 120px;
    }

    .footer-line {
        font-size: 12px;
    }

    .inner-product-section .header-product h2 {
        font-size: 20px;
    }

    .product-category .form-select {
        padding: 8px 10px;
        font-size: 16px;
    }


    .inner-product .product-left h2 {
        font-size: 18px;
    }

    .inner-product .product-left h2 {
        font-size: 20px;
        text-align: center;
    }

    .product-header h3 {
        text-align: center;
        font-size: 17px;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        font-size: 18px;
    }

    .inner-client h2 {
        font-size: 20px;
    }

    .navbar {
        padding: 0px 5px !important;
    }

    .page-title {
        font-size: 24px;
    }

    .breadcrumb-nav ol {
        font-size: 16px;
    }

    .product-card {
        min-width: 100px;
    }

    .product-card h3 {
        display: flex;
        flex-wrap: wrap;
    }

    .inner-banner .banner-left h2 {
        font-size: 26px;
    }

    .product-left .item .product-card h3 {
        color: var(--color-white);
        font-size: 18px;
        text-align: center;
        justify-content: center;
    }

    .parent {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(5, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 9px;
        justify-content: center !important;
        align-items: center !important;
    }

    .item-1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .item-2 {
        grid-area: 1 / 2 / 2 / 3;
    }

    .item-3 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .item-4 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .item-5 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .item-6 {
        grid-area: 3 / 2 / 4 / 3;
    }

    .item-7 {
        grid-area: 4 / 1 / 5 / 2;
    }

    .item-8 {
        grid-area: 4 / 2 / 5 / 3;
    }

    .item-9 {
        grid-area: 5 / 1 / 6 / 2;
    }

    .item-10 {
        grid-area: 5 / 2 / 6 / 3;
    }


}



@media screen and (max-width: 375px) {
    .inner-testimonial .testimonial-head h2 {
        font-size: 28px;
    }

    .product-card img {
        width: 45px;
        height: 45px;
    }

    .navbar-brand img {
        width: 75%;
        height: 45px;
        margin: 4px;
    }

    .navbar {
        padding: 0px 0px !important;
    }

    header {
        width: 98%;
    }
}




@media screen and (max-width: 340px) {
    .navbar-brand img {
        width: 75%;
        height: 40px;
        margin: 4px;
    }

    .right-about h2 {
        font-size: 20px;
    }
}