:root {
  --ink: #172126;
  --muted: #627078;
  --line: #dfe7e6;
  --paper: #fbfcf8;
  --soft: #eef6f0;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --coral: #e85d4f;
  --gold: #f2b84b;
  --blue: #2563eb;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 231, 230, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.06);
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.14rem;
}

.brand span:last-child {
  display: grid;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark,
.course-icon {
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 8px;
  width: 42px;
  height: 42px;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  background: rgba(238, 246, 240, 0.72);
  border: 1px solid rgba(223, 231, 230, 0.84);
  border-radius: 999px;
}

.nav-links a,
.filter-bar a {
  color: var(--muted);
  font-weight: 700;
  padding: 10px 13px;
  border-radius: 8px;
  transition: 0.25s ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown svg {
  width: 16px;
  height: 16px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 255px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.dropdown-menu a {
  display: block;
  border-radius: 8px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links a:hover,
.filter-bar a:hover,
.filter-bar .active {
  color: var(--teal-dark);
  background: var(--soft);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-link b {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 999px;
  font-size: 0.78rem;
}

.nav-cta {
  color: var(--white) !important;
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.nav-cta:hover {
  color: var(--white) !important;
  background: var(--teal-dark) !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--soft);
  border-radius: 8px;
  padding: 10px;
  color: var(--teal-dark);
}

.hero,
.detail-hero,
.page-hero,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 22px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 54px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 34px 22px auto;
  height: 72%;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 184, 75, 0.22), transparent 32%),
    radial-gradient(circle at 82% 15%, rgba(37, 99, 235, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(238, 246, 240, 0.8), rgba(255, 255, 255, 0));
  border-radius: 8px;
}

.hero h1,
.page-hero h1,
.detail-main h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.detail-main p,
.split p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  color: var(--teal-dark);
  background: var(--soft);
  border: 1px solid rgba(15, 118, 110, 0.12);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.btn.primary:hover {
  background: var(--teal-dark);
}

.btn.ghost {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
}

.btn.small {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.9rem;
}

.btn.full {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 18px;
  margin-top: 36px;
}

.hero-stats div,
.stats-grid div {
  min-width: 116px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(23, 33, 38, 0.06);
}

.hero-stats strong,
.stats-grid strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-stats span,
.stats-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.hero-carousel {
  position: relative;
  min-height: 540px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 31, 0.08), rgba(16, 32, 31, 0.72));
}

.slide-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  color: var(--white);
}

.slide-caption span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ffdf8a;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.slide-caption strong {
  display: block;
  max-width: 420px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.hero-floating-card {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(16, 32, 31, 0.18);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-floating-card svg {
  color: var(--coral);
}

.hero-floating-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 30px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: 0.24s ease;
}

.hero-dots span.active {
  width: 30px;
  background: var(--gold);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.split h2,
.content-panel h2,
.summary-card h2 {
  margin: 10px 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.band {
  max-width: none;
  background: #f1f7f5;
}

.band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.category-grid,
.course-grid,
.testimonial-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-tile,
.course-card,
.testimonial-grid article,
.content-panel,
.summary-card,
.form-panel,
.success-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(23, 33, 38, 0.07);
}

.category-tile {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: var(--teal-dark);
  font-weight: 800;
  transition: 0.25s ease;
}

.image-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  color: var(--white);
  background-size: cover;
  background-position: center;
  border: 0;
}

.image-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 31, 0.1), rgba(16, 32, 31, 0.84));
}

.image-tile > * {
  position: relative;
  z-index: 1;
}

.image-tile strong {
  font-size: 1.18rem;
  line-height: 1.18;
}

.tile-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.category-tile:hover,
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-tile svg {
  color: var(--coral);
}

.image-tile svg {
  color: var(--white);
}

.course-card {
  overflow: hidden;
  padding: 20px;
  transition: 0.25s ease;
}

.course-image {
  position: relative;
  display: block;
  height: 168px;
  margin: -20px -20px 18px;
  background-size: cover;
  background-position: center;
}

.course-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(16, 32, 31, 0.72));
}

.course-image span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(15, 118, 110, 0.92);
  border-radius: 8px;
}

.course-card h3 {
  min-height: 58px;
  margin: 16px 0 8px;
  font-size: 1.24rem;
  line-height: 1.22;
}

.course-card p {
  color: var(--muted);
  min-height: 78px;
}

.course-meta,
.course-facts,
.summary-card div,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-meta {
  margin-top: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.course-meta span {
  color: var(--teal-dark);
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 800;
}

.course-facts {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.course-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.course-facts strong,
.price {
  color: var(--coral);
  font-size: 1.35rem;
}

.split,
.detail-hero,
.detail-grid,
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.feature-list svg {
  color: var(--coral);
  flex: 0 0 auto;
}

.feature-list.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid article {
  padding: 22px;
}

.testimonial-grid p {
  color: var(--muted);
  margin-top: 0;
}

.experience-section {
  padding-top: 38px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.experience-feature {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(23, 33, 38, 0.07);
}

.experience-feature img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
}

.experience-feature:first-child img {
  height: 338px;
}

.experience-feature div {
  padding: 20px;
}

.experience-feature svg {
  color: var(--coral);
}

.experience-feature h3 {
  margin: 12px 0 8px;
  font-size: 1.26rem;
}

.experience-feature p,
.step-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.steps-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(23, 33, 38, 0.06);
}

.step-card b {
  color: var(--coral);
  font-size: 2.1rem;
}

.step-card h3 {
  margin: 18px 0 8px;
}

.student-section {
  overflow: hidden;
}

.student-carousel {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.student-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: studentScroll 42s linear infinite;
}

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

.student-card {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(23, 33, 38, 0.06);
}

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

.student-card strong,
.student-card span {
  display: block;
}

.student-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button svg {
  flex: 0 0 auto;
  color: var(--teal);
  transition: transform 0.24s ease;
}

.faq-item p {
  max-height: 0;
  margin: 0;
  padding: 0 20px;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
}

.faq-item.active p {
  max-height: 180px;
  padding: 0 20px 18px;
}

.faq-item.active button svg {
  transform: rotate(180deg);
}

.page-hero {
  min-height: 360px;
  display: grid;
  align-items: center;
}

.page-hero.compact {
  min-height: 250px;
  padding-bottom: 38px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-bar a {
  background: var(--white);
  border: 1px solid var(--line);
}

.detail-hero {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
}

.checkout-card,
.summary-card {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.course-icon.large {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}

.course-icon.large svg {
  width: 34px;
  height: 34px;
}

.price {
  display: block;
  margin-bottom: 20px;
  font-size: 2rem;
}

.detail-cover {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  margin: -22px -22px 20px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
}

.detail-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(16, 32, 31, 0.78));
}

.detail-cover .course-icon {
  position: relative;
  z-index: 1;
}

.content-panel {
  padding: 26px;
}

.check-list,
.module-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li,
.module-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.check-list svg {
  color: var(--teal);
}

.expanded-detail {
  padding-top: 0;
}

.course-outcome-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.course-outcome-strip div {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #10201f;
  color: var(--white);
  border-radius: 8px;
}

.course-outcome-strip svg {
  color: var(--gold);
}

.course-outcome-strip span {
  color: rgba(255, 255, 255, 0.72);
}

.module-list span {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item h3 {
  margin: 0 0 4px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--coral);
  background: #fff1ef;
}

.summary-card {
  display: grid;
  gap: 16px;
}

.summary-card div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-card span {
  color: var(--muted);
  font-weight: 700;
}

.summary-card .total-line {
  border-bottom: 0;
  padding-top: 8px;
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.form-panel label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: var(--teal);
}

.contact-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
}

.success-section {
  min-height: 620px;
  display: grid;
  place-items: center;
}

.success-card {
  max-width: 620px;
  padding: 42px;
  text-align: center;
}

.success-card > svg {
  width: 68px;
  height: 68px;
  color: var(--teal);
}

.success-card h1 {
  margin: 16px 0 10px;
}

.success-card p {
  color: var(--muted);
}

.success-card strong {
  display: block;
  color: var(--coral);
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.payment-qr {
  width: min(280px, 100%);
  display: block;
  margin: 22px auto 14px;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 33, 38, 0.14);
}

.payment-details {
  display: grid;
  gap: 4px;
  width: min(360px, 100%);
  margin: 0 auto 16px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
}

.payment-details span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.payment-details b {
  color: var(--teal-dark);
  font-size: 1.08rem;
}

.payment-note {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

.empty-state {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-state > svg {
  width: 54px;
  height: 54px;
  color: var(--teal);
}

.empty-state p {
  color: var(--muted);
}

.policy-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 78px 22px;
}

.policy-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.policy-page h2 {
  margin-top: 30px;
}

.policy-page p {
  color: var(--muted);
}

.flash-wrap {
  position: fixed;
  top: 82px;
  right: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  max-width: min(420px, calc(100vw - 36px));
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.flash.error {
  border-left-color: var(--coral);
}

.flash.info {
  border-left-color: var(--blue);
}

.flash button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}

.site-footer {
  background: #10201f;
  color: var(--white);
  padding: 54px 22px 24px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0;
}

.footer-grid h3 {
  margin-top: 0;
}

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

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.32s;
}

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

@keyframes studentScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 960px) {
  .hero,
  .detail-hero,
  .split,
  .detail-grid,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-carousel {
    min-height: 460px;
  }

  .course-grid,
  .testimonial-grid,
  .experience-grid,
  .feature-list.wide,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .course-outcome-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .checkout-card,
  .summary-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 6px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(238, 246, 240, 0.72);
  }

  .nav-cta {
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .section,
  .page-hero,
  .detail-hero,
  .policy-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .page-hero h1,
  .detail-main h1 {
    font-size: 2.45rem;
  }

  .hero-carousel {
    min-height: 390px;
  }

  .hero-floating-card {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .slide-caption {
    left: 16px;
    right: 16px;
    bottom: 54px;
  }

  .hero-dots {
    left: 16px;
    right: auto;
    bottom: 24px;
  }

  .hero-stats,
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    min-width: 0;
    padding: 12px;
  }

  .hero-stats strong {
    font-size: 1.25rem;
  }

  .category-grid,
  .course-grid,
  .testimonial-grid,
  .stats-grid,
  .experience-grid,
  .steps-grid,
  .course-outcome-strip,
  .feature-list.wide,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .experience-feature img,
  .experience-feature:first-child img {
    height: 220px;
  }

  .student-card {
    flex-basis: 232px;
  }

  .course-card h3,
  .course-card p {
    min-height: 0;
  }

  .card-actions,
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
