/* Start Media Query */

@media(max-width:1000px){
    .section-p1{
      padding: 40px 40px;
    }
    
    #hero {
      height: 70vh;
      padding: 0 80px;
      background-position: top 30% right 30%;
    }
    #feature{
      justify-content: center;
    }
  
    #feature .fe-box{
      margin: 15px 15px;
    }
    #product1 .pro-container{
      justify-content: center;
    }
    #product1 .pro{
      margin: 15px;
    }
  
    /* Contact Page */
    #form-details{
      padding: 40px;
    }
    #form-details form{
      width: 50%;
    }

    /*About Page*/
    .about_section .about_row {
      flex-direction: column;
    }
  
    .about_section .img_container {
      max-width: 100%;
      margin-bottom: 30px;
    }
  
    .about_section .detail-box {
      margin-left: 0;
      padding: 30px;
      width: 100%;
    }
  
    .about_section .img_container img {
      height: 400px;
    }

    /* Blog Page */
    #blog {
      padding: 50px 0;
      gap: 30px;
    }
  
    #blog .blog-container {
      width: 80%;
      padding: 40px;
    }
  
    #blog .blog-container img {
      height: 400px;
    }
  
    .posts {
      flex-direction: column;
      gap: 20px;
    }
  
    #blog .blog-container .post img {
      height: 300px;
    }
  
    .quote-section {
      padding: 25px 20px;
    }
  
    .quote-section blockquote {
      font-size: 16px;
      line-height: 26px;
    }

    /* Industry Section */
    #product1 .pro {
      width: calc(35% - 15px); /* 3 items per row */
      margin: 0;
    }
  
    .carousel-nav {
      top: 15px;
      right: 3%;
    }
  
    #product1 .carousel-btn {
      width: 40px !important;
      height: 40px !important;
    }
  
    #product1 .pro .images {
      height: 180px;
    }
  
    #product1 .pro .des h5 {
      font-size: 16px;
    }
  
    #product1 button {
      padding: 12px 60px 12px 50px;
      font-size: 14px;
    }

    /* Blog Section */
    .blog-container {
      flex-direction: column;
      gap: 30px;
    }
  
    .blog-featured {
      min-height: 400px;
    }
  
    .blog-content {
      bottom: 15px;
      left: 15px;
      right: 15px;
    }
  
    .blog-content .category {
      font-size: 12px;
      padding: 6px 8px;
    }
  
    #blog .blog-container .blog-content h2 {
      font-size: 20px;
      margin-top: 10px;
    }
  
    .blog-content .author {
      font-size: 12px;
    }
  
    .blog-sidebar {
      gap: 25px;
    }
  
    .blog-item img {
      width: 400px;
      height: 120px;
    }
  
    .blog-info h3 {
      font-size: 15px;
    }
  }
  
  @media (max-width:660px){
    .section-p1{
      padding: 30px !important;
    }

    .slide{
        padding: 0 40px;
    }
    #header{
      padding: 10px 30px;
    }
    h1{
      font-size: 38px;
    }
    h2{
      font-size: 32px;
    }
    #hero{
      padding: 0 20px;
      background-position: 55%;
    }
    #feature{
      justify-content: space-between;
    }
    #feature .fe-box{
      width: 100%;
    }
    #product1 .pro{
      width: 100%;
    }
  
  
   /* Contact Page */
   #form-details{
    flex-direction: column;
   }
   #form-details .details{
    width: 100%;
   }

   #form-details{
    margin: 30px;
    padding: 30px;
    flex-wrap: wrap;
   }
   #form-details form{
    width: 100%;
    margin-bottom: 60px;
   }
  
   /*About Page*/
   .about_section .img_container img {
    height: 300px;
  }

  .about_section .detail-box {
    padding: 25px 20px;
  }

  .about_section button {
    width: 100%;
    padding: 12px 20px;
    background-size: cover;
    text-align: center;
    font-size: 14px;
  }

  .about_section .heading {
    font-size: 24px;
  }

  .about_section p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Blog Page */
  #blog {
    padding: 30px 0;
    gap: 20px;
  }

  #blog .blog-container {
    width: 90%;
    padding: 25px 20px;
  }

  #blog .blog-container img {
    height: 250px;
  }

  #blog .blog-container h2 {
    font-size: 20px;
    line-height: 28px;
    margin: 30px 0 15px 0;
  }

  #blog .blog-container span {
    font-size: 14px;
    margin-bottom: 25px;
  }

  #blog .blog-container p {
    font-size: 14px;
    line-height: 24px;
  }

  .quote-section {
    margin-top: 25px;
    padding: 20px 15px;
  }

  .quote-section blockquote {
    font-size: 15px;
    line-height: 24px;
  }

  .blog-navigation {
    flex-direction: column;
    gap: 15px;
    width: 90%;
  }

  .blog-navigation .prev-btn,
  .blog-navigation .next-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  #blog .blog-container .post img {
    height: 200px;
  }

  .post h3 {
    font-size: 18px;
  }

  /* Industry Section */
  #product1 .pro {
    width: calc(50% - 15px); /* 2 items per row */
    margin: 5px;
  }

  .carousel-container {
    margin: 0 -15px;
  }

  .carousel-track {
    gap: 15px;
    padding: 0 15px;
  }

  #product1 .pro .images {
    height: 150px;
    border-radius: 15px;
  }

  #product1 .pro .des {
    padding: 15px 0;
  }

  .carousel-nav {
    top: 10px;
    right: 2%;
  }

  #product1 .carousel-btn {
    width: 35px !important;
    height: 35px !important;
    font-size: 12px !important;
  }

  #product1 button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background-size: cover;
  }

  /* Blog Section */
  #blog h2 {
    margin-bottom: 25px;
    font-size: 24px;
  }

  .blog-featured {
    min-height: 300px;
  }

  .blog-content {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  #blog .blog-container .blog-content h2 {
    font-size: 18px;
  }

  .blog-item {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .blog-item img {
    width: 100%;
    height: 180px;
  }

  .blog-info h3 {
    font-size: 16px;
  }

  .blog-info .date {
    font-size: 11px;
  }

  .blog-info .category {
    font-size: 11px;
    padding: 5px 8px;
  }

  }

  /* Add touch support for mobile */
@media (hover: none) {
  .carousel-track {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  #product1 .pro {
    scroll-snap-align: start;
  }
  
  .carousel-nav {
    display: none; /* Hide buttons on touch devices */
  }
}

/*********** Industries Section **********/

/* Add this to your responsive.css file */
@media (max-width: 768px) {
  .industries-container {
    flex-direction: column;
  }
  
  .industries-left {
    position: static;
    margin-bottom: 25px;
  }
  
  .industries-left li {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
  }

  .industry-menu-toggle {
    display: block;
    padding: 14px 20px;
    background: #f7f8fa;
    cursor: pointer;
    margin-bottom: 5px;
  }
  .industry-menu-toggle p{
    display: flex;
    font-size: 18px;
    font-weight: 600;
    gap: 10px;
    margin: 0;
  }

  .industries-left {
    display: none;
    width: 100%;
  }
  
  .industries-left.active {
    display: block;
  }
  
  .industries-left li {
    border-left: none;
    border-bottom: 2px solid #eee;
  }
}


@media (min-width: 769px) {
  .industry-menu-toggle {
    display: none;
  }
}