/**
 * @file
 * Industries Served section component styles.
 */

.industries {
  padding: 3rem 0;
  background-color: var(--pp-gray, #B2B4B2);
}

.industries__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.industries__head {
  text-align: center;
  margin-bottom: 3rem;
}

/* Eyebrow label with a short cyan underline (matches the section header style). */
.industries__eyebrow {
  display: inline-block;
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  color: var(--pp-white, #ffffff);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.industries__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: var(--pp-cyan, #009CDD);
}

.industries__heading {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Cards */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.industries__card {
  display: block;
  background-color: var(--pp-white, #ffffff);
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industries__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.industries__image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.industries__body {
  padding: 1.25rem 1rem;
  text-align: center;
}

.industries__title {
  display: block;
  color: var(--pp-dark-blue, #001A72);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
  .industries {
    padding: 3rem 0;
  }

  .industries__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
