/* Shared components and page layouts */
:root {
  --primary: #1e40af;
  --primary-dark: #172f80;
  --primary-light: #3b63e0;
  --accent: #f59e0b;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f1f5fd;
  --border: #e2e8f0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px rgba(30, 64, 175, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.bg-soft {
  background: var(--soft);
}

.text-muted-2 {
  color: var(--muted);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(30, 64, 175, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.btn-brand {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}

.btn-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 12px;
  background: transparent;
  transition: all 0.25s ease;
  display: none;
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
}

.btn-white:hover {
  background: #eef2ff;
  color: var(--primary-dark);
}

.topbar {
  background: var(--primary);
  color: #dbe4ff;
  font-size: 0.875rem;
  padding: 8px 0;
}

.topbar a {
  color: #fff;
  font-weight: 600;
  margin-left: 14px;
}

.topbar a:hover {
  text-decoration: underline;
}

.navbar {
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  padding: 10px 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.1rem;
}

.navbar .nav-link {
  font-weight: 600;
  color: #334155;
  padding: 8px 14px !important;
  border-radius: 8px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.06);
}

.badge-new {
  font-size: 0.6rem;
  background: var(--accent);
  color: #fff;
  padding: 3px 6px;
  border-radius: 5px;
  vertical-align: top;
  margin-left: 4px;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 10px;
}

.dropdown-item {
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 500;
}

.dropdown-item i {
  width: 22px;
  color: var(--primary);
}

.hero {
  position: relative;
  padding: 80px 0 110px;
  background: radial-gradient(
  circle at 85% 10%,
  rgba(59, 99, 224, 0.15),
  transparent 40%
  ),
  radial-gradient(circle at 5% 90%, rgba(245, 158, 11, 0.1), transparent 35%),
  linear-gradient(180deg, #f8faff 0%, #fff 100%);
  overflow: hidden;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 12px;
  background: rgba(245, 158, 11, 0.35);
  z-index: -1;
  border-radius: 4px;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-search {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-search i {
  color: var(--muted);
  padding-left: 14px;
}

.hero-search input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  padding: 10px 4px;
  color: var(--ink);
}

.hero-img-wrap {
  position: relative;
}

.hero-img-main {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-img-wrap::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border-radius: 28px;
  border: 2px dashed rgba(30, 64, 175, 0.25);
  z-index: -1;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 4s ease-in-out infinite;
}

.float-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.float-card.one {
  top: 40px;
  left: -40px;
}

.float-card.two {
  bottom: 50px;
  right: -30px;
  animation-delay: 1.5s;
}

.float-card.three {
  bottom: -20px;
  left: 40px;
  animation-delay: 0.8s;
}

.avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.stars {
  color: var(--accent);
}

.partners {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(
  90deg,
  transparent,
  #000 10%,
  #000 90%,
  transparent
  );
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll 35s linear infinite;
}

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

.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #94a3b8;
  white-space: nowrap;
  transition: color 0.2s;
}

.partner-logo i {
  font-size: 1.6rem;
}

.partner-logo:hover {
  color: var(--primary);
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease,
  box-shadow 0.35s ease;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
  180deg,
  rgba(15, 23, 42, 0) 35%,
  rgba(15, 23, 42, 0.88) 100%
  );
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cat-card .cat-body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}

.cat-card .cat-body h5 {
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-card .cat-body p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

.cat-card .cat-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
}

.cat-card .cat-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.cat-card:hover .cat-arrow {
  background: #fff;
  color: var(--primary);
  transform: rotate(-45deg);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.steps-nav .step-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: all 0.3s;
}

.steps-nav .step-btn .num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--soft);
  color: var(--primary);
  transition: all 0.3s;
}

.steps-nav .step-btn h6 {
  font-weight: 700;
  margin: 0 0 2px;
}

.steps-nav .step-btn small {
  color: var(--muted);
}

.steps-nav .step-btn.active {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.steps-nav .step-btn.active .num {
  background: var(--primary);
  color: #fff;
}

.step-panel {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  height: 100%;
}

.step-panel .big-ic {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: #334155;
}

.check-list li i {
  color: #16a34a;
  margin-top: 4px;
}

.fade-panel {
  animation: fadeUp 0.45s ease;
}

.course-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.45s ease both;
}

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

.course-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-card:hover .course-thumb img {
  transform: scale(1.06);
}

.course-thumb .level {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}

.course-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-cat {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-title {
  font-weight: 700;
  font-size: 1.04rem;
  margin: 8px 0 8px;
  color: var(--ink);
  line-height: 1.4;
  display: block;
}

.course-meta {
  display: flex;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.course-meta i {
  color: var(--primary-light);
  margin-right: 4px;
}

.course-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}

.price del {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 6px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.platform {
  background: linear-gradient(
  135deg,
  #0f1f5c 0%,
  var(--primary) 60%,
  #2d55d1 100%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

.platform::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -200px;
  right: -150px;
}

.platform .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.platform .section-sub {
  color: #c7d2fe;
}

.feature-tabs .nav-link {
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 22px;
  margin: 0 6px 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-tabs .nav-link.active {
  background: #fff;
  color: var(--primary);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.mock-dash {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--soft);
  margin-bottom: 10px;
}

.mock-row .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.progress {
  height: 8px;
  border-radius: 10px;
  background: #e2e8f0;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
}

.stat-box {
  text-align: center;
  padding: 24px;
}

.stat-box .num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-box p {
  color: var(--muted);
  font-weight: 500;
  margin: 8px 0 0;
}

.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.3s;
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.why-card .ic {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.why-card h5 {
  font-weight: 700;
}

.why-card p {
  color: var(--muted);
  margin: 0;
}

.testi-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
}

.testi-card .quote {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.6rem;
  color: rgba(30, 64, 175, 0.1);
}

.testi-card p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.7;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testi-user img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-user h6 {
  margin: 0;
  font-weight: 700;
}

.testi-user small {
  color: var(--muted);
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  height: 100%;
  position: relative;
  transition: all 0.3s;
}

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

.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card .popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.price-card .amount {
  font-size: 2.8rem;
  font-weight: 800;
}

.price-card .amount small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.cta-box {
  border-radius: 24px;
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary) 0%, #2d55d1 100%);
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -70px;
  bottom: -120px;
}

.cta-box .cta-ic {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9rem;
  opacity: 0.12;
}

.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  padding: 20px 24px;
}

.accordion-button:not(.collapsed) {
  background: var(--soft);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

footer {
  background: #0b1437;
  color: #a5b4d6;
  padding: 80px 0 0;
}

footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

footer a {
  color: #a5b4d6;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 12px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  margin-right: 8px;
  color: #fff;
  transition: all 0.2s;
}

.social a:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.newsletter {
  display: flex;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 6px;
}

.newsletter input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  flex: 1;
  padding: 8px 12px;
  min-width: 0;
}

.newsletter input::placeholder {
  color: #7b8bb5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 56px;
  font-size: 0.9rem;
}

#toTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

#toTop.show {
  opacity: 1;
  visibility: visible;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.course-hero {
  position: relative;
  color: #fff;
  padding: 56px 0 72px;
  overflow: hidden;
  background: linear-gradient(
  135deg,
  #0b1437 0%,
  #0f1f5c 45%,
  var(--primary) 100%
  );
}

.course-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -180px;
  right: -120px;
}

.course-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
  bottom: -120px;
  left: 30%;
}

.course-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: #7b8bb5;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #c7d2fe;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-item.active {
  color: #fff;
}

.course-hero h1 {
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.course-hero .lead {
  color: #c7d2fe;
  font-size: 1.1rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
}

.tag-best {
  background: var(--accent);
  color: #fff;
}

.tag-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #dbe4ff;
  font-size: 0.95rem;
}

.hero-meta i {
  color: var(--accent);
  margin-right: 6px;
}

.instructor-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instructor-mini img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.instructor-mini a {
  color: #fff;
  font-weight: 700;
}

.enroll-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink);
}

.sticky-col {
  position: sticky;
  top: 96px;
  margin-top: 24px;
  z-index: 5;
}

@media (min-width: 992px) {
  .sticky-col .enroll-card {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }
}

.preview {
  position: relative;
  height: 220px;
  cursor: pointer;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
  180deg,
  rgba(15, 23, 42, 0.15),
  rgba(15, 23, 42, 0.65)
  );
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: pulse 2s infinite;
}

.preview span.label {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
  z-index: 2;
  font-size: 0.9rem;
}

.enroll-body {
  padding: 26px;
}

.big-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
}

.big-price del {
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 8px;
}

.off-badge {
  background: #dcfce7;
  color: #16a34a;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.timer {
  color: #dc2626;
  font-size: 0.88rem;
  font-weight: 600;
}

.includes li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 11px;
  font-size: 0.93rem;
  color: #334155;
}

.includes li i {
  width: 20px;
  color: var(--primary);
  text-align: center;
}

.coupon {
  display: flex;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 4px;
}

.coupon input {
  border: none;
  outline: none;
  flex: 1;
  padding: 8px 12px;
  min-width: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.share-row a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  margin-right: 6px;
  transition: all 0.2s;
}

.share-row a:hover {
  background: var(--primary);
  color: #fff;
}

.wish-btn.on i {
  color: #ef4444;
}

.course-tabs {
  position: sticky;
  top: 72px;
  z-index: 4;
  background: #fff;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.course-tabs .nav-link {
  color: var(--muted);
  font-weight: 600;
  padding: 16px 18px;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  white-space: nowrap;
}

.course-tabs .nav-link.active,
.course-tabs .nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: transparent;
}

.course-tabs .nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.course-tabs .nav::-webkit-scrollbar {
  display: none;
}

.block {
  margin-bottom: 48px;
  scroll-margin-top: 140px;
}

.block h3 {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.learn-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.learn-box li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #334155;
}

.learn-box li i {
  color: #16a34a;
  margin-top: 4px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 50px;
  margin: 0 8px 10px 0;
}

.desc-text {
  color: #334155;
  line-height: 1.8;
}

.desc-collapse {
  max-height: 170px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.desc-collapse::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(transparent, #fff);
}

.desc-collapse.open {
  max-height: 1000px;
}

.desc-collapse.open::after {
  display: none;
}

.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  padding: 0;
}

.curr-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.curr .accordion-button {
  font-weight: 700;
  padding: 18px 22px;
  background: #fff;
  gap: 12px;
}

.curr .sec-meta {
  margin-left: auto;
  margin-right: 12px;
  font-weight: 500;
  font-size: 0.83rem;
  color: var(--muted);
  white-space: nowrap;
}

.lesson {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  transition: background 0.2s;
}

.lesson:hover {
  background: #fafbff;
}

.lesson .l-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.lesson .l-title {
  flex: 1;
  color: #334155;
}

.lesson .l-preview {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.lesson .l-time {
  color: var(--muted);
  font-size: 0.85rem;
  min-width: 46px;
  text-align: right;
}

.lesson .fa-lock {
  color: #94a3b8;
  font-size: 0.8rem;
}

.instructor-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.instructor-card img {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
}

.ins-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: #334155;
}

.ins-stats i {
  color: var(--primary);
  margin-right: 6px;
}

.rating-big {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-big .val {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.bar-row .progress {
  flex: 1;
  height: 9px;
  border-radius: 10px;
  background: #e2e8f0;
}

.bar-row .progress-bar {
  background: var(--accent);
  border-radius: 10px;
}

.review {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.review img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review p {
  color: #334155;
  margin: 12px 0 10px;
  line-height: 1.7;
}

.helpful button {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-right: 6px;
  transition: all 0.2s;
}

.helpful button:hover,
.helpful button.on {
  border-color: var(--primary);
  color: var(--primary);
}

.accordion.faq .accordion-button {
  font-weight: 600;
  padding: 18px 22px;
}

.mobile-enroll {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  padding: 12px 16px;
  z-index: 1000;
  display: none;
}

.list-hero {
  background: linear-gradient(
  135deg,
  #0b1437 0%,
  #0f1f5c 45%,
  var(--primary) 100%
  );
  color: #fff;
  padding: 52px 0 100px;
  position: relative;
  overflow: hidden;
}

.list-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -180px;
  right: -120px;
}

.list-hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
  bottom: -110px;
  left: 20%;
}

.list-hero .container {
  position: relative;
  z-index: 2;
}

.list-hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.quick-tags a {
  display: inline-block;
  color: #dbe4ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin: 0 6px 8px 0;
  transition: all 0.2s;
}

.quick-tags a:hover {
  background: #fff;
  color: var(--primary);
}

.wrap {
  margin-top: -56px;
  position: relative;
  z-index: 3;
  padding-bottom: 80px;
}

.cat-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  margin-bottom: 20px;
}

.cat-strip::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 600;
  color: #334155;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s;
}

.cat-chip i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
}

.cat-chip small {
  color: var(--muted);
  font-weight: 500;
}

.cat-chip:hover {
  transform: translateY(-2px);
}

.cat-chip.active {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-chip.active i {
  background: var(--primary);
  color: #fff;
}

.filters {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 96px;
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
}

.f-group {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.f-group:last-of-type {
  border-bottom: none;
}

.f-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  cursor: pointer;
}

.f-title i {
  color: var(--muted);
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.f-title.collapsed i {
  transform: rotate(-90deg);
}

.form-check {
  margin-bottom: 9px;
}

.form-check-label {
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.form-check-label .cnt {
  color: #94a3b8;
  font-size: 0.82rem;
}

.form-check-input {
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(59, 99, 224, 0.12);
}

.form-range::-webkit-slider-thumb {
  background: var(--primary);
}

.form-range::-moz-range-thumb {
  background: var(--primary);
}

.toolbar {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.toolbar .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 36px 8px 12px;
}

.toolbar .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59, 99, 224, 0.12);
}

.view-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted);
  transition: all 0.2s;
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0e7ff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.83rem;
  padding: 6px 12px;
  border-radius: 50px;
  border: none;
}

.chip i {
  font-size: 0.75rem;
}

.course-thumb .badge-b {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.course-thumb .badge-b.free {
  background: #16a34a;
}

.wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: none;
  transition: color 0.2s;
  z-index: 2;
}

.wish:hover,
.wish.on {
  color: #ef4444;
}

.course-title:hover {
  color: var(--primary);
}

.course-desc {
  display: none;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.instructor img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.price.free {
  color: #16a34a;
}

.list-view .c-col {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.list-view .course-card {
  flex-direction: row;
}

.list-view .course-thumb {
  height: auto;
  min-height: 220px;
  width: min(38%, 300px);
}

.list-view .course-desc {
  display: block;
}

.empty {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 60px 24px;
  text-align: center;
  display: none;
}

.empty .ic {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}

.pagination .page-link {
  border: none;
  margin: 0 4px;
  border-radius: 10px !important;
  color: #334155;
  font-weight: 600;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.pagination .page-item.active .page-link {
  background: var(--primary);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #cbd5e1;
  background: #fff;
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 4px rgba(59, 99, 224, 0.15);
}

.offcanvas {
  border-radius: 0 20px 20px 0;
}

.offcanvas .filters {
  box-shadow: none;
  position: static;
  padding: 0;
  max-height: none;
  overflow: visible;
}

.stepper {
  display: flex;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 24px;
  gap: 8px;
}

.stepper .st {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.stepper .st:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
  border-radius: 2px;
  transition: background 0.3s;
}

.stepper .st.done:not(:last-child)::after {
  background: var(--primary);
}

.stepper .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--soft);
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s;
}

.stepper .st.active .dot {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}

.stepper .st.done .dot {
  background: #16a34a;
  color: #fff;
}

.stepper .lbl {
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.stepper .lbl small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.form-card h4 {
  font-weight: 800;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 6px;
}

.form-label .req {
  color: #dc2626;
}

.input-ic {
  position: relative;
}

.input-ic > i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  z-index: 3;
}

.input-ic .form-control,
.input-ic .form-select {
  padding-left: 44px;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59, 99, 224, 0.12);
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-select:invalid {
  border-color: #dc2626;
}

.invalid-feedback {
  font-size: 0.82rem;
  font-weight: 500;
}

.input-ic .invalid-feedback {
  padding-left: 2px;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  top: 24px;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #94a3b8;
  z-index: 3;
}

.strength {
  height: 6px;
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
  margin-top: 8px;
}

.strength span {
  display: block;
  height: 100%;
  width: 0;
  transition: all 0.3s;
  border-radius: 6px;
}

.opt {
  position: relative;
  display: block;
  cursor: pointer;
  height: 100%;
}

.opt input {
  position: absolute;
  opacity: 0;
}

.opt .box {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  transition: all 0.2s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
}

.opt .box .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.opt .box h6 {
  font-weight: 700;
  margin: 0 0 2px;
}

.opt .box small {
  color: var(--muted);
}

.opt .check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.65rem;
  transition: all 0.2s;
}

.opt input:checked + .box {
  border-color: var(--primary);
  background: #f8faff;
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.1);
}

.opt input:checked + .box .ic {
  background: var(--primary);
  color: #fff;
}

.opt input:checked + .box .check {
  background: var(--primary);
  border-color: var(--primary);
}

.opt input:focus-visible + .box {
  outline: 3px solid rgba(59, 99, 224, 0.35);
  outline-offset: 2px;
}

.opt .tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.seat-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.seat-ctrl button {
  border: none;
  background: var(--soft);
  width: 42px;
  height: 44px;
  color: var(--primary);
  font-weight: 700;
}

.seat-ctrl input {
  width: 60px;
  border: none;
  text-align: center;
  font-weight: 700;
  outline: none;
}

.pay-panel {
  display: none;
  animation: fadeUp 0.35s ease;
}

.pay-panel.show {
  display: block;
}

.card-brands i {
  font-size: 1.7rem;
  color: #94a3b8;
  margin-left: 6px;
}

.info-box {
  background: var(--soft);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.92rem;
  color: #334155;
}

.step-pane {
  display: none;
}

.step-pane.show {
  display: block;
  animation: fadeUp 0.4s ease;
}

.review-list {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.review-list .row-i {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.review-list .row-i:last-child {
  border-bottom: none;
}

.review-list .row-i span:first-child {
  color: var(--muted);
}

.review-list .row-i span:last-child {
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.summary {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.summary .thumb {
  height: 160px;
  position: relative;
}

.summary .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.7));
}

.summary .thumb span {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.summary .body {
  padding: 24px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: #334155;
}

.sum-row.discount {
  color: #16a34a;
  font-weight: 600;
}

.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  margin-top: 6px;
}

.sum-total .amt {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
}

.perks li {
  display: flex;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 0.88rem;
  color: #334155;
}

.perks li i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  margin-top: 3px;
}

.trust {
  display: flex;
  justify-content: space-around;
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 16px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.trust i {
  display: block;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.success {
  text-align: center;
  padding: 20px 0;
}

.success .big {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  margin: 0 auto 22px;
  animation: pop 0.5s ease;
}

.order-id {
  display: inline-block;
  background: var(--soft);
  color: var(--primary);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
}

.row > *,
.course-body,
.toolbar > *,
.stepper .st,
.opt .box > div,
.lesson .l-title {
  min-width: 0;
}

.course-title,
.course-desc,
.chip,
footer li,
.review-list .row-i,
.opt .box {
  overflow-wrap: anywhere;
}

.course-foot,
.sum-row,
.sum-total {
  flex-wrap: wrap;
  gap: 8px;
}

.view-btn,
.brand-icon,
.instructor img {
  flex-shrink: 0;
}

.form-select {
  padding-right: 36px;
}

.input-ic input[type="password"],
.input-ic input[name="password"] {
  padding-right: 44px;
}

.checkout-header {
  padding: 20px 0;
  background: #fff;
}

.checkout-header .container {
  flex-wrap: wrap;
  gap: 12px;
}

.secure-tag,
.btn-ghost {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-hero {
  background: linear-gradient(135deg, #0b1437, var(--primary));
  color: #fff;
  padding: 48px 0 100px;
}

.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive overrides follow all base styles. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link {
    padding: 8px 6px !important;
    font-size: 0.85rem;
  }

  .navbar .navbar-collapse > .d-flex .btn {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .navbar-brand {
    font-size: 1.3rem;
    gap: 6px;
    margin-right: 10px;
  }

  .filters {
    padding: 16px;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 48px 0 80px;
  }

  .hero-img-main {
    height: 380px;
  }

  .float-card.one {
    left: 0;
  }

  .float-card.two {
    right: 0;
  }

  .navbar-collapse {
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    margin-top: 12px;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }

  .price-card.featured {
    transform: none;
  }

  .cta-box {
    padding: 40px 28px;
  }

  .sticky-col {
    position: static;
    margin-top: 0;
  }

  .summary {
    position: static;
  }

  .mobile-enroll {
    display: flex;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .course-detail-page {
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .course-detail-page #toTop {
    bottom: calc(100px + env(safe-area-inset-bottom));
  }

  #enroll {
    scroll-margin-top: 100px;
  }
}

@media (max-width: 767.98px) {
  .list-view .course-card {
    flex-direction: column;
  }

  .list-view .course-thumb {
    height: 190px;
    min-height: 0;
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .hero h1 .highlight {
    white-space: normal;
  }

  .hero-img-main {
    height: 320px;
  }

  .stepper {
    padding: 16px;
  }

  .stepper .st {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .stepper .st::after {
    display: none;
  }

  .stepper .lbl {
    white-space: normal;
    font-size: 0.8rem;
  }

  .stepper .lbl small {
    display: none;
  }

  .form-card,
  .step-panel,
  .glass-card,
  .learn-box,
  .instructor-card {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .float-card {
    display: none;
  }

  .hero-search .btn-brand {
    padding: 12px 16px;
  }

  .topbar .d-sm-inline {
    display: none;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero-img-main {
    height: 260px;
  }

  .hero-img-wrap::before {
    inset: -8px 8px 8px -8px;
  }

  .hero-search {
    gap: 4px;
    padding: 6px;
  }

  .hero-search i {
    padding-left: 6px;
  }

  .hero-search input,
  .form-control,
  .form-select,
  .coupon input,
  .newsletter input {
    font-size: 1rem;
  }

  .toolbar {
    padding: 14px;
  }

  .toolbar > div {
    width: 100%;
  }

  .toolbar .form-select {
    min-width: 0;
    flex: 1;
  }

  .cta-box,
  .form-card,
  .enroll-body,
  .summary .body,
  .price-card,
  .testi-card,
  .why-card,
  .glass-card,
  .step-panel,
  .learn-box,
  .instructor-card {
    padding: 20px;
  }

  .course-hero {
    padding: 36px 0 48px;
  }

  .course-tabs .nav-link {
    padding: 14px 12px;
  }

  .curr .accordion-button {
    flex-wrap: wrap;
    padding: 16px;
    gap: 8px;
  }

  .curr .sec-meta {
    white-space: normal;
    margin-left: 0;
  }

  .lesson {
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }

  .lesson .l-title {
    flex-basis: calc(100% - 42px);
  }

  .opt .box {
    padding: 12px;
    gap: 8px;
  }

  .newsletter .btn,
  .coupon .btn {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 6px 0;
  }

  .mobile-enroll .price,
  .mobile-enroll .btn {
    white-space: nowrap;
  }

  footer {
    padding-top: 48px;
  }

  #toTop {
    right: 16px;
    bottom: 16px;
  }
}
