/* ===== Industries we Empower ===== */

.industries-section {
  background-color: rgb(251, 249, 249);
}

.industries-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #111827;
}

.industries-subtitle {
  max-width: 460px;
  font-size: 0.98rem;
  color: #6b7280;
}
/* Big combined images inside the panels */
.industries-combined-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.industries-btn {
  padding: 0.7rem 1.9rem;
  font-weight: 600;
  border-radius: 999px;
}

/* Panels on the right */
.industries-panel {
  background-color: #ffffff;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* Each small image card */
.industry-card {
  flex: 1 1 21%; /* 4 per row on large screens */
  min-width: 140px;
}

.industry-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

/* Image itself */
.industry-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Dark gradient at bottom + white label text */
.industry-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
  opacity: 0.85;
}

.industry-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

/* Make sure text sits above overlay */
.industry-image-wrapper img,
.industry-label {
  position: relative;
  z-index: 1;
}

/* Hover effect */
.industry-image-wrapper:hover img {
  transform: scale(1.03);
  transition: transform 0.25s ease;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .industries-section {
    text-align: center;
  }

  .industries-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .industries-panel {
    margin-top: 12px;
  }

  .industry-card {
    flex: 1 1 45%; /* 2 per row on tablet */
  }
}

@media (max-width: 575.98px) {
  .industry-card {
    flex: 1 1 100%; /* 1 per row on mobile */
  }

  .industry-image {
    height: 190px;
  }
}
