:root {
  --primary: #1e3a8a;
  --primary-rgb: 30, 58, 138;
  --secondary: #f97316;
  --secondary-rgb: 249, 115, 22;
  --text-color: #334155;
  --heading-color: #0f172a;
  --gradient-start: #1e3a8a;
  --gradient-start-rgb: 30, 58, 138;
  --gradient-end: #f97316;
  --gradient-end-rgb: 249, 115, 22;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  --heading-font: 'Merriweather', serif;
  --header-logo-max-width: 8.75rem;
  --header-logo-max-height: 3.4rem;
  --header-logo-mobile-max-width: 8.25rem;
  --header-logo-mobile-max-height: 3rem;
  --footer-logo-max-width: 12.5rem;
  --footer-logo-max-height: 4.8rem;
  --footer-logo-mobile-max-width: 10.5rem;
  --footer-logo-mobile-max-height: 4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background: var(--site-background-fill);
}

input,
textarea,
select,
button {
  font-family: inherit;
}

.modal-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.font-display {
  font-family: var(--heading-font);
}

.site-body {
  background: var(--site-background-fill);
  min-height: 100vh;
}

.admin-body {
  background:
    radial-gradient(circle at top, rgba(var(--gradient-end-rgb), 0.14), transparent 20%),
    linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(var(--gradient-start-rgb), 0.12) 100%);
}

.text-brand-primary {
  color: var(--primary);
}

.text-brand-secondary {
  color: var(--secondary);
}

.bg-brand-primary {
  background-color: var(--primary);
}

.bg-brand-secondary {
  background-color: var(--secondary);
}

.border-brand-primary {
  border-color: var(--primary);
}

.bg-brand-gradient {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.bg-brand-soft {
  background: linear-gradient(135deg, rgba(var(--gradient-start-rgb), 0.12) 0%, rgba(var(--gradient-end-rgb), 0.12) 100%);
}

.hero-panel {
  background:
    linear-gradient(135deg, rgba(var(--gradient-start-rgb), 0.96) 0%, rgba(var(--primary-rgb), 0.92) 45%, rgba(var(--gradient-end-rgb), 0.92) 100%);
}

.surface-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.card-lift {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-button-fill);
  color: var(--primary-button-text);
  font-weight: 700;
  box-shadow: 0 15px 40px rgba(var(--primary-button-shadow-rgb), 0.2);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.04) brightness(0.98);
  box-shadow: 0 18px 45px rgba(var(--primary-button-shadow-rgb), 0.28);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--secondary-button-fill);
  color: var(--secondary-button-text);
  font-weight: 700;
  box-shadow: 0 15px 40px rgba(var(--secondary-button-shadow-rgb), 0.18);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  filter: saturate(1.04) brightness(0.98);
  box-shadow: 0 18px 45px rgba(var(--secondary-button-shadow-rgb), 0.24);
}

.btn-outline-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--outline-button-border);
  background: var(--outline-button-bg);
  color: var(--outline-button-text);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn-outline-theme:hover {
  transform: translateY(-2px);
  border-color: var(--outline-button-hover-text);
  background: var(--outline-button-hover-bg);
  color: var(--outline-button-hover-text);
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.12);
}

.hero-free-class-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 999px;
  color: var(--hero-free-class-text, #ffffff);
  background: var(--hero-free-class-bg, var(--primary));
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 44px rgba(var(--hero-free-class-shadow-rgb, var(--primary-rgb)), 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.hero-free-class-button.is-gradient {
  background: linear-gradient(135deg, var(--hero-free-class-gradient-start, var(--gradient-start)) 0%, var(--hero-free-class-gradient-end, var(--gradient-end)) 100%);
}

.hero-free-class-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow: 0 24px 52px rgba(var(--hero-free-class-shadow-rgb, var(--primary-rgb)), 0.3);
}

.hero-free-class-button:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.2);
  outline-offset: 3px;
}

.hero-free-class-button svg {
  flex: 0 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.footer-link {
  color: rgba(var(--footer-text-rgb), 0.92);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-link:hover {
  color: var(--footer-heading-color);
  transform: translateX(4px);
}

.site-body .text-slate-900,
.site-body .text-slate-800 {
  color: var(--heading-color) !important;
}

.site-body .text-slate-700,
.site-body .text-slate-600 {
  color: var(--text-color) !important;
}

.site-body .text-slate-500 {
  color: rgba(var(--text-rgb), 0.82) !important;
}

.site-body .text-slate-400 {
  color: rgba(var(--text-rgb), 0.68) !important;
}

.hero-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.18) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.35;
}

.tab-button.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.25);
}

[data-tab-panel] {
  display: none;
}

[data-tab-panel].active {
  display: block;
}

.section-kicker {
  color: var(--secondary);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.72rem;
}

.grid-ornament {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 34px 34px;
}

.site-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.site-logo-frame-header {
  max-width: min(42vw, var(--header-logo-max-width));
}

.site-logo-frame-footer {
  max-width: min(100%, var(--footer-logo-max-width));
}

.site-logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-logo-frame-header .site-logo-image {
  max-height: var(--header-logo-max-height);
}

.site-logo-frame-footer .site-logo-image {
  max-height: var(--footer-logo-max-height);
  object-fit: contain;
}

.site-footer-brand-lockup {
  align-items: center;
}

.site-footer {
  background: var(--footer-background-fill);
  color: var(--footer-text-color);
  font-family: var(--footer-font);
}

.site-footer .footer-brand {
  color: var(--secondary);
}

.site-footer .footer-heading {
  color: var(--footer-heading-color);
  font-family: var(--footer-font);
}

.site-footer .footer-copy,
.site-footer .footer-contact,
.site-footer .footer-meta {
  color: rgba(var(--footer-text-rgb), 0.92);
}

.site-footer .footer-meta {
  border-top-color: rgba(var(--footer-text-rgb), 0.14);
  color: rgba(var(--footer-text-rgb), 0.72);
}

.nav-dropdown-panel {
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.9rem;
  height: 0.9rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret,
.nav-dropdown.is-open .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-mobile-details summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-details[open] summary svg {
  transform: rotate(180deg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-slide-canvas {
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 1) 0%, rgba(15, 23, 42, 1) 100%);
}

.hero-slider-control {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: inline-flex;
  height: 3.25rem;
  width: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-slider-control:hover {
  background: rgba(15, 23, 42, 0.72);
  transform: translateY(-50%) scale(1.04);
}

.hero-slider-dot {
  height: 0.8rem;
  width: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-slider-dot.active {
  background: var(--secondary);
  transform: scale(1.1);
}

.video-poster {
  position: relative;
  overflow: hidden;
  background: #020617;
  text-align: left;
}

.video-poster img {
  transition: transform 260ms ease, filter 260ms ease;
}

.video-poster:hover img,
.video-poster:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.68) 100%);
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  height: 4.5rem;
  width: 4.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.video-poster:hover .video-play-button,
.video-poster:focus-visible .video-play-button {
  transform: translate(-50%, -50%) scale(1.05);
  background: #fff;
}

.video-play-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(10px);
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background: #020617;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.5);
}

.pdf-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.video-modal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: background 180ms ease, transform 180ms ease;
}

.pdf-modal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 0.8rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
  transition: background 180ms ease, transform 180ms ease;
}

.video-modal-action:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.pdf-modal-action:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.video-modal-action-close {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.35);
}

.marquee-shell {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-shell:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
}

.marquee-item::after {
  content: '';
  height: 0.45rem;
  width: 0.45rem;
  border-radius: 999px;
  background: var(--secondary);
  flex: 0 0 auto;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero-slider-control {
    display: none;
  }

  .site-logo-frame-header {
    max-width: min(50vw, var(--header-logo-mobile-max-width));
  }

  .site-logo-frame-footer {
    max-width: min(100%, var(--footer-logo-mobile-max-width));
  }

  .site-logo-frame-header .site-logo-image {
    max-height: var(--header-logo-mobile-max-height);
  }

  .site-logo-frame-footer .site-logo-image {
    max-height: var(--footer-logo-mobile-max-height);
  }

  .video-play-button {
    height: 3.7rem;
    width: 3.7rem;
  }

  .video-play-chip {
    left: 0.85rem;
    bottom: 0.85rem;
    padding: 0.6rem 0.8rem;
    letter-spacing: 0.2em;
  }

  .video-modal {
    padding: 0.85rem;
  }

  .pdf-modal {
    padding: 0.85rem;
  }

  .marquee-track {
    animation-duration: 22s;
  }
}
