/* ============================================================
   EXCEL TUITION — ENROLLMENT PAGE STYLES
   Brand: Navy #1B3A8C | Amber #F5A623 | White #fff
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1B3A8C;
  --navy2:  #142d6e;
  --amber:  #F5A623;
  --amber2: #e09410;
  --green:  #27AE60;
  --bg:     #F4F6F9;
  --text:   #1A1A2E;
  --muted:  #6b7280;
  --border: #e2e8f0;
  --white:  #ffffff;
  --shadow: 0 4px 24px rgba(27,58,140,.10);
  --radius: 14px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ── NAV ── */
.enroll-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); font-size: 1.1rem; }
.nav-logo strong { color: var(--navy); }
.nav-whatsapp {
  display: flex; align-items: center; gap: .5rem;
  background: #25D366; color: white;
  padding: .5rem 1.1rem; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: background .2s;
}
.nav-whatsapp:hover { background: #1ebe5d; }

/* ── HERO ── */
.enroll-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2560 100%);
  color: white;
  padding: 5rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,.2);
  border: 1px solid var(--amber);
  color: var(--amber);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-content h1 .highlight { color: var(--amber); }
.hero-content p { font-size: 1.1rem; opacity: .85; max-width: 580px; margin: 0 auto 2rem; }

.hero-stats {
  display: flex; justify-content: center; gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stats .stat { display: flex; flex-direction: column; align-items: center; }
.hero-stats .stat strong { font-size: 1.8rem; font-weight: 800; color: var(--amber); font-family: 'Poppins', sans-serif; }
.hero-stats .stat span { font-size: .8rem; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }

/* ── FORM SECTION ── */
.form-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
@media(max-width:900px) {
  .form-section { grid-template-columns: 1fr; }
  .side-info { order: -1; }
}

/* ── FORM WRAPPER ── */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

/* ── PROGRESS BAR ── */
.progress-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 2.5rem;
}
.step { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.step-circle {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid var(--border);
  background: var(--white);
  font-weight: 700; font-size: .95rem; color: var(--muted);
  transition: all .3s;
}
.step.active .step-circle, .step.done .step-circle {
  background: var(--navy); border-color: var(--navy); color: white;
}
.step.done .step-circle { background: var(--green); border-color: var(--green); }
.step span { font-size: .75rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.step.active span { color: var(--navy); font-weight: 700; }
.step-line { flex: 1; height: 2.5px; background: var(--border); min-width: 60px; margin: 0 8px; margin-bottom: 22px; transition: background .3s; }
.step-line.done { background: var(--navy); }

/* ── FORM STEPS ── */
.form-step { display: none; animation: fadeIn .3s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.form-step h2 { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.step-sub { color: var(--muted); margin-bottom: 1.75rem; }

/* ── PROGRAMME CARDS ── */
.programme-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 2rem;
}
@media(max-width:600px) { .programme-grid { grid-template-columns: repeat(2, 1fr); } }

.programme-card input { position: absolute; opacity: 0; pointer-events: none; }
.programme-card .card-inner {
  position: relative; border: 2px solid var(--border);
  border-radius: 12px; padding: 1.25rem .75rem;
  text-align: center; cursor: pointer;
  transition: all .2s; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
.programme-card .card-inner:hover { border-color: var(--navy); background: #eef2ff; }
.programme-card input:checked + .card-inner {
  border-color: var(--navy); background: #eef2ff;
  box-shadow: 0 0 0 3px rgba(27,58,140,.12);
}
.card-icon { font-size: 1.75rem; }
.card-inner strong { font-size: 1rem; font-weight: 700; color: var(--navy); }
.card-inner span { font-size: .73rem; color: var(--muted); }
.card-check {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: white;
  font-size: .75rem; display: none;
  align-items: center; justify-content: center; font-weight: 700;
}
.programme-card input:checked + .card-inner .card-check { display: flex; }

/* ── MODE GRID ── */
.mode-section h3 { font-size: 1rem; font-weight: 600; margin-bottom: .85rem; color: var(--text); }
.mode-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; margin-bottom: 1.75rem; }
.mode-card input { position: absolute; opacity: 0; }
.mode-inner {
  display: flex; flex-direction: column; gap: .2rem;
  border: 2px solid var(--border); border-radius: 10px;
  padding: .85rem; cursor: pointer; transition: all .2s;
  background: var(--bg);
}
.mode-inner:hover { border-color: var(--amber); }
.mode-card input:checked + .mode-inner { border-color: var(--amber); background: #fff8eb; box-shadow: 0 0 0 3px rgba(245,166,35,.15); }
.mode-icon { font-size: 1.3rem; }
.mode-inner strong { font-size: .9rem; font-weight: 600; }
.mode-inner small { font-size: .75rem; color: var(--muted); }

/* ── FIELD GROUPS ── */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media(max-width:600px) { .field-grid { grid-template-columns: 1fr; } }

.field-group { display: flex; flex-direction: column; gap: .4rem; }
.field-group.full-width { margin-bottom: 1.5rem; }

label { font-size: .875rem; font-weight: 600; color: var(--text); }
.req { color: #e53e3e; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px; font-size: .95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,140,.1);
}
textarea { resize: vertical; min-height: 90px; }

/* ── SCHEDULE ── */
.schedule-section { margin-bottom: 1.5rem; }
.schedule-section h3 { font-size: .95rem; font-weight: 600; margin-bottom: .75rem; }

.days-grid { display: flex; gap: .5rem; flex-wrap: wrap; }
.day-chip input { position: absolute; opacity: 0; }
.day-chip span {
  display: block; padding: .45rem .9rem;
  border: 1.5px solid var(--border); border-radius: 50px;
  font-size: .85rem; font-weight: 500; cursor: pointer;
  transition: all .2s; background: var(--bg);
}
.day-chip span:hover { border-color: var(--navy); color: var(--navy); }
.day-chip input:checked + span { background: var(--navy); color: white; border-color: var(--navy); }

.time-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; }
@media(max-width:480px) { .time-grid { grid-template-columns: 1fr; } }
.time-card input { position: absolute; opacity: 0; }
.time-card span {
  display: block; padding: .85rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  text-align: center; transition: all .2s; background: var(--bg);
  line-height: 1.5;
}
.time-card span:hover { border-color: var(--amber); }
.time-card input:checked + span { background: #fff8eb; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.15); }

/* ── SUMMARY BOX ── */
.summary-box {
  background: linear-gradient(135deg,#eef2ff,#f0fdf4);
  border: 1.5px solid #c7d2fe;
  border-radius: 12px; padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.summary-box h4 { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; color: var(--navy); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .5rem; font-size: .875rem; }
.summary-grid span { color: var(--muted); }
.summary-grid strong { color: var(--text); }

/* ── BUTTONS ── */
.btn-next, .btn-submit {
  display: block; width: 100%;
  padding: 1rem 2rem;
  background: var(--navy); color: white;
  border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all .2s;
  margin-top: 1.5rem;
}
.btn-next:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-submit { background: var(--green); }
.btn-submit:hover { background: #219a52; transform: translateY(-1px); }

.btn-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.btn-back {
  padding: .9rem 1.5rem; border: 1.5px solid var(--border);
  border-radius: 10px; background: white; color: var(--muted);
  font-size: .95rem; font-weight: 600; cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.btn-row .btn-next, .btn-row .btn-submit { margin-top: 0; flex: 1; }

.privacy-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 1rem; }

/* ── SIDE INFO ── */
.side-info { display: flex; flex-direction: column; gap: 1rem; }

.info-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow);
}
.info-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.info-card p { font-size: .875rem; color: var(--text); line-height: 1.7; }
.info-card a { color: var(--navy); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.map-link { display: inline-block; margin-top: .5rem; color: var(--amber) !important; font-weight: 600; font-size: .85rem; }

.facebook-card { border-left: 3px solid #1877F2; }
.fb-link {
  display: flex; align-items: center; gap: .6rem;
  color: #1877F2 !important; font-weight: 600; font-size: .875rem;
  text-decoration: none;
}
.fb-link svg { flex-shrink: 0; }
.follower-count { font-size: .75rem; color: var(--muted); margin-top: .4rem; }

.whatsapp-card { border-left: 3px solid #25D366; padding: .85rem 1rem; }
.wa-cta {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #25D366; color: white !important;
  padding: .85rem 1rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  transition: background .2s;
}
.wa-cta:hover { background: #1ebe5d !important; }

/* ── FOOTER ── */
.enroll-footer {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 1.75rem 2rem; text-align: center;
}
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: .85rem; }
.footer-inner a { color: var(--amber); text-decoration: none; font-weight: 600; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  text-decoration: none; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ── SUCCESS PAGE ── */
.success-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.success-card {
  background: white; border-radius: 20px;
  box-shadow: var(--shadow); padding: 3rem 2.5rem;
  text-align: center; max-width: 500px;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-card h1 { font-family: 'Poppins', sans-serif; color: var(--green); font-size: 1.8rem; margin-bottom: .75rem; }
.success-card p { color: var(--muted); margin-bottom: 1.5rem; }
.success-card .btn-next { max-width: 280px; margin: 0 auto; }
