@media only screen and (max-width: 1200px) {
    
    .pro-top-sec {
    padding: 3rem 0 3rem;
  }
  .cer {
      right: 10%;
  }
}

  @media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    width: 960px;
  }

  .mega_menu_demo_2 .mega_menu {
    width: 940px;
  }

  .main_menu ul li ul {
    width: 150px;
  }
  
}

@media only screen and (max-width: 991px) {
    /* home page */
    .logo {
        width: 120px;
    }
    .my-banner-wrap {
        display: none;
    }
    /* about code */
    .ab-inner-top {
        padding-left: 0!important;
        margin-top: 7rem;
    }
    .about-section {
        padding: 140px 0 0px;
    }
    .about-wel {
        margin-top: 1rem;
    }
    .cer {
      right: 0;
  }
}
  

@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    width: 720px;
  }

  .mega_menu_demo_2 .mega_menu {
    width: 700px;
  }

  .main_menu ul li a {
    font-size: 14px;
/*    padding: 20px 16px;*/
  }

  .main_menu ul li ul {
    width: 150px;
  }
  .industry-wrap .hm-industry {
    border-right: 0;
  }
  
}


@media (min-width: 768px) {
  .main_menu ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    margin-top: 50px;
  }

  .main_menu ul li .mega_menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    margin-top: 50px;
  }

  .main_menu ul li:hover>ul {
    visibility: visible;
    opacity: 1;
    margin-top: 0px;
    z-index: 99;
  }

  .main_menu ul li:hover>.mega_menu {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
    z-index: 99; 
    background-color: var(--main-color);
  }

}


/* CSS Adjustments for Small Screens */
@media (max-width: 767.98px) {
  .main_menu {
    display: block;
    width: 100%;
  }

  .main_menu.open {
    display: block;
  }

  .main_menu ul {
    display: block;
  }

  .main_menu ul li {
    display: block;
    border-bottom: 1px solid #ddd;
  }

  .main_menu ul li a {
    display: block;
    padding: 10px;
    text-align: left;
/*    color: #000;*/
    border-bottom: 1px solid #fff;
  }

  .main_menu ul li a:hover {
    background-color: #f0f0f0;
  }

  .main_menu ul li .mega_menu {
    display: none;
    width: 100%;
    position: relative;
    margin: 0;
    box-shadow: none;
  }

  .main_menu ul li:hover>.mega_menu {
    display: block;
  }

  .main_menu ul li.open .mega_menu {
    display: block;
  }

  .product-links.row.open {
    display: block;
  }
  /* Limit the height of the product links and enable scrolling */
.nav-product-wrap .product-links {
  max-height: 200px; /* Adjust this height as needed */
  overflow-y: auto;
  padding-right: 10px; /* Adds padding for a cleaner look with the scrollbar */
  background-color: #255597;
}

/* Customize scrollbar for a better UX (optional) */
.nav-product-wrap .product-links::-webkit-scrollbar {
  width: 8px;
}

.nav-product-wrap .product-links::-webkit-scrollbar-thumb {
  background-color: #ccc; /* Scrollbar color */
  border-radius: 4px;
}

/*resize code*/

   .navbar-toggler .toggle-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: all 0.3s ease;
  }

  /* Navbar links in a column layout */
  .navbar-nav {
    flex-direction: column;
  }
  
  .main-menu-ul {
    display: flex;
    flex-direction: column;
  }

  /* Scrollable "Our Products" dropdown */
  .mega_menu {
    max-height: 400px; /* Adjust as needed */
    overflow-y: auto;
  }
    .nav-img-sm {
        display: none;
     }
     .top-nav-e {
        display: none;
     }
     .nav-product-wrap {
        padding: 0.5rem;
     }
     .navbar-nav .nav-link {
        padding: 0.3rem 0.4rem;
     }

     .main-menu-ul li:last-child {
    margin-left: initial;
}

}
/*working now*/
@media only screen and (max-width: 767px) {
    .ab-top {
        padding: 6rem 0;
    }
    .ab-top-text h3 {
        font-size: 25px;
    }
    
    #counter {
        flex-direction: column;
      flex-wrap: wrap;
    }
    #counter li {
  margin-bottom: 1rem; /* Apply margin to all list items */
}

#counter li:last-child {
  margin-bottom: 0; /* Remove margin from the last item */
}

    
    .industry-cover {
      overflow-x: hidden;
    }
    .industry-wrap {
      flex-wrap: wrap;
    }
    .industry-wrap .hm-industry {
      border-right: none;
      margin-top: 2rem;
    }
    .industry-wrap {
      justify-content: space-evenly;
    }
    .industry-wrap .hm-industry {
      padding: 0 10px 0 0;
    }
    .top-enqiry {
      background-color: transparent;
      color: #000;
    }
    .pro-nav-detail {
        margin-top: 2.5rem;
    }
    .cer {
        font-size: 15px;
    }
    
 }

@media only screen and (max-width: 575px) {
    .logo {
        width: 110px;
    }
    .testimonial-my {
        flex-direction: column;
        /* align-items: start; */
    }
    .about-section .image-column .inner-column .author-desc h2 {
        font-size: 15px;
    }
    .about-section .image-column .inner-column .author-desc span {
        font-size: 14px;
    }
    .sec-title h2 {
        font-size: 21px;
    }
    .contact-top {
        padding: 0rem 0 17rem;
        background-position: 14%;
    }
    .con-icon i {
        font-size: 18px;
    }
    .quick-w-c p {
        font-size: 15px;
    }
    .hm-pro-t h3 {
      font-size: 20px;
    }

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
    background: #dae1ea;
    height: 30px;
    width: 30px;
     border-radius:0; 
}
.owl-nav {
    position: absolute;
    top: -48px;
    right: 0;
 }
    .owl-prev span {
        position: absolute;
        top: -5px;
        right: 72px;
    }
    .owl-next span {
        position: absolute;
        top: -5px;
        right: 10px;
    }
    #counter li {
      font-size: 25px;
      margin-bottom: 1rem;
    }
    .counter-ul li p {
    font-size: 15px;
}

.ft-left-w {
  width: 100%;
}
.map-wrap {
  width: 100%;
}

}/* end*/

 