/*Start Products*/
.gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      width: 100%;
      max-width: 1200px;
    }

    .card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s ease;
      cursor: pointer;
    }

    .card:hover {
      transform: translateY(-6px);
    }

    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .card p {
      text-align: center;
      padding: 12px;
      font-weight: bold;
      color: #1a1a40;
    }

    /* Popup Modal */
    .popup {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.85);
      justify-content: center;
      align-items: center;
    }

    .popup-content {
      position: relative;
      max-width: 90%;
      max-height: 80%;
    }

    .popup-content img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    .close {
      position: absolute;
      top: -40px;
      right: -10px;
      font-size: 40px;
      color: white;
      cursor: pointer;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 50px;
      font-weight: bold;
      color: white;
      cursor: pointer;
      user-select: none;
      padding: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.2);
      transition: background 0.3s;
    }

    .arrow:hover {
      background: rgba(255,255,255,0.5);
    }

    .arrow.left {
      left: -60px;
    }

    .arrow.right {
      right: -60px;
    }

    @media (max-width: 768px) {
      .arrow.left {
        left: -40px;
      }
      .arrow.right {
        right: -40px;
      }
      .popup-content {
        max-width: 95%;
      }
    }
/*End Products*/





/*Product box Start*/
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-card {
  width: 220px;
  /* background: #fff;
  border: 1px solid #ddd; */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card1{
  width: 276px;
  /* background: #fff;
  border: 1px solid #ddd; */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  /* padding: 20px 0 10px; */
  text-align: center;
  border-bottom: 1px solid #eee;
}

.product-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.product-details {
  text-align: center;
  padding: 10px 0;
}

.product-title {
  font-weight: bold;
  font-size: 18px;
  margin: 5px 0;
}

.product-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.product-inquiry {
  font-size: 13px;
  font-weight: bold;
  color: #000;
}

.spec-head {
  font-weight: bold;
  background-color: #0878c5;
  color: white;
  text-align: center;
  font-size: 15px;
  padding: 10px;
  margin-bottom: 0px;
}

.spec-box {
  line-height: 1.5;
  font-size: 15px;
  background: #03889e;
  color: #fff;
  padding: 20px 10px;
  margin-top: auto;
  text-align: center;
}

.product-grid.specifications {
  align-items: stretch;
}

.product-grid.specifications .product-card {
  display: flex;
  flex-direction: column;
}

.product-grid.specifications .spec-box {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  /* align-items: center; */
  text-align: center;
}

@media (max-width:1199px) and (min-width:992px){
  .product-card1 {
    width: 220px;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
}

@media (max-width: 768px) {
  .product-card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .product-card {
    width: 100%;
  }
}

/* Popup Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: 10% auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border: 5px solid #fff;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/*Product box End*/

/*Main Product Start*/
.dept-box {
  box-sizing: border-box;
}

.dept-body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 2rem;
  background-color: #f7f9fb;
}

.dept-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: auto;
}

.dept-card {
  background-color: white;
  border: 1px solid #000000;
  padding: 10px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
  color: #0b6b4f;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  /* Optional: included here if not applying dept-box individually */
}

.dept-card:hover {
  background-color: #cce7ff;
  box-shadow: 0 0 0 3px #66aaff;
}

.dept-card a {
  font-size: 16px;
  color: #4f6ce1;
  text-decoration: none;
  font-weight: bold;
}

/*Main Product End*/
