:root {
  --navy: #0F5C56;
  --navy-soft: #16847B;
  --navy-deep: #083834;
  --navy-ultra: #041F1D;
  --gold: #D98E04;
  --gold-light: #F5B025;
  --gold-glow: rgba(217, 142, 4, 0.35);
  --gold-ink: #3a2600;
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --text: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-light: rgba(226, 232, 240, 0.8);
  --white: #ffffff;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 92, 86, 0.06);
  --shadow: 0 6px 24px rgba(15, 92, 86, 0.08);
  --shadow-lg: 0 14px 44px rgba(15, 92, 86, 0.14);
  --shadow-glow: 0 0 28px rgba(217, 142, 4, 0.22);
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.section {
  padding: 80px 0;
  position: relative
}

.section-tight {
  padding: 48px 0
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.2
}

h1 {
  font-size: 2.8rem;
  line-height: 1.15
}

h2 {
  font-size: 2.1rem;
  line-height: 1.2
}

h3 {
  font-size: 1.35rem
}

h4 {
  font-size: 1.05rem
}

p {
  margin: 0 0 1em
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.65
}

/* Course discovery filter bar — a single, left-aligned row on desktop/
   tablet. Uses a compound selector (form.course-filter-bar) specifically
   because .card — applied to the same element — sets its own
   display:flex/flex-direction:column later in this file; with equal
   class-only specificity, .card's column direction was silently winning
   and stacking every field vertically. The higher-specificity selector
   here guarantees this rule wins regardless of source order, rather than
   depending on staying below .card in the file. Fixed pixel widths (not
   flex-grow) keep every field a predictable size so they actually fit in
   one row instead of wrapping unpredictably. */
form.course-filter-bar {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  align-items: end;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
form.course-filter-bar .form-field {
  margin-bottom: 0;
  flex: 0 0 auto;
}
form.course-filter-bar .filter-field-search { width: 220px; }
form.course-filter-bar .filter-field-select { width: 150px; }
form.course-filter-bar .filter-field-price { width: 110px; }
@media (max-width: 900px) {
  form.course-filter-bar {
    flex-wrap: wrap;
  }
  form.course-filter-bar .filter-field-search,
  form.course-filter-bar .filter-field-select,
  form.course-filter-bar .filter-field-price {
    width: 100%;
  }
}

.eyebrow {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: linear-gradient(135deg, rgba(245, 197, 24, .22), rgba(217, 142, 4, .12));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(217, 142, 4, 0.2)
}

.section-hdr {
  max-width: 720px;
  margin-bottom: 48px
}

.section-hdr.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

/* Page Transition Curtain */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s cubic-bezier(0.4, 0, 0.2, 1)
}

.page-transition-curtain.active {
  opacity: 1;
  pointer-events: all
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  font-family: var(--sans);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform
}

.btn:hover {
  transform: translateY(-2px)
}

.btn:active {
  transform: translateY(0);
  transition-duration: .05s
}

.btn-gold {
  background: linear-gradient(135deg, #F5C518 0%, #D98E04 100%);
  color: var(--gold-ink);
  box-shadow: 0 4px 14px rgba(217, 142, 4, .3);
  font-weight: 800
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffd438 0%, #e69a0a 100%);
  box-shadow: 0 8px 26px rgba(217, 142, 4, .45)
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 92, 86, .25)
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 8px 24px rgba(15, 92, 86, .38);
  color: #fff
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .02)
}

.btn-outline:hover {
  border-color: var(--navy-soft);
  background: rgba(15, 92, 86, .06);
  color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(15, 92, 86, .1)
}

.btn-outline-light {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, .3);
  color: #fff
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2)
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px
}

.btn-block {
  width: 100%;
  justify-content: center
}

.btn-sm {
  padding: 8px 16px;
  font-size: .82rem;
  border-radius: 8px
}

.btn-glow {
  position: relative;
  overflow: hidden
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform .75s ease
}

.btn-glow:hover::after {
  transform: rotate(30deg) translateX(100%)
}

/* Top Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all .25s ease
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px
}

/* Interactive Brand Logo */
.brand-interactive-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  transition: all .2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  cursor: pointer
}

.brand-interactive-btn:hover {
  background: rgba(15, 92, 86, 0.06);
  border-color: rgba(15, 92, 86, 0.12);
  transform: scale(1.02)
}

.brand-interactive-btn:active,
.brand-interactive-btn.brand-pressed {
  transform: scale(0.96);
  background: rgba(15, 92, 86, 0.12)
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 3px 10px rgba(15, 92, 86, 0.25);
  transition: transform .2s ease
}

.brand-interactive-btn:hover .brand-mark {
  transform: rotate(-4deg) scale(1.05)
}

.logo-bar-base {
  transition: fill .2s ease
}

.logo-bar-1,
.logo-bar-2,
.logo-bar-3 {
  transform-origin: bottom;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.brand-interactive-btn:hover .logo-bar-1 {
  transform: scaleY(1.15)
}

.brand-interactive-btn:hover .logo-bar-2 {
  transform: scaleY(1.22)
}

.brand-interactive-btn:hover .logo-bar-3 {
  transform: scaleY(1.12)
}

.brand-name-wrap {
  display: flex;
  flex-direction: column;
  position: relative
}

.brand-text-base {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--navy)
}

.brand-text-accent {
  color: var(--gold);
  font-weight: 800;
  margin-left: 1px;
  background: linear-gradient(135deg, #D98E04 0%, #F5B025 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: shimmerGold 4s infinite linear
}

.brand-baseline-line {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--navy-soft), var(--gold));
  position: absolute;
  bottom: -2px;
  left: 0;
  border-radius: 2px;
  transition: width .25s ease
}

.brand-interactive-btn:hover .brand-baseline-line {
  width: 100%
}

@keyframes shimmerGold {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.25) drop-shadow(0 0 3px rgba(217, 142, 4, 0.4));
  }
}

/* Top-Center Header & Menu Container Card */
.nav-center-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 92, 86, 0.12);
  box-shadow: 0 4px 20px rgba(15, 92, 86, 0.06);
  border-radius: 999px;
  padding: 4px 8px;
  display: flex;
  align-items: center
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--muted);
  transition: all .18s ease;
  position: relative;
  white-space: nowrap
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(15, 92, 86, 0.07)
}

.nav-links a.active {
  color: var(--navy-deep);
  background: rgba(15, 92, 86, 0.12);
  font-weight: 750
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold)
}

/* Nav CTAs */
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center
}

/* Organization logo/name slider — auto-scrolling marquee, pauses on hover,
   built from CSS animation over a doubled list (rendered twice in the
   template) so the loop is seamless with no visible jump. */
.logo-slider-track {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-slider-inner {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 8px 24px;
  animation: logoScroll 40s linear infinite;
}
.logo-slider-track:hover .logo-slider-inner {
  animation-play-state: paused;
}
.logo-slider-item {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--muted, #5b6577);
  font-size: 1rem;
  white-space: nowrap;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-slider-inner { animation: none; overflow-x: auto; }
}

/* Nav search + language toggle */
.nav-utility {
  display: flex;
  align-items: center;
  gap: 14px;
}
.next-steps-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.next-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.next-step-num {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold, #D98E04);
  min-width: 32px;
}

/* Resources dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 190px;
  padding: 8px 0;
  z-index: 60;
  list-style: none;
  margin: 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: rgba(15, 92, 86, 0.06);
}
.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-search-toggle {
  background: rgba(15, 92, 86, 0.05);
  border: 1px solid rgba(15, 92, 86, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-search-toggle:hover { background: rgba(15, 92, 86, 0.12); }
.nav-search-form {
  position: absolute;
  right: 0;
  top: 44px;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 50;
}
.nav-search-form.open {
  width: 260px;
  opacity: 1;
}
.nav-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  font-size: 0.9rem;
}
.nav-lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-lang-toggle a {
  color: var(--muted, #5b6577);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
}
.nav-lang-toggle a.active {
  color: var(--navy);
  background: rgba(15, 92, 86, 0.08);
}
.nav-lang-toggle span {
  color: var(--line, #e2e8f0);
}

.btn-outline-nav {
  background: rgba(15, 92, 86, 0.05);
  border-color: rgba(15, 92, 86, 0.2);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .84rem
}

.btn-outline-nav:hover {
  background: rgba(15, 92, 86, 0.12);
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(15, 92, 86, 0.12)
}

.btn-courses-cta {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .84rem
}

.btn-arrow-icon {
  transition: transform .18s ease
}

.btn-courses-cta:hover .btn-arrow-icon {
  transform: translateX(3px)
}

.cta-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px
}

.nav-toggle .bar {
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .2s ease
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 18px 24px 24px
}

.mobile-nav-drawer.show {
  display: block
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px
}

.mobile-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg)
}

.mobile-link.active {
  background: rgba(15, 92, 86, 0.1);
  color: var(--navy);
  font-weight: 750
}

/* Global Talk to Expert Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease
}

.modal-backdrop.active {
  display: flex;
  opacity: 1
}

.modal-card {
  background: #ffffff;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  max-width: 540px;
  width: 100%;
  padding: 34px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: scale(0.92) translateY(20px);
  transition: transform .28s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0)
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all .18s ease
}

.modal-close-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: rotate(90deg)
}

.modal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(15, 92, 86, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold)
}

.modal-title {
  font-size: 1.45rem;
  margin: 0 0 6px;
  color: var(--navy-deep)
}

.modal-subtitle {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5
}

.modal-trainer-trust {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted)
}

.trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 92, 86, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex: none
}

.modal-success-state {
  text-align: center;
  padding: 24px 0
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(15, 92, 86, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px
}

/* Enhanced Hero Section */
.hero-enhanced {
  background: linear-gradient(155deg, #072b28 0%, #0F5C56 50%, #16847B 100%);
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(217, 142, 4, 0.18) 0%, transparent 45%), radial-gradient(circle at 10% 80%, rgba(22, 132, 123, 0.3) 0%, transparent 50%);
  pointer-events: none
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1)
}

.hero-title {
  color: #ffffff;
  font-size: 2.75rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25)
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  align-items: center
}

/* CORE Professional Trainer Card */
.core-trainer-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all .22s ease
}

.core-trainer-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(217, 142, 4, 0.4);
  transform: translateY(-2px)
}

.trainer-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px
}

.trainer-avatar-ring {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #ffcf48 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex: none;
  box-shadow: 0 4px 12px rgba(217, 142, 4, 0.4)
}

.trainer-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: .65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff
}

.trainer-meta {
  flex: 1
}

.trainer-kicker {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light)
}

.trainer-headline {
  font-size: 1.12rem;
  color: #ffffff;
  margin: 2px 0 4px;
  font-weight: 800
}

.trainer-desc {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.4
}

.trainer-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px
}

.trainer-stat-pill {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  transition: all .18s ease
}

.trainer-stat-pill:hover {
  background: rgba(217, 142, 4, 0.2);
  border-color: rgba(217, 142, 4, 0.4)
}

.stat-highlight {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--gold-light)
}

.stat-caption {
  display: block;
  font-size: .68rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
  line-height: 1.2
}

/* Right-Aligned Featured Course Card */
.featured-card-wrapper {
  position: relative
}

.featured-card-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(217, 142, 4, 0.3) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1
}

.featured-course-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: var(--r-xl);
  padding: 30px;
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all .28s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.featured-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32)
}

.featured-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px
}

.tag-featured {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold-ink);
  background: rgba(245, 197, 24, 0.2);
  padding: 4px 10px;
  border-radius: 6px
}

.tag-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--navy-soft)
}

.pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite
}

.featured-seal-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px
}

.featured-course-title {
  font-size: 1.35rem;
  margin: 0 0 8px;
  color: var(--navy-deep)
}

.featured-course-summary {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px
}

.featured-perks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--r)
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text)
}

.perk-item svg {
  color: var(--navy-soft);
  flex: none
}

.featured-bottom-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line)
}

.price-kicker {
  display: block;
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600
}

.price-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy)
}

/* Core Domain Grid Section */
.domain-grid-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 100%)
}

.domain-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.domain-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all .24s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column
}

.domain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 92, 86, 0.3)
}

.domain-card-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--navy-soft), var(--gold))
}

.domain-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%
}

.domain-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 92, 86, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
  transition: transform .2s ease
}

.domain-card:hover .domain-icon-wrap {
  transform: scale(1.1) rotate(4deg);
  background: rgba(15, 92, 86, 0.15)
}

.domain-kicker {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 4px
}

.domain-title {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--navy-deep)
}

.domain-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px
}

.domain-chip {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--navy);
  border: 1px solid var(--line)
}

.domain-action-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 750;
  color: var(--navy);
  margin-top: auto
}

.domain-action-link svg {
  transition: transform .18s ease
}

.domain-card:hover .domain-action-link svg {
  transform: translateX(4px)
}

/* Feature Learning Paths Section */
.learning-paths-section {
  background: #ffffff
}

.path-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 56px
}

.path-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg);
  padding: 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
  gap: 8px;
  row-gap: 10px;
  max-width: 900px
}

.path-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  color: var(--muted);
  transition: all .18s ease
}

.path-tab:hover {
  color: var(--navy)
}

.path-tab.active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 92, 86, 0.25)
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  font-size: .68rem;
  font-weight: 800;
  padding: 0 5px
}

.path-tab:not(.active) .tab-badge {
  background: var(--line);
  color: var(--text)
}

.path-panel {
  display: none
}

.path-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  animation: fadePanel .3s ease
}

@keyframes fadePanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Course Mini Card */
.course-mini-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all .22s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.course-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 92, 86, 0.25)
}

.mini-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 6px
}

.tag-cert {
  background: rgba(217, 142, 4, 0.15);
  color: var(--gold-ink);
  border: 1px solid rgba(217, 142, 4, 0.25)
}

.tag-skill {
  background: rgba(15, 92, 86, 0.1);
  color: var(--navy);
  border: 1px solid rgba(15, 92, 86, 0.15)
}

.mini-duration {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted)
}

.domain-sub-kicker {
  font-size: .72rem;
  font-weight: 750;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px
}

.mini-course-title {
  font-size: 1.15rem;
  margin: 4px 0 8px;
  color: var(--navy-deep);
  line-height: 1.3
}

.mini-course-summary {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1
}

.mini-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 14px
}

.price-val-wrap {
  display: flex;
  align-items: center;
  gap: 6px
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy)
}

.price-discount-pill {
  font-size: .7rem;
  font-weight: 800;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 2px 6px;
  border-radius: 4px
}

.seats-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy-soft);
  background: rgba(15, 92, 86, 0.06);
  padding: 3px 8px;
  border-radius: 999px
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981
}

.course-mini-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.btn-learn-more {
  padding: 9px 12px;
  font-size: .82rem;
  justify-content: space-between
}

.cta-arrow-slide {
  transition: transform .18s ease
}

.btn-learn-more:hover .cta-arrow-slide {
  transform: translateX(3px)
}

.btn-batches-cta {
  padding: 9px 12px;
  font-size: .82rem;
  justify-content: space-between
}

.batch-count-dot {
  font-size: .85rem
}

/* Certificate Showcase Section */
.certificate-showcase-section {
  background: linear-gradient(180deg, #EDF2F7 0%, #F8FAFC 100%)
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.certificate-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all .24s cubic-bezier(0.34, 1.56, 0.64, 1)
}

.certificate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold)
}

.cert-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px
}

.cert-seal {
  display: flex;
  align-items: center;
  gap: 6px
}

.cert-seal-icon {
  font-size: 1.3rem
}

.cert-board-name {
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .06em;
  color: var(--navy)
}

.cert-level-badge {
  font-size: .7rem;
  font-weight: 800;
  color: var(--gold-ink);
  background: rgba(217, 142, 4, 0.18);
  padding: 3px 8px;
  border-radius: 6px
}

.cert-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--navy-deep);
  line-height: 1.3
}

.cert-desc {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1
}

.cert-specs {
  background: var(--bg);
  border-radius: var(--r);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px
}

.cert-spec-item {
  display: flex;
  justify-content: space-between;
  font-size: .78rem
}

.spec-label {
  color: var(--muted);
  font-weight: 600
}

.spec-value {
  color: var(--navy);
  font-weight: 750
}

.cert-card-footer {
  margin-top: auto
}

/* Upcoming Batches Table */
.batches-table-section {
  background: #ffffff
}

.hdr-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px
}

.live-cohort-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 800;
  color: var(--navy-soft);
  background: rgba(15, 92, 86, 0.08);
  padding: 4px 10px;
  border-radius: 999px
}

.table-card-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow: hidden
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.programs-table-enhanced {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px
}

.programs-table-enhanced th {
  text-align: left;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #F8FAFC
}

.programs-table-enhanced td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  vertical-align: middle
}

.programs-table-enhanced tr:last-child td {
  border-bottom: none
}

.programs-table-enhanced tr:hover td {
  background: rgba(15, 92, 86, 0.02)
}

.table-course-info strong {
  display: block;
  color: var(--navy);
  font-size: .96rem
}

.table-cat-sub {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px
}

.pill-mode {
  font-size: .74rem;
  font-weight: 750;
  background: rgba(15, 92, 86, 0.08);
  color: var(--navy-soft);
  padding: 4px 10px;
  border-radius: 999px
}

.table-date-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600
}

.batch-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 750;
  color: #c2410c;
  background: #fff7ed;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ffedd5
}

.status-dot-orange {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ea580c
}

.table-action-btns {
  display: flex;
  gap: 8px
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px
}

.why-item {
  background: #F8FAFC;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: left;
  transition: all .2s ease
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 92, 86, 0.25);
  background: #ffffff
}

.why-item .card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px
}

.why-item h4 {
  font-size: .98rem;
  margin: 0 0 6px;
  color: var(--navy)
}

.why-item p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5
}

/* Testimonials */
.trust-section {
  background: #F8FAFC
}

.testimonial-enhanced {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  font-family: serif;
  margin-bottom: -10px
}

.testimonial-enhanced p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 20px;
  flex: 1
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 92, 86, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: none
}

.testimonial-author {
  font-weight: 800;
  font-size: .9rem;
  color: var(--navy)
}

.testimonial-by {
  font-size: .78rem;
  color: var(--muted)
}

/* Final CTA Band */
.cta-band {
  background: linear-gradient(155deg, #072b28 0%, #0F5C56 50%, #16847B 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center
}

.cta-band-bg-accent {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(217, 142, 4, 0.2) 0%, transparent 60%);
  pointer-events: none
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto
}

.cta-band h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px
}

.cta-band-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px
}

.cta-band-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

/* Footer */
footer.site-footer {
  background: #072b28;
  color: rgba(255, 255, 255, .75);
  padding: 64px 0 32px;
  margin-top: 0
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px
}

.foot-grid h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .88rem
}

.foot-grid ul a:hover {
  color: var(--gold)
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 44px;
  padding-top: 24px;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px
}

/* Forms */
.form-field {
  margin-bottom: 16px
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 6px;
  color: var(--navy)
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .92rem;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 92, 86, 0.12)
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.form-hint {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px
}

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .9rem
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0
}

/* Grid helper utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.register-grid {
  grid-template-columns: 1.7fr 1fr
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column
}

.card:hover {
  box-shadow: var(--shadow-lg)
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .domain-cards-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .certificate-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .path-panel.active {
    grid-template-columns: repeat(2, 1fr)
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width: 768px) {
  .nav-center-card {
    display: none
  }

  .nav-cta .btn-expert-cta {
    display: none
  }

  .nav-toggle {
    display: flex
  }

  .hero-title {
    font-size: 2.1rem
  }

  .trainer-stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .domain-cards-grid {
    grid-template-columns: 1fr
  }

  .certificate-grid {
    grid-template-columns: 1fr
  }

  .path-panel.active {
    grid-template-columns: 1fr
  }

  .why-grid {
    grid-template-columns: 1fr
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .course-mini-ctas {
    grid-template-columns: 1fr
  }
}

/* Course Detail Page & Shared Components */
.course-header {
  background: linear-gradient(155deg, #072b28 0%, #0F5C56 50%, #16847B 100%);
  color: #fff;
  padding: 64px 0 54px;
  position: relative
}

.course-header .tag {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3)
}

.course-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .88)
}

.course-meta strong {
  color: #fff
}

.course-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 54px 0;
  align-items: start
}

@media (max-width: 900px) {
  .course-body {
    grid-template-columns: 1fr;
    gap: 32px
  }
  .sticky-card {
    position: static
  }
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s ease
}

.accordion-item.open {
  border-color: var(--navy-soft)
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-weight: 750;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--navy);
  font-family: var(--sans)
}

.accordion-panel {
  padding: 0 22px 18px;
  font-size: .92rem;
  color: var(--muted);
  display: none;
  line-height: 1.6
}

.accordion-item.open .accordion-panel {
  display: block
}

.sticky-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px
}

.price-now {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy)
}

.price-was {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through
}

.discount-badge {
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
  font-size: .76rem;
  padding: 4px 10px;
  border-radius: 6px
}

.session-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  font-size: .88rem
}

.session-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.session-list li:last-child {
  border-bottom: none
}

.pill {
  display: inline-block;
  font-size: .74rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 92, 86, .08);
  color: var(--navy-soft)
}

/* Admin */
/* Modern collapsible admin sidebar */

/* Admin layout */

.admin-shell {
  display: flex;
  min-height: 100vh;
  --sidebar-width: 250px;
}

.admin-main {
  flex: 1;
  min-width: 0;
  background: var(--bg);
}

.admin-topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px;
}

.topbar-context {
  display: flex;
  flex-direction: column;
}

.topbar-kicker {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-title {
  margin-top: 3px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.78rem;
}

.admin-user strong,
.admin-user small {
  display: block;
}

.admin-user small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy);
  background: #e4f2f0;
  font-weight: 800;
}

/* Sidebar */

.admin-sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 22px 14px;
  color: #fff;
  background:
    radial-gradient(circle at top right,
      rgba(44, 170, 157, 0.22),
      transparent 32%),
    linear-gradient(180deg, #0b3b3a 0%, #082f30 100%);
  overflow: hidden;
  transition: width 220ms ease, transform 220ms ease;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 30px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #fff;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: var(--gold-ink);
  background: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
}

.sidebar-collapse-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.sidebar-collapse-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.sidebar-label {
  margin: 0 12px 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-nav a,
.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.admin-nav a:hover,
.sidebar-footer a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.admin-nav a.active {
  color: #fff;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.07));
  box-shadow: inset 3px 0 var(--gold);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 20px;
  min-width: 20px;
  color: #a7d9d2;
  font-size: 1.05rem;
  text-align: center;
}

.admin-nav a.active .nav-icon {
  color: var(--gold);
}

.nav-text {
  transition: opacity 160ms ease;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer a {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.79rem;
}

/* Sidebar collapsed state */

.admin-shell.sidebar-collapsed {
  --sidebar-width: 78px;
}

.sidebar-collapsed .admin-sidebar {
  width: 78px;
  padding-right: 12px;
  padding-left: 12px;
}

.sidebar-collapsed .sidebar-header {
  justify-content: center;
}

.sidebar-collapsed .brand-text,
.sidebar-collapsed .sidebar-label,
.sidebar-collapsed .nav-text {
  width: 0;
  opacity: 0;
  overflow: hidden;
}

.sidebar-collapsed .sidebar-brand {
  justify-content: center;
}

.sidebar-collapsed .sidebar-collapse-btn {
  position: absolute;
  left: 58px;
  transform: rotate(180deg);
}

.sidebar-collapsed .admin-nav a,
.sidebar-collapsed .sidebar-footer a {
  justify-content: center;
  padding-right: 8px;
  padding-left: 8px;
}

.sidebar-collapsed .admin-nav a:hover,
.sidebar-collapsed .sidebar-footer a:hover {
  transform: none;
}

/* Dashboard */

.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.page-heading h1 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.85rem;
}

.page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(22, 132, 123, 0.14);
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    0 4px 14px -2px rgba(15, 92, 86, 0.08),
    0 2px 6px -1px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  outline: none;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 280ms cubic-bezier(0.2, 0.8, 0.25, 1),
    border-color 280ms ease;
}

.stat-card-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #16847b 0%, #0d544e 100%);
  opacity: 0;
  transform: scale(0.92);
  border-radius: 16px;
  transition:
    opacity 280ms cubic-bezier(0.2, 0.8, 0.25, 1),
    transform 280ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

.stat-card::after {
  position: absolute;
  top: -25px;
  right: -25px;
  z-index: 1;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #e9f4f2;
  content: "";
  transition:
    background 280ms ease,
    transform 280ms ease,
    opacity 280ms ease;
}

.stat-card .num {
  position: relative;
  z-index: 2;
  color: var(--navy);
  font-size: 1.95rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  transition: color 240ms ease, transform 240ms ease;
}

.stat-card .label {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  transition: color 240ms ease;
}

/* Hover pop-up animation and fill with rich color */
.stat-card:hover,
.stat-card:focus-visible {
  transform: translateY(-8px) scale(1.025);
  border-color: transparent;
  box-shadow:
    0 20px 38px -8px rgba(15, 92, 86, 0.32),
    0 10px 18px -4px rgba(22, 132, 123, 0.22);
}

.stat-card:hover .stat-card-backdrop,
.stat-card:focus-visible .stat-card-backdrop {
  opacity: 1;
  transform: scale(1);
}

.stat-card:hover::after,
.stat-card:focus-visible::after {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.15) rotate(15deg);
}

.stat-card:hover .num,
.stat-card:focus-visible .num {
  color: #ffffff;
  transform: scale(1.03);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-card:hover .label,
.stat-card:focus-visible .label {
  color: #d1f4ee;
}

.admin-section {
  margin-top: 30px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.section-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.section-header a {
  color: var(--navy-soft);
  font-size: 0.76rem;
  font-weight: 750;
}

/* Admin tables */

.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.admin-table th {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  background: #f9fbfb;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #edf2f1;
  color: var(--text);
  font-size: 0.82rem;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr:hover {
  background: #fbfdfd;
}

.admin-table td strong {
  color: var(--navy);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.empty-state {
  padding: 36px !important;
  color: var(--muted) !important;
  text-align: center;
}

/* Mobile layout */

.sidebar-mobile-toggle {
  display: none;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 1.35rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    width: 270px;
    transform: translateX(-100%);
  }

  .admin-shell.mobile-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .sidebar-collapse-btn {
    display: none;
  }

  .sidebar-mobile-toggle {
    display: block;
    margin-right: 14px;
  }

  .admin-topbar {
    height: 68px;
    padding: 0 20px;
  }

  .admin-content {
    padding: 26px 20px 44px;
  }

  .admin-user {
    display: none;
  }

  .page-heading {
    flex-direction: column;
  }

  .stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-collapsed .admin-sidebar {
    width: 270px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .sidebar-collapsed .brand-text,
  .sidebar-collapsed .sidebar-label,
  .sidebar-collapsed .nav-text {
    width: auto;
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .dashboard-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .registrations-table {
    min-width: 0;
  }

  .registrations-table thead {
    display: none;
  }

  .registrations-table,
  .registrations-table tbody,
  .registrations-table tr,
  .registrations-table td {
    display: block;
    width: 100%;
  }

  .registrations-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .registrations-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border: 0;
    text-align: right;
  }

  .registrations-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .registrations-table tbody tr td:first-child::after {
    display: none;
  }

  .registrations-table tbody tr:hover td {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}


/* Courses page */

.course-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.course-count {
  color: var(--muted);
  font-size: 0.85rem;
}

.course-count strong {
  color: var(--navy);
  font-weight: 800;
}

.course-search {
  width: min(100%, 280px);
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.88rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.course-search::placeholder {
  color: var(--muted);
}

.course-search:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(22, 132, 123, 0.12);
}

.course-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--navy-soft);
  background: #e9f4f2;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Status badges */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: capitalize;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-published {
  border-color: #bbf7d0;
  color: #166534;
  background: #dcfce7;
}

.status-draft {
  border-color: #dce5e5;
  color: #647477;
  background: #eef2f3;
}

/* Delete button */

.btn-danger {
  border-color: #fecaca;
  color: #b42318;
  background: var(--white);
}

.btn-danger:hover {
  border-color: #efaaa5;
  color: #991b1b;
  background: #fef2f2;
  box-shadow: 0 6px 16px rgba(180, 35, 24, 0.1);
}

/* Responsive courses table */

@media (max-width: 700px) {
  .course-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .course-search {
    width: 100%;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .admin-table tr:last-child {
    border-bottom: 0;
  }

  .admin-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border: 0;
    text-align: right;
  }

  .admin-table td::before {
    flex: 0 0 auto;
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
  }

  .admin-table td[data-label="Title"] {
    align-items: flex-start;
  }

  .admin-table td[data-label="Actions"] {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    white-space: normal;
  }

  .status-badge {
    min-width: auto;
  }
}

/* Learner initials bubble */

.learner-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.learner-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid #c7e5e0;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, #e9f7f5, #cdebe6);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.learner-avatar:hover {
  border-color: var(--navy-soft);
  color: #ffffff;
  background: linear-gradient(135deg,
      var(--navy-soft),
      var(--navy));
  box-shadow:
    0 0 0 5px rgba(22, 132, 123, 0.13),
    0 8px 18px rgba(15, 92, 86, 0.22);
  transform: scale(1.12);
}

.learner-info strong {
  display: block;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.learner-info small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
}

/* Popup when hovering over the initials bubble */

.learner-cell::after {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 20;
  width: max-content;
  max-width: 240px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  content: attr(data-popup);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.learner-cell::before {
  position: absolute;
  left: 17px;
  bottom: calc(100% + 6px);
  z-index: 21;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg);
  transition: opacity 160ms ease;
}

.learner-cell:hover::after,
.learner-cell:hover::before {
  opacity: 1;
}

.learner-cell:hover::after {
  transform: translateY(0);
}

/* Additional row hover effect */

.registration-row {
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.registration-row:hover {
  background: #f5fbfa;
  box-shadow: inset 4px 0 var(--navy-soft);
}

.registration-row:hover .learner-avatar {
  transform: scale(1.08);
}

/* public/css/style.css — add after the existing table styles */

.registrations-table .person-cell,
.inquiries-table .person-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  outline: none;
  transform: translate3d(0, 0, 0);
  transition: transform 180ms ease;
}

.registrations-table tbody tr:hover .person-cell,
.inquiries-table tbody tr:hover .person-cell {
  transform: translate3d(var(--mouse-x, 0px), var(--mouse-y, 0px), 0);
}

.registrations-table .person-avatar,
.inquiries-table .person-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid #c7e5e0;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, #e9f7f5, #cdebe6);
  font-size: 0.78rem;
  font-weight: 900;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.registrations-table tbody tr:hover .person-avatar,
.inquiries-table tbody tr:hover .person-avatar,
.registrations-table .person-cell:focus-visible .person-avatar,
.inquiries-table .person-cell:focus-visible .person-avatar {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  box-shadow: 0 0 0 5px rgba(22, 132, 123, 0.13);
  transform: scale(1.1) rotate(3deg);
}

/* Same bubble style for registrations and inquiries */
.registrations-table .person-cell::after,
.inquiries-table .person-cell::after {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 50;
  width: max-content;
  max-width: 280px;
  padding: 10px 13px;
  border: 1px solid #d5e8e4;
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 92, 86, 0.18);
  content: attr(data-popup);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--bubble-x, 0px), -6px, 0) scale(0.96);
  transform-origin: top left;
  transition:
    opacity 160ms ease,
    transform 180ms cubic-bezier(.22, .8, .28, 1);
}

.registrations-table .person-cell::before,
.inquiries-table .person-cell::before {
  position: absolute;
  top: calc(100% + 7px);
  left: 18px;
  z-index: 51;
  width: 9px;
  height: 9px;
  border-right: 1px solid #d5e8e4;
  border-bottom: 1px solid #d5e8e4;
  background: #fff;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg);
  transition: opacity 160ms ease;
}

.registrations-table .person-cell:hover::after,
.inquiries-table .person-cell:hover::after,
.registrations-table .person-cell:focus-visible::after,
.inquiries-table .person-cell:focus-visible::after {
  opacity: 1;
  transform: translate3d(var(--bubble-x, 0px), 0, 0) scale(1);
}

.registrations-table .person-cell:hover::before,
.inquiries-table .person-cell:hover::before,
.registrations-table .person-cell:focus-visible::before,
.inquiries-table .person-cell:focus-visible::before {
  opacity: 1;
}

/* Scroll reveal animation */
.registrations-table tbody tr,
.inquiries-table tbody tr {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(.22, .8, .28, 1),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.registrations-table tbody tr.is-visible,
.inquiries-table tbody tr.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {

  .registrations-table .person-cell,
  .inquiries-table .person-cell {
    transform: none !important;
  }

  .registrations-table .person-avatar,
  .inquiries-table .person-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .registrations-table .person-cell::after,
  .inquiries-table .person-cell::after {
    max-width: calc(100vw - 72px);
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {

  .registrations-table tbody tr,
  .inquiries-table tbody tr,
  .person-cell,
  .person-avatar,
  .person-cell::before,
  .person-cell::after {
    animation: none;
    transition: none;
  }
}

/* Add this at the VERY BOTTOM of public/css/style.css */

.registrations-table tbody tr,
.inquiries-table tbody tr {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: table-row-in 420ms ease both;
}

.registrations-table tbody tr td,
.inquiries-table tbody tr td,
.registrations-table .person-details,
.inquiries-table .person-details,
.registrations-table .person-details strong,
.inquiries-table .person-details strong,
.registrations-table .person-details small,
.inquiries-table .person-details small {
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes table-row-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Dashboard section entrance animation */

.dashboard-table-section {
  margin-top: 38px;
  animation: dashboard-section-enter 500ms ease both;
}

@keyframes dashboard-section-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Registration rows entrance animation */

.registrations-table tbody tr {
  animation: registration-row-enter 420ms ease both;
}

.registrations-table tbody tr:nth-child(1) {
  animation-delay: 80ms;
}

.registrations-table tbody tr:nth-child(2) {
  animation-delay: 140ms;
}

.registrations-table tbody tr:nth-child(3) {
  animation-delay: 200ms;
}

@keyframes registration-row-enter {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Learner name spacing */

.learner-cell {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 3px 0;
}

.learner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.learner-info strong {
  display: block;
  line-height: 1.3;
}

.learner-info small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  white-space: nowrap;
}

/* Learner initials circle */

.learner-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid #c7e5e0;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, #e9f7f5, #cdebe6);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.learner-avatar:hover,
.person-cell:focus .learner-avatar {
  border-color: var(--navy-soft);
  color: #ffffff;
  background: linear-gradient(135deg,
      var(--navy-soft),
      var(--navy));
  box-shadow:
    0 0 0 5px rgba(22, 132, 123, 0.13),
    0 8px 18px rgba(15, 92, 86, 0.22);
  transform: scale(1.1) rotate(3deg);
}

/* Learner information popup */

.person-cell {
  position: relative;
}

.person-cell::after {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: max-content;
  max-width: 240px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  content: attr(data-popup);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.person-cell:hover::after,
.person-cell:focus::after {
  opacity: 1;
  transform: translateY(0);
}

/* Registration row hover effect */

.registrations-table tbody tr {
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.registrations-table tbody tr:hover {
  background: #f5fbfa;
  box-shadow: inset 4px 0 var(--navy-soft);
}

/* Mobile dashboard adjustments */

@media (max-width: 700px) {
  .learner-cell {
    min-width: 0;
    gap: 10px;
  }

  .learner-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .learner-info small {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .person-cell::after {
    display: none;
  }

  .registrations-table tbody tr:hover {
    box-shadow: none;
  }
}

/* Step 3: Recent registration initials bubble and hover effect */

.learner-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 4px 0;
}

.learner-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 2px solid #c7e5e0;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, #e9f7f5, #cdebe6);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.learner-avatar:hover {
  border-color: var(--navy-soft);
  color: #ffffff;
  background: linear-gradient(135deg,
      var(--navy-soft),
      var(--navy));
  box-shadow:
    0 0 0 5px rgba(22, 132, 123, 0.13),
    0 8px 18px rgba(15, 92, 86, 0.22);
  transform: scale(1.1);
}

.learner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.learner-info strong {
  color: var(--navy);
  font-size: 0.84rem;
  line-height: 1.3;
}

.learner-info small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

/* Popup bubble */

.learner-cell::after {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: max-content;
  max-width: 250px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  content: attr(data-popup);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.learner-cell:hover::after,
.learner-cell:focus::after {
  opacity: 1;
  transform: translateY(0);
}

/* Row hover effect */

.registration-row {
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.registration-row:hover {
  background: #f5fbfa;
  box-shadow: inset 4px 0 var(--navy-soft);
}

/* Mobile registration adjustments */

@media (max-width: 700px) {
  .learner-cell {
    min-width: 0;
    gap: 10px;
  }

  .learner-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .learner-cell::before,
  .learner-cell::after {
    display: none;
  }

  .learner-info small {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ==========================================================================
   UI/UX ENHANCEMENTS & ANIMATIONS
   ========================================================================== */

/* 1. Dashboard Headline Animations */
.dashboard-section-header.animated-headline {
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(22, 132, 123, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f4faf9 100%);
  box-shadow: 0 2px 8px rgba(15, 92, 86, 0.04);
}

.headline-glow-bg {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(22, 132, 123, 0.09) 0%, rgba(200, 146, 44, 0.05) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: headlineAura 8s ease-in-out infinite alternate;
}

@keyframes headlineAura {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translate(3%, 2%) scale(1.08);
    opacity: 1;
  }

  100% {
    transform: translate(-3%, -2%) scale(1.03);
    opacity: 0.8;
  }
}

.headline-content {
  position: relative;
  z-index: 1;
}

.animated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(22, 132, 123, 0.1);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  border: 1px solid rgba(22, 132, 123, 0.2);
  box-shadow: 0 1px 4px rgba(22, 132, 123, 0.08);
}

.badge-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-soft);
  box-shadow: 0 0 0 0 rgba(22, 132, 123, 0.6);
  animation: badgePulse 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes badgePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 132, 123, 0.7);
  }

  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 7px rgba(22, 132, 123, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 132, 123, 0);
  }
}

.dashboard-section-header h2 {
  margin: 2px 0 4px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.dashboard-section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* 2. "View All" Button Below Data Tables */
.dashboard-table-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-top: 1px solid #edf2f1;
  background: #fbfdfd;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 10px;
  border: 1px solid rgba(22, 132, 123, 0.18);
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 92, 86, 0.04);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.btn-view-all .arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.btn-view-all:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 92, 86, 0.16);
}

.btn-view-all:hover .arrow {
  transform: translateX(4px);
}

/* 3. Animated "New Course" and "New Resource" Buttons */
.btn-animated-shine {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dfa83c 0%, #c8922c 50%, #b88120 100%);
  color: #ffffff !important;
  font-weight: 750;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 4px 14px rgba(200, 146, 44, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.06);
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 220ms cubic-bezier(0.2, 0.8, 0.25, 1),
    filter 220ms ease;
}

.btn-animated-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: btnShineSweep 3.6s ease-in-out infinite;
}

@keyframes btnShineSweep {

  0%,
  65% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.btn-animated-shine:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 22px rgba(200, 146, 44, 0.48),
    0 3px 8px rgba(0, 0, 0, 0.1);
  filter: brightness(1.06);
}

.btn-animated-shine .btn-icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 800;
}

/* 4. Golden-Themed Status Card Box */
.status-gold-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.status-gold-card:hover {
  transform: scale(1.04);
}

.status-gold-published {
  border: 1px solid #d4af37;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #854d0e;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.status-gold-published .status-gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8922c;
  box-shadow: 0 0 6px #c8922c;
  animation: goldDotGlow 2s ease-in-out infinite alternate;
}

@keyframes goldDotGlow {
  0% {
    box-shadow: 0 0 2px #c8922c;
    transform: scale(0.9);
  }

  100% {
    box-shadow: 0 0 8px #c8922c;
    transform: scale(1.15);
  }
}

.status-gold-draft {
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #6b7280;
}

.status-gold-draft .status-gold-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
}

/* 5. Animated Action Buttons (Edit, Unpublish/Publish, Delete) */
.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform 160ms cubic-bezier(0.2, 0.8, 0.25, 1),
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.btn-action-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.btn-action-edit {
  border-color: #c7e5e0;
  background: #f0f9f8;
  color: var(--navy);
}

.btn-action-edit:hover {
  border-color: var(--navy-soft);
  background: var(--navy);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(22, 132, 123, 0.22);
}

.btn-action-publish {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.btn-action-publish:hover {
  border-color: #16a34a;
  background: #15803d;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.22);
}

.btn-action-unpublish {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.btn-action-unpublish:hover {
  border-color: #ea580c;
  background: #c2410c;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.22);
}

.btn-action-delete {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.btn-action-delete:hover {
  border-color: #ef4444;
  background: #dc2626;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* 6. Showcase Table Presentation Improvements */
.course-table-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(15, 92, 86, 0.08);
}

.showcase-table th {
  padding: 14px 18px;
  background: linear-gradient(180deg, #fbfdfd 0%, #f4f8f7 100%);
  font-weight: 800;
  color: var(--navy);
  border-bottom: 2px solid #e5eded;
}

.showcase-table td {
  padding: 16px 18px;
}

.course-title-cell {
  max-width: 280px;
}

.table-title-main {
  display: block;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.table-title-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: #f0f7f6;
  color: var(--navy);
  font-weight: 850;
  font-size: 0.82rem;
  border: 1px solid rgba(22, 132, 123, 0.12);
}

.discount-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid #fecaca;
}

.session-counter-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.72rem;
  font-weight: 750;
}

.table-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  max-width: 260px;
  overflow: hidden;
}

.table-ext-link .link-url-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-ext-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.inquiry-type-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.inquiry-type-pill.type-corporate {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.inquiry-type-pill.type-contact {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.message-preview {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 0.8rem;
}

.message-preview-full {
  max-width: 360px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}

.session-info-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.session-mode-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.company-text {
  font-weight: 700;
  color: var(--navy);
}

/* ==========================================================================
   AUTHENTICATION: LOGIN WINDOW START & LOGOUT CLOSING
   ========================================================================== */

/* Login page shell */
.login-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #071917 0%, #0c2e2a 50%, #081a17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-backdrop-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(22, 132, 123, 0.28) 0%, rgba(200, 146, 44, 0.12) 40%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: loginGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes loginGlowPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.login-window {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  margin: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 24px 60px -10px rgba(0, 0, 0, 0.45),
    0 10px 24px -5px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(22, 132, 123, 0.2);
}

/* "Window Started" Opening Animation */
.window-started-effect {
  animation: windowStarted 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes windowStarted {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(32px);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    filter: blur(0px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(180deg, #fbfdfd 0%, #edf4f3 100%);
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
  border: 1px solid #e0443e;
}

.dot-yellow {
  background: #ffbd2e;
  border: 1px solid #dea123;
}

.dot-green {
  background: #27c93f;
  border: 1px solid #1aab29;
}

.window-title {
  color: #4b6360;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.window-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e6f9ed;
  color: #166534;
  font-size: 0.65rem;
  font-weight: 800;
  border: 1px solid #bbf7d0;
}

.status-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 5px #16a34a;
}

.login-card-content {
  padding: 30px 32px 28px;
}

.brand-badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.brand-icon-box {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #16847b 0%, #0d544e 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(15, 92, 86, 0.3);
}

.brand-title {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.login-heading {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
  text-align: center;
}

.login-subheading {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.login-form .form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 13px;
  font-size: 0.95rem;
  color: var(--muted);
  pointer-events: none;
}

.login-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1.5px solid #d1e2df;
  border-radius: 11px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  background: #fbfdfd;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.login-input:focus {
  border-color: var(--navy-soft);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 132, 123, 0.15);
}

.btn-login-shine {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  margin-top: 18px;
  border-radius: 11px;
  background: linear-gradient(135deg, #16847b 0%, #0d544e 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 92, 86, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-login-shine:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 92, 86, 0.4);
  filter: brightness(1.08);
}

.btn-login-shine .btn-arrow {
  transition: transform 180ms ease;
}

.btn-login-shine:hover .btn-arrow {
  transform: translateX(4px);
}

.login-footer-hint {
  margin-top: 20px;
  text-align: center;
}

.login-footer-hint .form-hint {
  margin: 0 0 10px;
  font-size: 0.74rem;
}

.back-to-site-link {
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease;
}

.back-to-site-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.login-error-shake {
  animation: errorShake 400ms ease;
}

@keyframes errorShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

/* Logout "Window Closing" Transition */
.admin-shell.window-closing {
  animation: windowClosing 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes windowClosing {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }

  100% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    filter: blur(8px);
  }
}

.logout-closing-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 25, 23, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: overlayFadeIn 350ms ease forwards;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Admin Login Page */

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%,
      rgba(22, 132, 123, 0.22),
      transparent 35%),
    radial-gradient(circle at 90% 85%,
      rgba(217, 142, 4, 0.16),
      transparent 35%),
    #041f1d;
}

.login-backdrop-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(22, 132, 123, 0.22);
  filter: blur(100px);
  pointer-events: none;
  animation: loginGlowFloat 7s ease-in-out infinite;
}

.login-shell {
  position: relative;
  z-index: 2;
  width: min(92%, 520px);
}

.login-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.4),
    0 0 0 8px rgba(255, 255, 255, 0.03);
  animation: loginWindowEnter 700ms cubic-bezier(.22, .8, .28, 1) both;
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.78);
  background: #083834;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ff6b6b;
}

.dot-yellow {
  background: #ffd166;
}

.dot-green {
  background: #64d98b;
}

.window-title {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.window-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #98ebde;
  font-size: 0.7rem;
  font-weight: 700;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64d98b;
  box-shadow: 0 0 0 4px rgba(100, 217, 139, 0.14);
}

.login-card-content {
  padding: 42px;
}

.brand-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.brand-icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #3a2600;
  background: linear-gradient(135deg,
      #f5c518,
      #d98e04);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(217, 142, 4, 0.25);
}

.brand-title {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.login-heading {
  margin-bottom: 26px;
}

.login-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.login-heading h1 {
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 2.35rem;
}

.login-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 20px;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 70px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  padding: 4px 6px;
  border: 0;
  color: var(--navy-soft);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--gold);
}

.login-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  color: #3a2600;
  background: linear-gradient(135deg, #f5c518, #d98e04);
  box-shadow: 0 10px 22px rgba(217, 142, 4, 0.24);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(217, 142, 4, 0.34);
}

.login-submit-btn:active {
  transform: scale(0.98);
}

.login-error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #991b1b;
  background: #fef2f2;
  font-size: 0.82rem;
  font-weight: 700;
}

.login-error span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: #dc2626;
  font-size: 0.75rem;
}

.login-security-note {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.security-icon {
  color: var(--gold);
  font-size: 0.8rem;
}

.login-security-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.back-home-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.back-home-link:hover {
  color: var(--gold);
}

.login-footer-text {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  text-align: center;
}

@keyframes loginWindowEnter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loginGlowFloat {

  0%,
  100% {
    transform: translate(-30px, -10px) scale(1);
  }

  50% {
    transform: translate(40px, 30px) scale(1.12);
  }
}

@media (max-width: 600px) {
  .login-card-content {
    padding: 30px 24px;
  }

  .window-title {
    display: none;
  }

  .window-titlebar {
    justify-content: space-between;
  }

  .login-heading h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .login-backdrop-glow,
  .login-window {
    animation: none;
  }

  .login-submit-btn {
    transition: none;
  }
}



.systems-orbit-scene {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / .82;
  margin: 0 auto -34px;
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 500ms cubic-bezier(.22, .8, .28, 1);
}

.systems-orbit-scene::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(245, 176, 37, .23),
      rgba(22, 132, 123, .1) 42%,
      transparent 70%);
  filter: blur(22px);
  animation: orbitAura 6s ease-in-out infinite;
}

.orbit-grid {
  position: absolute;
  inset: 12% 14%;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit-grid-one {
  transform: rotateX(67deg) rotateZ(-18deg);
  background: repeating-radial-gradient(ellipse at center,
      transparent 0 27px,
      rgba(255, 255, 255, .07) 28px 29px);
}

.orbit-grid-two {
  transform: rotateY(70deg) rotateZ(16deg);
  background: repeating-linear-gradient(90deg,
      transparent 0 30px,
      rgba(255, 255, 255, .05) 31px 32px);
}

.orbit-ring {
  position: absolute;
  inset: 18% 8%;
  border: 1px solid rgba(245, 176, 37, .64);
  border-radius: 50%;
  transform-style: preserve-3d;
  box-shadow: 0 0 16px rgba(245, 176, 37, .14);
}

.orbit-ring-one {
  transform: rotateX(67deg) rotateZ(-22deg);
  animation: orbitSpin 13s linear infinite;
}

.orbit-ring-two {
  inset: 11% 18%;
  border-color: rgba(152, 235, 222, .65);
  transform: rotateY(67deg) rotateZ(18deg);
  animation: orbitSpinReverse 17s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow:
    0 0 0 5px rgba(245, 176, 37, .12),
    0 0 20px rgba(245, 176, 37, .8);
}

.node-a {
  top: 3%;
  left: 20%;
}

.node-b {
  right: 8%;
  bottom: 28%;
  background: #98ebde;
  box-shadow:
    0 0 0 5px rgba(152, 235, 222, .12),
    0 0 20px rgba(152, 235, 222, .75);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) translateZ(42px);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, rgba(28, 151, 139, .96), rgba(4, 31, 29, .96));
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .25),
    0 22px 42px rgba(0, 0, 0, .3),
    0 0 32px rgba(217, 142, 4, .2);
  animation: coreFloat 5s ease-in-out infinite;
}

.core-mark {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.core-pulse {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(245, 176, 37, .55);
  border-radius: 36px;
  animation: corePulse 2.4s ease-out infinite;
}

.orbit-label {
  position: absolute;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  color: rgba(255, 255, 255, .75);
  background: rgba(4, 31, 29, .35);
  backdrop-filter: blur(9px);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.label-top {
  top: 7%;
  right: 4%;
}

.label-bottom {
  bottom: 7%;
  left: 4%;
  color: var(--gold-light);
}

@keyframes orbitSpin {
  to {
    transform: rotateX(67deg) rotateZ(338deg);
  }
}

@keyframes orbitSpinReverse {
  to {
    transform: rotateY(67deg) rotateZ(-342deg);
  }
}

@keyframes coreFloat {

  0%,
  100% {
    transform: translate(-50%, -50%) translateZ(42px) rotateZ(-2deg);
  }

  50% {
    transform: translate(-50%, -54%) translateZ(42px) rotateZ(2deg);
  }
}

@keyframes corePulse {
  0% {
    opacity: .8;
    transform: scale(.85);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes orbitAura {
  50% {
    transform: scale(1.08);
    opacity: .7;
  }
}


.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 650ms cubic-bezier(.22, .8, .28, 1) var(--reveal-delay, 0ms),
    transform 650ms cubic-bezier(.22, .8, .28, 1) var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.domain-card.scroll-reveal,
.certificate-card.scroll-reveal,
.why-item.scroll-reveal,
.testimonial-enhanced.scroll-reveal {
  transform: translate3d(0, 34px, 0) rotateX(2deg);
}

.domain-card.scroll-reveal.is-visible,
.certificate-card.scroll-reveal.is-visible,
.why-item.scroll-reveal.is-visible,
.testimonial-enhanced.scroll-reveal.is-visible {
  transform: translate3d(0, 0, 0) rotateX(0);
}

.form-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.form-page-heading h1 {
  margin: 3px 0 7px;
  font-size: 1.85rem;
}

.form-page-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.form-kicker {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.form-status-orb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #cbe8e3;
  border-radius: 999px;
  color: var(--navy-soft);
  background: #f1fbf9;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}

.form-status-orb span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19b777;
  box-shadow: 0 0 0 4px rgba(25, 183, 119, .13);
}

.form-studio-card {
  width: min(100%, 900px);
  max-width: none !important;
  padding: 28px !important;
  border: 1px solid rgba(22, 132, 123, .16);
  border-radius: 20px !important;
  background: linear-gradient(180deg, #fff, #fbfefd);
  box-shadow: 0 16px 40px rgba(15, 92, 86, .09);
}

.form-studio-card .form-section-intro {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 4px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6f0ee;
}

.form-section-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  color: var(--gold-ink);
  background: linear-gradient(135deg, #f5c518, #d98e04);
  font-size: .7rem;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(217, 142, 4, .18);
}

.form-section-intro h3 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 1rem;
}

.form-section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
}

.form-studio-card>.form-field {
  margin-bottom: 18px;
}

.form-studio-card input,
.form-studio-card select,
.form-studio-card textarea {
  border-radius: 10px;
  border-color: #d8e8e5;
  background: rgba(255, 255, 255, .9);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-studio-card input:focus,
.form-studio-card select:focus,
.form-studio-card textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 4px rgba(22, 132, 123, .11);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .form-page-heading {
    flex-direction: column;
  }

  .form-status-orb {
    align-self: flex-start;
  }

  .form-studio-card {
    padding: 20px !important;
  }
}