/*----------------------------------------------------------
               desktop min-width: 992px start
-----------------------------------------------------------*/
@media only screen and (min-width: 992px) {
    .for-mobile {
        display: none !important;
    }
    .for-desktop {
        display: block !important;
    }

}

/*----------------------------------------------------------
               desktop min-width: 992px start
-----------------------------------------------------------*/


/*----------------------------------------------------------
               mobile max-width: 991px start
-----------------------------------------------------------*/
@media only screen and (max-width: 991px) {
    .logo-mobile img {
        height: 45px;
    }
    .logo-desk {
        display: none !important;
    }
    .for-desktop {
        display: none !important;
    }
    .for-mobile {
        display: block !important;
    }
    .main_menu ul li.hover-link a:before {
        display: none !important;
    }
    header .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    .mega_menu {
        background: transparent;
        margin-left: 0;
    }
    .main_menu ul li .mega_menu_item a {
        padding-bottom: 10px;
        font-size: 16px;
        width: 100%;
        font-weight: 500;
    }
    .mega_menu_item h4 {
        margin-bottom: 5px;
        margin-top: 10px;
    }
    .mega_menu_item h3 {
        display: none;
    }
    .main_menu ul li ul, .mega_menu {
        transition: .5s;
    }
    .sub_menu li {
        padding: 0px 0px !important;
        border: 0 !important;
    }
    .sub_menu {
        padding-left: 0 !important;
    }
    .main_menu .sub_menu li a {
        padding: 0;
        padding-bottom: 5px;
        font-size: 16px;
        width: 100%;
        font-weight: 500;
    }
    nav:hover {
        background: transparent;
        box-shadow: 0px 0px 0px 0 rgba(0, 0, 0, 0.25);
    }
    .header-padding {
        padding-top: 0;
    }
    header {
        position: relative;
        height: auto;
    }
    .header-social-inline {
        display: none;
    }
    .main_menu ul li a:hover, .main_menu ul li:hover a {
        color: #000000;
    }
    .top-area-right {
        display: none;
    }
    .top-logo img {
        width: auto;
        height: 50px;
    }
    .banner-img-section .right-dots .owl-nav .owl-prev {
        left: 30px;
        opacity: 1;
    }
    .banner-img-section .right-dots .owl-nav .owl-next {
        right: 30px;
        opacity: 1;
    }
    .section-padding {
        padding: 40px 0;
    }
    .sub-head {
        font-size: 18px;
    }
    .product-grid {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
    .product-img img {
        height: 175px;
    }
    .card-front, .card-back {
        height: 175px;
    }
    .card {
        height: 175px;
    }
    .card-back p {
        display: -webkit-box;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        word-break: break-word;
    }
    .counter-grid {
        grid-column-gap: 30px;
        grid-row-gap: 60px;
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
    .count-text {
        font-size: 14px;
    }
    .count-number {
        font-size: 54px;
    }
    .right-dots .owl-nav .owl-prev {
        left: 10px;
    }
    .right-dots .owl-nav .owl-next {
        right: 10px;
    }
    .about-grid {
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        grid-template-columns: repeat(1, minmax(0px, 1fr));
    }
    .about-img-section .shape-2 img {
        height: 90px;
    }
    .about-img-section .shape-3 {
        top: -30px;
        right: 15px;
    }
    .about-img-section .shape-2 {
        bottom: 10px;
        left: -30px;
    }
    .about-content .main-btn.mt-2{
        margin-top: 10px !important;
    }
    .about-img-section .shape-3 img {
        height: 90px;
    }
    .nav-tabs .nav-link {
        font-size: 14px;
        padding: 10px 20px;
    }
    .contact-img {
        display: none;
    }
    .contact-grid {
        grid-template-columns: repeat(1, minmax(0px, 1fr));
    }
    .tab-content {
        padding: 0;
    }
    .contact-form {
        padding: 20px;
        border-radius: 16px;
    }
    .pad-top {
        padding-top: 40px;
    }
    .gallery-details {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
    .gallery-img-img {
        height: 120px;
    }
    .blog-item .blog-img {
        height: 200px;
    }
    .main-footer {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        grid-template-columns: repeat(1, minmax(0px, 1fr));
        padding: 40px 0 40px 0;
    }
    .footer-item:nth-child(2) {
        padding-left: 0;
    }
    .footer-item:nth-child(3) {
        padding-left: 0;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .contact-img {
        display: none;
    }
    .about-content .main-btn {
        margin-top: 10px !important;
    }
    .breadcrumb-area {
        height: 100px;
    }
    .breadcrumb-area h1, .breadcrumb-area h2, .breadcrumb-area h3, .breadcrumb-area h4 {
        font-size: 18px;
    }
    .breadcrumb-area .container {
        gap: 10px;
    }
    .service-box {
        grid-column-gap: 10px;
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
    .service-img .img-img, .service-item:before {
        height: 120px;
        border-radius: 14px 14px 0 0;
    }
    .service-card p {
        display: none;
    }
    .service-card {
        padding: 15px 15px;
        border-radius: 0 0 14px 14px;
        position: relative;
        bottom: 0;
        width: 100%;
        left: 0;
    }
    .service-card h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .service-item:hover .service-card {
        transform: translateY(0px);
    }
    .service-img {
        padding-bottom: 10px;
    }
    .gallery-details {
        grid-template-columns: repeat(4, minmax(0px, 1fr));
    }
    .branch-box {
        padding: 20px 20px;
        height: auto;
        margin-bottom: 10px;
    }
    .view-icon {
        font-size: 10px;
        width: 20px;
        height: 20px;
        line-height: 20px;
    }
    .about-box {
        justify-content: center;
    }
    .blog-grid {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
    .blog-inline {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

/*----------------------------------------------------------
               mobile max-width: 991px end
-----------------------------------------------------------*/






/*----------------------------------------------------------
               mobile max-width: 768px start
-----------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    .blog-grid {
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        grid-template-columns: repeat(1, minmax(0px, 1fr));
    }
    .blog-inline {
        flex-direction: row;
    }
    .banner-img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    .main-head {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 0;
    }
    .owl-carousel.banner-owl .owl-dots.disabled, .owl-carousel.banner-owl .owl-nav.disabled {
        top: 62%;
    }
    .category-img img {
        height: 175px;
    }
    .product-grid {
        grid-column-gap: 15px;
        grid-row-gap: 15px;
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
    .section-heading-center {
        gap: 5px;
    }
    .gallery-details {
        grid-template-columns: repeat(6, minmax(0px, 1fr));
    }
    .gallery-img-img {
        height: 70px;
    }



}

/*----------------------------------------------------------
               mobile max-width: 768px end
-----------------------------------------------------------*/