/* Responsive Settings */
@media (max-width: 1024px) {
  body{
    overflow-x: hidden;
   }

    p{
        text-align: justify;
      }
      .top-header .top-left a{
        font-size: 12px;
      }
      .main-header {
        width: 100%;
        top: 60px;
      }
      .fixed-header {
        top: 0px;
      }
    
      .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
      }
    
      .logo-container {
        width: 100%;
      }
    
      .logo {
        width: 60px;
        height: 60px;
      }
    
      .main-nav {
        width: 50%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #000;
        display: none;
        flex-direction: column;
        padding: 10px;
        text-align: center;
        z-index: 9999;
      }
    
      .main-nav.show {
        display: flex; /* changed to flex instead of block for consistency */
      }
    
      .main-nav ul {
        flex-direction: column;
        width: 100%;
      }
    
      .main-nav ul li {
        margin: 10px 0;
        position: relative;
      }
    
      .main-nav ul li a {
        text-align: left;
        padding: 12px;
        display: block;
        margin-bottom: 0px;
        color: #fff;
      }
    
      .main-nav ul li a:hover {
        background-color: #f3912c;
      }
    
      /* Dropdowns in Mobile */
      .dropdown-menu {
        display: none;
        position: static;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transition: none;
        margin-top: 5px !important;
      }
    
      .dropdown.active > .dropdown-menu {
        display: block !important;
      }
      .dropdown-submenu .submenu {
        width: 40%;
        left: 90%;
        background-color: #000;
      }
     
    
      /* Mobile Menu Toggle */
      .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 22px;
        color: #fff;
        position: absolute;
        top: 25px;
        right: 15px;
        z-index: 10000;
      }
      /* product-video------------- */
      .product-video .col-2{
        width: 100%;
      }
}




@media (max-width: 768px) {
     
   body{
    overflow-x: hidden;
   }

    p{
        text-align: justify;
      }
      .top-header{
        padding-top: 2px;
      }
      .top-header .top-left a{
        font-size: 11px;
      }
      .top-left{
        width: 100%; 
    }
    .top-right{
        width: 100%;
       display: flex;
       align-items: center;
       justify-content: center; 
    }

     /* -----main-header */
    
      .main-header {
        width: 100%;
        top: 45px;
      }
      .fixed-header {
        top: 0px;
      }
      .comman-banner{
        height: 40vh;
      }
      .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
      }
    
      .logo-container {
        width: 100%;
      }
    
      .logo {
        width: 60px;
        height: 60px;
      }
    
      .main-nav {
        width: 50%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #000;
        display: none;
        flex-direction: column;
        padding: 10px;
        text-align: center;
        z-index: 9999;
      }
    
      .main-nav.show {
        display: flex; /* changed to flex instead of block for consistency */
      }
    
      .main-nav ul {
        flex-direction: column;
        width: 100%;
      }
    
      .main-nav ul li {
        margin: 10px 0;
        position: relative;
      }
    
      .main-nav ul li a {
        text-align: left;
        padding: 12px;
        display: block;
        margin-bottom: 0px;
        color: #fff;
      }
    
      .main-nav ul li a:hover {
        background-color: #f3912c;
      }
    
      /* Dropdowns in Mobile */
      .dropdown-menu {
        display: none;
        position: static;
        background: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transition: none;
        margin-top: 5px !important;
      }
    
      .dropdown.active > .dropdown-menu {
        display: block !important;
      }
      .dropdown-submenu .submenu {
        width: 40%;
        left: 105%;
        background-color: #000;
      }
     
    
      /* Mobile Menu Toggle */
      .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 22px;
        color: #fff;
        position: absolute;
        top: 25px;
        right: 15px;
        z-index: 10000;
      }
      .hero-section {
        height: 40vh;
      }
      .hero-content h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .hero-content p{
      font-size: 11px;
    }
    .hero-content .btn {
      font-size: 10px;
    }
    .section-title {
      font-size: 25px;
    }
    .products-section {
      padding: 20px 20px;
    }
    /* ------content-comm----------- */
    .content-comm{
      left: 38%;
      top: 50%;
    }
    .content-comm h1{
      font-size: 23px;
      text-align: left;
    }
    .content-comm h2{
      font-size: 17px;
      text-align: left;
    }
    .content-comm p{
      font-size: 17px;
      text-align: left;
    }

      /* ---------slider--------- */
      .slider-text {
        width: 100% !important;
        z-index: 10000 !important;
        display: flex;
        align-items: center;
        justify-content: center;  
        height: 100%;
        padding: 0; 
        position: relative;
        top: 1%;
        left: 0%;
    }
    .slider-text .text h4{
        font-size: 30px;
    }
    .slider-text p{
        width: 60%;
        font-size: 25px !important;
    }
     
    .price {
      font-size: 22px;
    }
    /* -------------brochure--------------- */
    .brochure-container {
      flex-direction: column;
      text-align: center;
    }
  
    .brochure-text h2 {
      font-size: 28px;
    }
  
    .brochure-text p {
      font-size: 16px;
    }
/* ---------product-grid------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  .product-details h1 {
    font-size: 28px;
  }
/* ----------countersection------------------ */
.counter-container {
        flex-direction: column;
      }
      .counter-box{
        width: 100%;
      }
      .counter-box p {
        text-align: center;
    }
     /* --------------contact-page------------------------ */
     .have-more .col-3{
        width: 100%;
        margin-bottom: 30px;
      }
      .have-more .content-add p {
        text-align: center;
      }
      .have-more .col-3 img{
        width: 30%;
      }
      .have-more .col-3 .content-add{
        width: 70%;
      }
      .col-2{
        width: 100%;
        
      }
      /* ---------specification-------------------- */
      .specifications-section h2  {
        font-size: 26px;
        margin-bottom: 30px;
      }
    
      .specifications th, .specifications td {
        display: block;
        width: 100%;
        box-sizing: border-box;
      }
    
      .specifications th {
        background-color: #d90000;
        color: #fff;
        padding: 12px 15px;
      }
    
      .specifications td {
        background-color: #f4f4f4;
        padding: 12px 15px;
      }
    
      .specifications table, .specifications tr {
        display: block;
        width: 100%;
      }
    
      .specifications tr {
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      }
      /* -------popup--------- */
      .popup-box {
        padding: 20px 15px;
      }
      /* ------------- */
      .enquiry-box {
        padding: 20px 15px;
      }
      .enquiry-form {
        width: 90%;
      }
      
      /* ------------contact-us-about-------- */
      .contact-container {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    /* contactform */
    .contact-form input, select, textarea {
      width: 90%;
    }
    .contact-form h2 {
      margin: 0px;
      padding-top: 20px;
    }
    .contact-form {
      margin: 40px 10px;
  }
  /* ---------footer--------------- */
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
    .footer-links {
      flex-direction: column;
      text-align: center;
    }
   .footer-column {
      margin-bottom: 20px;
    }
   .footer-contact div {
    display: flex;
    align-items: center;
    justify-content: center;
    }
   .social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    }
   .footer-column h3 {
    margin-left: 0px;
    }
   .footer-column ul {
    padding: 0px;
   }
  /* Chatbot Container */
#chatbot-container {
  bottom: 160px;
  right: 20px;
  height: 400px;
  width: 300px;
}
#chatbot-header {
  padding: 10px;
  font-size: 17px;
}
/*-------------4image-product------------ */
.slider-container{
  width: 400px;
}
.thumb {
  width: 70px;
  height: 70px;
}
/* -----gooogle translation--------- */
#google_translate_element {
  top: 20px;
  right: 10px;
  transform: scale(0.7); /* Slightly reduce size */
  transform-origin: top right;
}
/* -------canve---- */
.main-image img {
  height: 30vh;
}
.quantity-add-cart{
  flex-direction: column;
}
.product-card-2{
  width: 100%;
}
/* ----------------------250px----------------- */
@media (max-width: 280px){
  .top-header .top-left a{
    font-size: 8px;
  }
  .thumb{
    width: 30px;
    height: 30px;
  }
  .product-details h2{
    font-size: 18px;
  }
  .action-buttons {
    flex-direction: column;
  }
  .specifications-section h2{
    font-size: 18px;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
  }
  .products-section{
    padding: 10px 10px;
  }
  .footer-logo{
    min-width: 150px;
  }
  #google_translate_element {
   display: none;
  }
  .dropdown-submenu .submenu {
    left: 40%;
  }
  .counter-box{
    width: 50%;
  }
  .quantity-add-cart {
  flex-direction: column;
  }
  .specs-table,
  .specs-table thead,
  .specs-table tbody,
  .specs-table th,
  .specs-table td,
  .specs-table tr {
    display: block;
    width: 95%;
  }

  .specs-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
  }

  .specs-table th {
    background: #f4f4f4;
    font-size: 13px;
    padding: 5px 10px;
  }

  .specs-table td {
    font-size: 13px;
    padding: 5px 10px;
  }

  .specs-table th::after {
    content: ":";
  }

  .specs-table th,
  .specs-table td {
    display: block;
    text-align: left;
    color: #000;
  }
  .main-nav {
    width: 70%;
  }
  .enquiry-form input, .enquiry-form textarea {
    width: 90%;
  }
}
}

