/* School ERP & College ERP section (index.php, above footer). All rules scoped to .nx-erp */
.nx-erp {
  padding: 90px 0 70px;
  background: #f7f9fc;
  font-family: "Poppins", sans-serif;
}
.nx-erp .nx-erp-lead {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.8;
}
.nx-erp h3 {
  color: #02164f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
}
.nx-erp h4 {
  color: #0c65a5;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px;
}
.nx-erp p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 10px;
}
.nx-erp a.nx-erp-link {
  color: #0c65a5;
  font-weight: 600;
  text-decoration: underline;
}
.nx-erp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.nx-erp-card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-top: 4px solid #f78b2f;
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 6px 18px rgba(2, 22, 79, 0.06);
}
.nx-erp-block {
  margin-bottom: 50px;
}
.nx-erp-block > h3 {
  text-align: center;
  margin-bottom: 24px;
}
.nx-erp-modules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nx-erp-modules li {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 12px 14px;
  color: #02164f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.nx-erp-modules li::before {
  content: "\2713";
  color: #f78b2f;
  font-weight: 700;
  margin-right: 8px;
}
.nx-erp-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.nx-erp-why > div {
  background: #fff;
  border-left: 4px solid #0c65a5;
  border-radius: 8px;
  padding: 20px 22px;
}
.nx-erp-faq {
  max-width: 900px;
  margin: 0 auto;
}
.nx-erp-faq details {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  margin-bottom: 12px;
}
.nx-erp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 20px;
  position: relative;
  color: #02164f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.nx-erp-faq summary::-webkit-details-marker {
  display: none;
}
.nx-erp-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #f78b2f;
  font-size: 22px;
  font-weight: 700;
}
.nx-erp-faq details[open] summary::after {
  content: "\2212";
}
.nx-erp-faq details p {
  padding: 0 20px 16px;
  margin: 0;
}
.nx-erp-cta {
  text-align: center;
  margin-top: 40px;
}
.nx-erp-cta a {
  display: inline-block;
  margin: 6px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.nx-erp-cta .nx-erp-btn-main {
  background: #f78b2f;
  color: #fff;
}
.nx-erp-cta .nx-erp-btn-alt {
  border: 2px solid #02164f;
  color: #02164f;
}
@media (max-width: 991px) {
  .nx-erp-cards {
    grid-template-columns: 1fr;
  }
  .nx-erp-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-erp-why {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .nx-erp {
    padding: 60px 0 50px;
  }
  .nx-erp-modules {
    grid-template-columns: 1fr;
  }
}
