/* ================================================================
   Sync Inn Digital — Industries Section
   Global section; header content via Theme Settings → Industries.
   Physics animation: Matter.js + IntersectionObserver.

   Layout:
     Header  — constrained (1400px); section label + heading + desc.
     Physics — full-width div (#industry-section), 750px tall.
               Industry tags fall and settle via rigid-body simulation.

   All colours use var(--sid-*) global CSS custom properties except
   the individual tag colours which are fixed brand palette values.
   ================================================================ */

/* ── Section wrapper ─────────────────────────────────────────── */

.sid-ind {
  background-color: var(--sid-light-grayish-blue-bg, #F5F6FA);
  overflow: hidden;
  padding-bottom: 110px;
}

/* ── Constrained header ──────────────────────────────────────── */

.sid-ind__wrap {
  max-width: var(--sid-site-width, 1400px);
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 60px;
}

/* ── Main heading ────────────────────────────────────────────── */

.sid-ind__heading {
  font-family: 'Poppins', var(--sid-font-heading, sans-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sid-black, #000);
  margin: 0 0 20px;
  max-width: 70%;
}

.sid-ind__heading-muted {
  color: #7E7E81;
}

/* ── Description ─────────────────────────────────────────────── */

.sid-ind__desc {
  font-family: 'Nunito', var(--sid-font-body, sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--sid-black, #000);
  margin: 0;
  max-width: 50%;
}

/* ── Physics container ───────────────────────────────────────── */

#industry-section {
  position: relative;
  max-width: var(--sid-site-width, 1400px);
  margin: 0 auto;
  padding: 0 20px;
  height: 750px;
  margin-top: -400px;
  
}

/* ── Industry tags ───────────────────────────────────────────── */

.industry-tag {
  position: absolute;
  padding: 20px 32px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  white-space: nowrap;
  font-family: 'Poppins', var(--sid-font-heading, sans-serif);
  font-size: 14px;
  text-align: center;
  pointer-events: none;
  will-change: transform;
}

/* Individual tag colours — fixed brand palette, order matches HTML */
.industry-tag:nth-child(1)  { background: #3861F9; }
.industry-tag:nth-child(2)  { background: #FE6037; }
.industry-tag:nth-child(3)  { background: #76C6B3; }
.industry-tag:nth-child(4)  { background: #FFD37D; color: #262121; }
.industry-tag:nth-child(5)  { background: #70A2E1; }
.industry-tag:nth-child(6)  { background: #FFB9B8; }
.industry-tag:nth-child(7)  { background: #9B59B6; }
.industry-tag:nth-child(8)  { background: #1ABC9C; }
.industry-tag:nth-child(9)  { background: #E67E22; }
.industry-tag:nth-child(10) { background: #F1C40F; color: #262121; }
.industry-tag:nth-child(11) { background: #2ECC71; }

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 1280px) {
  .sid-ind__heading {
    font-size: 44px;
  }
}

@media (max-width: 1023px) {
  .sid-ind {
    padding-top: 80px;
  }

  .sid-ind__heading {
    font-size: 36px;
    max-width: 100%;
  }

  .sid-ind__desc {
    max-width: 100%;
  }

  .sid-ind__wrap {
    margin-bottom: 40px;
  }

  #industry-section {
    height: 600px;
  }
}

@media (max-width: 767px) {
  .sid-ind {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .sid-ind__heading {
    font-size: 30px;
  }

  .sid-ind__wrap {
    margin-bottom: 30px;
  }

  #industry-section {
    height: 450px;
    margin-top: -200px;
  }

  .industry-tag {
    padding: 14px 22px;
    font-size: 13px;
  }
}

@media (max-width: 479px) {
  .sid-ind__heading {
    font-size: 30px;
    line-height: 30px;
  }

  .sid-ind__desc {
    font-size: 16px;
  }

  #industry-section {
    height: 380px;
    margin-top: -100px;
  }
}
