@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/* =========================================================
   INDUSTRIES WE SERVE SECTION
   ========================================================= */

.industries-we-serve-section {
  position: relative;
  padding: 85px 20px 95px 20px;
  /* background: linear-gradient(180deg, #faf9fe 0%, #f4f0fb 50%, #eee8f8 100%); */
  background: #fff;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  color: #22223b;
  box-sizing: border-box;
}

.industries-we-serve-section *,
.industries-we-serve-section *::before,
.industries-we-serve-section *::after {
  box-sizing: border-box;
}

/* Background Decorative Artwork */
.ind-bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Left & Right swoosh shapes matching the image */
.ind-swoosh-left {
  position: absolute;
  top: -40px;
  left: -90px;
  width: 320px;
  height: 110%;
  opacity: 0.95;
}

.ind-swoosh-right {
  position: absolute;
  bottom: -60px;
  right: -100px;
  width: 360px;
  height: 110%;
  opacity: 0.95;
}

/* Soft glowing gradient blobs */
.ind-glow-circle-top {
  position: absolute;
  top: -120px;
  right: 15%;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(168, 126, 219, 0.18) 0%,
    rgba(244, 240, 251, 0) 70%
  );
  border-radius: 50%;
  display: none;
}

.ind-glow-circle-bottom {
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(135, 78, 185, 0.15) 0%,
    rgba(244, 240, 251, 0) 70%
  );
  border-radius: 50%;
}

/* Dot grid patterns on left and right */
.ind-dots-left {
  position: absolute;
  top: 260px;
  left: 25px;
  width: 110px;
  height: 140px;
  background-image: radial-gradient(#6c4a96 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.45;
}

.ind-dots-right {
  position: absolute;
  top: 100px;
  right: 30px;
  width: 110px;
  height: 140px;
  background-image: radial-gradient(#6c4a96 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.45;
}

/* Section Container */
.ind-container {
  position: relative;
  max-width: 1420px;
  width: 96%;
  margin: 0 auto;
  z-index: 2;
}

/* Section Header */
.ind-header {
  text-align: center;
  margin-bottom: 45px;
}

.ind-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ind-kicker .ind-kicker-line {
  width: 40px;
  height: 2px;
  background: #5d2274;
  border-radius: 2px;
}

.ind-kicker .ind-kicker-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #5d2274;
  text-transform: uppercase;
}

.ind-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #171638;
  line-height: 1.25;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.ind-header h2 .ind-highlight {
  color: #631d6d;
  font-weight: 800;
}

.ind-header p.ind-desc {
  font-size: 15px;
  color: #53556d;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto;
  font-weight: 400;
}

/* Grid Layout - 5 columns matching the screenshot */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px 5px;
  margin: 0 auto;
}

/* Card Styling */
.ind-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(35, 20, 75, 0.04);
  border: 1px solid rgba(225, 220, 240, 0.85);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  cursor: default;
  min-width: 0;
}

.ind-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 20, 95, 0.11);
  border-color: #bfaee3;
}

/* Square Icon Container */
.ind-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #37246e 0%, #25164f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(35, 18, 75, 0.25);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.ind-card:hover .ind-icon-box {
  transform: scale(1.06);
}

/* Icon inside */
.ind-icon-box img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Industry Name */
.ind-name {
  font-size: 13px;
  font-weight: 500;
  color: #201e3b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom organic wave overlay to transition smoothly */
.ind-bottom-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;
  pointer-events: none;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1250px) {
  .ind-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ind-dots-left,
  .ind-dots-right {
    display: none;
  }
}

@media (max-width: 991px) {
  .industries-we-serve-section {
    padding: 65px 20px 75px 20px;
  }
  .ind-header h2 {
    font-size: 32px;
  }
  .ind-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .industries-we-serve-section {
    padding: 55px 15px 65px 15px;
  }
  .ind-header h2 {
    font-size: 26px;
  }
  .ind-header p.ind-desc {
    font-size: 14px;
  }
  .ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ind-card {
    padding: 9px 11px;
    gap: 10px;
  }
  .ind-icon-box {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .ind-icon-box img {
    width: 17px;
    height: 17px;
  }
  .ind-name {
    font-size: 12.5px;
  }
  .ind-swoosh-left,
  .ind-swoosh-right {
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .ind-header h2 {
    font-size: 23px;
  }
  .ind-kicker .ind-kicker-text {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .ind-grid {
    grid-template-columns: 1fr;
  }
  .ind-name {
    font-size: 13px;
  }
}
