@media (max-width: 1300px) {
  .quote_btn-container {
    display: none;
  }

  .custom_nav-container .navbar-nav {
    margin: 0;
    margin-left: auto;
    align-items: center;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 15px;
  }
}

@media (max-width: 992px) {
  .hero_area {
    height: auto;
    min-height: 500px;
  }

  .custom_nav-container .navbar-nav {
    padding-top: 15px;
  }

  .header_section .header_top .contact_nav a span {
    display: none;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;
    margin: 5px 0;
  }

  .slider_section {
    padding: 75px 0;
    min-height: 450px;
    height: auto;
    background-position: center center;
  }

  .project_section .filter_box {
    flex-direction: column;
    align-items: flex-start;
  }

  .project_section .filter_box .owl-filter-bar {
    margin-left: 0;
    margin-top: 10px;
  }

  .project_section .filter_box .owl-filter-bar a {
    padding: 10px;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .about_section .img-box {
    margin-top: 45px;
  }

  .contact_section .map_container {
    margin-top: 45px;
  }

  .contact_section .form_container {
    padding: 0;
    margin: 0;
  }

  .info_section .contact_nav {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
  }

  .info_section .contact_nav a:not(:nth-last-child(1)) {
    margin-bottom: 25px;
  }

  .info_section .contact_nav a {
    align-items: flex-start;
    text-align: left;
  }

  .info_section .info_top {
    padding: 0;
  }

  .info_section .info_top .row > div {
    margin-bottom: 35px;
  }

  /* WhatsApp Button */
  .whatsapp_float {
    bottom: 20px;
    right: 15px;
    z-index: 9999 !important;
    display: block !important;
  }

  .whatsapp_icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .header_section .header_top .social_box {
    display: none;
  }

  .header_section .header_top .contact_nav a {
    margin: 0;
    margin-left: 15px;
  }

  .project_section .project_carousel {
    padding: 0;
  }

  /* WhatsApp Button */
  .whatsapp_float {
    bottom: 15px;
    right: 10px;
  }

  .whatsapp_icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .slider_section {
    min-height: 400px;
    padding: 50px 0;
    background-position: center center;
  }
  
  .slider_section .detail-box h1 {
    font-size: 2rem;
    padding-top: 0;
    margin-top: 0;
  }

  .client_section .box {
    flex-direction: column;
  }

  .client_section .box .img-box {
    margin: 0;
    margin-left: 15px;
    margin-bottom: -55px;
  }

  .client_section .box .detail-box {
    background-color: #ffffff;
    padding: 75px 15px 15px 15px;
  }

  /* WhatsApp Button */
  .whatsapp_float {
    bottom: 15px;
    right: 10px;
  }

  .whatsapp_icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 376px) {
  /* Ensuring WhatsApp button is always visible */
  .whatsapp_float {
    bottom: 15px !important;
    right: 10px !important;
    z-index: 9999 !important;
    display: block !important;
  }

  .whatsapp_icon {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

@media (max-width: 768px) {
  .project_section .box {
    margin: 15px 0;
  }

  .project_section .detail-box {
    position: relative;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: #004aad;
    transition: none;
  }

  .project_section .box:hover {
    transform: none;
  }
  
  .project_section .img-box {
    height: 250px !important; /* Fixed height for mobile images */
  }
}

/* Improve carousel responsiveness */
.project_carousel .owl-stage {
  display: flex;
}

.project_carousel .owl-item {
  display: flex;
  height: auto;
}

@media (max-width: 992px) {
  .isotope-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .isotope-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .stat-card {
      margin-bottom: 20px;
  }
  
  .main-title {
      font-size: 2rem;
  }
}

/* Product card responsive styles */
@media (max-width: 1200px) {
  .product-media {
    height: 220px;
  }
  
  .products-section .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .products-section {
    padding: 60px 0;
  }
  
  .product-card {
    margin-bottom: 20px;
  }
  
  .product-media {
    height: 200px;
  }
  
  .product-content {
    padding: 20px 15px;
  }
  
  .product-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .products-section .section-title {
    font-size: 2rem;
  }
  
  .product-media {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .products-section {
    padding: 40px 0;
  }
  
  .products-section .section-title {
    font-size: 1.8rem;
  }
  
  .product-media {
    height: 200px;
  }
  
  .product-content {
    padding: 15px 10px;
  }
  
  .product-title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .product-content p {
    font-size: 13px;
  }
}