/*
 * program.css — JIS Group Shared Program Page Stylesheet
 * Used by: engineering-courses.html, business-management-courses.html,
 *           pharmacy-courses.html, law-courses.html, etc.
 *
 * Each page imports this file, then overrides ONLY what's unique:
 *   - .pg-hero background gradient  (page tint identity)
 *   - Hero eyebrow / title copy
 *   - Ticker items
 *   - Stats panel numbers
 * ─────────────────────────────────────────────────────────── */
/* ══ TOKENS ══ */
:root {
  --navy:      #0B1F3A;
  --navy-lt:   #122d52;
  --navy-cool: #0D2E5A;
  --gold:      #F4B400;
  --gold-dk:   #C9940A;
  --gold-pl:   #FFF8E1;
  --white:     #ffffff;
  --muted:     #6B7280;
  --border:    #E8E8E8;
  --ease:      cubic-bezier(.4, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ══ HERO BASE
   Override .pg-hero background in page <style> for each discipline
══ */
.pg-hero {
  background: linear-gradient(158deg, #0f2d55 0%, #0D2E5A 52%, #09203f 100%);
  border-top: 3px solid rgba(244, 179, 0, .44);
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
/* grid texture */
.h-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
/* gold glow blob */
.h-glow {
  position: absolute; right: -100px; top: -80px;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(244,180,0,.07) 0%, transparent 65%);
  pointer-events: none;
}
/* decorative rings */
.h-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.h-ring-1 { width: 500px; height: 500px; right: -80px; top: -160px; border: 1px solid rgba(244,180,0,.09); }
.h-ring-2 { width: 350px; height: 350px; right:  10px; top:  -80px; border: 1px solid rgba(244,180,0,.055); }
.h-ring-3 { width: 200px; height: 200px; right:  80px; top:    0px; border: 1px solid rgba(244,180,0,.035); }
/* ── HERO INNER FLEX ── */
.h-inner {
  position: relative; z-index: 2;
  display: flex; align-items: stretch;
  min-height: 400px;
}
/* LEFT COPY */
.h-left {
  flex: 1;
  padding: 52px 52px 48px 0;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.h-crumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.3); margin-bottom: 20px;
}
.h-crumb a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.h-crumb a:hover { color: var(--gold); }
.h-crumb .sep { opacity: .35; }
.h-crumb .cur { color: var(--gold); font-weight: 600; }
.h-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.h-eyebrow span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.h-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700; color: #fff;
  line-height: 1.1; margin-bottom: 18px; letter-spacing: -.5px;
}
.h-title em { font-style: normal; font-weight: bold; color: var(--gold); }
.h-sub {
  font-size: 14.5px; color: rgba(255,255,255,.68);
  line-height: 1.8; max-width: 480px; margin-bottom: 28px;
}
.h-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.h-btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 12px 24px; border-radius: 6px;
  text-decoration: none; box-shadow: 0 4px 16px rgba(244,180,0,.28);
  transition: background .15s, transform .15s;
}
.h-btn-p:hover { background: #FFD54F; color: var(--navy); text-decoration: none; transform: translateY(-2px); }
.h-btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.78);
  font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; padding: 11px 20px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.2); text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.h-btn-g:hover { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.05); text-decoration: none; }
.h-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.h-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  border: 1px solid rgba(244,180,0,.28);
  background: rgba(244,180,0,.07); border-radius: 4px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.72);
}
/* RIGHT — STATS PANEL */
.h-right {
  flex: 0 0 290px;
  padding: 44px 0 44px 38px;
  display: flex; flex-direction: column; gap: 11px; justify-content: center;
}
.hs-wide {
  background: rgba(244,180,0,.1); border: 1px solid rgba(244,180,0,.28);
  border-radius: 10px; padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.hs-icon {
  flex-shrink: 0; width: 46px; height: 46px;
  background: var(--gold); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.hs-num { font-size: 34px; font-weight: 700; color: #fff; line-height: 1; display: block; }
.hs-lbl { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 3px; display: block; }
.hs-note { font-size: 10.5px; color: rgba(255,255,255,.38); margin-top: 2px; }
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hs {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: 14px 13px;
  position: relative; overflow: hidden;
  transition: background .2s, border-color .2s;
}
.hs::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: .5; transition: opacity .2s;
}
.hs:hover { background: rgba(255,255,255,.09); border-color: rgba(244,180,0,.3); }
.hs:hover::before { opacity: 1; }
.hs .hs-num { font-size: 24px; }
.h-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 8px 15px;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6);
  align-self: flex-start;
}
.live-dot {
  width: 7px; height: 7px; background: #4CAF50;
  border-radius: 50%; flex-shrink: 0;
  animation: ldot 1.8s ease-in-out infinite;
}
@keyframes ldot {
  0%   { box-shadow: 0 0 0 0   rgba(76,175,80,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(76,175,80, 0); }
  100% { box-shadow: 0 0 0 0   rgba(76,175,80, 0); }
}
/* TICKER */
.h-ticker {
  background: rgba(0,0,0,.28); border-top: 1px solid rgba(255,255,255,.06);
  padding: 12px 0; overflow: hidden; position: relative; z-index: 2;
}
.h-ticker-track {
  display: flex; align-items: center; gap: 32px;
  width: max-content;
  animation: htick 26s linear infinite;
}
.h-ticker-track:hover { animation-play-state: paused; }
.ti {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.48); white-space: nowrap;
}
.tdot { color: rgba(244,180,0,.35); font-size: 16px; line-height: 1; }
@keyframes htick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* ══ PROGRAMS SECTION ══ */
.pg-sec {
  background: var(--white);
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 10px;
}
.sec-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-heading { font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -.4px; margin-bottom: 8px; }
.sec-heading em { font-style: italic; color: var(--gold-dk); }
.sec-sub { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 36px; max-width: 560px; }
/* STATS STRIP */
.stats-strip {
  display: flex; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; margin-bottom: 48px;
  box-shadow: 0 2px 12px rgba(11,31,58,.05);
}
.sc {
  flex: 1; padding: 20px 12px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative; transition: background .2s;
}
.sc:last-child { border-right: none; }
.sc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform .28s var(--ease);
}
.sc:hover { background: var(--gold-pl); }
.sc:hover::before { transform: scaleX(1); }
.sn { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1; display: block; margin-bottom: 5px; }
.sl { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/* ══ HORIZONTAL TIER CARDS ══ */
.tier-list { display: flex; flex-direction: column; gap: 20px; }
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: row;
  text-decoration: none; color: inherit;
  min-height: 230px;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
  animation: fadeUp .44s var(--ease) both;
}
.tier-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 36px rgba(11,31,58,.09);
  transform: translateY(-3px);
  text-decoration: none; color: inherit;
}
.tier-card:nth-child(1) { animation-delay: .05s; }
.tier-card:nth-child(2) { animation-delay: .12s; }
.tier-card:nth-child(3) { animation-delay: .19s; }
/* IMAGE COLUMN */
.tier-img-col {
  flex: 0 0 280px;
  position: relative; overflow: hidden;
  background: var(--navy-cool);
}
.tier-img-col img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s var(--ease);
}
.tier-card:hover .tier-img-col img { transform: scale(1.06); }
.tier-img-col::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(13,46,90,.55) 0%, rgba(13,46,90,.1) 60%, transparent 100%);
}
/* gold accent bar reveals on hover */
.tier-img-col::after {
  content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 3px; z-index: 2;
  background: var(--gold); opacity: 0; transition: opacity .25s;
}
.tier-card:hover .tier-img-col::after { opacity: 1; }
/* fallback icon bg */
.tier-fb {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-cool) 0%, #0a2240 100%);
}
.tier-fb::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 18px 18px;
}
.tier-fb svg { position: relative; z-index: 1; opacity: .32; }
/* image overlay labels */
.tier-img-badge {
  position: absolute; bottom: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
}
.tier-level {
  background: var(--gold); color: var(--navy);
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 5px;
}
.tier-ribbon {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 5px;
  backdrop-filter: blur(4px);
}
/* CONTENT BODY */
.tier-body {
  flex: 1; padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 1px solid var(--border);
}
.tier-name {
  font-size: 20px; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 8px; letter-spacing: -.15px;
}
.tier-desc {
  font-size: 13.5px; color: var(--muted);
  line-height: 1.75;
}
.tier-mid {
  display: flex; align-items: flex-start; gap: 24px;
  margin: 18px 0;
}
/* spec boxes */
.tier-specs { display: flex; gap: 12px; flex-shrink: 0; }
.spec-box {
  text-align: center; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  background: #F9F9F9; min-width: 68px;
}
.spec-val { font-size: 15px; font-weight: 700; color: var(--navy); display: block; line-height: 1; margin-bottom: 4px; }
.spec-key { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* feature pill tags */
.tier-features { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; flex: 1; align-content: flex-start; }
.tier-features li {
  display: inline-flex; align-items: center; gap: 5px;
  background: #F3F3F3; border: 1px solid #E4E4E4;
  border-radius: 4px; padding: 5px 11px;
  font-size: 11px; font-weight: 600; color: var(--navy);
}
.tier-features li svg { color: var(--gold-dk); flex-shrink: 0; }
/* footer row */
.tier-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.tier-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 10px 20px; border-radius: 5px;
  text-decoration: none; transition: background .15s, transform .15s;
}
.tier-btn:hover { background: var(--gold-dk); color: #fff; transform: translateX(2px); text-decoration: none; }
.tier-btn svg { flex-shrink: 0; transition: transform .2s; }
.tier-btn:hover svg { transform: translateX(3px); }
.tier-hint { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.tier-hint a { color: var(--gold-dk); text-decoration: none; font-weight: 600; }
.tier-hint a:hover { text-decoration: underline; }
/* ══ CTA STRIP ══ */
.pg-cta {
  background: linear-gradient(135deg, var(--navy-cool) 0%, #09203f 100%);
  border-top: 3px solid var(--gold);
  padding: 52px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-heading { font-size: 28px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.cta-heading em { font-style: normal; font-weight: bold; color: var(--gold); }
.cta-text p { font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.cta-btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 13px 26px; border-radius: 6px;
  text-decoration: none; box-shadow: 0 4px 16px rgba(244,180,0,.28);
  transition: background .15s, transform .15s;
}
.cta-btn-p:hover { background: #FFD54F; transform: translateY(-2px); color: var(--navy); text-decoration: none; }
.cta-btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.78);
  font-size: 12px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; padding: 12px 22px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.22); text-decoration: none;
  transition: border-color .15s, color .15s;
}
.cta-btn-g:hover { border-color: rgba(255,255,255,.5); color: #fff; text-decoration: none; }
/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ══ RESPONSIVE ══ */
@media (max-width: 991px) {
  .h-inner { flex-direction: column; min-height: auto; }
  .h-left  { padding: 44px 0 30px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .h-right { flex: none; padding: 28px 0 36px; }
  .hs-grid { grid-template-columns: repeat(4, 1fr); }
  .tier-img-col { flex: 0 0 220px; }
  .stats-strip { flex-wrap: wrap; }
  .sc { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .sc:nth-child(2n) { border-right: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 767px) {
  .tier-card { flex-direction: column; min-height: auto; }
  .tier-img-col { flex: none; height: 200px; }
  .tier-img-col::before {
    background: linear-gradient(to bottom, rgba(13,46,90,.55) 0%, rgba(13,46,90,.1) 60%, transparent 100%);
  }
  .tier-img-col::after { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 3px; }
  .tier-body { border-left: none; border-top: 1px solid var(--border); padding: 22px 20px; }
  .tier-mid { flex-direction: column; gap: 14px; }
  .hs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .h-title { font-size: 28px; }
  .tier-specs { flex-wrap: wrap; }
  .sec-heading { font-size: 24px; }
  .tier-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
}