/* ============================================================
   Zillionsoftech — Premium Theme
   Deep Navy + Emerald Accent (logo green, elevated)
   ============================================================ */

:root {
  --z-ink: #081426;
  --z-ink-2: #0f2138;
  --z-gold: #10d488;
  --z-gold-soft: #5cf0b0;
  --z-paper: #f6f8fc;
  --z-slate: #35424f;
  --z-trace: #23406e;
  --z-terminal-green: #56d364;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--z-slate);
  background: var(--z-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--z-ink);
  letter-spacing: -0.01em;
}
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.z-topbar {
  background: var(--z-ink-2);
  color: #b9c9d6;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--z-trace);
  position: relative;
  z-index: 1060;       /* above everything including dropdown */
}
.z-topbar i { color: var(--z-gold); }
.z-topbar .z-topbar-phone { color: #dfe8ee; text-decoration: none; font-weight: 500; }
.z-topbar .z-topbar-phone:hover { color: var(--z-gold); }
@media (max-width: 767px) {
  .z-topbar { font-size: 0.75rem; }
  .z-topbar .container { justify-content: center; gap: 0.5rem; }
}

/* ============================================================
   SOCIAL ICONS
   ============================================================ */
.z-social { display: inline-flex; gap: 6px; }
.z-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #cdd7e1; font-size: 0.9rem; text-decoration: none;
  transition: all 0.18s ease;
}
.z-social a:hover {
  background: var(--z-gold);
  border-color: var(--z-gold);
  transform: translateY(-2px);
}
.z-social a:hover i { color: #04201d !important; }
.z-social-footer a { width: 36px; height: 36px; font-size: 1rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.z-navbar {
  background: var(--z-ink) !important;
  border-bottom: 2px solid var(--z-gold);
  position: relative;
  z-index: 1050;
}
.z-navbar .navbar-brand { color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.z-navbar .navbar-brand .gold { color: var(--z-gold); }
.z-navbar .nav-link { color: #cdd7e1; padding: 0.5rem 0.85rem !important; border-radius: 7px; transition: all .15s; }
.z-navbar .nav-link:hover, .z-navbar .nav-link.active { color: var(--z-gold-soft); background: rgba(255,255,255,.05); }

/* logo badge — white plate so registered logo reads on dark navbar */
.z-logo-badge {
  background: #fff;
  padding: 4px 7px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.z-logo { height: 34px; width: auto; display: block; }
.z-brand-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; }
@media (max-width: 575px) {
  .z-logo { height: 28px; }
  .z-brand-text { font-size: 1.05rem; }
}

/* ============================================================
   NAVBAR DROPDOWN  — fixed z-index + pointer bleed
   ============================================================ */
.z-dropdown {
  background: var(--z-ink-2);
  border: 1px solid var(--z-trace);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  position: absolute !important;  /* never bleeds onto page */
  z-index: 1055 !important;
  min-width: 220px;
}
.z-dropdown .dropdown-item {
  color: #cdd7e1;
  border-radius: 7px;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  transition: all .15s;
}
.z-dropdown .dropdown-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.z-dropdown .dropdown-item.fw-semibold { color: var(--z-gold); }
.z-dropdown .dropdown-divider { border-color: var(--z-trace); margin: 4px 0; }

/* ============================================================
   HERO
   ============================================================ */
.z-hero {
  background:
    linear-gradient(rgba(8,20,38,0.94), rgba(8,20,38,0.97)),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--z-trace) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--z-trace) 39px 40px);
  background-color: var(--z-ink);
  color: #e8eef4;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.z-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.z-hero .lead { color: #b9c6d2; }
.z-hero .gold { color: var(--z-gold); }
.z-diamond {
  display: inline-block; width: 9px; height: 9px;
  background: var(--z-gold); transform: rotate(45deg); margin: 0 0.6rem 2px;
}

/* ============================================================
   TERMINAL CARD
   ============================================================ */
.z-terminal {
  background: #0d1117; border: 1px solid #26374a;
  border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,0.45); overflow: hidden;
}
.z-terminal-bar {
  background: #161b22; padding: 0.55rem 0.9rem;
  display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #26374a;
}
.z-terminal-bar span { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.z-terminal-bar .r{background:#f85149} .z-terminal-bar .y{background:#d29922} .z-terminal-bar .g{background:#3fb950}
.z-terminal-bar small { color: #8b949e; margin-left: auto; font-family: 'IBM Plex Mono', monospace; }
.z-terminal pre { margin: 0; padding: 1.1rem 1.2rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.82rem; line-height: 1.7; color: #c9d1d9; }
.z-terminal .kw{color:#ff7b72} .z-terminal .fn{color:#d2a8ff}
.z-terminal .str{color:#a5d6ff} .z-terminal .out{color:var(--z-terminal-green)} .z-terminal .cm{color:#8b949e}
.z-cursor { display: inline-block; width: 8px; height: 15px; background: var(--z-terminal-green); animation: blink 1s steps(1) infinite; vertical-align: text-bottom; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .z-cursor { animation: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  background: var(--z-gold); color: #04201d; font-weight: 600; border: none;
  transition: all .18s; box-shadow: 0 4px 14px rgba(16,212,136,.25);
}
.btn-gold:hover { background: var(--z-gold-soft); color: #04201d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,212,136,.35); }
.btn-outline-light-z { border: 1px solid #46596b; color: #dfe7ee; background: transparent; }
.btn-outline-light-z:hover { border-color: var(--z-gold); color: var(--z-gold-soft); }

/* ============================================================
   SECTIONS
   ============================================================ */
.z-section { padding: 4rem 0; }
.z-eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-gold);
}
.z-eyebrow::before { content: "// "; opacity: 0.7; }

/* ============================================================
   COURSE CARDS
   ============================================================ */
.z-card {
  border: 1px solid #e3e7ec; border-radius: 12px; background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.z-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11,27,43,0.10);
  border-color: var(--z-gold);
}
/* card top gradient line */
.z-card-topline {
  height: 3px;
  background: linear-gradient(90deg, var(--z-gold), var(--z-gold-soft));
  border-radius: 12px 12px 0 0;
}
/* mode badge — light pill (FIXED: was dark block) */
.badge-mode {
  display: inline-block;
  background: rgba(16,212,136,0.12);
  color: #07703f;
  border: 1px solid rgba(16,212,136,0.3);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.28em 0.65em;
  border-radius: 6px;
}
.z-fee { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--z-ink); font-size: 1.15rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.z-stats { background: var(--z-ink-2); color: #fff; border-top: 1px solid var(--z-trace); border-bottom: 1px solid var(--z-trace); }
.z-stats .num { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--z-gold); }
.z-stats .lbl { color: #a9b8c6; font-size: 0.85rem; }

/* ============================================================
   BATCH TABLE
   ============================================================ */
.z-table { border-radius: 12px; overflow: hidden; border: 1px solid #e3e7ec; }
.z-table thead { background: var(--z-ink); color: #fff; }
.z-table thead th { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; padding: 0.9rem 1rem; }
.z-table tbody td { padding: 0.85rem 1rem; }
.seats-pill { font-family: 'IBM Plex Mono', monospace; font-size: 0.78rem; }

/* ============================================================
   FILTER TABS (courses page)
   ============================================================ */
.z-mode-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  background: var(--z-ink-2); border: 1px solid var(--z-trace);
  border-radius: 12px; padding: 6px;
}
.z-mode-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: #b9c9d6;
  text-decoration: none; transition: all 0.16s ease; white-space: nowrap;
}
.z-mode-tab:hover { color: #fff; background: rgba(255,255,255,0.05); }
.z-mode-tab.active { background: var(--z-gold); color: #04201d; }
.z-mode-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  font-size: 0.72rem; font-family: 'IBM Plex Mono', monospace;
  border-radius: 999px; background: rgba(0,0,0,0.18); color: inherit;
}
.z-mode-tab:not(.active) .z-mode-count { background: rgba(255,255,255,0.08); }
@media (max-width: 575px) {
  .z-mode-tabs { display: flex; width: 100%; justify-content: space-between; }
  .z-mode-tab { padding: 0.5rem 0.65rem; font-size: 0.82rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.z-footer { background: var(--z-ink); color: #a9b8c6; border-top: 2px solid var(--z-gold); }
.z-footer h5, .z-footer h6 { color: #fff; }
.z-footer a { color: #cdd7e1; text-decoration: none; }
.z-footer a:hover { color: var(--z-gold-soft); }
.z-footer i { color: var(--z-gold); }
.z-footer-logo { display: inline-flex; background: #fff; padding: 7px 11px; border-radius: 10px; }
.z-footer-logo img { height: 38px; width: auto; display: block; }
.z-footer .z-social-footer a { border-color: rgba(255,255,255,0.12); }

/* ============================================================
   CERTIFICATE VERIFY
   ============================================================ */
.z-verify-ok { border: 2px solid var(--z-gold); border-radius: 12px; background: #f0fff8; }

/* ============================================================
   COURSE BOOKING
   ============================================================ */
.z-booking-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(16,212,136,.16), transparent 28%),
    linear-gradient(135deg, var(--z-ink), var(--z-ink-2));
  color: #b9c9d6;
  border-bottom: 1px solid var(--z-trace);
}
.z-booking-breadcrumb .breadcrumb-item,
.z-booking-breadcrumb .breadcrumb-item.active { color: #90a4b8; }
.z-booking-breadcrumb a { color: var(--z-gold-soft); text-decoration: none; }
.z-booking-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #698096; }
.z-booking-panel,
.z-booking-summary {
  background: #fff;
  border: 1px solid #e1e7ed;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(8,20,38,.08);
}
.z-booking-panel { padding: clamp(1.25rem, 3vw, 2.25rem); }
.z-booking-summary { overflow: hidden; top: 92px; }
.z-step-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; color: #057442; background: rgba(16,212,136,.12);
  font-size: 1.2rem;
}
.z-booking-panel .form-label { color: var(--z-ink); font-weight: 600; font-size: .9rem; }
.z-booking-panel .form-control,
.z-booking-panel .input-group-text {
  min-height: 50px; border-color: #dce3e9; font-size: 1rem;
}
.z-booking-panel .form-control:focus {
  border-color: var(--z-gold);
  box-shadow: 0 0 0 .25rem rgba(16,212,136,.14);
}
.z-batch-option,
.z-payment-option {
  display: flex; gap: .85rem; align-items: flex-start;
  width: 100%; padding: 1rem; margin-bottom: .75rem;
  border: 1px solid #dce3e9; border-radius: 12px; cursor: pointer;
  transition: border-color .16s, background-color .16s, box-shadow .16s;
}
.z-batch-option:hover,
.z-payment-option:hover { border-color: var(--z-gold); background: #f7fffb; }
.z-batch-option:has(input:checked),
.z-payment-option:has(input:checked) {
  border-color: var(--z-gold); background: #f0fff8;
  box-shadow: 0 0 0 3px rgba(16,212,136,.1);
}
.z-batch-option .form-check-input,
.z-payment-option .form-check-input { margin-top: .2rem; flex: 0 0 auto; }
.z-batch-option .form-check-input:checked,
.z-payment-option .form-check-input:checked { background-color: var(--z-gold); border-color: var(--z-gold); }
.z-batch-option.is-full { opacity: .58; cursor: not-allowed; background: #f4f5f6; }
.z-batch-faculty {
  display: block; color: #53616e; font-size: .86rem; margin-bottom: .85rem;
}
.z-batch-faculty i { color: #078755; margin-right: .3rem; }
.z-batch-details {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem;
}
.z-batch-detail {
  display: flex; flex-direction: column; gap: .15rem;
  min-width: 0; padding: .55rem .65rem; border-radius: 8px; background: #f4f7fa;
}
.z-batch-detail small { color: #7a8792; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.z-batch-detail strong { color: var(--z-ink); font-size: .8rem; line-height: 1.35; }
.z-batch-detail i { color: #078755; margin-right: .3rem; }
.z-payment-option { height: 100%; margin-bottom: 0; }
.z-payment-option strong,
.z-payment-option small,
.z-option-price { display: block; }
.z-payment-option small { color: #75818d; margin: .18rem 0 .55rem; }
.z-option-price { color: var(--z-ink); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; }
.z-booking-thumbnail { width: 100%; height: 210px; object-fit: cover; background: #eef2f5; }
.z-booking-thumbnail-placeholder {
  height: 190px; display: flex; flex-direction: column; gap: .4rem;
  align-items: center; justify-content: center; color: var(--z-gold-soft);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(35,64,110,.45) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(35,64,110,.45) 31px 32px),
    var(--z-ink);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
}
.z-booking-thumbnail-placeholder i { font-size: 2.5rem; }
.z-price-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .48rem 0; }
.z-price-list dt { font-weight: 500; color: #687581; }
.z-price-list dd { margin: 0; color: var(--z-ink); font-weight: 600; text-align: right; }
.z-price-list .z-price-total { border-top: 1px solid #dfe5eb; margin-top: .5rem; padding-top: 1rem; }
.z-price-list .z-price-total dt,
.z-price-list .z-price-total dd { color: var(--z-ink); font-size: 1.15rem; font-weight: 700; }
.z-selected-batch { padding: 1rem; border-radius: 12px; background: #f4f7fa; border: 1px solid #e0e6ec; }
.z-selected-batch > div > i { color: #078755; font-size: 1.2rem; }
.z-status-mark,
.z-payment-shield {
  width: 68px; height: 68px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.8rem;
}
.z-status-mark.is-pending { color: #ffe08a; background: rgba(255,193,7,.15); border: 1px solid rgba(255,193,7,.35); }
.z-status-mark.is-confirmed { color: var(--z-gold-soft); background: rgba(16,212,136,.15); border: 1px solid rgba(16,212,136,.35); }
.z-status-mark.is-inactive { color: #ff9d9d; background: rgba(220,53,69,.15); border: 1px solid rgba(220,53,69,.35); }
.z-payment-shield { width: 82px; height: 82px; color: #057442; background: rgba(16,212,136,.12); font-size: 2.2rem; }
.z-detail-label { margin: 0 0 .25rem; color: #7a8792; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.z-detail-value { margin: 0; color: var(--z-ink); font-weight: 600; }
.z-booking-action {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  background: #f4f7fa; border-top: 1px solid #e0e6ec;
}
@media (max-width: 991px) { .z-booking-summary { position: static !important; } }
@media (max-width: 575px) {
  .z-booking-panel { border-radius: 12px; }
  .z-booking-action .btn { width: 100%; }
  .z-batch-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.z-float {
  position: fixed; right: 20px; z-index: 1040;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; text-decoration: none; border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.z-float:hover { transform: scale(1.08); color: #fff; }
.z-float-wa { bottom: 22px; background: #25D366; animation: zPulse 2.5s infinite; }
.z-float-wa:hover { background: #1ebe5b; }
@keyframes zPulse {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .z-float-wa { animation: none; } }
.z-float-call { bottom: 86px; background: var(--z-gold); color: #04201d; }
.z-float-call:hover { background: var(--z-gold-soft); color: #04201d; }
.z-float-top {
  bottom: 22px; right: 20px; background: var(--z-ink-2);
  border: 1px solid var(--z-trace); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .2s ease;
}
.z-float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 768px) { .z-float-top { left: 20px; right: auto; } }
@media (max-width: 767px) { .z-float-top { bottom: 150px; } }

/* ============================================================
   COURSE CATALOGUE
   ============================================================ */
.course-catalogue-hero {
  background:
    radial-gradient(circle at 3% 6%, rgba(16, 212, 136, .15), transparent 28rem),
    linear-gradient(135deg, #fbfffc 0%, #f1fcf5 50%, #f8fbf9 100%);
  border-bottom: 1px solid #dfeee5;
  overflow: hidden;
  padding: 4.5rem 0;
}
.course-kicker {
  color: #087746;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.course-catalogue-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.45rem);
  line-height: .99;
  margin: 0;
  max-width: 730px;
}
.course-catalogue-hero h1 span { color: #09834e; display: block; }
.course-hero-copy {
  color: #52635a;
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 1.45rem 0 1.75rem;
  max-width: 640px;
}
.course-search {
  align-items: center;
  background: #fff;
  border: 1px solid #cfe3d6;
  border-radius: 13px;
  box-shadow: 0 10px 28px rgba(17, 87, 52, .09);
  display: flex;
  gap: .75rem;
  max-width: 690px;
  padding: .48rem .5rem .48rem 1.05rem;
}
.course-search > i { color: #07854d; font-size: 1.15rem; }
.course-search input {
  background: transparent;
  border: 0;
  color: var(--z-ink);
  flex: 1;
  min-width: 0;
  outline: 0;
  padding: .48rem 0;
}
.course-search input::placeholder { color: #8a9990; opacity: 1; }
.course-search .btn { border-radius: 9px; padding: .68rem 1.1rem; white-space: nowrap; }
.course-popular-searches { align-items: center; display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.course-popular-searches > span { color: #65746b; font-size: .84rem; font-weight: 600; }
.course-popular-searches a {
  background: rgba(255, 255, 255, .75);
  border: 1px solid #d6e8dc;
  border-radius: 999px;
  color: #296746;
  font-size: .78rem;
  font-weight: 600;
  padding: .32rem .68rem;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.course-popular-searches a:hover { background: #e0f7e8; border-color: #93d5aa; color: #075d36; }
.course-hero-visual { height: 505px; margin: 0 auto; max-width: 420px; position: relative; }
.course-hero-image {
  border: 9px solid rgba(255, 255, 255, .84);
  border-radius: 28px;
  box-shadow: 0 22px 42px rgba(16, 73, 45, .16);
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  position: relative;
  width: 100%;
  z-index: 1;
}
.course-hero-orbit { border: 1px solid #b3e5c5; border-radius: 50%; position: absolute; z-index: 0; }
.course-hero-orbit-one { height: 300px; left: -80px; top: 22px; width: 300px; }
.course-hero-orbit-two { background: rgba(119, 224, 160, .16); bottom: -65px; height: 230px; right: -70px; width: 230px; }
.course-hero-float {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d6eadc;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(20, 74, 48, .12);
  color: #637168;
  display: flex;
  font-size: .71rem;
  gap: .55rem;
  line-height: 1.25;
  padding: .62rem .72rem;
  position: absolute;
  z-index: 2;
}
.course-hero-float i { color: #0b9658; font-size: 1.35rem; }
.course-hero-float strong { color: #162a1e; display: block; font-size: .77rem; margin-bottom: .12rem; }
.course-hero-float-top { right: -65px; top: 59px; }
.course-hero-float-bottom { bottom: 40px; left: -76px; }

.course-categories-section { background: #fff; padding: 4.3rem 0 2.25rem; }
.course-section-heading,
.course-listing-toolbar { align-items: end; display: flex; gap: 1.25rem; justify-content: space-between; }
.course-section-heading h2,
.course-listing-toolbar h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin: 0; }
.course-listing-toolbar h2 span { color: #6e7d74; font-size: .69em; font-weight: 500; }
.course-view-all { color: #087b48; font-size: .91rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.course-view-all i { margin-left: .25rem; transition: transform .2s ease; }
.course-view-all:hover { color: #054e2e; }
.course-view-all:hover i { transform: translateX(3px); }
.course-category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1.55rem;
}
.course-category-card {
  align-items: center;
  background: #f6fbf7;
  border: 1px solid #e0eee4;
  border-radius: 14px;
  color: #1e3527;
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .7rem;
  min-height: 88px;
  padding: .85rem;
  text-decoration: none;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.course-category-card:hover,
.course-category-card.is-active {
  background: #ecfbf1;
  border-color: #85cf9d;
  box-shadow: 0 10px 20px rgba(12, 104, 58, .08);
  color: #075d36;
  transform: translateY(-3px);
}
.course-category-icon { align-items: center; background: #ddf7e6; border-radius: 10px; color: #07854d; display: inline-flex; flex: 0 0 38px; font-size: 1.15rem; height: 38px; justify-content: center; }
.course-category-card.is-active .course-category-icon { background: #0a8b51; color: #fff; }
.course-category-arrow { color: #6f8978; font-size: .95rem; margin-left: auto; }

.course-listing-section { background: #fbfdfb; padding: 2.4rem 0 5rem; }
.course-sort-form { align-items: center; display: flex; flex-wrap: wrap; gap: .65rem; }
.course-sort-form label { color: #617069; font-size: .88rem; font-weight: 600; }
.course-sort-form select {
  background-color: #fff;
  border: 1px solid #d3e5d9;
  border-radius: 8px;
  color: #20342a;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  outline-color: #16a660;
  padding: .6rem 2.35rem .6rem .8rem;
}
.course-mode-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.55rem 0; }
.course-mode-tab {
  background: #fff;
  border: 1px solid #dbeadf;
  border-radius: 999px;
  color: #53655a;
  font-size: .84rem;
  font-weight: 700;
  padding: .48rem .72rem;
  text-decoration: none;
  transition: all .2s ease;
}
.course-mode-tab span { background: #f0f6f1; border-radius: 999px; font-size: .72rem; margin-left: .25rem; padding: .12rem .35rem; }
.course-mode-tab:hover,
.course-mode-tab.is-active { background: #087d48; border-color: #087d48; color: #fff; }
.course-mode-tab:hover span,
.course-mode-tab.is-active span { background: rgba(255, 255, 255, .19); }
.course-filter-summary { align-items: center; background: #effaf2; border: 1px solid #d5eddb; border-radius: 10px; color: #4b6253; display: flex; font-size: .88rem; gap: 1rem; justify-content: space-between; margin-bottom: 1.35rem; padding: .72rem .9rem; }
.course-filter-summary a { color: #087847; font-weight: 700; text-decoration: none; white-space: nowrap; }
.course-filter-summary a:hover { color: #044d2d; }
.course-listing-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }
.course-listing-card {
  background: #fff;
  border: 1px solid #dfe9e2;
  border-radius: 15px;
  box-shadow: 0 5px 16px rgba(24, 65, 42, .045);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.course-listing-card:hover { border-color: #91cfaa; box-shadow: 0 17px 31px rgba(24, 65, 42, .12); transform: translateY(-4px); }
.course-card-media { align-items: center; color: #fff; display: flex; height: 145px; justify-content: center; overflow: hidden; position: relative; }
.course-card-media::before { background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 42%); content: ''; inset: 0; position: absolute; }
.course-card-media.is-data { background: linear-gradient(135deg, #0b7660, #1cbe82); }
.course-card-media.is-web { background: linear-gradient(135deg, #5c35a7, #a464d7); }
.course-card-media.is-java { background: linear-gradient(135deg, #b04b2f, #e58745); }
.course-card-media.is-python { background: linear-gradient(135deg, #126c8c, #36b6a0); }
.course-card-media.is-general { background: linear-gradient(135deg, #187649, #5cba77); }
.course-card-media > i { font-size: 2.85rem; opacity: .96; position: relative; }
.course-card-media > span:not(.course-card-badge) { bottom: 1rem; font-size: .7rem; font-weight: 700; left: 1rem; letter-spacing: .09em; position: absolute; text-transform: uppercase; }
.course-card-media img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.course-listing-card:hover .course-card-media img { transform: scale(1.045); }
.course-card-badge { background: rgba(255,255,255,.94); border-radius: 999px; color: #087442; font-size: .67rem; font-weight: 700; padding: .34rem .55rem; position: absolute; right: .75rem; top: .75rem; }
.course-card-content { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.course-card-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .7rem; }
.course-card-meta span { align-items: center; color: #687a70; display: inline-flex; font-size: .73rem; font-weight: 600; gap: .27rem; }
.course-card-meta i { color: #0a8d52; font-size: .83rem; }
.course-card-content h3 { font-size: 1.06rem; line-height: 1.26; margin: 0; }
.course-card-content h3 a { color: var(--z-ink); text-decoration: none; }
.course-card-content h3 a:hover { color: #087d48; }
.course-card-description {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #617169;
  display: -webkit-box;
  font-size: .83rem;
  line-height: 1.48;
  margin: .6rem 0 1rem;
  overflow: hidden;
}
.course-card-footer { border-top: 1px solid #ebf1ed; margin-top: auto; padding-top: .85rem; }
.course-card-price { align-items: baseline; display: flex; flex-wrap: wrap; gap: .32rem .5rem; }
.course-card-price-label { color: #809087; flex-basis: 100%; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.course-card-price strong { color: #14281c; font-family: 'Space Grotesk', sans-serif; font-size: 1.17rem; }
.course-card-price del { color: #8c9991; font-size: .75rem; }
.course-card-price small { background: #e8f9ed; border-radius: 4px; color: #087b48; font-size: .65rem; font-weight: 700; padding: .15rem .28rem; }
.course-card-actions { display: grid; gap: .55rem; grid-template-columns: 1fr 1fr; margin-top: .85rem; }
.course-card-actions .btn { align-items: center; display: inline-flex; font-size: .75rem; justify-content: center; padding: .55rem .4rem; white-space: nowrap; }
.btn-outline-course { background: #fff; border: 1px solid #b9d9c3; color: #087545; font-weight: 700; }
.btn-outline-course:hover { background: #effaf2; border-color: #087545; color: #075e37; }
.course-empty-state { background: #fff; border: 1px dashed #bdd9c5; border-radius: 16px; margin-top: .5rem; padding: 3.6rem 1.25rem; }
.course-empty-state h3 { font-size: 1.35rem; margin: .9rem 0 .35rem; }
.course-empty-state p { color: #6a796f; margin-bottom: 1.15rem; }
.course-empty-icon { align-items: center; background: #e7f8ec; border-radius: 50%; color: #07854d; display: inline-flex; font-size: 1.45rem; height: 52px; justify-content: center; width: 52px; }

@media (max-width: 1199px) {
  .course-hero-float-top { right: -24px; }
  .course-hero-float-bottom { left: -35px; }
}
@media (max-width: 991px) {
  .course-catalogue-hero { padding: 3.75rem 0; }
  .course-hero-visual { height: 470px; margin-top: .25rem; }
  .course-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .course-listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .course-catalogue-hero { padding: 3.1rem 0; }
  .course-hero-copy { font-size: .98rem; }
  .course-search { align-items: stretch; flex-wrap: wrap; gap: .55rem; padding: .65rem .7rem; }
  .course-search > i { align-self: center; }
  .course-search input { flex-basis: calc(100% - 2rem); }
  .course-search .btn { flex: 1 0 100%; }
  .course-hero-visual { height: 430px; margin-top: .3rem; max-width: 355px; }
  .course-hero-float { font-size: .64rem; padding: .5rem; }
  .course-hero-float strong { font-size: .69rem; }
  .course-hero-float-top { right: -14px; top: 36px; }
  .course-hero-float-bottom { bottom: 25px; left: -12px; }
  .course-categories-section { padding-top: 3.2rem; }
  .course-section-heading,
  .course-listing-toolbar { align-items: flex-start; flex-direction: column; }
  .course-sort-form { width: 100%; }
  .course-sort-form select { flex: 1; }
  .course-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-category-card { font-size: .8rem; gap: .5rem; min-height: 76px; padding: .65rem; }
  .course-category-icon { flex-basis: 33px; font-size: 1rem; height: 33px; }
  .course-category-arrow { display: none; }
  .course-listing-section { padding-bottom: 3.5rem; }
  .course-filter-summary { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .course-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .course-catalogue-hero h1 { font-size: 2.38rem; }
  .course-popular-searches { gap: .42rem; }
  .course-popular-searches a { font-size: .72rem; padding: .28rem .5rem; }
  .course-hero-visual { height: 385px; max-width: 310px; }
  .course-hero-image { border-radius: 22px; border-width: 6px; }
  .course-hero-float i { display: none; }
  .course-hero-float-top { right: -18px; }
  .course-hero-float-bottom { left: -18px; }
  .course-category-grid { gap: .65rem; }
  .course-category-card { font-size: .72rem; }
  .course-listing-grid { grid-template-columns: 1fr; }
  .course-card-media { height: 165px; }
}
