/* hero section start */
.clients-hero {
  background: url("/assets/images/all-banner.jpg") no-repeat center center/cover;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
}

.clients-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 81, 88, 0.9); /* Dark overlay */
  z-index: 1;
}

.clients-hero .overlay {
  position: relative;
  z-index: 2;
}

.clients-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
}

.clients-hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.clients-hero a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .clients-hero {
    height: 40vh;
    padding: 20px;
  }

  .clients-hero h1 {
    font-size: 2.5rem;
  }

  .clients-hero p {
    font-size: 1rem;
  }
}

/* client hero section end */

/* lab accessories section  start*/
.lab-accessorie-wrapper {
  padding: 40px 20px;
  background-color: #fff;
}

.lab-accessorie-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1350px;
  margin: auto;
}

.lab-accessorie-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid rgb(105, 105, 105);
}
.lab-accessorie-card:hover {
  border: 1px solid navy;
  box-shadow: 10 10px 10px rgba(0, 0, 0, 0.05);
}

.lab-accessorie-card:hover {
  transform: translateY(-5px);
}

.lab-accessorie-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.lab-accessorie-card h4 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: bolder;
}

/* Responsive */
@media (max-width: 992px) {
  .lab-accessorie-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .lab-accessorie-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .lab-accessorie-product-grid {
    grid-template-columns: 1fr;
  }
}

/* lab accessories section end */
/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal-content h4 {
  margin-top: 15px;
  font-size: 1.2rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
