/* ================= GLOBAL ENHANCEMENTS ================= */
.erp-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0; /* unified default padding */
}

.lead{color: #f7931e;}
.erp-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(247,147,30,0.08), transparent 40%);
  pointer-events: none;
}

/* ================= SECTION HEADER ================= */
.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, #f7931e, transparent);
  animation: glowLine 3s infinite;
}

@keyframes glowLine {
  0% { opacity: .3; }
  50% { opacity: 1; }
  100% { opacity: .3; }
}

.section-header p {
  color: #555;
  max-width: 650px;
  margin: auto;
  margin-top: 10px;
  line-height: 1.8;
}

/* ================= ERP CARD ================= */
.erp-card {
  position: relative;
  transition: transform .5s ease, box-shadow .5s ease;
  border: 1px solid rgba(0,0,0,0.03);
  padding: 50px;
  animation: floatCard 6s ease-in-out infinite;
}

.erp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(120deg, transparent 30%, rgba(247,147,30,0.15), transparent 70%);
  opacity: 0;
  transition: opacity .6s ease;
}

.erp-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.erp-card:hover::before {
  opacity: 1;
}

/* ================= LIST ITEMS / FEATURE ITEM ================= */
.erp-card ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.erp-card ul li {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  border-radius: 14px;
  padding: 22px 22px 22px 50px;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: featureIn .6s ease forwards;
  line-height: 1.7;
}

.erp-card ul li::before {
  right: 18px;
  top: 22px;
  font-size: 16px;
  transition: transform .3s ease;
}

.erp-card ul li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(247,147,30,.15), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.erp-card ul li:hover {
  background: linear-gradient(90deg, rgba(247,147,30,0.08), transparent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
  padding-right: 50px;
}

.erp-card ul li:hover::after {
  opacity: 1;
}

.erp-card ul li:hover::before {
  transform: scale(1.3) rotate(10deg);
}

/* ================= STAGGERED ANIMATION ================= */
.erp-card ul li:nth-child(1) { animation-delay: .05s }
.erp-card ul li:nth-child(2) { animation-delay: .1s }
.erp-card ul li:nth-child(3) { animation-delay: .15s }
.erp-card ul li:nth-child(4) { animation-delay: .2s }
.erp-card ul li:nth-child(5) { animation-delay: .25s }
.erp-card ul li:nth-child(6) { animation-delay: .3s }
.erp-card ul li:nth-child(7) { animation-delay: .35s }
.erp-card ul li:nth-child(8) { animation-delay: .4s }
.erp-card ul li:nth-child(9) { animation-delay: .45s }
.erp-card ul li:nth-child(10){ animation-delay: .5s }
.erp-card ul li:nth-child(11){ animation-delay: .55s }
.erp-card ul li:nth-child(12){ animation-delay: .6s }
.erp-card ul li:nth-child(13){ animation-delay: .65s }
.erp-card ul li:nth-child(14){ animation-delay: .7s }
.erp-card ul li:nth-child(15){ animation-delay: .75s }

@keyframes featureIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ================= LIGHT SECTION VARIATION ================= */
.erp-section.light .erp-card {
  background: linear-gradient(180deg, #fff, #fafafa);
}

.erp-section.light .erp-card ul li {
  background: linear-gradient(135deg, #fff, #fdfdfd);
}

/* ================= RESPONSIVE / TABLET / MOBILE ================= */
@media (max-width: 1200px) {
  .erp-card ul { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .erp-card { padding: 40px; }
  .erp-card ul { gap: 22px; }
}

@media (max-width: 768px) {
  .erp-section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }
  .erp-card { padding: 30px; }
  .erp-card ul { grid-template-columns: 1fr; gap: 22px; }
  .erp-card ul li { padding: 18px 18px 18px 45px; }
  .section-header h2::after { width: 80%; }
}
