/* ============================================================
   MCI EDUCATION — Design System
   Theme: deep navy + orange (matches logo)
   ============================================================ */

:root {
  /* Brand */
  --mci-navy:        #0a2c54;
  --mci-navy-2:      #143a6b;
  --mci-navy-deep:   #061d3a;
  --mci-orange:      #f7941d;
  --mci-orange-2:    #ea580c;
  --mci-orange-soft: #fff1e0;

  /* Aliases used widely */
  --ap-primary:        var(--mci-navy);
  --ap-primary-2:      var(--mci-navy-2);
  --ap-accent:         var(--mci-orange);
  --ap-accent-2:       var(--mci-orange-2);
  --ap-gradient:       linear-gradient(135deg, var(--mci-navy) 0%, var(--mci-navy-2) 60%, #2563eb 100%);
  --ap-gradient-warm:  linear-gradient(135deg, var(--mci-orange) 0%, var(--mci-orange-2) 100%);
  --ap-gradient-soft:  linear-gradient(135deg, #f0f6ff 0%, #fff4e6 100%);
  --ap-gradient-hero:  linear-gradient(135deg, rgba(6,29,58,.92) 0%, rgba(20,58,107,.85) 50%, rgba(37,99,235,.7) 100%);

  --ap-dark:    #0f172a;
  --ap-text:    #1e293b;
  --ap-muted:   #64748b;
  --ap-border:  #e2e8f0;
  --ap-bg:      #f8fafc;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow:    0 6px 20px rgba(15, 23, 42, .07);
  --shadow-lg: 0 22px 50px -18px rgba(15, 23, 42, .25);
  --shadow-xl: 0 30px 80px -20px rgba(10, 44, 84, .35);

  --radius:    14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ap-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: 78px;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ap-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

a { color: var(--ap-primary); text-decoration: none; transition: .2s; }
a:hover { color: var(--mci-orange); }

.text-muted-2 { color: var(--ap-muted) !important; }
.text-gradient {
  background: linear-gradient(135deg, var(--mci-orange) 0%, var(--mci-orange-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-navy { color: var(--mci-navy) !important; }
.text-mci-orange { color: var(--mci-orange) !important; }

/* Arabic typography */
[lang="ar"], [dir="rtl"] {
  font-family: 'Cairo', 'Inter', sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0;
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn { font-weight: 600; border-radius: 12px; padding: .65rem 1.3rem; transition: all .2s; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem .9rem; }

.btn-primary {
  background: var(--ap-gradient);
  border: none; color: #fff;
  box-shadow: 0 6px 14px rgba(10, 44, 84, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(10, 44, 84, .35); background: var(--ap-gradient); }

.btn-accent, .btn-warning {
  background: var(--ap-gradient-warm); color: #fff !important; border: none;
  box-shadow: 0 6px 14px rgba(247, 148, 29, .35);
}
.btn-accent:hover, .btn-warning:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(247, 148, 29, .45); color:#fff; }

.btn-light-soft, .btn-success-soft {
  background: #f1f5f9; color: var(--ap-text); border: 1px solid var(--ap-border);
}
.btn-light-soft:hover { background: #fff; border-color: var(--mci-orange); color: var(--mci-orange); transform: translateY(-1px); }
.btn-success-soft { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.btn-success-soft:hover { background: #d1fae5; color: #065f46; }

.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ===========================================================
   NAVBAR
   =========================================================== */
.ap-navbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: .3s;
  padding: .55rem 0;
}
.ap-navbar.scrolled { background: rgba(255,255,255,.97); border-bottom-color: var(--ap-border); box-shadow: var(--shadow-sm); }
.ap-navbar .navbar-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--ap-dark); padding: 0; }
.ap-navbar .brand-logo { height: 44px; width: auto; display: block; }
.ap-navbar .brand-text { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; letter-spacing: -.01em; color: var(--mci-navy); }
.ap-navbar .brand-text small { font-size: .62rem; font-weight: 600; color: var(--mci-orange); letter-spacing: .04em; text-transform: uppercase; }
.ap-navbar .nav-link { font-weight: 600; color: var(--ap-text); margin: 0 .15rem; padding: .45rem .9rem !important; border-radius: 9px; transition: .2s; position: relative; }
.ap-navbar .nav-link:hover { color: var(--mci-orange); background: var(--mci-orange-soft); }
.ap-navbar .nav-link.active { color: var(--mci-navy); }
.ap-navbar .nav-link.active::after { content:""; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:24px; height:3px; background: var(--ap-gradient-warm); border-radius:3px; }

.lang-switch {
  display: inline-flex; gap: 2px; align-items: center;
  background: #f1f5f9; padding: 3px; border-radius: 999px;
  border: 1px solid var(--ap-border);
}
.lang-switch button {
  border: 0; background: transparent; padding: .35rem .8rem;
  border-radius: 999px; font-weight: 700; font-size: .78rem; color: var(--ap-muted);
  cursor: pointer; transition: .2s;
}
.lang-switch button.active { background: var(--ap-gradient); color: #fff; box-shadow: 0 3px 8px rgba(10,44,84,.25); }

/* ===========================================================
   HERO
   =========================================================== */
.ap-hero {
  position: relative;
  min-height: 720px;
  padding: 6rem 0 5rem;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6,29,58,.86) 0%, rgba(20,58,107,.74) 45%, rgba(37,99,235,.45) 100%),
    url("https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=2400&q=85")
    center/cover no-repeat;
  background-attachment: scroll, fixed;
}
.ap-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(900px 500px at 88% -15%, rgba(247,148,29,.35), transparent 60%),
    radial-gradient(700px 500px at -12% 85%, rgba(37,99,235,.35), transparent 60%),
    radial-gradient(400px 300px at 50% 110%, rgba(247,148,29,.18), transparent 70%);
  pointer-events: none;
}
.ap-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
@media (max-width: 991.98px) { .ap-hero { background-attachment: scroll, scroll; } }
.ap-hero .container { position: relative; z-index: 2; }
.ap-hero h1 { color: #fff; }
.ap-hero h1 .text-gradient { background: linear-gradient(135deg, #fbbf24, #f97316); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap-hero p.lead, .ap-hero .lead { color: rgba(255,255,255,.86); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
  font-weight: 600; font-size: .82rem;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity:.7; } }

.ap-hero-search {
  background: #fff; padding: .55rem;
  border-radius: 999px;
  box-shadow: var(--shadow-xl);
  display: flex; gap: .5rem; align-items: center;
}
.ap-hero-search select, .ap-hero-search input {
  border: 0 !important; background: transparent !important;
  padding: .7rem 1rem; flex: 1;
  font-size: .95rem; color: var(--ap-text);
  outline: none !important; box-shadow: none !important; min-width: 0;
}
.ap-hero-search select { max-width: 170px; border-right: 1px solid var(--ap-border) !important; border-radius: 0; }
[dir="rtl"] .ap-hero-search select { border-right: 0 !important; border-left: 1px solid var(--ap-border) !important; }
.ap-hero-search button { border-radius: 999px !important; padding: .7rem 1.3rem; }

.badge-soft {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: .78rem; font-weight: 600; border: 1px solid rgba(255,255,255,.18);
  transition: .2s;
}
.badge-soft:hover { background: rgba(255,255,255,.28); color: #fff; }
.badge-soft.badge-primary-soft { background: #eff6ff; color: var(--mci-navy); border-color: #dbeafe; }
.badge-soft.badge-success-soft { background: #ecfdf5; color: #065f46; border-color: #d1fae5; }
.badge-soft.badge-warm-soft    { background: var(--mci-orange-soft); color: var(--mci-orange-2); border-color: #fed7aa; }

.ap-hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18);
}
.ap-hero-stats .stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.9rem; font-weight: 800; color: #fff; }
.ap-hero-stats .stat-label { font-size: .82rem; color: rgba(255,255,255,.7); }

.ap-hero-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-xl);
  color: var(--ap-text);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.ap-hero-floating {
  position: absolute; background: #fff;
  padding: .8rem 1rem; border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .7rem;
  font-size: .85rem;
  animation: float 7s ease-in-out infinite;
}
.ap-hero-floating .icon-wrap { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }

/* ===========================================================
   SECTIONS
   =========================================================== */
.ap-section { padding: 5rem 0; }
.ap-section-soft { background: var(--ap-bg); }
.ap-section-dark {
  background: var(--mci-navy-deep);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.ap-section-dark h1, .ap-section-dark h2, .ap-section-dark h3, .ap-section-dark h4, .ap-section-dark h5 { color: #fff; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: 999px;
  background: var(--mci-orange-soft); color: var(--mci-orange-2);
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1rem;
}

.ap-card {
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: .25s;
}
.row > [class*="col-"] > .ap-card:only-child,
.row > [class*="col-"] > a:only-child > .ap-card { height: 100%; }
.ap-card.h-auto { height: auto !important; }
.ap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.45rem; margin-bottom: 1rem;
}
.feature-icon.bg-primary-soft { background: linear-gradient(135deg, #dbeafe, #eff6ff); color: var(--mci-navy); }
.feature-icon.bg-accent-soft  { background: linear-gradient(135deg, #fed7aa, var(--mci-orange-soft)); color: var(--mci-orange-2); }
.feature-icon.bg-success-soft { background: linear-gradient(135deg, #d1fae5, #ecfdf5); color: #047857; }
.feature-icon.bg-info-soft    { background: linear-gradient(135deg, #cffafe, #ecfeff); color: #0e7490; }
.feature-icon.bg-purple-soft  { background: linear-gradient(135deg, #ede9fe, #f5f3ff); color: #6d28d9; }
.feature-icon.bg-rose-soft    { background: linear-gradient(135deg, #fce7f3, #fdf2f8); color: #be185d; }

.step-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--ap-gradient); color: #fff;
  border-radius: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(10,44,84,.3);
  position: relative;
}
.step-num::before {
  content:""; position:absolute; inset:-4px; border-radius:20px;
  border: 2px solid var(--mci-orange); opacity:.4;
}

/* ===========================================================
   PROGRAM CARDS
   =========================================================== */
.program-card {
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: 18px; overflow: hidden;
  transition: .3s;
  display: flex; flex-direction: column; height: 100%;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.program-img {
  height: 180px; position: relative;
  display: flex; align-items: flex-end; padding: 1rem;
  background-size: cover !important; background-position: center !important;
}
.program-img::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}
.program-img > * { position: relative; z-index: 1; }

.program-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.95); color: var(--mci-navy);
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  z-index: 2;
}
[dir="rtl"] .program-badge { right: auto; left: 1rem; }

.program-uni-badge {
  background: rgba(255,255,255,.96); color: var(--mci-navy);
  padding: .35rem .8rem; border-radius: 10px;
  font-size: .78rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .4rem;
}

.program-body { padding: 1.3rem; flex: 1; }
.program-body h5 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: 0; }
.program-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; color: var(--ap-muted); font-size: .82rem; }
.program-meta span { display: inline-flex; align-items: center; gap: .3rem; }

.program-footer {
  padding: 1rem 1.3rem;
  border-top: 1px solid var(--ap-border); background: #fbfdff;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.program-fee { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--mci-navy); font-size: 1.05rem; }
.program-fee small { color: var(--ap-muted); font-weight: 500; font-size: .72rem; }

/* ===========================================================
   UNIVERSITY LOGO TILES
   =========================================================== */
.uni-logo {
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: 18px; padding: 1.25rem; text-align: center;
  transition: .25s;
}
.uni-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mci-orange); }
.uni-mark {
  width: 64px; height: 64px; margin: 0 auto .75rem;
  background: var(--ap-gradient); color: #fff;
  border-radius: 18px;
  display: grid; place-items: center;
  font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(10,44,84,.25);
}
.uni-name { font-weight: 700; color: var(--ap-dark); font-size: .95rem; line-height: 1.3; }
.uni-loc  { font-size: .78rem; color: var(--ap-muted); margin-top: .2rem; }

/* University detailed cards (universities page) */
.uni-card {
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: 20px; overflow: hidden;
  transition: .25s; height: 100%;
}
.uni-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.uni-banner {
  height: 140px;
  background-size: cover !important; background-position: center !important;
  position: relative;
}
.uni-banner::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,44,84,.35), rgba(10,44,84,.7));
}
.uni-card .uni-mark {
  position: absolute; bottom: -28px; left: 1.4rem;
  width: 70px; height: 70px; border-radius: 18px;
  border: 4px solid #fff; z-index: 1;
}
[dir="rtl"] .uni-card .uni-mark { left: auto; right: 1.4rem; }
.uni-card .uni-body { padding: 2.2rem 1.4rem 1.4rem; }
.uni-card .uni-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ap-border); text-align: center; }
.uni-card .uni-stats .stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--mci-navy); font-size: 1.05rem; }
.uni-card .uni-stats .stat-lbl { font-size: .7rem; color: var(--ap-muted); }

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonial-card {
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: 22px; padding: 2rem;
  height: 100%; transition: .25s; position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: -10px; right: 22px;
  font-family: 'Plus Jakarta Sans', serif; font-size: 6rem;
  color: var(--mci-orange-soft); line-height: 1;
}
[dir="rtl"] .testimonial-card::before { right: auto; left: 22px; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-card p { font-size: 1rem; line-height: 1.65; color: var(--ap-text); margin-bottom: 1.4rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.testimonial-avatar {
  width: 50px; height: 50px; border-radius: 50%; background: var(--ap-gradient);
  color: #fff; display: grid; place-items: center; font-weight: 800;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; }
.testimonial-role { font-size: .82rem; color: var(--ap-muted); }
.stars { color: var(--mci-orange); }

/* ===========================================================
   PAGE HEAD (sub-pages)
   =========================================================== */
.ap-page-head {
  background:
    linear-gradient(135deg, rgba(6,29,58,.92), rgba(20,58,107,.85)),
    url("https://images.unsplash.com/photo-1607013251379-e6eecfffe234?auto=format&fit=crop&w=2000&q=80")
    center/cover no-repeat;
  color: #fff;
  padding: 4.5rem 0 3rem;
  margin-top: -4px;
}
.ap-page-head h1, .ap-page-head h2 { color: #fff; }
.ap-page-head .breadcrumb-item, .ap-page-head .breadcrumb-item a { color: rgba(255,255,255,.85); font-weight: 500; }
.ap-page-head .breadcrumb-item.active { color: var(--mci-orange); }
.ap-page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ===========================================================
   FILTER SIDEBAR
   =========================================================== */
.filter-card {
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: 18px; padding: 1.4rem;
  position: sticky; top: 100px;
}
.filter-card h6 {
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ap-muted); margin-bottom: .6rem;
}
.filter-card .form-check { padding: .25rem 0 .25rem 1.6rem; }
[dir="rtl"] .filter-card .form-check { padding: .25rem 1.6rem .25rem 0; }
.filter-card .form-check-label { font-size: .9rem; cursor: pointer; }
.filter-card .form-check-input:checked { background-color: var(--mci-orange); border-color: var(--mci-orange); }
.filter-card .form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(247,148,29,.25); border-color: var(--mci-orange); }
.form-control:focus, .form-select:focus { border-color: var(--mci-orange); box-shadow: 0 0 0 .25rem rgba(247,148,29,.18); }

/* ===========================================================
   AUTH PAGES
   =========================================================== */
.ap-auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 991.98px) { .ap-auth-page { grid-template-columns: 1fr; } }

.ap-auth-side {
  background:
    linear-gradient(135deg, rgba(6,29,58,.92), rgba(20,58,107,.82)),
    url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat;
  color: #fff;
  padding: 3rem 4rem;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
@media (max-width: 991.98px) { .ap-auth-side { display: none; } }
.ap-auth-side::before {
  content:""; position:absolute; right:-100px; top:-100px;
  width:400px; height:400px; border-radius:50%;
  background: radial-gradient(circle, rgba(247,148,29,.25), transparent 70%);
}
.ap-auth-side .auth-logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.4rem; position: relative; z-index: 1; text-decoration: none; }
.ap-auth-side .auth-logo img { height: 46px; }
.ap-auth-side .testimonial { position: relative; z-index: 1; }

.ap-auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--ap-bg); }
.ap-auth-form { width: 100%; max-width: 460px; background: #fff; border-radius: 22px; padding: 2.4rem; box-shadow: var(--shadow); border: 1px solid var(--ap-border); }
.ap-auth-form h2 { font-size: 1.7rem; }
.form-label { font-weight: 600; font-size: .85rem; }
.form-control, .form-select { padding: .7rem .9rem; border-radius: 11px; border-color: #e5e7eb; }

.role-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.2rem; }
.role-opt {
  border: 2px solid var(--ap-border); border-radius: 12px; padding: .8rem .5rem; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .35rem; transition: .2s; user-select: none;
}
.role-opt i { font-size: 1.3rem; color: var(--ap-muted); }
.role-opt span { font-size: .82rem; font-weight: 600; color: var(--ap-text); }
.role-opt:hover { border-color: var(--mci-orange); background: var(--mci-orange-soft); }
.role-opt.active { border-color: var(--mci-navy); background: linear-gradient(135deg, #eff6ff, #fff); box-shadow: 0 4px 10px rgba(10,44,84,.12); }
.role-opt.active i, .role-opt.active span { color: var(--mci-navy); }

/* ===========================================================
   FOOTER
   =========================================================== */
.ap-footer {
  background: var(--mci-navy-deep);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
  position: relative; overflow: hidden;
}
.ap-footer::before {
  content:""; position:absolute; top:-200px; right:-200px;
  width:500px; height:500px; border-radius:50%;
  background: radial-gradient(circle, rgba(247,148,29,.1), transparent 70%);
}
.ap-footer .container { position: relative; z-index: 1; }
.ap-footer h6 { color: #fff; margin-bottom: 1rem; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.ap-footer .footer-link { display: block; color: rgba(255,255,255,.65); padding: .35rem 0; font-size: .9rem; }
.ap-footer .footer-link:hover { color: var(--mci-orange); padding-inline-start: 4px; }
.ap-footer .footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: #fff; }
.ap-footer .footer-brand img { height: 44px; }
.ap-footer hr { border-color: rgba(255,255,255,.1); margin: 2.5rem 0 1.2rem; }
.ap-footer small { color: rgba(255,255,255,.5); }
.ap-footer .social-link { display: inline-grid; place-items: center; width: 40px; height: 40px; background: rgba(255,255,255,.06); border-radius: 11px; color: rgba(255,255,255,.85); margin-right: .35rem; transition: .2s; }
[dir="rtl"] .ap-footer .social-link { margin-right: 0; margin-left: .35rem; }
.ap-footer .social-link:hover { background: var(--ap-gradient-warm); color: #fff; transform: translateY(-2px); }

/* ===========================================================
   CTA STRIP
   =========================================================== */
.ap-cta-strip {
  background:
    linear-gradient(135deg, rgba(6,29,58,.94), rgba(20,58,107,.86)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=2000&q=80")
    center/cover no-repeat;
  color: #fff;
  padding: 3rem; border-radius: 26px;
  position: relative; overflow: hidden;
}
.ap-cta-strip::before {
  content:""; position:absolute; right:-80px; bottom:-80px;
  width:300px; height:300px; border-radius:50%;
  background: radial-gradient(circle, rgba(247,148,29,.3), transparent 70%);
}
.ap-cta-strip * { position: relative; z-index:1; }
.ap-cta-strip h2, .ap-cta-strip p { color: #fff; }

/* ===========================================================
   REVEAL
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===========================================================
   COURSES SHOWCASE (chips)
   =========================================================== */
.course-chip {
  background: #fff; border: 1px solid var(--ap-border);
  padding: 1rem 1.1rem; border-radius: 14px;
  display: flex; align-items: center; gap: .9rem;
  transition: .2s; height: 100%; text-decoration: none; color: var(--ap-text);
}
.course-chip:hover { border-color: var(--mci-orange); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ap-text); }
.course-chip .chip-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mci-orange-soft); color: var(--mci-orange-2); font-size: 1.2rem; flex-shrink: 0; }
.course-chip .chip-title { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.course-chip .chip-meta  { font-size: .78rem; color: var(--ap-muted); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 991.98px) {
  body { padding-top: 70px; }
  .ap-hero { padding: 4rem 0 3rem; min-height: auto; }
  .ap-hero-stats { grid-template-columns: repeat(3, 1fr); padding-top: 1.5rem; margin-top: 2rem; }
  .ap-hero-stats .stat-num { font-size: 1.5rem; }
  .ap-section { padding: 3.5rem 0; }
  .ap-cta-strip { padding: 2rem; border-radius: 20px; }
  .ap-auth-form { padding: 1.6rem; }
  .ap-navbar .navbar-collapse { background: #fff; padding: 1rem; margin-top: .5rem; border-radius: 14px; box-shadow: var(--shadow); }
}
@media (max-width: 575.98px) {
  .ap-hero h1 { font-size: 2.1rem; }
  .ap-hero-search { flex-direction: column; padding: .85rem; border-radius: 18px; }
  .ap-hero-search select { max-width: 100%; border-right: 0 !important; border-bottom: 1px solid var(--ap-border) !important; padding-bottom: .85rem; }
  [dir="rtl"] .ap-hero-search select { border-left: 0 !important; }
  .ap-hero-search button { width: 100%; }
  .ap-hero-floating { display: none !important; }
  .role-pick { grid-template-columns: 1fr; }
  .ap-hero-stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .ap-hero-stats .stat-num { font-size: 1.2rem; }
  .ap-hero-stats .stat-label { font-size: .7rem; }
}

/* ============================================================
   ONLINE COURSES PAGE
   ============================================================ */
.oc-section-eyebrow {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff1e0; color: var(--mci-orange-2);
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}

/* HERO */
.oc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #061d3a 0%, #0a2c54 45%, #143a6b 100%);
  color: #fff;
  padding: 6rem 0 4.5rem;
}
.oc-hero h1 { color: #fff; }
.oc-hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.95); padding: .45rem 1rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; backdrop-filter: blur(10px);
  margin-bottom: 1.25rem;
}
.oc-hero .eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  100% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
}
.oc-hero-mesh {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(247,148,29,.18), transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(37,99,235,.25), transparent 55%);
  pointer-events: none;
}
.oc-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}
.oc-hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; pointer-events: none;
}
.oc-hero-blob-1 { width: 380px; height: 380px; top: -100px; right: -80px; background: radial-gradient(circle, #f7941d, transparent 70%); }
.oc-hero-blob-2 { width: 420px; height: 420px; bottom: -120px; left: -120px; background: radial-gradient(circle, #2563eb, transparent 70%); }

.oc-avatars { display: inline-flex; align-items: center; }
.oc-avatars img {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #061d3a; margin-inline-start: -10px; object-fit: cover;
}
.oc-avatars img:first-child { margin-inline-start: 0; }
.oc-avatars span {
  margin-inline-start: -10px; height: 38px; min-width: 50px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ap-gradient-warm); color: #fff; border-radius: 999px;
  font-weight: 700; font-size: .78rem; border: 2px solid #061d3a;
}

.oc-hero-cards { position: relative; height: 460px; }
.oc-hero-card {
  position: absolute; background: rgba(255,255,255,.97); color: var(--ap-text);
  border-radius: 18px; padding: 1.1rem 1.2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.5);
  width: 280px; animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.oc-card-live   { top: 20px;   left: 0;   animation-delay: 0s; }
.oc-card-rating { top: 180px;  right: 0;  animation-delay: 1.5s; }
.oc-card-cert   { bottom: 20px; left: 40px; animation-delay: 3s;
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.oc-cert-icon { width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #fff1e0, #ffe1c2); color: var(--mci-orange-2);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .35rem; }
.oc-live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6);
  animation: pulse-red 1.4s infinite;
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,.6); }
  100% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

/* STATS STRIP */
.oc-stats-strip {
  margin-top: 3rem; padding: 1.5rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px; backdrop-filter: blur(14px);
}
.oc-stat .stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, #fff, #fbbf77);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.oc-stat .stat-label { font-size: .82rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }
.oc-stat + .oc-stat { border-inline-start: 1px solid rgba(255,255,255,.1); }
@media (max-width: 767.98px) {
  .oc-stat + .oc-stat { border-inline-start: 0; }
}

/* CATEGORY CHIPS */
.oc-cat-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: .15rem;
  padding: 1.1rem; background: #fff; border: 1px solid var(--ap-border);
  border-radius: 16px; height: 100%; text-decoration: none; color: var(--ap-text);
  transition: .25s; position: relative; overflow: hidden;
}
.oc-cat-chip::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--mci-orange-soft), transparent);
  opacity: 0; transition: .25s;
}
.oc-cat-chip:hover { transform: translateY(-4px); border-color: var(--mci-orange);
  box-shadow: 0 10px 25px -10px rgba(247,148,29,.4); color: var(--ap-text); }
.oc-cat-chip:hover::before { opacity: 1; }
.oc-cat-chip > * { position: relative; z-index: 1; }
.oc-cat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.25rem; margin-bottom: .5rem; }
.oc-cat-name { font-weight: 700; font-size: .98rem; }

/* COURSE CARDS */
.oc-course-card {
  background: #fff; border: 1px solid var(--ap-border); border-radius: 18px;
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: .3s; position: relative;
}
.oc-course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.oc-course-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #f1f5f9; }
.oc-course-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.oc-course-card:hover .oc-course-media img { transform: scale(1.06); }

.oc-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(15,23,42,.85); color: #fff; padding: .35rem .65rem;
  border-radius: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  display: inline-flex; align-items: center; backdrop-filter: blur(6px);
}
.oc-badge-live { background: rgba(239,68,68,.92); }
.oc-badge-free { background: linear-gradient(135deg, #10b981, #047857); }
.oc-badge-cat {
  position: absolute; top: 12px; right: 12px;
  padding: .3rem .65rem; border-radius: 8px;
  font-size: .7rem; font-weight: 700;
}

.oc-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.85);
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); color: var(--mci-navy);
  font-size: 1.4rem; display: grid; place-items: center;
  opacity: 0; transition: .25s; box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.oc-course-card:hover .oc-play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.oc-course-body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.oc-course-body h5 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-top: .25rem; }
.oc-course-body h6 { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.oc-rating { color: #f59e0b; font-weight: 700; }
.oc-rating .text-muted-2 { color: var(--ap-muted) !important; font-weight: 500; margin-inline-start: .15rem; }

.oc-instructor { display: flex; align-items: center; gap: .65rem; padding: .7rem 0; border-top: 1px dashed var(--ap-border); border-bottom: 1px dashed var(--ap-border); margin: .6rem 0; }
.oc-instructor img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.oc-instructor strong { font-size: .85rem; }
.oc-instructor small { font-size: .73rem; }

.oc-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .78rem; color: var(--ap-muted); margin-bottom: .8rem; }
.oc-meta i { color: var(--mci-orange); margin-inline-end: .25rem; }

.oc-course-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .25rem; }
.oc-price { font-weight: 800; font-size: 1.25rem; color: var(--mci-navy); }
.oc-price-sm { font-weight: 800; color: var(--mci-navy); font-size: 1.05rem; }
.bg-success-soft { background: #ecfdf5; }
.text-success-emphasis { color: #047857 !important; }

.oc-card-compact .oc-course-body { padding: .9rem; }
.oc-card-compact h6 { font-size: .92rem; }

/* INSTRUCTOR CARDS */
.oc-instructor-card {
  background: #fff; border: 1px solid var(--ap-border); border-radius: 18px;
  overflow: hidden; padding: 0 1.25rem 1.4rem; text-align: center; transition: .3s;
  position: relative; height: 100%;
}
.oc-instructor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.oc-instructor-cover { height: 80px; margin: 0 -1.25rem 0 -1.25rem; }
.oc-instructor-avatar {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  border: 5px solid #fff; margin-top: -50px; box-shadow: var(--shadow);
}
.oc-instructor-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem;
  background: #f8fafc; border-radius: 12px; padding: .75rem .25rem; }
.oc-instructor-stats > div { display: flex; flex-direction: column; gap: .15rem; }
.oc-instructor-stats strong { font-size: 1rem; color: var(--mci-navy); font-family: 'Plus Jakarta Sans', sans-serif; }
.oc-instructor-stats small { font-size: .7rem; color: var(--ap-muted); text-transform: uppercase; letter-spacing: .04em; }

/* TEACH CTA */
.oc-teach-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #061d3a 0%, #0a2c54 60%, #1e40af 100%);
  border-radius: 26px; padding: 4rem 3rem; color: #fff;
}
.oc-teach-cta h2 { color: #fff; }
.oc-teach-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.oc-teach-shape-1 { width: 350px; height: 350px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(247,148,29,.4), transparent 70%); filter: blur(40px); }
.oc-teach-shape-2 { width: 280px; height: 280px; bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(37,99,235,.5), transparent 70%); filter: blur(40px); }
.oc-teach-grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(135deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 80%);
}
.oc-teach-badge {
  background: rgba(247,148,29,.18); color: #fbbf77;
  border: 1px solid rgba(247,148,29,.35); padding: .5rem 1rem;
  border-radius: 999px; font-weight: 600; font-size: .82rem;
}
.oc-teach-perks li { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .65rem; }
.oc-teach-cta .oc-teach-perks li { color: rgba(255,255,255,.95); }
.oc-teach-perks i { color: #f7941d; font-size: 1.15rem; margin-top: 2px; flex-shrink: 0; }

.oc-earnings-card {
  background: rgba(255,255,255,.97); color: var(--ap-text);
  border-radius: 20px; padding: 1.6rem;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.5);
}
.oc-earnings-num {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 2.4rem; color: var(--mci-navy);
  background: linear-gradient(135deg, #0a2c54, #2563eb);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.oc-earnings-bars { display: flex; gap: .35rem; align-items: flex-end; height: 80px; }
.oc-earnings-bars span {
  flex: 1; background: linear-gradient(180deg, #f7941d, #ea580c);
  border-radius: 6px 6px 2px 2px; min-height: 12px;
  animation: barRise .8s ease-out backwards;
}
.oc-earnings-bars span:nth-child(1){animation-delay:.05s}
.oc-earnings-bars span:nth-child(2){animation-delay:.10s}
.oc-earnings-bars span:nth-child(3){animation-delay:.15s}
.oc-earnings-bars span:nth-child(4){animation-delay:.20s}
.oc-earnings-bars span:nth-child(5){animation-delay:.25s}
.oc-earnings-bars span:nth-child(6){animation-delay:.30s}
.oc-earnings-bars span:nth-child(7){animation-delay:.35s}
@keyframes barRise { from { height: 0 !important; opacity: 0; } to { opacity: 1; } }

/* STEPS */
.oc-steps { counter-reset: step; }
.oc-step {
  background: #fff; border: 1px solid var(--ap-border); border-radius: 18px;
  padding: 2rem 1.5rem; height: 100%; position: relative; overflow: hidden;
  transition: .3s;
}
.oc-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mci-orange); }
.oc-step-num {
  position: absolute; top: 1rem; right: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 3.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--mci-orange-soft);
  opacity: .8;
}
.oc-step-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--mci-orange-soft), #fff8ec);
  color: var(--mci-orange-2); display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.oc-step h5 { margin-bottom: .65rem; }

/* TESTIMONIALS */
.oc-testimonial {
  background: #fff; border: 1px solid var(--ap-border); border-radius: 18px;
  padding: 1.8rem 1.5rem; height: 100%; position: relative;
}
.oc-quote-mark {
  position: absolute; top: -8px; left: 18px;
  font-family: 'Plus Jakarta Sans', serif; font-size: 5rem; font-weight: 800;
  line-height: 1; color: var(--mci-orange); opacity: .25;
}
.oc-testimonial p { font-size: 1rem; color: var(--ap-text); line-height: 1.6; margin-bottom: 1.25rem; }
.oc-testimonial-author { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--ap-border); }
.oc-testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* FAQ ACCORDION */
.oc-accordion .accordion-item {
  border: 1px solid var(--ap-border); border-radius: 14px !important;
  margin-bottom: .75rem; overflow: hidden; background: #fff;
}
.oc-accordion .accordion-button {
  font-weight: 600; color: var(--ap-text); padding: 1.1rem 1.25rem;
  background: #fff; border-radius: 14px !important; box-shadow: none;
}
.oc-accordion .accordion-button:not(.collapsed) {
  background: var(--mci-orange-soft); color: var(--mci-navy);
}
.oc-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(247,148,29,.18); }
.oc-accordion .accordion-body { color: var(--ap-muted); padding: 0 1.25rem 1.25rem; }

/* Tighten navbar slightly to fit Online Courses link */
@media (min-width: 992px) {
  .ap-navbar .nav-item .nav-link { padding-inline: .75rem !important; font-size: .94rem; white-space: nowrap; }
  .ap-navbar .navbar-nav { gap: .15rem; }
}

/* ===========================================================
   PRO PAGE BANNERS — modern, centered, taller
   =========================================================== */
.ap-page-head {
  background:
    linear-gradient(135deg, rgba(6,29,58,.96) 0%, rgba(20,58,107,.92) 50%, rgba(10,44,84,.96) 100%),
    url("https://images.unsplash.com/photo-1607013251379-e6eecfffe234?auto=format&fit=crop&w=2000&q=80")
    center/cover no-repeat;
  padding: 8.5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex; align-items: center;
}
.ap-page-head .container { position: relative; z-index: 3; max-width: 920px; }
.ap-page-head .breadcrumb { justify-content: center; margin-bottom: 1rem !important; }
.ap-page-head h1 { font-size: clamp(2.05rem, 4vw, 3.2rem); line-height: 1.15; max-width: 820px; margin: 0 auto .9rem; color:#fff; }
.ap-page-head .lead { font-size: 1.12rem; max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.82); }
.aph-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem 1.1rem; background: rgba(247,148,29,.15);
  border: 1px solid rgba(247,148,29,.4); border-radius: 999px;
  color: #fde68a; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 1.2rem;
}
.aph-eyebrow .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mci-orange); box-shadow: 0 0 0 0 rgba(247,148,29,.7); animation: pulse 2s infinite; }
.aph-grid {
  position: absolute; inset: 0; opacity: .12; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.aph-blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; pointer-events: none; }
.aph-blob-1 { width: 380px; height: 380px; top: -120px; left: -120px; background: radial-gradient(circle, rgba(247,148,29,.55), transparent 70%); }
.aph-blob-2 { width: 460px; height: 460px; bottom: -180px; right: -160px; background: radial-gradient(circle, rgba(59,130,246,.45), transparent 70%); }
.aph-cta { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.aph-stats { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); }
.aph-stat .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.aph-stat .lbl { font-size: .76rem; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; font-weight: 600; }
@media (max-width: 768px) {
  .ap-page-head { padding: 7rem 0 4rem; min-height: 420px; }
  .aph-stats { gap: 1.4rem; }
  .aph-stat .num { font-size: 1.6rem; }
}

/* Variant gradients (per page) */
.ap-page-head--accent { background: linear-gradient(135deg, rgba(120,53,15,.85) 0%, rgba(10,44,84,.92) 60%, rgba(6,29,58,.96) 100%), url("https://images.unsplash.com/photo-1496614932623-0a3a9743552e?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat; }
.ap-page-head--students { background: linear-gradient(135deg, rgba(6,29,58,.92) 0%, rgba(20,58,107,.85) 50%, rgba(247,148,29,.7) 100%), url("https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat; }

/* ===========================================================
   AUTH ENHANCEMENTS — social login, OTP, decoration
   =========================================================== */
.ap-auth-side::after {
  content:""; position:absolute; left:-150px; bottom:-150px;
  width:500px; height:500px; border-radius:50%;
  background: radial-gradient(circle, rgba(59,130,246,.32), transparent 70%);
  z-index: 0;
}
.ap-auth-form { padding: 2.4rem 2.6rem; }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: 1.1rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .65rem 1rem; border-radius: 11px;
  border: 1.5px solid var(--ap-border); background: #fff;
  color: var(--ap-text); font-weight: 600; font-size: .88rem;
  text-decoration: none; transition: .15s; cursor: pointer;
}
.social-btn:hover { border-color: var(--mci-orange); background: var(--mci-orange-soft); transform: translateY(-1px); color: var(--mci-navy); }
.social-btn i { font-size: 1.05rem; }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--ap-muted); font-size: .78rem; font-weight: 600; }
.auth-divider::before, .auth-divider::after { content:""; flex: 1; height: 1px; background: var(--ap-border); }

/* OTP grid */
.otp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: 1rem 0 1.5rem; }
.otp-grid input {
  width: 100%; aspect-ratio: 1; text-align: center; font-size: 1.5rem;
  font-weight: 700; border: 2px solid var(--ap-border); border-radius: 12px;
  background: #f8fafc; color: var(--mci-navy); transition: .15s; padding: 0;
}
.otp-grid input:focus { outline: none; border-color: var(--mci-orange); background: #fff; box-shadow: 0 0 0 3px rgba(247,148,29,.15); }
.otp-grid input.filled { border-color: var(--mci-navy); background: #eff6ff; }

/* Strong-password meter */
.pw-strength { display: flex; gap: .25rem; margin-top: .4rem; }
.pw-strength span { flex: 1; height: 4px; border-radius: 2px; background: #e5e7eb; transition: .2s; }
.pw-strength.s1 span:nth-child(-n+1) { background: #ef4444; }
.pw-strength.s2 span:nth-child(-n+2) { background: #f59e0b; }
.pw-strength.s3 span:nth-child(-n+3) { background: #84cc16; }
.pw-strength.s4 span { background: #10b981; }

/* ===========================================================
   QUICK APPLY WIZARD
   =========================================================== */
.wz-steps { display: flex; align-items: flex-start; gap: 0; margin-bottom: 2.4rem; }
.wz-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; position: relative; cursor: default; padding: 0 .25rem; }
.wz-step .num { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--ap-border); display: grid; place-items: center; font-weight: 700; color: var(--ap-muted); font-size: .92rem; transition: .25s; position: relative; z-index: 2; }
.wz-step .lbl { font-size: .78rem; color: var(--ap-muted); font-weight: 600; text-align: center; max-width: 110px; }
.wz-step.done .num { background: #10b981; border-color: #10b981; color: #fff; }
.wz-step.active .num { background: var(--mci-orange); border-color: var(--mci-orange); color: #fff; box-shadow: 0 0 0 5px rgba(247,148,29,.18); transform: scale(1.05); }
.wz-step.done .lbl, .wz-step.active .lbl { color: var(--ap-text); font-weight: 700; }
.wz-step:not(:last-child)::after { content:""; position:absolute; left: calc(50% + 22px); right: calc(-50% + 22px); top: 18px; height: 2px; background: var(--ap-border); z-index: 1; }
.wz-step.done:not(:last-child)::after { background: #10b981; }
.wz-panel { display: none; }
.wz-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wz-card {
  border: 2px solid var(--ap-border); border-radius: 16px; padding: 1.2rem;
  cursor: pointer; transition: .15s; background: #fff;
  display: flex; align-items: center; gap: 1rem; height: 100%;
}
.wz-card:hover { border-color: var(--mci-orange); background: var(--mci-orange-soft); }
.wz-card.selected { border-color: var(--mci-navy); background: linear-gradient(135deg, #eff6ff, #fff); box-shadow: 0 6px 18px rgba(10,44,84,.12); }
.wz-card .wz-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ap-border); flex-shrink: 0; display: grid; place-items: center; }
.wz-card.selected .wz-radio { border-color: var(--mci-navy); }
.wz-card.selected .wz-radio::after { content:""; width: 11px; height: 11px; border-radius: 50%; background: var(--mci-navy); }
.wz-card .wz-thumb { width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0; background: var(--ap-gradient); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.pay-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 2px solid var(--ap-border); border-radius: 14px; cursor: pointer; transition: .15s; background: #fff; }
.pay-method i { font-size: 1.6rem; color: var(--ap-muted); }
.pay-method:hover { border-color: var(--mci-orange); }
.pay-method.selected { border-color: var(--mci-navy); background: #eff6ff; }
.pay-method.selected i { color: var(--mci-navy); }
.wz-summary { background: linear-gradient(135deg,#eff6ff,#fef3c7); border-radius: 18px; padding: 1.6rem; border: 1px solid #dbeafe; }
.wz-summary .row-kv { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed rgba(0,0,0,.08); font-size: .92rem; }
.wz-summary .row-kv:last-child { border-bottom: 0; padding-top: .8rem; font-weight: 700; font-size: 1.05rem; color: var(--mci-navy); }

/* ===========================================================
   TOAST (small JS helper)
   =========================================================== */
.ap-toast {
  position: fixed; top: 24px; right: 24px;
  background: #fff; border: 1px solid var(--ap-border);
  border-radius: 14px; padding: .9rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  z-index: 9999; display: flex; align-items: center; gap: .7rem;
  font-weight: 600; font-size: .92rem; max-width: 360px;
  transform: translateX(120%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  border-left: 4px solid var(--mci-orange);
}
.ap-toast.show { transform: translateX(0); }
.ap-toast.success { border-left-color: #10b981; }
.ap-toast.error { border-left-color: #ef4444; }
.ap-toast.info { border-left-color: #3b82f6; }
.ap-toast .ti { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 1rem; }
.ap-toast.success .ti { background: #d1fae5; color: #065f46; }
.ap-toast.error .ti { background: #fee2e2; color: #991b1b; }
.ap-toast.info .ti { background: #dbeafe; color: #1e40af; }
.ap-toast .tx { line-height: 1.3; }
.ap-toast .tt { font-weight: 700; color: var(--ap-dark); }
.ap-toast .tm { font-size: .82rem; color: var(--ap-muted); font-weight: 500; }
[dir="rtl"] .ap-toast { right: auto; left: 24px; transform: translateX(-120%); border-left: none; border-right: 4px solid var(--mci-orange); }
[dir="rtl"] .ap-toast.show { transform: translateX(0); }

/* App-detail modal */
.modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; }
.modal-app .modal-header { background: var(--ap-gradient); color: #fff; padding: 1.4rem 1.7rem; border: 0; }
.modal-app .modal-header .modal-title { color: #fff; font-weight: 700; }
.modal-app .modal-header .btn-close { filter: invert(1); }
.kv-row { display: grid; grid-template-columns: 140px 1fr; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--ap-border); font-size: .9rem; }
.kv-row .k { color: var(--ap-muted); font-weight: 600; }
.kv-row .v { color: var(--ap-dark); font-weight: 600; }

/* Dashboard polish */
.dash-content { padding: 1.8rem 2rem; }
.dash-page-title { font-size: 1.85rem; font-weight: 800; }
@media (max-width: 768px) { .dash-content { padding: 1.2rem; } }

/* Course card on student dashboard */
.cc-card { background:#fff; border:1px solid var(--ap-border); border-radius:18px; overflow:hidden; transition:.2s; }
.cc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cc-card .cc-thumb { height: 130px; background: var(--ap-gradient); position:relative; display:grid; place-items:center; color:#fff; font-size:1.8rem; }
.cc-card .cc-body { padding: 1rem 1.2rem; }
.cc-card .cc-tag { position:absolute; top:.7rem; left:.7rem; background:#fff; color:var(--mci-navy); font-size:.65rem; font-weight:700; padding:.25rem .6rem; border-radius:999px; text-transform:uppercase; letter-spacing:.05em; }

/* Quick-action ribbon for dashboards */
.qa-bar { display:flex; gap:.6rem; flex-wrap:wrap; margin-bottom:1.4rem; }
.qa-bar .qa-btn { display:inline-flex; align-items:center; gap:.5rem; padding:.7rem 1.1rem; border-radius:12px; background:#fff; border:1px solid var(--ap-border); color:var(--ap-dark); font-weight:600; font-size:.88rem; transition:.15s; text-decoration:none; }
.qa-bar .qa-btn:hover { border-color:var(--mci-orange); color:var(--mci-orange); transform: translateY(-1px); }
.qa-bar .qa-btn.primary { background: var(--ap-gradient); color:#fff; border-color: transparent; }
.qa-bar .qa-btn.primary:hover { color:#fff; box-shadow: 0 6px 16px rgba(10,44,84,.25); }

/* ===========================================================
   COURSES PAGE — extras (live pill, tabs, fixes)
   =========================================================== */
.live-now-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(239,68,68,.1); color: #b91c1c;
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  border: 1px solid rgba(239,68,68,.25);
}
.live-now-pill .live-dot,
.live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 0 0 rgba(239,68,68,.6);
  animation: pulse-red 1.4s infinite;
}
.live-now-card { border-left: 5px solid #ef4444; }
[dir="rtl"] .live-now-card { border-left: 0; border-right: 5px solid #ef4444; }

.nav-pills-clean .nav-link {
  color: var(--ap-text); background: #f1f5f9;
  border: 1px solid var(--ap-border);
  border-radius: 999px !important;
  padding: .55rem 1.1rem; font-weight: 600;
  transition: .2s;
}
.nav-pills-clean .nav-link:hover {
  background: var(--mci-orange-soft);
  border-color: var(--mci-orange);
  color: var(--mci-orange-2);
}
.nav-pills-clean .nav-link.active {
  background: var(--ap-gradient) !important; color: #fff !important;
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(10,44,84,.25);
}

/* ===========================================================
   FIX: University card badge overlap + visual polish
   =========================================================== */
.uni-card .uni-body {
  padding: 1.5rem 1.4rem 1.4rem;
  position: relative;
  display: flex; flex-direction: column;
}
.uni-card .uni-mark {
  position: absolute;
  top: -38px; left: 1.4rem;
  bottom: auto;
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 4px solid #fff;
  font-size: 1.05rem;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(10,44,84,.28);
}
[dir="rtl"] .uni-card .uni-mark { left: auto; right: 1.4rem; }
.uni-card .uni-body > h5,
.uni-card .uni-body > .text-muted-2 {
  padding-left: calc(64px + .9rem);
  margin-left: 0;
}
[dir="rtl"] .uni-card .uni-body > h5,
[dir="rtl"] .uni-card .uni-body > .text-muted-2 {
  padding-left: 0; padding-right: calc(64px + .9rem);
}
.uni-card .uni-body > h5 { font-weight: 800; color: var(--mci-navy); margin-bottom: .15rem; line-height: 1.25; min-height: 1.6em; }
.uni-card .uni-banner { background-color: #e6edf6; }
.uni-card .uni-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 80% 20%, rgba(247,148,29,.18), transparent 60%),
    radial-gradient(300px 200px at 10% 90%, rgba(37,99,235,.18), transparent 60%);
}

/* ===========================================================
   QUICK APPLY — premium polish
   =========================================================== */
/* Hero stats row */
.qa-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 2rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.qa-hero-stats .qa-hs {
  text-align: center; color: #fff;
}
.qa-hero-stats .qa-hs i { font-size: 1.4rem; color: #fbbf24; display: block; margin-bottom: .25rem; }
.qa-hero-stats .qa-hs .num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.qa-hero-stats .qa-hs .lbl { font-size: .75rem; opacity: .82; text-transform: uppercase; letter-spacing: .04em; margin-top: .15rem; }
@media (max-width: 575.98px) { .qa-hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* Stepper icons + check on done */
.wz-step .num i { font-size: 1rem; line-height: 1; }
.wz-step.done .num { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; }
.wz-step.done .num::after {
  content: "\F26B"; font-family: "bootstrap-icons" !important;
  position: absolute; inset: 0; display: grid; place-items: center;
  background: #10b981; border-radius: 50%; color: #fff;
}
.wz-step .num { transition: all .25s ease; }
.wz-step.active .num { animation: stepPulse 1.6s infinite; }
@keyframes stepPulse {
  0%,100% { box-shadow: 0 0 0 5px rgba(247,148,29,.18); }
  50% { box-shadow: 0 0 0 10px rgba(247,148,29,.05); }
}
.wz-steps { padding: 1.2rem 1rem; background: linear-gradient(180deg,#fff, #f8fafc); border-radius: 18px; border: 1px solid var(--ap-border); box-shadow: var(--shadow-sm); }

/* Premium panel */
.dash-panel { background: #fff; border-radius: 22px; border: 1px solid var(--ap-border); box-shadow: var(--shadow); overflow: hidden; }
.qa-panel-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
  border-bottom: 1px solid var(--ap-border);
  margin: -2rem -2rem 1.5rem;
}
.qa-panel-head .qa-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--ap-gradient); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(10,44,84,.22);
}
.qa-panel-head h4 { margin: 0; font-weight: 800; color: var(--mci-navy); }
.qa-panel-head .qa-sub { font-size: .85rem; color: var(--ap-muted); margin-top: .15rem; }

/* Trust strip below wizard */
.qa-trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 1.5rem;
}
.qa-trust-strip .qa-tr {
  background: #fff; border: 1px solid var(--ap-border); border-radius: 16px;
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: .85rem;
  transition: .2s;
}
.qa-trust-strip .qa-tr:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--mci-orange); }
.qa-trust-strip .qa-tr i { font-size: 1.5rem; color: var(--mci-orange); flex-shrink: 0; }
.qa-trust-strip .qa-tr .ttl { font-weight: 800; color: var(--mci-navy); font-size: .92rem; line-height: 1.15; }
.qa-trust-strip .qa-tr .sub { font-size: .76rem; color: var(--ap-muted); margin-top: .1rem; }
@media (max-width: 767.98px) { .qa-trust-strip { grid-template-columns: repeat(2, 1fr); } }

/* OTP-aware notice on profile step */
.qa-otp-note {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem; border-radius: 12px; margin-top: 1rem;
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(37,99,235,.08));
  border: 1px dashed rgba(16,185,129,.35); color: #065f46; font-size: .88rem;
}
.qa-otp-note i { font-size: 1.2rem; color: #10b981; }

/* ===========================================================
   FOOTER — Wow / ultra-professional restyle
   =========================================================== */
.ap-footer {
  background:
    linear-gradient(180deg, #04132a 0%, #061d3a 55%, #03101f 100%);
  color: rgba(255,255,255,.72);
  padding: 5rem 0 1.6rem;
  position: relative; overflow: hidden;
}
/* Texture: dotted + subtle grid + diagonal noise */
.ap-footer-texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 18px 18px, 60px 60px, 60px 60px;
  background-position: 0 0, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
  opacity: .8;
}
.ap-footer-blob {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px);
}
.ap-footer-blob-1 { top: -240px; right: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(247,148,29,.35), transparent 70%); }
.ap-footer-blob-2 { bottom: -260px; left: -160px;  width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,99,235,.35),  transparent 70%); }
.ap-footer .container { position: relative; z-index: 1; }

/* Newsletter strip */
.ap-footer-newsletter {
  background: linear-gradient(135deg, rgba(247,148,29,.12), rgba(37,99,235,.12));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 3rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem;
  backdrop-filter: blur(6px);
  position: relative;
  box-shadow: 0 18px 40px -20px rgba(247,148,29,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
.ap-footer-newsletter h4 { color: #fff; font-weight: 800; font-size: 1.15rem; }
.ap-footer-news-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--ap-gradient-warm); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 10px 22px rgba(247,148,29,.4);
  flex-shrink: 0;
}
.ap-footer-news-form {
  display: flex; gap: .55rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px; padding: .35rem .35rem .35rem 1.2rem;
  min-width: 320px; max-width: 100%;
}
.ap-footer-news-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: #fff; font-size: .92rem;
}
.ap-footer-news-form input::placeholder { color: rgba(255,255,255,.45); }
.ap-footer-news-form .btn { border-radius: 999px; padding: .55rem 1.4rem; font-weight: 700; flex-shrink: 0; }

/* Trust badges */
.ap-footer-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.ap-footer-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .35rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.1);
}
.ap-footer-badge i { color: var(--mci-orange); font-size: .85rem; }

/* Contact rows */
.ap-footer-contact { display: flex; align-items: flex-start; gap: .65rem; padding: .35rem 0; font-size: .9rem; }
.ap-footer-contact i { color: var(--mci-orange); font-size: 1rem; margin-top: .2rem; flex-shrink: 0; }
.ap-footer-contact a, .ap-footer-contact span { color: rgba(255,255,255,.78); }
.ap-footer-contact a:hover { color: var(--mci-orange); }

/* Brand & links */
.ap-footer .footer-brand img { height: 48px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.ap-footer .footer-link { display: block; color: rgba(255,255,255,.68); padding: .35rem 0; font-size: .9rem; transition: .18s; }
.ap-footer .footer-link:hover { color: var(--mci-orange); padding-inline-start: 6px; }
.ap-footer .footer-link.d-inline { display: inline; padding: 0; }
.ap-footer h6 { color: #fff; margin-bottom: 1.1rem; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; position: relative; padding-bottom: .55rem; }
.ap-footer h6::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--ap-gradient-warm); border-radius: 2px; }
[dir="rtl"] .ap-footer h6::after { left: auto; right: 0; }

/* Social */
.ap-footer .social-link {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px; color: rgba(255,255,255,.85);
  margin-right: .35rem; transition: .25s; font-size: .95rem;
}
[dir="rtl"] .ap-footer .social-link { margin-right: 0; margin-left: .35rem; }
.ap-footer .social-link:hover { background: var(--ap-gradient-warm); color: #fff; transform: translateY(-3px); border-color: transparent; box-shadow: 0 10px 18px rgba(247,148,29,.35); }

/* Bottom bar */
.ap-footer hr { border-color: rgba(255,255,255,.08); margin: 2.2rem 0 1rem; }
.ap-footer small { color: rgba(255,255,255,.55); font-size: .8rem; }
.ap-footer-policies .footer-link { color: rgba(255,255,255,.6); }
.ap-footer-sep { color: rgba(255,255,255,.25); margin: 0 .35rem; }

/* Responsive newsletter */
@media (max-width: 767.98px) {
  .ap-footer-newsletter { flex-direction: column; align-items: stretch; }
  .ap-footer-news-form { width: 100%; min-width: 0; }
}

/* ============================================================
   Auth pages — full-bleed (no fixed-navbar offset)
   Used on login.html and register.html (which don't render the
   fixed top navbar).
   ============================================================ */
body.ap-no-pad { padding-top: 0; }
@media (max-width: 991.98px) {
  body.ap-no-pad { padding-top: 0; }
}

/* ============================================================
   COMPACT PAGE HEADER (for course/program detail pages where
   the title is rendered inside the body rather than the hero).
   Keeps a slim branded strip with eyebrow + breadcrumb only.
   ============================================================ */
.ap-page-head.ap-page-head-compact {
  min-height: auto;
  padding: 1.75rem 0 1.5rem;
  text-align: left;
}
.ap-page-head.ap-page-head-compact .breadcrumb {
  justify-content: flex-start;
  margin: 0;
}
.ap-page-head.ap-page-head-compact .aph-eyebrow {
  margin-bottom: 0;
}
@media (max-width: 575.98px) {
  .ap-page-head.ap-page-head-compact {
    padding: 1.25rem 0 1.1rem;
  }
}
