/* ═══════════════════════════════════════════
   ADMISSION CRITERIA — admission-criteria.css
   Depends on: common.css (variables),
               page-hero.css (hero section)
═══════════════════════════════════════════ */
/* ─────────────────────────────────────────
   INTRO BAND
───────────────────────────────────────── */
.ac-intro-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  padding: 20px 0;
  border-bottom: 3px solid var(--orange);
}
.ac-intro-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ac-intro-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(232, 108, 6, 0.2);
  border: 1px solid rgba(232, 108, 6, 0.35);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.ac-intro-inner p {
  flex: 1;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 500;
}
.ac-intro-inner p strong {
  color: #fff;
  font-weight: 700;
}
.ac-intro-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(232, 108, 6, 0.35);
}
.ac-intro-cta:hover {
  background: var(--orange-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 108, 6, 0.45);
}
.ac-intro-cta svg { transition: transform 0.3s ease; }
.ac-intro-cta:hover svg { transform: translateX(3px); }
/* ─────────────────────────────────────────
   MAIN SECTION
───────────────────────────────────────── */
.ac-main-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f8f9fd 0%, #fff 50%, #f8f9fd 100%);
  position: relative;
  overflow: hidden;
}
.ac-main-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(12, 29, 88, 0.03) 0%, transparent 70%);
  pointer-events: none;
}
.ac-main-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 108, 6, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
/* Two-column layout */
.ac-main-wrapper {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 2;
}
/* ─── Shared section header ─── */
.ac-section-header {
  margin-bottom: 32px;
}
.ac-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232, 108, 6, 0.1);
  color: var(--orange);
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(232, 108, 6, 0.2);
  margin-bottom: 14px;
}
.ac-section-tag-navy {
  background: rgba(12, 29, 88, 0.07);
  color: var(--navy);
  border-color: rgba(12, 29, 88, 0.12);
}
.ac-section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ac-section-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.ac-section-title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
}
.ac-section-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}
.ac-section-sub strong { color: var(--navy); }
/* ─────────────────────────────────────────
   WHY NPS COLUMN
───────────────────────────────────────── */
.ac-why-col {
  display: flex;
  flex-direction: column;
}
.ac-why-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* Category block */
.ac-why-category {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(12, 29, 88, 0.06);
  transition: box-shadow 0.3s ease;
}
.ac-why-category:hover {
  box-shadow: 0 8px 32px rgba(12, 29, 88, 0.1);
}
.ac-why-cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.ac-why-cat-label svg { color: var(--gold); flex-shrink: 0; }
.ac-why-items {
  padding: 8px 0;
}
.ac-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.ac-why-item:last-child { border-bottom: 0; }
.ac-why-item:hover { background: var(--light); }
.ac-why-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(232, 108, 6, 0.1);
  border: 1px solid rgba(232, 108, 6, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.ac-why-item:hover .ac-why-num {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.ac-why-text {
  font-family: 'Nunito', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  padding-top: 6px;
}
/* ─────────────────────────────────────────
   CRITERIA COLUMN
───────────────────────────────────────── */
.ac-criteria-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;
}
/* ── Age Table Card ── */
.ac-table-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(12, 29, 88, 0.1);
}
.ac-table-header {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  padding: 0;
}
.ac-table-header-cell {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 16px;
}
.ac-table-header-cell:first-child { color: var(--gold); }
.ac-table-body { padding: 8px 0; }
/* Group label separators */
.ac-table-group-label {
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 10px 16px 6px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}
.ac-table-body .ac-table-group-label:first-child {
  border-top: 0;
  margin-top: 0;
}
/* Table rows */
.ac-table-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  transition: background 0.2s ease;
}
.ac-table-row:hover { background: var(--light); }
.ac-table-cell {
  font-family: 'Nunito', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(224, 230, 245, 0.6);
}
.ac-table-row-last .ac-table-cell { border-bottom: 0; }
/* Class badges */
.ac-class-badge {
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: fit-content; */
}
.ac-badge-preprimary {
  /* background: rgba(200, 152, 30, 0.12); */
  color: #a07010;
  /* border: 1px solid rgba(200, 152, 30, 0.25); */
}
.ac-badge-primary {
  /* background: rgba(12, 29, 88, 0.08); */
  color: var(--navy);
  /* border: 1px solid rgba(12, 29, 88, 0.15); */
}
.ac-badge-middle {
  /* background: rgba(232, 108, 6, 0.1); */
  color: var(--orange);
  /* border: 1px solid rgba(232, 108, 6, 0.2); */
}
.ac-badge-secondary {
  /* background: rgba(12, 29, 88, 0.9); */
  color: #198754;
  /* border: 1px solid var(--navy); */
}
.ac-date-range {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
/* ── Note strip ── */
.ac-note-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(232, 108, 6, 0.06);
  border: 1px solid rgba(232, 108, 6, 0.18);
  border-radius: 6px;
  padding: 14px 18px;
}
.ac-note-strip p {
  font-family: 'Nunito', sans-serif;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}
.ac-note-strip p strong { color: var(--navy); }
/* ── Registration Card ── */
.ac-register-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 12px 36px rgba(12, 29, 88, 0.2);
  position: relative;
  overflow: hidden;
}
.ac-register-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 108, 6, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ac-register-top {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.ac-register-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(232, 108, 6, 0.2);
  border: 1px solid rgba(232, 108, 6, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.ac-register-title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.ac-register-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  font-weight: 500;
}
.ac-register-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.ac-register-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.ac-register-btn-primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 4px 14px rgba(232, 108, 6, 0.35);
}
.ac-register-btn-primary:hover {
  background: var(--orange-h);
  border-color: var(--orange-h);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 108, 6, 0.45);
}
.ac-register-btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.ac-register-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}
.ac-register-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}
.ac-register-contact svg { color: var(--gold); }
.ac-register-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.ac-register-contact a:hover { color: #fff; }
/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1199px) {
  .ac-main-wrapper {
    grid-template-columns: 1fr 380px;
    gap: 40px;
  }
  .ac-section-title { font-size: 32px; }
}
@media (max-width: 991px) {
  .ac-main-section { padding: 60px 0 70px; }
  .ac-main-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ac-criteria-col {
    position: relative;
    top: 0;
  }
  .ac-section-title { font-size: 30px; }
  .ac-intro-inner { gap: 14px; }
}
@media (max-width: 768px) {
  .ac-intro-cta { width: 100%; justify-content: center; }
  .ac-intro-inner { flex-direction: column; align-items: flex-start; }
  .ac-section-title { font-size: 27px; }
  .ac-table-header,
  .ac-table-row {
    grid-template-columns: 90px 1fr 1fr;
  }
  .ac-table-cell,
  .ac-table-header-cell { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .ac-main-section { padding: 40px 0 50px; }
  .ac-section-title { font-size: 24px; }
  .ac-table-header,
  .ac-table-row {
    grid-template-columns: 80px 1fr;
  }
  /* Hide "Born Between" column on very small screens */
  .ac-table-header-cell:last-child,
  .ac-date-range { display: none; }
  .ac-register-card { padding: 20px; }
  .ac-why-item { gap: 12px; }
  .ac-why-text { font-size: 13.5px; }
}