/* Large Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Desktop */
/* Desktop */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .service_section .service_container .box:not(.products-page .service_section .service_container .box) {
    flex-basis: calc(50% - 40px);
  }
}

/* Laptop */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .slider_section {
    padding: 40px 0;
  }
  
  .navbar-brand img {
    width: 100px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .service_section .service_container .box {
    flex-basis: calc(100% - 40px);
  }
  
  .slider_section .detail_box {
    padding-right: 0;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .slider_section {
    padding: 30px 0;
  }
  
  .about_section .img_container {
    margin-top: 30px;
  }
}

@media (max-width: 992px) {
  .service_section .col-md-8 {
    padding: 0 15px;
  }
  
  .ev-ai-section .detail-box {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .service_section .col-md-8 {
    width: 100%;
    padding: 0 10px;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .service_section .service_container .box {
    flex-basis: calc(50% - 40px);
  }

  /* Add these rules */
  .ev-ai-section .detail-box {
    max-width: 1000px;
    padding: 25px;
  }
}

/* Laptop */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  /* Add these rules */
  .ev-ai-section .detail-box {
    max-width: 900px;
    padding: 20px;
  }
  
  .service_section .col-md-10 { /* Update if you're using col-md-10 */
    width: 100%;
    padding: 0 15px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  /* Add these rules */
  .ev-ai-section .detail-box {
    max-width: 100%;
    margin: 15px 10px;
    padding: 15px;
  }
  
  .service_section .col-md-10 { /* Update if you're using col-md-10 */
    width: 100%;
    padding: 0 10px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  /* Add these rules */
  .ev-ai-section .detail-box {
    margin: 10px 5px;
    padding: 10px;
  }
}

/* Responsive design */
@media (max-width: 1200px) and (min-width: 993px) {
  .products-page .service_container .box {
    flex-basis: calc(33.333% - 20px);
    width: calc(33.333% - 40px);
  }
}

@media (max-width: 992px) {
  .products-page .service_container .box {
    flex-basis: calc(50% - 20px);
    width: calc(50% - 40px);
  }
}