/* ============ Guru Shishyaa Global Academy — Design System v2 ============
   Palette inspired by the brand logo:
   • Deep Navy (primary) — trust, professionalism
   • Bright Red / Marigold / Blue / Green — playful accents from the reader illustration
   Typography: Poppins (display) + Inter (body) — clean, modern, unmistakably professional.
*/
:root {
  --ink:            #0F1830;
  --ink-2:          #2A3352;
  --paper:          #FBFBFD;
  --paper-2:        #F1F4FA;
  --cream:          #FFF9EA;
  --card:           #FFFFFF;
  --line:           rgba(15,24,48,.08);
  --line-strong:    rgba(15,24,48,.16);
  --muted:          #6B7591;

  /* Brand */
  --navy:           #12245C;   /* primary from wordmark */
  --navy-2:         #1E3A8A;
  --navy-3:         #2F4CB7;
  --brand-red:      #E23A2E;
  --brand-orange:   #F2712C;
  --brand-yellow:   #F4B937;
  --brand-green:    #2FA05D;
  --brand-teal:     #189BC3;
  --brand-sky:      #4CA9E8;

  --shadow-sm:      0 1px 2px rgba(15,24,48,.06);
  --shadow-md:      0 10px 24px -14px rgba(15,24,48,.24);
  --shadow-lg:      0 28px 60px -24px rgba(15,24,48,.28);

  --radius-sm:      10px;
  --radius:         16px;
  --radius-lg:      24px;

  --font-display:   'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin:0; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
p  { margin: 0 0 1em; color: var(--ink-2); }

.container { width: min(1200px, 92%); margin-inline: auto; }
.ambient-grain { display: none; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand-logo.large { height: 72px; }
.brand-mark, .brand-name, .brand-sub { display: none; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > a {
  padding: 10px 16px; border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14.5px; color: var(--ink-2);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.main-nav > a:hover, .nav-drop > a:hover { background: var(--paper-2); color: var(--navy); }
.nav-drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 8px; opacity: 0; transform: translateY(4px);
  pointer-events: none; transition: opacity .2s, transform .2s;
  margin-top: 6px;
}
.nav-drop:hover .drop-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.drop-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.drop-menu a:hover { background: var(--paper-2); color: var(--navy); }
.drop-menu a i { color: var(--brand-orange); width: 20px; }

.header-cta { display: flex; align-items: center; gap: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 14.5px;
  cursor: pointer; border: 0;
  transition: transform .18s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 12px -4px rgba(18,36,92,.4);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 10px 22px -6px rgba(18,36,92,.5);}
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-saffron {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(226,58,46,.5);
}
.btn-saffron:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(226,58,46,.6);}
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-strong);
  width: 40px; height: 40px; border-radius: 10px; font-size: 18px; cursor: pointer;
  color: var(--navy);
}
.mobile-nav { display: none; padding: 6px 5% 18px; flex-direction: column; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.mobile-nav a:hover { background: var(--paper-2); }
.mobile-nav.open { display: flex; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(1000px 500px at 105% -10%, rgba(76,169,232,.14), transparent 60%),
    radial-gradient(700px 400px at -10% 105%, rgba(244,185,55,.18), transparent 60%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12.5px; font-weight: 700;
  box-shadow: var(--shadow-sm); margin-bottom: 22px; color: var(--navy);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand-green); box-shadow: 0 0 0 4px rgba(47,160,93,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47,160,93,0); }}

.hero h1 { margin-bottom: 22px; color: var(--navy); }
.hero h1 .accent { color: var(--brand-red); }
.hero h1 .marker { position: relative; white-space: nowrap; color: var(--navy); }
.hero h1 .marker::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: 4px; height: 10px;
  background: var(--brand-yellow); z-index: -1; border-radius: 4px; opacity: .65;
}
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 540px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px;}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 540px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--navy); line-height: 1;}
.stat .lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 6px;}

/* Hero art */
.hero-art { position: relative; height: 520px; }
.hero-card {
  position: absolute; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 20px; border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); }}
.hero-card .emoji { font-size: 36px; margin-bottom: 6px; display: block; }
.hero-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 2px; color: var(--navy);}
.hero-card p { font-size: 13px; color: var(--muted); margin: 0; }
.hero-card.c1 { top: 20px; left: 0; width: 210px; animation-delay: 0s; }
.hero-card.c2 { top: 30px; right: 10px; width: 220px; animation-delay: -2s; }
.hero-card.c3 { bottom: 40px; left: 40px; width: 210px; animation-delay: -4s; }
.hero-card.c4 { bottom: 20px; right: 30px; width: 210px; animation-delay: -3s; }
.hero-badge {
  position: absolute; top: 44%; left: 40%;
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; text-align: center; line-height: 1.2;
  box-shadow: var(--shadow-lg); z-index: 5; padding: 10px;
}

/* Sections */
section { position: relative; padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--brand-red); font-weight: 600; margin-bottom: 14px;
}
.section-head h2 { color: var(--navy); }
.section-head p { font-size: 17.5px; color: var(--muted); margin-top: 12px;}

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 36px 30px;
  color: #fff; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .3s ease, box-shadow .3s;
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card.kids { background: linear-gradient(155deg, #F2712C 0%, #E23A2E 100%); }
.cat-card.teachers { background: linear-gradient(155deg, #189BC3 0%, #12245C 100%); }
.cat-card.coding { background: linear-gradient(155deg, #2FA05D 0%, #12245C 100%); }
.cat-card::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: rgba(255,255,255,.1); border-radius: 50%;
}
.cat-icon { font-size: 40px; margin-bottom: 14px; position: relative; z-index: 1;}
.cat-card h3 { color: #fff; font-size: 26px; margin-bottom: 8px; position: relative; z-index: 1; }
.cat-card p { color: rgba(255,255,255,.9); position: relative; z-index: 1; margin-bottom: 22px; font-size: 15px; line-height: 1.55;}
.cat-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  position: relative; z-index: 1;
}
.cat-arrow i { transition: transform .3s; }
.cat-card:hover .cat-arrow i { transform: translateX(6px); }

/* Course grid */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.course-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--navy-3); }
.course-thumb {
  aspect-ratio: 16/10; display: grid; place-items: center;
  font-size: 78px; position: relative; overflow: hidden;
}
.course-card:nth-child(6n+1) .course-thumb { background: linear-gradient(135deg, #FFE4B5, #F4B937); }
.course-card:nth-child(6n+2) .course-thumb { background: linear-gradient(135deg, #CBE9F7, #4CA9E8); }
.course-card:nth-child(6n+3) .course-thumb { background: linear-gradient(135deg, #DCEED0, #2FA05D); }
.course-card:nth-child(6n+4) .course-thumb { background: linear-gradient(135deg, #FFC9C4, #E23A2E); }
.course-card:nth-child(6n+5) .course-thumb { background: linear-gradient(135deg, #D6DFF5, #12245C); color: #fff;}
.course-card:nth-child(6n+6) .course-thumb { background: linear-gradient(135deg, #FFDCAA, #F2712C); }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  background: rgba(15,24,48,.9); color: #fff; font-size: 11px;
  border-radius: 999px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.badge.feat { background: var(--brand-yellow); color: var(--ink); }
.course-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.course-body h4 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; color: var(--navy);}
.course-body .tagline { color: var(--muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.course-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px; flex-wrap: wrap;}
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta i { color: var(--brand-orange); }
.course-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px;}
.course-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); }
.course-price small { font-family: var(--font-body); font-size: 12px; color: var(--muted); font-weight: 500; }
.course-cta { color: var(--brand-red); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px;}
.course-cta:hover { color: var(--brand-orange); }

/* Why us / features */
.features { background: var(--paper-2); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;}
.feat-card {
  background: var(--card); padding: 30px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px; margin-bottom: 18px;
}
.feat-icon.c1 { background: rgba(226,58,46,.12); color: var(--brand-red); }
.feat-icon.c2 { background: rgba(24,155,195,.14); color: var(--brand-teal); }
.feat-icon.c3 { background: rgba(47,160,93,.14); color: var(--brand-green); }
.feat-icon.c4 { background: rgba(244,185,55,.2); color: #B58500; }
.feat-card h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; color: var(--navy);}
.feat-card p { font-size: 14.5px; margin: 0; }

/* Testimonials */
.testimonials { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.testimonials::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(244,185,55,.14), transparent 60%);
}
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-eyebrow { color: var(--brand-yellow);}
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1;}
.test-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 28px 26px;
  backdrop-filter: blur(6px);
}
.test-card .stars { color: var(--brand-yellow); margin-bottom: 12px; letter-spacing: 2px; }
.test-card blockquote {
  font-family: var(--font-display); font-size: 17px; line-height: 1.5;
  margin: 0 0 22px; color: #fff; font-weight: 500;
}
.test-who { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-display);
}
.test-name { font-weight: 700; font-size: 14.5px; }
.test-role { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* CTA */
.cta-strip {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  color: #fff; text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { color: rgba(255,255,255,.94); font-size: 17.5px; max-width: 620px; margin: 0 auto 28px; }
.cta-strip .btn-outline { color: #fff; border-color: #fff; }
.cta-strip .btn-outline:hover { background: #fff; color: var(--brand-red); }
.cta-strip .btn-primary { background: #fff; color: var(--brand-red); }
.cta-strip .btn-primary:hover { background: var(--navy); color: #fff; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1);}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand .brand-logo { height: 60px; filter: brightness(0) invert(1); opacity: .95; }
.foot-brand h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.foot-brand p { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
.foot-col h4 { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-yellow); margin-bottom: 16px; font-weight: 700;}
.foot-col a, .foot-col p { display: block; color: rgba(255,255,255,.72); font-size: 14px; margin-bottom: 10px; }
.foot-col a:hover { color: var(--brand-yellow); }
.foot-col p i { color: var(--brand-orange); width: 18px; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); display: grid; place-items: center; margin: 0;
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--brand-red); color: #fff; }
.foot-bottom { padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }
.foot-bottom p { margin: 0;}

/* Forms */
.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md);
  max-width: 540px; margin: 0 auto;
}
.form-card h2 { margin-bottom: 8px; color: var(--navy); }
.form-card .lead { color: var(--muted); margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-family: var(--font-display); }
.field label .req { color: var(--brand-red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--paper);
  font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-3); background: #fff;
  box-shadow: 0 0 0 4px rgba(47,76,183,.14);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--brand-red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: 14px;}
.alert-success { background: rgba(47,160,93,.12); color: var(--brand-green); border: 1px solid rgba(47,160,93,.3); }
.alert-error { background: rgba(226,58,46,.1); color: var(--brand-red); border: 1px solid rgba(226,58,46,.25); }

/* Page banner */
.page-banner {
  padding: 68px 0 40px; text-align: center;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 12px; color: var(--navy); }
.page-banner .crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 14px; }
.page-banner p { font-size: 17px; max-width: 640px; margin: 0 auto; color: var(--muted); }

/* Dashboard */
.dash-wrap { padding: 36px 0 72px; }
.dash-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.dash-side {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; height: fit-content; position: sticky; top: 84px;
}
.dash-side .avatar {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 800;
}
.dash-side h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; color: var(--navy);}
.dash-side .role { font-size: 11.5px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-bottom: 18px; font-weight: 700;}
.dash-side nav { display: flex; flex-direction: column; gap: 3px; }
.dash-side nav a {
  padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 14px;
  color: var(--ink-2); display: flex; align-items: center; gap: 10px;
}
.dash-side nav a:hover, .dash-side nav a.active { background: var(--paper-2); color: var(--navy); }
.dash-side nav a.active { background: rgba(18,36,92,.08); }
.dash-main { min-width: 0; }
.dash-main h2 { margin-bottom: 20px; color: var(--navy);}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px;}
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.stat-card .lbl { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 8px; font-family: var(--font-display);}
.stat-card .val { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--navy);}
.stat-card i { font-size: 20px; margin-bottom: 12px; color: var(--brand-orange); }

.enrolled-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center;
  margin-bottom: 12px;
}
.enrolled-thumb {
  width: 72px; height: 72px; border-radius: 12px;
  display: grid; place-items: center; font-size: 34px;
  background: linear-gradient(135deg, var(--paper-2), var(--brand-yellow));
}
.progress { background: var(--paper-2); height: 6px; border-radius: 999px; overflow: hidden; margin-top: 6px;}
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--brand-orange), var(--brand-yellow)); border-radius: 999px;}
.progress-txt { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px;}

/* Course detail */
.course-hero {
  padding: 56px 0 36px;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}
.course-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: flex-start; }
.course-hero .breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 14px;}
.course-hero h1 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); margin-bottom: 14px; color: var(--navy);}
.course-hero .tagline { font-size: 19px; color: var(--ink-2); margin-bottom: 22px;}
.course-hero .meta-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px;}
.pill { padding: 6px 14px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink-2);}
.course-hero .pill i { color: var(--brand-orange); margin-right: 6px;}
.course-side {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md); position: sticky; top: 90px;
}
.course-side .thumb { aspect-ratio: 16/10; border-radius: var(--radius); display: grid; place-items: center; font-size: 80px; background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange)); margin-bottom: 18px;}
.course-side .price { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--navy); }
.course-side .price small { font-size: 14px; font-weight: 500; color: var(--muted); font-family: var(--font-body); margin-left: 8px;}
.course-side ul { list-style: none; padding: 0; margin: 18px 0;}
.course-side ul li { padding: 6px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.course-side ul li i { color: var(--brand-green); }

.course-content { padding: 56px 0; }
.course-section { margin-bottom: 40px; }
.course-section h2 { font-size: 26px; color: var(--navy); margin-bottom: 16px;}
.course-section .lead-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px;}
.course-section .lead-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;}
.course-section .lead-list li i { color: var(--brand-green); margin-top: 4px; }
.syll-list { display: flex; flex-direction: column; gap: 8px;}
.syll-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; display: flex; align-items: center; gap: 14px;
}
.syll-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-2); color: var(--brand-red); font-weight: 800; font-family: var(--font-display);
  display: grid; place-items: center; flex-shrink: 0; font-size: 14px;
}
.syll-item span { font-weight: 600; font-size: 14.5px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;}
.faq-item summary { font-weight: 700; font-family: var(--font-display); cursor: pointer; color: var(--navy); font-size: 15px;}
.faq-item[open] { border-color: var(--navy-3); }
.faq-item p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px;}

/* Learn / Teacher / Admin common */
.learn-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 28px 0; min-height: calc(100vh - 180px);}
.learn-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: fit-content; position: sticky; top: 84px;}
.learn-side h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 14px; color: var(--navy);}
.lesson-list { display: flex; flex-direction: column; gap: 4px;}
.lesson-item {
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  color: var(--ink-2); text-decoration: none;
}
.lesson-item:hover { background: var(--paper-2); }
.lesson-item.active { background: rgba(18,36,92,.08); color: var(--navy); }
.lesson-item.done .num { background: var(--brand-green); color: #fff; }
.lesson-item .num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.lesson-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;}
.lesson-content h2 { margin-bottom: 18px; color: var(--navy);}
.video-frame {
  aspect-ratio: 16/9; border-radius: var(--radius); background: var(--ink);
  display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 56px;
  margin-bottom: 28px;
}

/* Certificate */
.certificate {
  max-width: 900px; margin: 60px auto; background: var(--paper-2);
  border: 10px double var(--navy); padding: 60px 40px; text-align: center;
  box-shadow: var(--shadow-lg); position: relative;
}
.certificate .cert-title { font-family: var(--font-display); font-size: 44px; color: var(--navy); margin-bottom: 8px; font-weight: 800;}
.certificate .cert-sub { font-family: var(--font-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-size: 12.5px; margin-bottom: 36px; }
.certificate .cert-name { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--brand-red); border-bottom: 2px solid var(--navy); display: inline-block; padding: 0 40px 8px; margin-bottom: 18px;}
.certificate .cert-body { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 640px; margin: 20px auto;}
.certificate .cert-course { font-family: var(--font-display); font-size: 24px; color: var(--navy); font-weight: 800; margin: 14px 0;}
.certificate .cert-foot { display: flex; justify-content: space-between; margin-top: 54px; font-size: 13.5px;}

/* Admin table */
.admin-table { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;}
.admin-table table { width: 100%; border-collapse: collapse;}
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; font-size: 13.5px;}
.admin-table th { background: var(--paper-2); font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .1em; color: var(--ink-2); font-family: var(--font-display);}
.admin-table tr { border-top: 1px solid var(--line);}
.tag { padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;}
.tag-new { background: rgba(226,58,46,.15); color: var(--brand-red);}
.tag-contacted, .tag-active { background: rgba(24,155,195,.15); color: var(--brand-teal);}
.tag-closed, .tag-inactive { background: var(--paper-2); color: var(--muted);}
.tag-present { background: rgba(47,160,93,.15); color: var(--brand-green);}
.tag-absent { background: rgba(226,58,46,.12); color: var(--brand-red);}
.tag-late { background: rgba(244,185,55,.2); color: #B58500;}

/* WhatsApp bubble */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; padding: 12px 20px 12px 16px;
  border-radius: 999px; font-weight: 800; font-size: 14px;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,.55), 0 2px 6px rgba(0,0,0,.15);
  text-decoration: none; animation: waPulse 2.4s infinite;
}
.wa-float i { font-size: 22px; }
.wa-float:hover { transform: translateY(-2px); }
@keyframes waPulse { 0%,100% {box-shadow: 0 10px 24px -8px rgba(37,211,102,.55), 0 2px 6px rgba(0,0,0,.15);} 50% {box-shadow: 0 10px 30px -6px rgba(37,211,102,.85), 0 2px 10px rgba(0,0,0,.2);}}

/* Teacher card / Zoom widgets */
.teacher-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius); padding: 18px 22px;
  margin-top: 22px; box-shadow: var(--shadow-sm);
}
.teacher-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  display: grid; place-items: center; font-size: 32px; flex-shrink: 0;
}
.zoom-schedule {
  background: linear-gradient(135deg, rgba(24,155,195,.06), rgba(18,36,92,.06));
  border: 1px solid rgba(24,155,195,.25);
  border-radius: var(--radius); padding: 16px 20px; margin-top: 14px;
}
.zoom-join-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: linear-gradient(135deg, #2D8CFF, #0E62D8);
  color: #fff; padding: 20px 24px; border-radius: var(--radius);
  margin-bottom: 28px; box-shadow: 0 12px 28px -10px rgba(45,140,255,.4);
  flex-wrap: wrap;
}
.zoom-join-card .btn { padding: 11px 22px; }
.zoom-dash {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 22px;
}
.zoom-mini {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 15px;
  transition: transform .2s, box-shadow .2s;
}
.zoom-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-md);}

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;}
.filter-bar a {
  padding: 9px 18px; border-radius: 999px; background: var(--card);
  border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 13.5px; color: var(--ink-2);
}
.filter-bar a.active, .filter-bar a:hover { background: var(--navy); color: #fff; border-color: var(--navy);}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .course-hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 380px; margin-top: 20px;}
  .course-side { position: static;}
  .feat-grid { grid-template-columns: repeat(2, 1fr);}
  .test-grid, .footer-grid { grid-template-columns: repeat(2, 1fr);}
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: auto; }
  .dash-grid, .learn-wrap { grid-template-columns: 1fr;}
  .dash-side, .learn-side { position: static; }
  .stat-row { grid-template-columns: repeat(2,1fr);}
  .main-nav { display: none; }
  .menu-toggle { display: grid; place-items: center;}
}
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
  .container { width: 94%; }
  .cat-grid, .feat-grid, .test-grid, .footer-grid { grid-template-columns: 1fr;}
  .form-row { grid-template-columns: 1fr;}
  .enrolled-card { grid-template-columns: 60px 1fr; row-gap: 12px; }
  .enrolled-card .btn { grid-column: 1 / -1;}
  .certificate { padding: 30px 20px; margin: 24px auto; border-width: 6px;}
  .certificate .cert-name { font-size: 26px; padding: 0 10px 8px;}
  .certificate .cert-title { font-size: 28px;}
  section { padding: 52px 0;}
  .hero { padding: 44px 0 60px;}
  .form-card { padding: 24px;}
  .lesson-content { padding: 22px;}
  .course-content { padding: 40px 0; }
  .course-section h2 { font-size: 22px;}
  .brand-logo { height: 42px; }
  .header-cta .btn:not(.btn-primary) { display: none; }
  .wa-float { padding: 14px;}
  .wa-float span { display: none; }
  .admin-table { overflow-x: auto;}
  .admin-table table { min-width: 560px;}
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card .val { font-size: 22px;}
  .hero-card { padding: 12px 14px; }
  .hero-card .emoji { font-size: 26px;}
  .hero-card h4 { font-size: 14px;}
}
