:root {
      --primary:   #6440fb;
      --primary-d: #4e2fe0;
      --primary-l: #ede9ff;
      --dark:      #0d0d0d;
      --light:     #f8f7ff;
      --white:     #ffffff;
      --muted:     #6c757d;
      --border:    #e0d9ff;
      
      --navy:   #0d2545;
    --royal:  #1a3f7a;
    --cream:  #faf8f3;
    --stone:  #e8e3d8;
    --text:   #1e2a38;
    --muted:  #6b7a8d;
    --white:  #ffffff;
    --danger: #c0392b;
    --success:#1a6e45;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(13,37,69,.12);
    
    }

    * { box-sizing: border-box; }

    body {
      font-family: 'DM Sans', sans-serif;
      color: var(--dark);
      background: var(--white);
      scroll-behavior: smooth;
    }

    h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

    /* ---- NAV ---- */
    .navbar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 14px 0;
    }
    .navbar-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--primary) !important;
      letter-spacing: -0.3px;
    }
    .navbar-brand span { color: var(--dark); }
    .nav-link {
      color: var(--dark) !important;
      font-weight: 500;
      font-size: .92rem;
      transition: color .2s;
    }
    .nav-link:hover { color: var(--primary) !important; }
    .btn-nav-cta {
      background: var(--primary);
      color: var(--white) !important;
      border-radius: 6px;
      padding: 7px 20px !important;
      font-weight: 600;
      font-size: .88rem;
      transition: background .2s;
    }
    .btn-nav-cta:hover { background: var(--primary-d) !important; }

    /* ---- HERO ---- */
    .hero {
      background: linear-gradient(135deg, #6440fb 0%, #3a1fc7 60%, #0d0d0d 100%);
      color: var(--white);
      padding: 100px 0 80px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      width: 500px; height: 500px;
      border-radius: 50%;
      background: rgba(255,255,255,.05);
      top: -150px; right: -100px;
      pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute;
      width: 300px; height: 300px;
      border-radius: 50%;
      background: rgba(255,255,255,.04);
      bottom: -100px; left: -60px;
      pointer-events: none;
    }
    .hero-badge {
      display: inline-block;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.25);
      color: #fff;
      font-size: .78rem;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero p.lead {
      font-size: 1.1rem;
      font-weight: 300;
      opacity: .88;
      max-width: 560px;
      line-height: 1.7;
    }
    .hero-stats {
      display: flex;
      gap: 36px;
      margin-top: 40px;
      flex-wrap: wrap;
    }
    .hero-stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      font-weight: 700;
      line-height: 1;
    }
    .hero-stat-label {
      font-size: .78rem;
      opacity: .7;
      letter-spacing: .5px;
      margin-top: 4px;
    }
    .hero-cta {
      display: flex;
      gap: 12px;
      margin-top: 36px;
      flex-wrap: wrap;
    }
    .btn-hero-primary {
      background: var(--white);
      color: var(--primary);
      font-weight: 700;
      border: none;
      padding: 12px 28px;
      border-radius: 7px;
      font-size: .95rem;
      transition: all .2s;
    }
    .btn-hero-primary:hover { background: var(--primary-l); color: var(--primary-d); }
    .btn-hero-outline {
      background: transparent;
      color: var(--white);
      font-weight: 600;
      border: 1px solid rgba(255,255,255,.5);
      padding: 12px 28px;
      border-radius: 7px;
      font-size: .95rem;
      transition: all .2s;
    }
    .btn-hero-outline:hover { background: rgba(255,255,255,.1); }

    /* ---- SECTION HEADERS ---- */
    .section-label {
      display: inline-block;
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 10px;
    }
    .section-title {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 12px;
    }
    .section-divider {
      width: 48px; height: 4px;
      background: var(--primary);
      border-radius: 4px;
      margin-bottom: 16px;
    }

    /* ---- CARDS ---- */
    .card {
      border: 1px solid var(--border);
      border-radius: 12px;
      transition: box-shadow .25s, transform .25s;
    }
    .card:hover {
      box-shadow: 0 8px 32px rgba(100,64,251,.13);
      transform: translateY(-3px);
    }

    /* ---- VISION / MISSION ---- */
    .vm-card {
      border-radius: 12px;
      padding: 36px 30px;
      height: 100%;
    }
    .vm-icon {
      width: 52px; height: 52px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 18px;
    }
    .vm-primary { background: var(--primary); color: var(--white); }
    .vm-dark    { background: var(--dark);    color: var(--white); }
    .vm-card p  { font-size: .97rem; line-height: 1.8; opacity: .88; margin: 0; }

    /* ---- OBJECTIVES ---- */
    .obj-section { background: var(--light); }
    .obj-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }
    .obj-item:last-child { border-bottom: none; }
    .obj-num {
      min-width: 34px; height: 34px;
      background: var(--primary);
      color: var(--white);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: .82rem;
      font-weight: 700;
    }
    .obj-text { font-size: .96rem; line-height: 1.5; padding-top: 5px; }

    /* ---- MEMBERSHIP ---- */
    .membership-card {
      border-radius: 12px;
      padding: 28px 24px;
      height: 100%;
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      transition: all .25s;
    }
    .membership-card:hover {
      border-color: var(--primary);
      box-shadow: 0 8px 28px rgba(100,64,251,.12);
      transform: translateY(-3px);
    }
    .membership-card .badge-level {
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      background: var(--primary-l);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 14px;
    }
    .membership-card h5 {
      font-size: 1.08rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .membership-card p {
      font-size: .9rem;
      color: var(--muted);
      line-height: 1.65;
      margin: 0;
    }
    .fellowship-highlight {
      background: linear-gradient(135deg, var(--primary) 0%, #3a1fc7 100%);
      color: var(--white);
      border-color: transparent !important;
    }
    .fellowship-highlight .badge-level {
      background: rgba(255,255,255,.2);
      color: var(--white);
    }
    .fellowship-highlight h5, .fellowship-highlight p { color: var(--white); }
    .fellowship-highlight p { opacity: .85; }

    /* ---- PROGRAMMES ---- */
    .prog-section { background: var(--dark); }
    .prog-card {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 12px;
      padding: 28px 22px;
      height: 100%;
      transition: all .25s;
      color: var(--white);
    }
    .prog-card:hover {
      background: rgba(100,64,251,.25);
      border-color: var(--primary);
      transform: translateY(-3px);
    }
    .prog-icon {
      width: 46px; height: 46px;
      background: var(--primary);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      color: var(--white);
      margin-bottom: 16px;
    }
    .prog-card h6 {
      font-family: 'DM Sans', sans-serif;
      font-size: .95rem;
      font-weight: 600;
      color: var(--white);
      margin: 0;
      line-height: 1.4;
    }

    /* ---- BENEFITS ---- */
    .benefit-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 18px;
      border-radius: 10px;
      border: 1px solid var(--border);
      transition: all .2s;
    }
    .benefit-item:hover {
      background: var(--primary-l);
      border-color: var(--primary);
    }
    .benefit-icon {
      color: var(--primary);
      font-size: 1.25rem;
      min-width: 28px;
      text-align: center;
    }
    .benefit-text {
      font-size: .93rem;
      font-weight: 500;
    }

    /* ---- ETHICS ---- */
    .ethics-section { background: var(--light); }
    .ethics-pill {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 30px;
      padding: 10px 22px;
      font-size: .92rem;
      font-weight: 500;
      color: var(--dark);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all .2s;
    }
    .ethics-pill:hover {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
    }
    .ethics-pill i { color: var(--primary); font-size: .85rem; }
    .ethics-pill:hover i { color: var(--white); }

    /* ---- INDUCTION PROCESS ---- */
    .step-circle {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--primary);
      color: var(--white);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
      font-weight: 700;
      font-family: 'Playfair Display', serif;
      flex-shrink: 0;
    }
    .step-connector {
      width: 2px;
      background: var(--border);
      flex: 1;
      min-height: 28px;
      margin-left: 23px;
    }

    /* ---- IDENTITY STATEMENT BANNER ---- */
    .identity-banner {
      background: linear-gradient(135deg, #6440fb 0%, #3a1fc7 100%);
      color: var(--white);
      padding: 60px 0;
    }
    .identity-banner blockquote {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.2rem, 2.8vw, 1.85rem);
      font-weight: 600;
      line-height: 1.55;
      margin: 0;
      text-align: center;
    }
    .identity-banner blockquote span {
      background: rgba(255,255,255,.2);
      padding: 2px 8px;
      border-radius: 4px;
    }

    /* ---- GOVERNANCE ---- */
    .gov-card {
      border-radius: 12px;
      padding: 28px 24px;
      border: 1px solid var(--border);
      height: 100%;
      transition: all .25s;
    }
    .gov-card:hover {
      border-color: var(--primary);
      box-shadow: 0 6px 24px rgba(100,64,251,.1);
    }
    .gov-icon {
      width: 46px; height: 46px;
      background: var(--primary-l);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      color: var(--primary);
      margin-bottom: 16px;
    }

    /* ---- FOOTER ---- */
    footer {
      background: var(--dark);
      color: rgba(255,255,255,.65);
      padding: 60px 0 28px;
    }
    .footer-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--white);
    }
    .footer-brand span { color: var(--primary); }
    footer h6 {
      color: var(--white);
      font-weight: 700;
      font-size: .85rem;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }
    .footer-link {
      color: rgba(255,255,255,.55);
      text-decoration: none;
      font-size: .9rem;
      display: block;
      margin-bottom: 8px;
      transition: color .2s;
    }
    .footer-link:hover { color: var(--primary); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.1);
      margin-top: 40px;
      padding-top: 24px;
      font-size: .84rem;
    }
    .social-icon {
      width: 36px; height: 36px;
      background: rgba(255,255,255,.08);
      border-radius: 8px;
      display: inline-flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.65);
      text-decoration: none;
      transition: all .2s;
      font-size: .95rem;
    }
    .social-icon:hover { background: var(--primary); color: var(--white); }

    /* ---- MISC ---- */
    section { padding: 80px 0; }
    .bg-light-custom { background: var(--light); }
    @media (max-width: 767px) {
      section { padding: 56px 0; }
      .hero { padding: 70px 0 56px; }
    }
    
    
    /* ========== MEMBERSHIP MODAL ========== */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(13,13,13,.65);
      backdrop-filter: blur(4px);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-y: auto;
    }
    .modal-overlay.active { display: flex; }
 
    .modal-box {
      background: var(--white);
      border-radius: 18px;
      width: 100%;
      max-width: 680px;
      margin: auto;
      box-shadow: 0 24px 80px rgba(100,64,251,.22);
      animation: modalSlideIn .3s cubic-bezier(.34,1.56,.64,1) both;
      overflow: hidden;
    }
    @keyframes modalSlideIn {
      from { opacity:0; transform: translateY(30px) scale(.97); }
      to   { opacity:1; transform: translateY(0)   scale(1);   }
    }
 
    .modal-header-custom {
      background: linear-gradient(135deg, #6440fb 0%, #3a1fc7 100%);
      padding: 32px 36px 28px;
      position: relative;
      color: var(--white);
    }
    .modal-header-custom .modal-badge {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      background: rgba(255,255,255,.18);
      border: 1px solid rgba(255,255,255,.25);
      padding: 4px 14px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 10px;
    }
    .modal-header-custom h3 {
      font-size: 1.55rem;
      font-weight: 700;
      margin: 0 0 6px;
      color: var(--white);
    }
    .modal-header-custom p {
      font-size: .9rem;
      opacity: .8;
      margin: 0;
    }
    .modal-close-btn {
      position: absolute;
      top: 18px; right: 20px;
      background: rgba(255,255,255,.15);
      border: none;
      width: 36px; height: 36px;
      border-radius: 50%;
      color: var(--white);
      font-size: 1.1rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .2s;
    }
    .modal-close-btn:hover { background: rgba(255,255,255,.3); }
 
    .modal-body-custom { padding: 32px 36px 36px; }
 
    .modal-body-custom .form-label {
      font-size: .85rem;
      font-weight: 600;
      color: var(--dark);
      margin-bottom: 6px;
    }
    .modal-body-custom .form-label .req { color: var(--primary); }
 
    .modal-body-custom .form-control,
    .modal-body-custom .form-select {
      border: 1.5px solid var(--border);
      border-radius: 8px;
      font-size: .92rem;
      padding: 10px 14px;
      color: var(--dark);
      transition: border-color .2s, box-shadow .2s;
      background: #fdfcff;
    }
    .modal-body-custom .form-control:focus,
    .modal-body-custom .form-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(100,64,251,.12);
      outline: none;
    }
    .modal-body-custom textarea.form-control { min-height: 90px; resize: vertical; }
 
    .modal-section-label {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 1.6px;
      text-transform: uppercase;
      color: var(--primary);
      margin: 24px 0 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .modal-section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }
 
    .btn-submit-app {
      background: var(--primary);
      color: var(--white);
      border: none;
      border-radius: 9px;
      padding: 13px 28px;
      font-size: .97rem;
      font-weight: 700;
      width: 100%;
      cursor: pointer;
      transition: background .2s, transform .15s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .btn-submit-app:hover { background: var(--primary-d); transform: translateY(-1px); }
    .btn-submit-app:active { transform: translateY(0); }
    .btn-submit-app:disabled { opacity: .65; cursor: not-allowed; transform: none; }
 
    /* Alert inside modal */
    .modal-alert {
      border-radius: 9px;
      padding: 12px 16px;
      font-size: .9rem;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 20px;
    }
    .modal-alert-success {
      background: #edfaf3;
      border: 1px solid #86efb8;
      color: #166534;
    }
    .modal-alert-error {
      background: #fff5f5;
      border: 1px solid #fca5a5;
      color: #991b1b;
    }
 
    /* Success state */
    .success-state {
      text-align: center;
      padding: 48px 36px;
    }
    .success-icon-wrap {
      width: 80px; height: 80px;
      background: linear-gradient(135deg, #6440fb, #3a1fc7);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem;
      color: var(--white);
      margin: 0 auto 20px;
    }
    .success-state h4 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .success-state p {
      color: var(--muted);
      font-size: .95rem;
      line-height: 1.7;
      max-width: 380px;
      margin: 0 auto 24px;
    }
 
    @media (max-width: 575px) {
      .modal-header-custom { padding: 24px 22px 20px; }
      .modal-body-custom   { padding: 22px 22px 28px; }
    }
    
    
    .site-header {
    background: black;
    padding: 18px 0;
    border-bottom: 3px solid var(--primary);
  }
  .site-header .inner {
    max-width: 1100px; margin: auto; padding: 0 24px;
    display: flex; align-items: center; gap: 14px;
  }
  .site-header .logo-mark {
    width: 46px; height: 46px;
    background: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem; color: var(--navy); font-weight: 700;
    flex-shrink: 0;
  }
  .site-header h1 {
    font-family: 'DM Serif Display', serif;
    color: var(--white); font-size: 1.35rem; line-height: 1.2;
  }
  .site-header h1 span { color: var(--primary); }

  /* ===== PROGRESS BAR ===== */
  .progress-bar-wrap {
    background: black;
    padding: 14px 0;
  }
  .progress-bar-wrap .inner {
    max-width: 700px; margin: auto; padding: 0 24px;
    display: flex; align-items: center; gap: 0;
  }
  .step-dot {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; position: relative;
  }
  .step-dot:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px; left: 50%;
    width: 100%; height: 2px;
    background: rgba(255,255,255,.2);
    z-index: 0;
  }
  .step-dot.done:not(:last-child)::after { background: var(--primary); }
  .step-dot .dot {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    background: black;
    color: rgba(255,255,255,.5);
    font-size: .75rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    transition: all .3s;
  }
  .step-dot.active .dot { background: var(--primary); border-color: var(--primary); color: var(--navy); }
  .step-dot.done .dot   { background: var(--primary); border-color: var(--primary); color: var(--navy); }
  .step-dot .label {
    font-size: .65rem; color: rgba(255,255,255,.5);
    margin-top: 5px; text-align: center; white-space: nowrap;
  }
  .step-dot.active .label, .step-dot.done .label { color: var(--primary); }

  /* ===== BREADCRUMB ===== */
  .breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--stone);
    padding: 10px 0;
  }
  .breadcrumb-bar .inner {
    max-width: 1100px; margin: auto; padding: 0 24px;
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--muted);
  }
  .breadcrumb-bar a {
    color: var(--royal); text-decoration: none; font-weight: 500;
  }
  .breadcrumb-bar a:hover { text-decoration: underline; }
  .breadcrumb-bar .sep { color: var(--stone); }
  .breadcrumb-bar .current { color: var(--text); font-weight: 600; }

  /* ===== MAIN ===== */
  .page-main {
    max-width: 1100px; margin: 0 auto;
    padding: 40px 24px 80px;
  }

  /* ===== SECTION HEADING ===== */
  .section-eyebrow {
    font-size: .72rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--primary);
    font-weight: 600; margin-bottom: 6px;
  }
  .section-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; color: var(--navy); line-height: 1.2;
    margin-bottom: 6px;
  }
  .section-sub {
    color: var(--muted); font-size: .92rem; margin-bottom: 36px;
  }

  /* ===== CARD GRIDS ===== */

  /* Programme cards */
  .prog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  /* Category pills */
  .cat-grid {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin-bottom: 10px;
  }
  .cat-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white);
    border: 1.5px solid var(--stone);
    border-radius: 100px;
    padding: 10px 22px;
    font-size: .9rem; font-weight: 500;
    text-decoration: none; color: var(--text);
    transition: all .2s; cursor: pointer;
  }
  .cat-pill:hover, .cat-pill.active {
    background: var(--navy); color: var(--white);
    border-color: var(--navy);
  }
  .cat-pill i { font-size: 1rem; }

  /* Course cards */
  .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
  }
  .course-card {
    background: var(--white);
    border: 1.5px solid var(--stone);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none; color: var(--text);
    display: flex; flex-direction: column;
  }
  .course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(13,37,69,.13);
    color: var(--text);
  }
  .course-card .thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--navy), var(--royal));
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .course-card .thumb .no-img {
    font-size: 3rem; color: rgba(255,255,255,.25);
  }
  .course-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
  .course-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
  .course-card p  { font-size: .84rem; color: var(--muted); flex: 1; margin-bottom: 14px; line-height: 1.6; }
  .course-card .meta {
    display: flex; gap: 14px; font-size: .78rem; color: var(--muted);
    border-top: 1px solid var(--stone); padding-top: 12px; margin-top: auto;
  }
  .course-card .meta span { display: flex; align-items: center; gap: 4px; }
  .course-card .price-tag {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem; color: var(--navy); font-weight: 700;
    margin-top: 10px;
  }
  .btn-enroll {
    display: block; width: 100%; margin-top: 14px;
    background: var(--navy); color: var(--white);
    border: none; border-radius: 8px;
    padding: 11px 0; font-size: .9rem; font-weight: 600;
    cursor: pointer; text-align: center; text-decoration: none;
    transition: background .2s;
  }
  .btn-enroll:hover { background: var(--royal); color: var(--white); }

  /* ===== FORM LAYOUT ===== */
  .form-wrapper {
    background: var(--white);
    border: 1.5px solid var(--stone);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .form-header {
    background: linear-gradient(135deg, var(--navy), var(--royal));
    padding: 28px 32px;
    display: flex; align-items: center; gap: 16px;
  }
  .form-header .icon-wrap {
    width: 52px; height: 52px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--navy); flex-shrink: 0;
  }
  .form-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem; color: var(--white);
  }
  .form-header p { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 3px; }

  .form-body { padding: 32px; }

  .form-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: .82rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 20px; margin-top: 32px;
  }
  .form-section-title:first-child { margin-top: 0; }
  .form-section-title::after {
    content: ''; flex: 1; height: 1px; background: var(--stone);
  }

  .f-row { display: grid; gap: 18px; margin-bottom: 18px; }
  .f-row.col-2 { grid-template-columns: 1fr 1fr; }
  .f-row.col-3 { grid-template-columns: 1fr 1fr 1fr; }
  @media (max-width: 640px) {
    .f-row.col-2, .f-row.col-3 { grid-template-columns: 1fr; }
  }

  .f-group { display: flex; flex-direction: column; }
  .f-group label {
    font-size: .8rem; font-weight: 600;
    color: var(--text); margin-bottom: 6px;
    display: flex; align-items: center; gap: 4px;
  }
  .f-group label .req { color: var(--danger); }
  .f-group input,
  .f-group select,
  .f-group textarea {
    border: 1.5px solid var(--stone);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--cream);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .f-group input:focus,
  .f-group select:focus,
  .f-group textarea:focus {
    border-color: var(--royal);
    box-shadow: 0 0 0 3px rgba(26,63,122,.1);
    background: var(--white);
  }
  .f-group textarea { resize: vertical; min-height: 80px; }
  .f-hint { font-size: .75rem; color: var(--muted); margin-top: 4px; }

  /* payment method */
  .pay-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
  @media (max-width: 560px) { .pay-options { grid-template-columns: 1fr; } }
  .pay-opt input[type=radio] { display: none; }
  .pay-opt label {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    border: 2px solid var(--stone); border-radius: var(--radius);
    padding: 20px 12px; cursor: pointer;
    font-size: .82rem; font-weight: 600; color: var(--muted);
    text-align: center; transition: all .2s;
  }
  .pay-opt label i { font-size: 2rem; }
  .pay-opt input:checked + label {
    border-color: var(--royal); color: var(--royal);
    background: #f0f4fb;
  }

  /* agreement */
  .check-group {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; background: #f7f9fc;
    border-radius: 8px; border: 1px solid var(--stone);
  }
  .check-group input[type=checkbox] {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
    accent-color: var(--royal);
  }
  .check-group span { font-size: .87rem; line-height: 1.5; }

  /* file upload */
  .f-group input[type=file] {
    background: var(--white); cursor: pointer;
    padding: 8px 12px;
  }

  /* submit btn */
  .btn-submit {
    background: linear-gradient(135deg, var(--navy), var(--royal));
    color: var(--white); border: none;
    border-radius: 10px; padding: 15px 48px;
    font-size: 1rem; font-weight: 700;
    font-family: inherit; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    transition: opacity .2s, transform .2s;
  }
  .btn-submit:hover { opacity: .88; transform: translateY(-1px); }

  /* alert */
  .alert {
    border-radius: 8px; padding: 14px 18px;
    font-size: .9rem; margin-bottom: 24px;
    display: flex; align-items: flex-start; gap: 10px;
  }
  .alert-success { background: #edf7f1; border: 1px solid #a8dbb9; color: var(--success); }
  .alert-danger  { background: #fdf0ef; border: 1px solid #f1bcb8; color: var(--danger); }

  /* course summary banner */
  .course-banner {
    background: linear-gradient(135deg, var(--navy), var(--royal));
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 30px;
    display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap;
  }
  .course-banner .icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary); flex-shrink: 0;
  }
  .course-banner .info { flex: 1; min-width: 180px; }
  .course-banner .info h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem; color: var(--white); margin-bottom: 4px;
  }
  .course-banner .info p {
    font-size: .82rem; color: rgba(255,255,255,.65);
    display: flex; gap: 14px; flex-wrap: wrap;
  }
  .course-banner .price {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem; color: var(--primary); white-space: nowrap;
  }

  /* empty state */
  .empty-state {
    text-align: center; padding: 60px 24px;
    color: var(--muted);
  }
  .empty-state i { font-size: 3rem; margin-bottom: 16px; opacity: .4; }
  .empty-state h3 { font-size: 1rem; margin-bottom: 6px; color: var(--text); }

  /* back link */
  .back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .85rem; font-weight: 600; color: var(--royal);
    text-decoration: none; margin-bottom: 28px;
  }
  .back-link:hover { text-decoration: underline; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .form-body { padding: 22px 16px; }
    .form-header { padding: 22px 18px; }
    .section-heading { font-size: 1.5rem; }
  }