/* ============================================================
   ESSE INDIA — AAIP.CSS
   AAIP page styles — stats grid, path cards, etc.
   ============================================================ */

/* ============================================================
   1. AAIP STATS GRID (4 stat cards)
   ============================================================ */
.stats-banner-compact {
  padding: 50px 0;
}

.aaip-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.aaip-stat-card {
  background: #fff;
  border: 1.5px solid var(--lilac-100);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.aaip-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-500), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.aaip-stat-card:hover::before {
  transform: scaleX(1);
}
.aaip-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(75, 33, 196, .25);
  border-color: var(--purple-300);
}

.aaip-stat-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lilac-100), #e2d5fc);
  color: var(--purple-600);
  font-size: 22px;
  margin-bottom: 16px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.aaip-stat-card:hover .icon {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-800));
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 24px -8px rgba(75, 33, 196, .45);
}

.aaip-stat-card .num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--purple-600);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.5px;
}
.aaip-stat-card .label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   2. PATH GRID (Eligibility Requirements — 3 cards)
   ============================================================ */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(26, 13, 61, .15);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lilac-100);
}
.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px -22px rgba(75, 33, 196, .3);
  border-color: var(--purple-300);
}

.path-head {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-500));
  color: #fff;
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}
.path-head::after {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 107, .18), transparent 70%);
  pointer-events: none;
}

.path-num {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, .12);
  padding: 4px 12px;
  border-radius: 999px;
}

.path-head h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.path-head h4 i {
  color: var(--gold-light);
  font-size: 18px;
  flex-shrink: 0;
}

.path-body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.path-body > p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}
.path-body > p b,
.path-body > p strong {
  color: var(--ink);
  font-weight: 700;
}

.path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.path-list li {
  font-size: 13.5px;
  color: #3a3350;
  padding: 8px 0 8px 26px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px dashed var(--lilac-100);
}
.path-list li:last-child {
  border-bottom: none;
}
.path-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--purple-500);
  font-size: 11px;
}
.path-list li b,
.path-list li strong {
  color: var(--ink);
  font-weight: 700;
}

/* ============================================================
   3. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .aaip-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .path-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .aaip-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .aaip-stat-card {
    padding: 22px 16px;
  }
  .aaip-stat-card .num {
    font-size: 26px;
  }
  .aaip-stat-card .icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .path-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .path-head {
    padding: 20px 22px;
  }
  .path-body {
    padding: 20px 22px;
  }
}

@media (max-width: 480px) {
  .aaip-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   4. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .aaip-stat-card,
  .aaip-stat-card::before,
  .aaip-stat-card .icon,
  .path-card {
    transition: none !important;
  }
}