/* ── Industries We Serve Section ───────────────────────────── */

.iw-industries {
  background-color: #f8f9fb;
  box-sizing: border-box;
  width: 100%;
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

/* ── Section header ── */
.iw-industries__header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.iw-industries__label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7632da;
  margin: 0 0 0.75rem 0;
  display: block;
}

.iw-industries__heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #7632da;
  margin: 0 0 1rem 0;
}

.iw-industries__heading span {
  color: #7632da;
}

.iw-industries__body {
  font-size: 16px;
  line-height: 1.6;
  color: #212529;
  margin: 0 auto;
  max-width: 600px;
}

/* ── Cards container ── */
.iw-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ── Individual card ── */
.iw-card {
  /* background: #ffffff; */
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.5);
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: box-shadow 0.25s;
}

.iw-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ── Image wrapper ── */
.iw-img-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.iw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Sweep shimmer ── */
.iw-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.7s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.iw-card:hover .iw-img-wrapper::after {
  transform: translateX(100%) skewX(-20deg);
}

/* ── Cutout corner ── */
.iw-cutout-block {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background-color: #f8f9fb;
  border-top-left-radius: 30px;
  z-index: 2;
}

.iw-cutout-block::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 19.3px, #ffffff 20px);
}

.iw-cutout-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 19.3px, #ffffff 20px);
}

/* ── Arrow button ── */
.iw-card-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: #7632da;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.iw-card-btn:hover {
  background: #5c27a8;
  transform: scale(1.08);
}

.iw-card-btn:focus-visible {
  outline: 3px solid rgba(1, 122, 162, 0.5);
  outline-offset: 3px;
}

.iw-card-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s, stroke 0.3s;
}

.iw-card:hover .iw-card-btn svg {
  transform: rotate(45deg);
}

/* ── Card text content ── */
.iw-card-content {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.iw-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #212529;
  margin: 0;
}

.iw-card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #212529;
  margin: 0;
}

/* ── Responsive grid ── */
@media (min-width: 640px) {
  .iw-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .iw-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
