.mining-cable-range-item {
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 12px !important;
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
  }

  .mining-cable-range-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .mining-cable-range-button {
    background: #ffffff;
    color: #1b2a3a;
    padding: 22px;
    font-weight: 600;
    box-shadow: none !important;
  }

  .mining-cable-range-button:not(.collapsed) {
    background: #f0f4f9;
    color: #0f2742;
  }

  .mining-cable-range-card {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  .mining-cable-range-card img {
    width: 120px;
    border-radius: 8px;
  }

  .mining-cable-range-meta small {
    color: #0096cc;
    font-weight: 900 !important;
    letter-spacing: 1px;
  }

  .mining-cable-range-meta h5 {
    margin: 6px 0;
    font-weight: 700;
    color: #0f2742;
  }

  .mining-cable-range-meta p {
    color: #6c7a89;
    margin: 0;
    font-size: 14px;
  }

  .mining-cable-range-body {
    background: #ffffff;
    padding: 40px;
    border-top: 1px solid #e1e7ef;
  }

  .mining-cable-range-body p {
    color: #4a5a6a;
    font-size: 15px;
    line-height: 1.7;
  }
  button.accordion-button.mining-cable-range-button.collapsed{
    height:160px;
  }
.hazard-card {
  position: relative;
  background-color: #e2e8f0;
  padding: 2px;
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}

.hazard-inner {
  background-color: #ffffff;
  height: 100%;
  padding: 40px 30px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  display: flex;
  flex-direction: column;
}
.hazard-inner:hover img{
      filter: brightness(0) invert(1);
}

.icon-shield {
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #008fc3;
  background-color: rgba(0,143,195,0.08);
  border-radius: 12px;
  position: relative;
  transition: all 0.4s ease;
}

.icon-shield::after {
  content: '';
  position: absolute;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 1px dashed rgba(0,143,195,0.3);
  border-radius: 14px;
  transition: all 0.4s ease;
}

.icon-shield svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
  position: relative;
  z-index: 2;
}

.hazard-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.hazard-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.hazard-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px -10px rgba(0,143,195,0.25);
  background-color: #008fc3;
}

.hazard-card:hover .icon-shield {
  background-color: #008fc3;
  color: #ffffff;
  transform: scale(1.05);
}

.hazard-card:hover .icon-shield::after {
  border-color: #008fc3;
  transform: rotate(10deg) scale(1.1);
  opacity: 0.6;
}

.hazard-card:hover .hazard-title {
  color: #008fc3;
}
.compliance-section {
  background: #fff;
}

/* Main Wrapper */
.compliance-box-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;   /* Allows 4, 5, 6 items */
  border: 2px solid var(--ztc-bg-bg-11);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Each Box */
.compliance-box {
  flex: 1 1 20%;      /* auto width */
  min-width: 180px;   /* prevents too small shrink */
  padding: 30px 15px;
  text-align: center;
  border-right: 1px solid #39b6e0;
  border-bottom: 1px solid #39b6e0;
  transition: 0.3s ease;
  cursor: pointer;
}

.compliance-box:hover {
  background: #f5f9ff;
  transform: translateY(-3px);
}

/* Remove last borders nicely */
.compliance-box:last-child {
  border-right: none;
}

/* Icon Circle */
.icon-circle {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #f3f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Title */
.compliance-box h6 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #222;
}

/* Responsive */
@media (max-width: 768px) {
  .compliance-box-wrapper {
    flex-direction: column;
  }

  .compliance-box {
    border-right: none;
  }
}