/* =========================================================
   Ganitha Balagaraya – site styles
   Orange / dark-brown / cream theme, fully responsive.
   ========================================================= */
:root {
  --orange: #ff6b00;
  --orange-d: #e85d04;
  --orange-l: #ff9a3c;
  --orange-grad: linear-gradient(90deg, #e85d04 0%, #ff6b00 50%, #f35e05 100%);
  --brown-950: #120a04;
  --brown-900: #170d06;
  --brown-850: #1c0f06;
  --brown-800: #241308;
  --brown-700: #3a2010;
  --cream: #f5ead1;
  --cream-l: #fbf4e6;
  --ink: #1e1e1e;
  --ink-2: #3b3530;
  --muted: #6b6159;
  --yellow: #ffd23f;
  --green: #22c55e;
  --green-d: #16a34a;
  --lime: #7cfc3a;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(36, 19, 8, .12);
  --shadow-lg: 0 26px 60px rgba(36, 19, 8, .2);
  --container: 1200px;
  --header-h: 72px;
  --f-body: "Inter", "Noto Sans Sinhala", system-ui, sans-serif;
  --f-sub: "Poppins", "Noto Sans Sinhala", sans-serif;
  --f-display: "Baloo 2", "Outfit", "Noto Sans Sinhala", sans-serif;
  --f-num: "Outfit", "Inter", sans-serif;
  --f-si: "Noto Sans Sinhala", "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font: 400 16px/1.65 var(--f-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

mark {
  background: none;
  color: var(--orange-d);
  font-weight: 700;
}

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
  vertical-align: -.14em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.alt-bg {
  background: var(--cream);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- shared headings ---------- */
.eyebrow {
  font: 700 13px/1.4 var(--f-body);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font: 800 clamp(28px, 4vw, 44px)/1.25 var(--f-si);
  color: var(--ink);
}

.section-title span {
  font-family: var(--f-sub);
  font-weight: 600;
}

.section-sub {
  margin-top: 10px;
  font: 400 clamp(15px, 1.8vw, 20px)/1.6 var(--f-sub);
  color: var(--muted);
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1.5px solid rgba(255, 107, 0, .6);
  border-radius: 999px;
  background: rgba(255, 107, 0, .14);
  font: 700 12.5px/1 var(--f-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-l);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 700 14.5px/1.2 var(--f-body);
  letter-spacing: .3px;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn small {
  font-weight: 600;
  font-size: .78em;
  opacity: .85;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* light sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn:hover::after {
  left: 130%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(255, 107, 0, .35);
}

.btn-primary:hover {
  background: var(--orange-d);
  box-shadow: 0 14px 30px rgba(255, 107, 0, .45);
}

.btn-ghost {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--brown-900);
}

.btn-outline {
  color: var(--orange-d);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: #fff;
}

.btn-green {
  margin-top: 26px;
  color: #04210f;
  background: linear-gradient(180deg, #4ade80, var(--green));
  box-shadow: 0 10px 24px rgba(34, 197, 94, .35), inset 0 -3px 0 rgba(0, 0, 0, .12);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-white {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .55);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, .3);
}

/* ---------- OneLMS strip (above the orange top bar) ---------- */
.lms-strip {
  background: #fff;
  border-bottom: 2px solid #1f5fa8;
  color: #3b4250;
  font: 500 14px/1.3 var(--f-body);
}

.lms-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}

.ls-info {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.ls-powered,
.ls-support {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ls-powered img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.ls-powered b,
.ls-support a {
  font-weight: 800;
  color: #1f5fa8;
}

.ls-support .ico {
  font-size: 17px;
  color: #3b4250;
}

.ls-support a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .lms-strip {
    font-size: 13px;
  }

  .lms-strip-inner {
    min-height: 42px;
    gap: 10px;
  }

  .ls-info {
    gap: 12px;
  }

  .ls-pb,
  .ls-sl {
    display: none;
  }

}

@media (max-width: 380px) {
  .ls-powered b {
    display: none;
  }
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--orange-grad);
  color: #fff;
  font: 500 14px/1.4 var(--f-body);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-si);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar-social {
  display: flex;
  gap: 8px;
}

.topbar-social a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
  transition: background .2s ease, transform .2s ease;
}

.topbar-social a:hover {
  background: rgba(255, 255, 255, .35);
  transform: translateY(-2px);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  transition: box-shadow .3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(36, 19, 8, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  transition: height .3s ease;
}

.site-header.is-scrolled .header-inner {
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-logo {
  width: 48px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text b {
  font: 800 18px/1.2 var(--f-si);
  color: var(--ink);
}

.brand-text small {
  font: 700 13px/1.2 var(--f-body);
  color: var(--ink-2);
}

.brand-text em {
  font-style: normal;
  color: var(--orange);
}

.brand-light .brand-text b,
.brand-light .brand-text small {
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 8px 11px;
  font: 600 14.5px/1 var(--f-body);
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.main-nav a:hover,
.main-nav a.is-current {
  color: var(--orange-d);
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}

.main-nav .nav-lms {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange);
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, background .25s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, calc(100vh - 114px), 760px);
  display: flex;
  align-items: stretch;
  background: var(--brown-900);
  color: #fff;
  padding-bottom: 70px;
}

.hero-slides,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7s ease-out;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(23, 13, 6, .97) 0%, rgba(23, 13, 6, .9) 40%, rgba(23, 13, 6, .55) 70%, rgba(23, 13, 6, .35) 100%),
    linear-gradient(0deg, rgba(23, 13, 6, .9) 0%, transparent 35%),
    radial-gradient(ellipse 50% 60% at 78% 55%, rgba(255, 107, 0, .3), transparent 70%);
}

.hero-fx span {
  position: absolute;
  font: italic 700 clamp(22px, 3vw, 40px)/1 "Georgia", serif;
  color: rgba(255, 154, 60, .32);
  animation: float-sym 9s var(--d, 0s) ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-sym {
  0%, 100% { translate: 0 0; rotate: 0deg; opacity: .55; }
  50% { translate: 8px -22px; rotate: 10deg; opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 20px;
}

.hero-copy {
  padding: 64px 0 40px;
}

.hero-eyebrow {
  font: 700 14px/1.4 var(--f-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange-l);
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--f-num);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.ht-1 {
  font-size: clamp(34px, 5.4vw, 64px);
  color: var(--yellow);
  text-shadow: 0 4px 24px rgba(255, 210, 63, .25);
}

.ht-2 {
  margin-top: 6px;
  font-size: clamp(26px, 4.2vw, 50px);
  color: var(--lime);
  letter-spacing: 1.5px;
  text-shadow: 0 4px 24px rgba(124, 252, 58, .2);
}

.hero-text {
  margin-top: 22px;
  max-width: 560px;
  font: 500 clamp(15px, 1.5vw, 18px)/1.85 var(--f-si);
  color: rgba(255, 255, 255, .92);
}

.hero-name {
  margin-top: 22px;
  font: 900 clamp(30px, 3.9vw, 52px)/1.2 var(--f-si);
  background: linear-gradient(180deg, #ffb347, var(--orange) 60%, var(--orange-d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(255, 107, 0, .35));
}

/* keep "ඩී. උදයංග" together if the name has to wrap */
.hero-name span {
  white-space: nowrap;
}

.hero-cred {
  margin-top: 4px;
  font: 600 14px/1.5 var(--f-body);
  color: rgba(255, 255, 255, .85);
}

.hero-cred span {
  display: block;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange-l);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(100%, 480px);
}

.hero-ring {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 92%;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, .55) 0%, rgba(255, 107, 0, .18) 45%, transparent 70%);
  animation: ring-breathe 5s ease-in-out infinite;
}

.hero-ring::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 154, 60, .45);
  animation: spin 40s linear infinite;
}

@keyframes ring-breathe {
  50% { scale: 1.06; opacity: .85; }
}

@keyframes spin {
  to { rotate: 360deg; }
}

.hero-teacher {
  position: relative;
  width: 100%;
  margin-bottom: -70px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
  animation: teacher-in 1.1s .3s cubic-bezier(.2, .8, .3, 1) both;
}

@keyframes teacher-in {
  from { opacity: 0; translate: 60px 0; }
}

.hero-in {
  animation: hero-up .9s calc(.15s + var(--i, 0) * .12s) cubic-bezier(.2, .8, .3, 1) both;
}

@keyframes hero-up {
  from { opacity: 0; translate: 0 30px; }
}

.hero-dots {
  position: absolute;
  right: max(20px, calc((100vw - var(--container)) / 2 + 20px));
  bottom: 96px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: width .3s ease, background .3s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--orange);
}

/* ---------- monthly competition card ---------- */
.compete {
  position: relative;
  z-index: 5;
  margin-top: -70px;
}

.compete-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 34px;
  padding-right: 300px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(255, 107, 0, .55), transparent 70%),
    linear-gradient(120deg, var(--brown-800) 0%, #3a1a08 55%, #7a2e05 100%);
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255, 107, 0, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* the whole banner links to the LMS */
.compete-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(36, 19, 8, .28), 0 0 0 3px var(--orange), 0 0 30px rgba(255, 107, 0, .35);
}

.compete-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--orange);
  font: 700 13px/1.2 var(--f-si);
  box-shadow: 0 6px 14px rgba(255, 107, 0, .35);
  transition: background .2s ease;
}

.compete-cta .ico {
  transition: translate .25s ease;
}

.compete-card:hover .compete-cta {
  background: var(--orange-d);
}

.compete-card:hover .compete-cta .ico {
  translate: 4px 0;
}

.compete-timer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.compete-next {
  font: 600 13.5px/1.3 var(--f-body);
  letter-spacing: .5px;
  color: rgba(255, 255, 255, .85);
}

.compete-next b {
  color: var(--yellow);
  font-weight: 800;
}

/* per-grade dates, placed closely together (3 x 2) */
.compete-schedule {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 5px;
}

.compete-schedule li {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font: 500 11.5px/1.3 var(--f-body);
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}

.compete-schedule b {
  font-weight: 700;
  color: #fff;
}

.compete-schedule li.is-next {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, .45);
}

.compete-schedule li.is-today {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--brown-900);
}

.compete-schedule li.is-today b {
  color: var(--brown-900);
}

.compete-schedule li.is-today::after {
  content: "Today";
  margin-left: 2px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.compete-copy {
  flex: none;
}

.compete-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--brown-900);
  font: 800 11.5px/1 var(--f-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.compete-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e11d48;
  animation: pulse-dot 1.6s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .6); }
  100% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); }
}

.compete-title {
  margin-top: 10px;
  font: 800 clamp(26px, 3vw, 36px)/1.05 var(--f-display);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.compete-title b {
  display: block;
  color: var(--orange-l);
}

.compete-sub {
  margin-top: 6px;
  font: 500 13.5px/1.5 var(--f-si);
  color: rgba(255, 255, 255, .8);
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cd-box {
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 86px);
  aspect-ratio: 1 / 1.05;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fde9d4 100%);
  box-shadow: inset 0 -4px 0 rgba(232, 93, 4, .25), 0 8px 18px rgba(0, 0, 0, .25);
  font: 400 clamp(38px, 4.4vw, 56px)/1 "Yellowtail", cursive;
  color: var(--brown-800);
  padding-right: 4px;
}

.cd-label {
  font: 600 12.5px/1 var(--f-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}

.cd-colon {
  position: relative;
  width: 6px;
  height: 26px;
  margin-top: clamp(20px, 2.4vw, 30px);
}

.cd-colon::before,
.cd-colon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange-l);
}

.cd-colon::before {
  top: 0;
}

.cd-colon::after {
  bottom: 0;
}

/* tablet prize – pops out above the card (artwork sized in container units) */
.comp-pop {
  position: absolute;
  right: 0;
  bottom: -6px;
  z-index: 3;
  width: 300px;
  aspect-ratio: 350 / 320;
  container-type: inline-size;
  pointer-events: none;
}

.pp-burst {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 118cqw;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 10%, rgba(255, 226, 130, .8) 22%, rgba(255, 107, 0, .35) 42%, transparent 62%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .7) 0deg 6deg, transparent 6deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 66%);
  mask: radial-gradient(circle, #000 25%, transparent 66%);
  animation: spin 14s linear infinite, pp-burst 2.4s ease-in-out infinite;
}

.pp-float {
  position: absolute;
  inset: 0;
  animation: pp-bob 2.4s ease-in-out infinite;
}

.pp-tablet {
  position: absolute;
  right: 8cqw;
  top: 2cqw;
  width: 44cqw;
  rotate: 12deg;
  filter: drop-shadow(0 2.5cqw 3cqw rgba(20, 8, 0, .55));
  animation: pp-tilt 2.4s ease-in-out infinite;
}

.pp-gift {
  position: absolute;
  right: 0;
  bottom: 6cqw;
  width: 25cqw;
  rotate: 10deg;
  filter: drop-shadow(0 1.5cqw 2cqw rgba(20, 8, 0, .5));
}

.pp-win,
.pp-word {
  position: absolute;
  left: 9cqw;
  rotate: -8deg;
  white-space: nowrap;
  font-family: "Outfit", var(--f-body);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.pp-win {
  top: 33cqw;
  padding: 1.6cqw 4cqw 1.4cqw;
  font-size: 10cqw;
  letter-spacing: .4cqw;
  color: var(--brown-800);
  background: #fff;
  clip-path: polygon(3% 12%, 30% 0, 70% 6%, 97% 0, 100% 50%, 96% 100%, 60% 92%, 25% 100%, 0 88%, 2% 50%);
  filter: drop-shadow(0 1cqw 1cqw rgba(0, 0, 0, .35));
}

.pp-word {
  top: 46cqw;
  padding: 2cqw 4.5cqw 2.2cqw;
  font-size: 17cqw;
  letter-spacing: .6cqw;
  color: #fff;
  background: linear-gradient(180deg, #ff8a1f 0%, var(--orange) 50%, var(--orange-d) 100%);
  border: 1cqw solid var(--yellow);
  border-radius: 2cqw;
  text-shadow: 0 .8cqw 0 rgba(120, 40, 0, .6);
  box-shadow: 0 2cqw 4cqw rgba(20, 8, 0, .55), 0 0 5cqw rgba(255, 210, 63, .5);
  transform-origin: 30% 50%;
  animation: pp-word 2.4s ease-in-out infinite;
}

.comp-spark {
  position: absolute;
  width: 9cqw;
  aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 18%, #ffe27a 40%, #f0a21b 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px rgba(255, 215, 106, .9));
  animation: spark 2.4s var(--sd, 0s) ease-in-out infinite;
}

@keyframes pp-burst {
  0%, 100% { opacity: .7; scale: .92; }
  50% { opacity: 1; scale: 1.06; }
}

@keyframes pp-bob {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 0 -4cqw; scale: 1.05; }
}

@keyframes pp-tilt {
  0%, 100% { rotate: 12deg; }
  50% { rotate: 7deg; }
}

@keyframes pp-word {
  0%, 100% { scale: 1; filter: none; }
  50% { scale: 1.07; filter: brightness(1.12); }
}

@keyframes spark {
  0%, 100% { opacity: 0; scale: .3; rotate: 0deg; }
  40% { opacity: 1; scale: 1.1; rotate: 45deg; }
  70% { opacity: 0; scale: .5; rotate: 90deg; }
}

/* ---------- about ---------- */
.about {
  padding-top: 110px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 0 0 70px 70px;
}

.about-visual::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 107, 0, .35) 2px, transparent 2.5px) 0 0 / 14px 14px;
}

.about-photo {
  position: relative;
  width: 82%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 459 / 600;
}

.about-photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
  50% { translate: 0 -10px; }
}

.about-badge {
  position: absolute;
  left: 0;
  top: 70px;
  z-index: 2;
  width: 96px;
  padding: 22px 0 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--orange-l), var(--orange) 50%, var(--orange-d));
  box-shadow: 0 16px 34px rgba(255, 107, 0, .4);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.about-badge-label {
  writing-mode: vertical-rl;
  rotate: 180deg;
  font: 700 15px/1 var(--f-body);
  letter-spacing: 1.5px;
}

.about-badge-num {
  font: 900 30px/1 var(--f-num);
}

.about-heading {
  font: 800 clamp(28px, 3.6vw, 42px)/1.3 var(--f-si);
  color: var(--orange);
}

.about-heading span {
  display: block;
  color: #8a8580;
}

.about-lead {
  margin-top: 20px;
  font: 600 17px/1.8 var(--f-si);
  color: var(--ink-2);
}

.about-points {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.about-points li {
  display: flex;
  gap: 12px;
  font: 500 15.5px/1.8 var(--f-si);
  color: var(--ink-2);
}

.about-points .ico,
.learn-checks .ico {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 107, 0, .12);
  color: var(--orange-d);
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-chips span {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--cream-l);
  border: 1px solid rgba(255, 107, 0, .25);
  font: 600 13.5px/1 var(--f-body);
  color: var(--ink-2);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ---------- gallery marquee ---------- */
.gallery {
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee+.marquee {
  margin-top: 14px;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee[data-dir="right"] .marquee-track {
  animation-name: scroll-right;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.m-item {
  flex: none;
  height: 230px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(36, 19, 8, .14);
  transition: transform .35s ease, box-shadow .35s ease;
}

.marquee[data-dir="right"] .m-item {
  height: 200px;
}

.m-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform .5s ease;
}

.m-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(36, 19, 8, .24);
}

.m-item:hover img {
  transform: scale(1.06);
}

.gallery-cta {
  margin-top: 34px;
  text-align: center;
}

/* ---------- interactive learning ---------- */
.learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.learning-title {
  font: 800 clamp(26px, 3.3vw, 38px)/1.35 var(--f-si);
  color: var(--ink);
  margin-bottom: 26px;
}

.learn-block {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--orange);
  margin-bottom: 20px;
}

.learn-block h3 {
  font: 800 17px/1.5 var(--f-si);
  color: var(--orange-d);
}

.learn-block p {
  margin-top: 4px;
  font: 500 15px/1.8 var(--f-si);
  color: var(--ink-2);
}

.learn-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 26px;
}

.learn-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 15px/1.3 var(--f-body);
}

.learn-checks .ico {
  margin-top: 0;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: var(--shadow-lg), 0 0 0 6px #fff, 0 0 0 8px rgba(255, 107, 0, .35);
}

.video img,
.video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  transition: transform .5s ease;
}

.video:not(.is-playing):hover img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 34px;
  padding-left: 5px;
  box-shadow: 0 0 0 0 rgba(255, 107, 0, .6);
  animation: play-pulse 2s ease-out infinite;
}

@keyframes play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, .6); }
  100% { box-shadow: 0 0 0 26px rgba(255, 107, 0, 0); }
}

.video.is-playing .video-play {
  display: none;
}

.video-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font: 600 15px/1.4 var(--f-si);
  color: var(--ink-2);
}

.video-caption .ico {
  color: #ff0000;
  font-size: 22px;
}

/* ---------- quiz frame ---------- */
#quiz {
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(255, 107, 0, .12), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(255, 107, 0, .1), transparent 70%),
    var(--cream-l);
}

.quiz .qz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 2px solid rgba(255, 107, 0, .25);
  box-shadow: var(--shadow-lg);
}

/* ---------- timetable ---------- */
.tt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.tt-tabs,
.tt-grades {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--cream-l);
  border: 1px solid rgba(255, 107, 0, .2);
}

.tt-grades span {
  padding: 0 6px 0 10px;
  font: 600 14px/1 var(--f-si);
  color: var(--muted);
}

.tt-tab,
.tt-grade {
  padding: 9px 16px;
  border-radius: 999px;
  font: 600 14px/1.2 var(--f-si);
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.tt-grade {
  min-width: 40px;
  padding: 9px 12px;
  font-family: var(--f-num);
}

.tt-tab:hover,
.tt-grade:hover {
  background: rgba(255, 107, 0, .12);
}

.tt-tab.is-active,
.tt-grade.is-active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 107, 0, .35);
}

.tt-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.tt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  box-shadow: 0 24px 50px var(--tt-shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}

.tt-card:hover {
  transform: translateY(-6px);
}

/* glossy highlight */
.tt-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent);
  pointer-events: none;
}

.tt-card[hidden] {
  display: none;
}

.tt-orange {
  --tt-shadow: rgba(232, 93, 4, .35);
  background: linear-gradient(150deg, #ffb347 0%, #ff6b00 45%, #d9480f 100%);
}

.tt-teal {
  --tt-shadow: rgba(13, 148, 136, .35);
  background: linear-gradient(150deg, #5eead4 0%, #14b8a6 45%, #0f766e 100%);
}

.tt-head {
  position: relative;
  padding: 26px 28px 20px;
}

.tt-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font: 800 13px/1 var(--f-num);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.tt-head h3 {
  margin-top: 12px;
  font: 900 30px/1.2 var(--f-si);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.tt-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font: 600 14px/1.3 var(--f-body);
  opacity: .95;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  animation: live 1.6s ease-out infinite;
}

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
  100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.tt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
  font: 600 14.5px/1.4 var(--f-si);
}

.tt-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tt-meta a:hover {
  text-decoration: underline;
}

.tt-body {
  position: relative;
  flex: 1;
  margin: 0 14px;
  padding: 18px 18px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6);
}

.tt-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  font: 800 15.5px/1.4 var(--f-si);
  color: var(--ink);
}

.tt-group small {
  font: 600 12.5px/1.4 var(--f-si);
  color: var(--muted);
}

.tt-paper {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, .15);
}

.tt-list {
  display: grid;
  gap: 8px;
}

.tt-list li {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f8f5ef;
  font: 600 14px/1.3 var(--f-si);
  transition: background .2s ease, transform .2s ease;
}

.tt-list li:hover {
  background: #fff1e6;
  transform: translateX(3px);
}

.tt-list li[hidden] {
  display: none;
}

.tt-list b {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--brown-800);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.tt-teal .tt-list b {
  background: #0f4f4a;
}

.tt-list span {
  color: var(--ink-2);
}

.tt-list time {
  font-weight: 700;
  color: var(--orange-d);
  white-space: nowrap;
}

.tt-teal .tt-list time {
  color: #0f766e;
}

.tt-empty {
  display: none;
  padding: 18px 0 10px;
  text-align: center;
  font: 600 14px/1.5 var(--f-si);
  color: var(--muted);
}

.tt-body.is-empty .tt-empty {
  display: block;
}

.tt-body .tt-group[hidden],
.tt-body .tt-list[hidden] {
  display: none;
}

.tt-foot {
  display: flex;
  gap: 12px;
  padding: 18px 28px 24px;
}

.tt-foot .btn {
  flex: 1;
}

.tt-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--cream-l);
  border-left: 4px solid var(--orange);
  font: 500 14.5px/1.8 var(--f-si);
  color: var(--ink-2);
}

.tt-notice b {
  flex: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font: 800 11.5px/1.4 var(--f-body);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- reviews carousel ---------- */
.reviews {
  overflow: hidden;
}

.si-title {
  font-size: clamp(32px, 4.6vw, 52px);
}

.reviews-sub {
  font-weight: 600;
  color: var(--ink);
}

.review-carousel {
  position: relative;
  padding: 60px 0 10px;
}

.review-track {
  display: flex;
  align-items: center;
  gap: 26px;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.review {
  position: relative;
  flex: none;
  width: min(390px, 80vw);
  padding: 58px 28px 26px;
  border-radius: 34px;
  text-align: center;
  background: #fff;
  border: 12px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, #fff3a8 0%, #ffd23f 30%, #f5a400 70%, #ffcf3a 100%) border-box;
  box-shadow: 0 22px 44px rgba(196, 128, 0, .28), inset 0 0 0 1px rgba(0, 0, 0, .04);
  scale: .84;
  opacity: .55;
  filter: saturate(.8);
  transition: scale .6s ease, opacity .6s ease, filter .6s ease;
}

.review.is-active {
  scale: 1;
  opacity: 1;
  filter: none;
}

/* speech-bubble tail */
.review::after {
  content: "";
  position: absolute;
  left: 46px;
  bottom: -38px;
  width: 44px;
  height: 36px;
  background: linear-gradient(160deg, #ffd23f, #f5a400);
  clip-path: polygon(0 0, 100% 0, 10% 100%);
}

.review-avatar {
  position: absolute;
  left: 50%;
  top: -48px;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #f3f1ec);
  border: 7px solid #ffd23f;
  box-shadow: 0 10px 20px rgba(196, 128, 0, .3);
  font: 800 30px/1 var(--f-num);
  color: var(--orange-d);
}

.review h3 {
  font: 800 19px/1.3 var(--f-sub);
  color: var(--brown-800);
}

.review p {
  margin-top: 12px;
  font: 500 15px/1.75 var(--f-si);
  color: var(--ink-2);
}

.review footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  margin-top: 18px;
  font: 600 14px/1.3 var(--f-si);
  color: var(--muted);
}

.review footer b {
  color: var(--orange-d);
  font-family: var(--f-sub);
}


/* "why choose us" cards: an icon in the avatar circle, a tag in place of a name */
.why-card .review-avatar {
  font-size: 34px;
}

.why-card h3 {
  font: 800 19px/1.45 var(--f-si);
}

.why-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 107, 0, .1);
  border: 1px solid rgba(255, 107, 0, .3);
  color: var(--orange-d);
  font: 700 12.5px/1.2 var(--f-body);
  letter-spacing: .5px;
}

.rc-arrow {
  position: absolute;
  top: 52%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange-d);
  font-size: 22px;
  box-shadow: var(--shadow);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.rc-arrow:hover {
  background: var(--orange);
  color: #fff;
}

.rc-prev {
  left: max(16px, calc((100vw - var(--container)) / 2));
}

.rc-prev .ico {
  rotate: 180deg;
}

.rc-next {
  right: max(16px, calc((100vw - var(--container)) / 2));
}

.rc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
}

.rc-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(196, 128, 0, .35);
  transition: width .3s ease, background .3s ease;
}

.rc-dots button.is-active {
  width: 30px;
  background: var(--orange);
}

/* ---------- study materials (tilted scrolling band) ---------- */
.materials {
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  color: #fff;
  background:
    radial-gradient(ellipse 40% 50% at 10% 20%, rgba(255, 107, 0, .14), transparent 70%),
    radial-gradient(ellipse 40% 50% at 90% 85%, rgba(255, 107, 0, .12), transparent 70%),
    linear-gradient(135deg, #160b04 0%, #241308 50%, #1a0d05 100%);
}

.materials .section-title {
  color: #fff;
}

.materials .section-sub {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .78);
}

.tute-band {
  margin: 10px -4%;
  padding: 34px 0;
  rotate: -3deg;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border-block: 3px solid var(--orange);
  box-shadow: 0 0 40px rgba(255, 107, 0, .25), inset 0 0 30px rgba(0, 0, 0, .4);
  overflow: hidden;
}

.tute-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: scroll-left 36s linear infinite;
}

.tute-band:hover .tute-track {
  animation-play-state: paused;
}

.tute {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  width: 180px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .45);
  transition: transform .35s ease, box-shadow .35s ease;
}

.tute:hover {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .5), 0 0 0 3px var(--orange);
}

.tute-sym {
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 0 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .45) 0 12%, transparent 13%),
    linear-gradient(150deg, var(--c2), var(--c1));
  font: 800 40px/1 var(--f-num);
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.tute-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 0 0 8px 8px;
  background: #151515;
  color: #fff;
}

.tute-label b {
  font: 700 13px/1.15 var(--f-body);
}

.tute-label i {
  font: 600 12px/1.2 var(--f-si);
  font-style: normal;
  text-align: right;
  color: var(--orange-l);
}

.materials-cta {
  margin-top: 46px;
  text-align: center;
}

/* ---------- footer ---------- */
.site-footer {
  background: #180c05;
  color: #e5e7eb;
  border-top: 3px solid var(--orange);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr;
  gap: 40px;
}

.f-brand p {
  margin-top: 18px;
  font: 500 14.5px/1.85 var(--f-si);
  color: rgba(229, 231, 235, .8);
}

.f-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.f-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 18px;
  transition: background .2s ease, transform .2s ease;
}

.f-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.f-col h3 {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font: 700 18px/1.3 var(--f-sub);
  color: #fff;
}

.f-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.f-col>a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  font: 500 14.5px/1.4 var(--f-si);
  color: rgba(229, 231, 235, .85);
  transition: color .2s ease, translate .2s ease;
}

.f-col>a:hover {
  color: var(--orange-l);
  translate: 4px 0;
}

.f-col>a.f-lms {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #4ade80;
  font-weight: 700;
}

.f-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font: 600 14.5px/1.5 var(--f-si);
}

.f-item .ico {
  margin-top: 3px;
  font-size: 18px;
  color: var(--orange);
}

.f-item a {
  margin-right: 8px;
  white-space: nowrap;
}

.f-item a:hover {
  color: var(--orange-l);
}

.f-item small {
  display: block;
  font: 500 12.5px/1.5 var(--f-body);
  color: rgba(229, 231, 235, .6);
}

.footer-bottom {
  margin-top: 56px;
  padding: 22px 20px 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font: 500 13.5px/1.7 var(--f-body);
  color: rgba(229, 231, 235, .7);
}

.f-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.f-credit img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.f-credit b {
  color: var(--orange-l);
}

/* ---------- floating social strip, back-to-top, progress ---------- */
.float-social {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 90;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 48px;
  height: 46px;
  padding-left: 14px;
  overflow: hidden;
  border-radius: 0 12px 12px 0;
  color: #fff;
  font: 700 13.5px/1 var(--f-body);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  transition: width .3s ease;
}

.float-social a .ico {
  font-size: 20px;
}

.float-social a:hover {
  width: 140px;
}

.fs-wa { background: #25d366; }
.fs-tg { background: #2aa1da; }
.fs-fb { background: #1877f2; }
.fs-yt { background: #ff0000; }

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(255, 107, 0, .4);
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity .3s ease, translate .3s ease, visibility 0s .3s, background .2s ease;
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity .3s ease, translate .3s ease, background .2s ease;
}

.to-top:hover {
  background: var(--orange-d);
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--orange-d), var(--yellow));
  pointer-events: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 60px 70px;
  background: rgba(12, 6, 2, .92);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lb-figure {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  animation: zoom-in .3s ease;
}

.lb-figure img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 160px);
  width: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}

.lb-figure figcaption {
  margin-top: 14px;
  font: 500 15px/1.5 var(--f-body);
  color: rgba(255, 255, 255, .85);
}

@keyframes zoom-in {
  from { opacity: 0; scale: .85; }
}

.lb-close,
.lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 22px;
  transition: background .2s ease;
}

.lb-close:hover,
.lb-nav:hover {
  background: var(--orange);
}

.lb-close {
  top: 18px;
  right: 18px;
}

.lb-nav {
  top: 50%;
  translate: 0 -50%;
}

.lb-prev {
  left: 14px;
}

.lb-prev .ico {
  rotate: 180deg;
}

.lb-next {
  right: 14px;
}

/* ---------- scroll animations ----------
   site.js adds .in when an element scrolls into view, then removes the
   animation classes once it has arrived. */
.js .aos {
  transition:
    opacity .85s cubic-bezier(.2, .7, .2, 1) var(--aos-delay, 0s),
    translate .85s cubic-bezier(.2, .7, .2, 1) var(--aos-delay, 0s),
    scale .85s cubic-bezier(.2, .7, .2, 1) var(--aos-delay, 0s);
}

.js .aos:not(.in) {
  opacity: 0;
  translate: 0 40px;
}

.js .aos[data-anim="slide-right"]:not(.in) {
  translate: -70px 0;
}

.js .aos[data-anim="slide-left"]:not(.in) {
  translate: 70px 0;
}

.js .aos[data-anim="zoom"]:not(.in) {
  translate: 0 30px;
  scale: .92;
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .main-nav a {
    padding: 8px 8px;
    font-size: 14px;
  }

  .main-nav a::after {
    left: 8px;
    right: 8px;
  }
}

@media (max-width: 1040px) {
  /* a backdrop-filter would make the header the containing block of the
     fixed menu drawer and clip it to the header's height */
  .site-header {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    width: min(320px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 90px 18px 24px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    overflow-y: auto;
  }

  .nav-open .main-nav {
    transform: none;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-current {
    background: rgba(255, 107, 0, .1);
  }

  .main-nav .nav-lms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    background: var(--orange);
    color: #fff;
  }

  .main-nav .nav-lms:hover {
    background: var(--orange-d);
    color: #fff;
  }

  .nav-toggle {
    position: relative;
    z-index: 160;
  }

  /* dim the page behind the drawer; kept below the header (z-index 100),
     which holds the drawer */
  .nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(12, 6, 2, .5);
  }

  .hero-inner {
    grid-template-columns: 1fr .8fr;
  }

  .compete-card {
    flex-wrap: wrap;
    padding-right: 34px;
    padding-top: 30px;
  }

  .compete-copy {
    flex-basis: 100%;
    padding-right: 220px;
  }

  .compete-timer {
    flex-basis: 100%;
    align-items: flex-start;
  }

  .compete-schedule {
    justify-content: flex-start;
  }

  .comp-pop {
    top: -70px;
    bottom: auto;
    width: 250px;
  }

  .about-grid,
  .learning-grid {
    gap: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  .topbar-note {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .hero {
    min-height: 0;
    padding-bottom: 90px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    padding: 44px 0 10px;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: min(78%, 360px);
  }

  .hero-teacher {
    margin-bottom: -90px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(23, 13, 6, .93) 0%, rgba(23, 13, 6, .85) 55%, rgba(23, 13, 6, .7) 100%),
      radial-gradient(ellipse 70% 40% at 50% 85%, rgba(255, 107, 0, .3), transparent 70%);
  }

  .hero-dots {
    right: 50%;
    translate: 50% 0;
    bottom: 104px;
  }

  .about-grid,
  .learning-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .tt-cards {
    grid-template-columns: 1fr;
  }

  .float-social {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .topbar-social {
    display: none;
  }

  .brand-logo {
    width: 42px;
  }

  .brand-text b {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 12px;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-lg {
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .compete {
    margin-top: -60px;
  }

  .compete-card {
    padding: 26px 18px 22px;
    border-radius: 20px;
  }

  .compete-copy {
    padding-right: 0;
    margin-top: 70px;
    text-align: center;
  }

  .countdown {
    justify-content: center;
    gap: 8px;
  }

  .compete-timer {
    align-items: center;
  }

  .compete-schedule {
    justify-content: center;
  }

  .comp-pop {
    left: 50%;
    right: auto;
    top: -80px;
    width: 200px;
    translate: -50% 0;
  }

  .about-visual {
    padding: 0 0 50px 50px;
  }

  .about-badge {
    width: 72px;
    top: 40px;
    gap: 10px;
    padding: 16px 0 14px;
  }

  .about-badge-label {
    font-size: 12px;
  }

  .about-badge-num {
    font-size: 22px;
  }

  .about-actions .btn {
    flex: 1;
  }

  .learn-checks {
    grid-template-columns: 1fr;
  }

  .m-item {
    height: 170px;
  }

  .marquee[data-dir="right"] .m-item {
    height: 150px;
  }

  .tt-tabs,
  .tt-grades {
    border-radius: 18px;
    justify-content: center;
    width: 100%;
  }

  .tt-head {
    padding: 22px 20px 16px;
  }

  .tt-body {
    margin: 0 10px;
    padding: 14px 12px 6px;
  }

  .tt-list li {
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
  }

  .tt-list b {
    white-space: nowrap;
  }

  .tt-list time {
    grid-column: 2;
  }

  .tt-foot {
    padding: 16px 20px 20px;
  }

  .tt-notice {
    flex-direction: column;
    gap: 8px;
  }

  .rc-arrow {
    width: 42px;
    height: 42px;
    top: auto;
    bottom: -6px;
  }

  .rc-prev {
    left: calc(50% - 110px);
  }

  .rc-next {
    right: calc(50% - 110px);
  }

  .review {
    padding: 54px 20px 22px;
  }

  .tute {
    width: 150px;
    height: 200px;
  }

  .tute-sym {
    font-size: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track,
  .tute-track {
    animation: none !important;
  }

  .marquee,
  .tute-band {
    overflow-x: auto;
  }

  .js .aos:not(.in) {
    opacity: 1;
    translate: none;
    scale: none;
  }

  .comp-spark {
    opacity: 0;
  }
}
