.warehouse_zone .header-container {
  color: #09253a;
  padding-bottom: clamp(1.875rem, 1.4107rem + 1.9048vw, 3.125rem);
}

.gray-box {
  height: clamp(17.3125rem, 16.4768rem + 3.4286vw, 19.5625rem);
  border-radius: 30px;
  background: #f3f3f3;
  color: #09253a;
  /* padding: 25px; */
  padding: clamp(0.9375rem, 0.7054rem + 0.9524vw, 1.5625rem);
  position: relative;
  display: flex;
  align-items: flex-end;
}
.gray-box .icon {
  position: absolute;
  top: 5%;
  right: 5%;
  /* width: 52px;
    height: 52px; */
  width: clamp(2.25rem, 1.8786rem + 1.5238vw, 3.25rem);
  height: clamp(2.25rem, 1.8786rem + 1.5238vw, 3.25rem);
  object-fit: cover;
}
.gray-box .content {
  font-family: "Sora", sans-serif;
  letter-spacing: 0%;
  width: 100%;
}
.gray-box .content p {
  font-weight: 600;
  font-size: clamp(1rem, 0.8143rem + 0.7619vw, 1.5rem);
  line-height: 120%;
  opacity: 0.8;
  padding-right: 5%;
}
.gray-box .content span {
  font-weight: 300;
  font-size: 14px;
  display: inline-block;
  opacity: 0.5;
  line-height: 120%;
}

.gray-box-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Tablet - 3 per row */
@media (max-width: 1024px) {
  .gray-box-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile - 2 per row */
@media (max-width: 767px) {
  .gray-box-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* If the total number of items is odd,
       make the last item span both columns */
  .gray-box-row > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* Hover background setup */
.gray-box {
  position: relative;
  overflow: hidden;
}

.gray-box::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Keep content above overlay */
.gray-box > * {
  position: relative;
  z-index: 1;
}

/* Desktop only hover effect */
@media (min-width: 769px) {
  /* Green background */
  .gray-box:hover::before {
    opacity: 1;
    background: #00b1ac;
  }

  /* Green + image overlay */
  .gray-box.has-bg-image:hover::before {
    opacity: 1;
    background:
      linear-gradient(rgba(0, 177, 172, 0.85), rgba(0, 177, 172, 0.85)),
      var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Text color */
  .gray-box:hover,
  .gray-box:hover .content,
  .gray-box:hover .content p,
  .gray-box:hover .content span,
  .gray-box:hover .content * {
    color: #fff;
  }

  /* Icon color change for SVG/PNG icons */
  .gray-box:hover .icon {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 767px) {
  /* Only title */
  .gray-box-small {
    min-height: 140px;
    height: 180px;
  }

  /* Title + span description */
  .gray-box-large {
    min-height: 220px;
    height: auto;
  }
}
