/* ==========================================================================
   Vivasayee Trust LMS — Design System
   Visual language mirrors the reference LMS: soft blue gradients, glass
   panels, bold display type, rounded cards, layered soft shadows.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #1a56db;
  --brand-600: #1746b4;
  --brand-050: #eaf0ff;
  --accent: #f97316;
  --accent-050: #fff1e6;
  --green: #1a8f5a;
  --green-050: #e7f6ee;
  --red: #d23c33;

  /* Neutrals */
  --ink: #0b1b34;
  --ink-2: #16294a;
  --muted: #5b6b85;
  --line: #e5eaf3;
  --surface: #ffffff;
  --bg: #f6f8fd;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(11, 27, 52, 0.06);
  --sh-sm: 0 6px 16px -8px rgba(11, 27, 52, 0.18);
  --sh-md: 0 18px 40px -24px rgba(11, 27, 52, 0.35);
  --sh-lg: 0 34px 70px -34px rgba(11, 27, 52, 0.42);
  --sh-brand: 0 16px 34px -18px rgba(26, 86, 219, 0.65);

  /* Type scale */
  --t-display: clamp(2.4rem, 5.2vw, 4rem);
  --t-h1: clamp(2rem, 3.6vw, 3rem);
  --t-h2: clamp(1.6rem, 2.6vw, 2.25rem);
  --t-h3: 1.25rem;
  --t-body: 1rem;
  --t-sm: 0.9rem;
  --t-xs: 0.78rem;

  /* Rhythm */
  --sp-section: clamp(64px, 8vw, 104px);
  --container: 1200px;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 {
  font-size: var(--t-h1);
}
h2 {
  font-size: var(--t-h2);
}
h3 {
  font-size: var(--t-h3);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--brand-600);
}

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

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding-block: var(--sp-section);
}

.section--tint {
  background:
    radial-gradient(900px 420px at 12% 0%, #eef3ff 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head p {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 26px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.95rem/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  box-shadow: var(--sh-brand);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  background: var(--brand-600);
  box-shadow: 0 22px 40px -18px rgba(26, 86, 219, 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-xs);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--brand);
  border-color: #cddaf5;
  box-shadow: var(--sh-sm);
}

.btn--accent {
  background: var(--accent);
  box-shadow: 0 16px 34px -18px rgba(249, 115, 22, 0.7);
}
.btn--accent:hover {
  background: #e2620c;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(11, 27, 52, 0.5);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
}

.brand img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--brand);
  background: var(--brand-050);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}
.nav-links a.is-active {
  color: var(--brand);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 86px) clamp(64px, 8vw, 108px);
  background:
    radial-gradient(700px 460px at 88% 12%, var(--accent-050) 0%, transparent 62%),
    radial-gradient(900px 520px at 4% 10%, #e8eeff 0%, transparent 60%),
    linear-gradient(180deg, #f3f6fd 0%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero::before {
  width: 340px;
  height: 340px;
  right: -60px;
  top: 60px;
  background: rgba(249, 200, 170, 0.35);
}
.hero::after {
  width: 420px;
  height: 420px;
  right: 6%;
  bottom: -220px;
  background: rgba(249, 190, 155, 0.32);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-md);
  padding: clamp(28px, 3.4vw, 46px);
}

.hero-title {
  font-size: var(--t-display);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.06rem;
  max-width: 46ch;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px 8px 8px 16px;
  box-shadow: var(--sh-sm);
  margin-top: 22px;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 0.98rem;
  color: var(--ink);
  background: transparent;
  font-family: inherit;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-stats b {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  font-size: 1.15rem;
  margin-right: 6px;
}

/* Hero side card (Continue Learning) */
.learn-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 18px;
}

.learn-card__visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}
.learn-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learn-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.learn-card__row h4 {
  margin: 2px 0 0;
  font-size: 1.15rem;
}

.progress {
  height: 9px;
  border-radius: var(--r-pill);
  background: #eef1f7;
  overflow: hidden;
  margin: 14px 0 16px;
}
.progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #4f86f7);
  width: 0;
  transition: width 1.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.chip:hover {
  border-color: #cddaf5;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: var(--t-xs);
  font-weight: 700;
  background: var(--green-050);
  color: var(--green);
}
.badge--brand {
  background: var(--brand-050);
  color: var(--brand);
}
.badge--accent {
  background: var(--accent-050);
  color: #c2560a;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: #d8e2f6;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-050);
}
.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card:hover .course-card__media img {
  transform: scale(1.06);
}

.course-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.course-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--t-xs);
  color: var(--muted);
  font-weight: 600;
}

.course-card h3 {
  font-size: 1.06rem;
  margin: 0;
}
.course-card h3 a {
  color: var(--ink);
}
.course-card h3 a:hover {
  color: var(--brand);
}

.course-card p {
  margin: 0;
  font-size: 0.92rem;
}

.course-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.course-card__foot b {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.rating {
  color: var(--accent);
  font-weight: 700;
}

/* Category pills */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    all 0.22s ease;
}
.pill:hover {
  color: var(--brand);
  border-color: #c7d7fa;
  background: var(--brand-050);
  transform: translateY(-2px);
}
.pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}

/* Feature / value cards */
.feature {
  padding: 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.feature .ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.05rem;
}
.feature p {
  margin: 0;
  font-size: 0.93rem;
}

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0f2f7a 0%, var(--brand) 55%, #3d7bf2 100%);
  box-shadow: var(--sh-lg);
  color: #fff;
}
.stats div {
  text-align: center;
}
.stats b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}
.stats span {
  font-size: 0.9rem;
  opacity: 0.86;
}

/* Testimonials */
.quote {
  padding: 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.quote p {
  color: var(--ink-2);
  font-size: 1rem;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-050);
  color: var(--brand);
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.quote footer b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}
.quote footer span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 58px);
  background: linear-gradient(135deg, #0d2a6d 0%, #1a56db 60%, #2f74f0 100%);
  color: #fff;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2,
.cta-band p {
  color: #fff;
}
.cta-band p {
  opacity: 0.9;
  margin: 0;
  max-width: 60ch;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -80px;
  top: -120px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--sh-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.gallery-item::after {
  content: "View";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(180deg, rgba(11, 27, 52, 0) 30%, rgba(11, 27, 52, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(7, 16, 32, 0.82);
  backdrop-filter: blur(6px);
}
.lightbox.is-open {
  display: grid;
}
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 84vh;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.lightbox button {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(44px, 6vw, 74px);
  background:
    radial-gradient(800px 420px at 10% 0%, #e9efff 0%, transparent 62%),
    linear-gradient(180deg, #f4f7fd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.crumbs {
  display: flex;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-hero h1 {
  margin-bottom: 10px;
}
.page-hero p {
  max-width: 62ch;
  margin: 0;
}

/* ---------- Forms ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: clamp(24px, 3vw, 38px);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: clamp(24px, 3vw, 38px);
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: #9dbcf7;
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
}
.field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(210, 60, 51, 0.1);
}
.field .err {
  display: none;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
}
.field.has-error .err {
  display: block;
}

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

.form-note {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--green-050);
  color: #0f6b43;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #c6e9d6;
}
.form-note.is-visible {
  display: flex;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.step b.num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-bottom: 14px;
  box-shadow: var(--sh-brand);
}
.step h3 {
  font-size: 1rem;
}
.step p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Dashboard ---------- */
.dash {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-block: 34px 70px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  padding: 18px;
}
.sidebar h4 {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 14px 10px 8px;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.93rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.sidebar a:hover {
  background: var(--brand-050);
  color: var(--brand);
  transform: translateX(3px);
}
.sidebar a.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}

.stat-card {
  padding: 22px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.stat-card span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.stat-card b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1.2;
}

.enrol-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.enrol-row:hover {
  transform: translateY(-3px);
  border-color: #d8e2f6;
  box-shadow: var(--sh-sm);
}
.enrol-row img {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--r-xs);
}
.enrol-row h4 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

/* ---------- Contact ---------- */
.info-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.info-card .ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-050);
  color: var(--brand);
}
.info-card h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.info-card p,
.info-card a {
  margin: 0;
  font-size: 0.93rem;
  display: block;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

/* ---------- Accordion ---------- */
.acc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--sh-xs);
}
.acc > button {
  width: 100%;
  text-align: left;
  padding: 17px 20px;
  border: 0;
  background: #fff;
  font: 700 0.98rem/1.4 "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  transition: background 0.2s ease;
}
.acc > button:hover {
  background: #f8fafe;
}
.acc > button i {
  transition: transform 0.3s ease;
  font-style: normal;
  color: var(--brand);
}
.acc.is-open > button i {
  transform: rotate(45deg);
}
.acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.acc__body p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.94rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0b1b34 0%, #08152a 100%);
  color: #c3cee0;
  padding-block: 62px 26px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.site-footer p {
  color: #9daeca;
  font-size: 0.92rem;
}
.site-footer a {
  color: #c3cee0;
  font-size: 0.92rem;
  display: inline-block;
  padding: 4px 0;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.site-footer a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 34px;
}
.course-card__foot b{
  display: none;
}
#courseFacts li:last-child {
    display: none;
}
.footer-brand {
  background: #fff;
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 70px;
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #8ea1c0;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  box-shadow: var(--sh-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid--4,
  .stats,
  .steps,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-h) - 4px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-actions .btn--ghost {
    display: none;
  }
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .grid--4,
  .steps,
  .stats,
  .form-row,
  .chips,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .enrol-row {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .enrol-row > .btn {
    grid-column: 1 / -1;
  }
}
