/* ============================================================
   IMPERIAL INTERNATIONAL SCHOOL DHAKA — Admissions Styles
   Professional Redesign 2026
   ============================================================ */



/* ── FEE TABLES ──────────────────────────────────────────── */
.fee-table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
}
.fee-table caption {
  caption-side: top;
  text-align: left;
  padding: 18px 24px;
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 2px solid var(--brass);
}
.fee-table th, .fee-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.fee-table th {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  font-weight: 600;
}
.fee-table td.standard {
  color: var(--ink-muted);
  text-decoration: line-through;
  font-family: var(--font-label);
}
.fee-table td.discount {
  color: var(--navy-deep);
  font-weight: 600;
  font-family: var(--font-label);
}
.fee-table tbody tr:hover {
  background-color: rgba(245, 246, 249, 0.5);
}
.fee-table tr.total td {
  font-weight: 700;
  background: var(--paper);
}
.fee-table tr.total td.discount {
  color: var(--brass);
  font-size: 1.05rem;
}
.fee-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
  line-height: 1.68;
}

/* ── INCENTIVE GRID ──────────────────────────────────────── */
.incentive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 64px;
}
@media (max-width: 768px) {
  .incentive-grid { grid-template-columns: 1fr; }
}
.incentive-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-sm);
}
.incentive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 155, 60, 0.28);
}
.incentive-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.incentive-card h3::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brass);
  display: inline-block;
  flex-shrink: 0;
}
.incentive-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── POLICY GRID ─────────────────────────────────────────── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 64px;
}
@media (max-width: 1024px) {
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .policy-grid { grid-template-columns: 1fr; }
}
.policy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.policy-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.policy-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 600;
}
.policy-card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── STEPS ───────────────────────────────────────────────── */
.steps {
  margin-top: 32px;
}
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step .stepnum {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brass);
  font-weight: 700;
  line-height: 1;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--brass-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 155, 60, 0.05);
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy-deep);
}
.step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 12px;
  max-width: 70ch;
}
.step ul {
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step ul li {
  position: relative;
  list-style: none;
}
.step ul li::before {
  content: '—';
  color: var(--brass);
  position: absolute;
  left: -18px;
}

/* ── AGE TABLES ──────────────────────────────────────────── */
.age-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 64px;
}
@media (max-width: 768px) {
  .age-tables { grid-template-columns: 1fr; }
}
.age-tables table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.age-tables th, .age-tables td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}
.age-tables th {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  font-weight: 600;
}
.age-tables caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--navy-deep);
  font-weight: 600;
}

/* ── AGE SECTION EXTRA ───────────────────────────────────── */
.age-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(200, 155, 60, 0.15);
  pointer-events: none;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}
.cta-band p {
  color: #bfcbdc;
  margin-bottom: 32px;
  max-width: 60ch;
  margin-inline: auto;
  font-size: 1.02rem;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── MOBILE RESPONSIVE ───────────────────────────────────── */
@media (max-width: 640px) {
  .fee-table {
    min-width: 600px;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .step .stepnum {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .fee-table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
}
