/* ==============================================
   CHEMISTRY CLASSES — PREMIUM WHITE/LIGHT THEME
   ============================================== */

/* ── Design Tokens ── */
:root {
  --blue: #1a56db;
  --blue-dk: #1240b0;
  --blue-lt: #eff6ff;
  --blue-mid: #dbeafe;
  --orange: #f97316;
  --orange-lt: #fff7ed;
  --dark: #0f172a;
  --dark2: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --white: #ffffff;
  --light: #f8fafc;
  --lighter: #f1f5f9;
  --border: #e2e8f0;
  --r: 16px;
  --t: 0.3s ease;
  --sh: 0 4px 24px rgba(0, 0, 0, 0.07);
  --sh2: 0 16px 48px rgba(26, 86, 219, 0.12);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}

/* ── Scroll Reveal ── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
[data-aos].in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 8px;
  transition: var(--t);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::after {
  transform: translateX(100%);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-dk);
  box-shadow: 0 8px 30px rgba(26, 86, 219, 0.35);
}
.btn-primary.w100 {
  width: 100%;
  justify-content: center;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 8px;
  transition: var(--t);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn-orange::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-orange:hover::after {
  transform: translateX(100%);
}
.btn-orange:hover {
  transform: translateY(-2px);
  background: #ea6c0a;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.35);
}
.btn-orange.w100 {
  width: 100%;
  justify-content: center;
}

/* ── Section Headings ── */
.sec-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 10px;
  border: 1px solid var(--blue-mid);
}
.sec-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.sec-title span {
  background: linear-gradient(135deg, #1a56db, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.title-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #1a56db, #f97316);
  border-radius: 4px;
  margin-bottom: 18px;
  animation: lineGrow 1.2s ease forwards;
}
.title-line.center {
  margin-left: auto;
  margin-right: auto;
}
@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 56px;
  }
}
.sec-sub {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}
.sec-head {
  text-align: center;
  margin-bottom: 56px;
}

/* ── Top Bar ── */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  display: flex;
  gap: 22px;
}
.topbar-left a,
.topbar-right {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--t);
}
.topbar-left a:hover {
  color: #fff;
}
.topbar-left a i,
.topbar-right i {
  color: var(--orange);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-right: auto;
}
/* wrapper positions byline over the logo image */
.brand-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}
.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--t);
  display: block;
}
.brand-logo:hover {
  transform: scale(1.04);
}
.brand-byline {
  font-size: 0.64rem;
  font-weight: 700;
  font-style: italic;
  color: var(--blue-dk);
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1;
  margin-top: -8px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 9px 14px;
  border-radius: 7px;
  transition: var(--t);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--blue);
  background: var(--blue-lt);
}
.nav-link.active {
  color: var(--blue);
  font-weight: 600;
}
.nav-link.enroll-btn {
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 9px 20px;
  margin-left: 6px;
}
.nav-link.enroll-btn:hover {
  background: var(--blue-dk);
  transform: translateY(-1px);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--t);
}
.burger:hover {
  background: var(--blue-lt);
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--t);
  transform-origin: center;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--blue);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--blue);
}

/* nav-header — mobile only, hidden on desktop */
.nav-header {
  display: none;
}
.nav-close {
  display: none;
}
.ticker-bar {
  background: var(--blue);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 42px;
}
.ticker-label {
  background: rgba(0, 0, 0, 0.2);
  padding: 0 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  color: #fff;
}
.ticker-label i {
  color: var(--orange);
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: flex;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  animation: ticker 30s linear infinite;
}
.ticker-content span {
  padding: 0 8px;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.ticker-bar:hover .ticker-content {
  animation-play-state: paused;
}

/* ── Hero Slider ── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

/* Top progress bar */
.sl-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 20;
}
.sl-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width linear;
}

/* Slides */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Ken Burns background */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 9s ease;
}
.slide.active .slide-bg {
  transform: scale(1);
}

/* Rich cinematic overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 15, 40, 0.88) 0%,
    rgba(8, 15, 40, 0.75) 35%,
    rgba(8, 15, 40, 0.3) 60%,
    rgba(8, 15, 40, 0) 100%
  );
}

/* Inner grid: text left, card right */
.slide-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
  width: 100%;
}

/* ── Slide Text ── */
.slide-content {
  max-width: 580px;
}
.slide.active .slide-content {
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.slide-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.13;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.slide-content h1 span {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  text-shadow:
    0 0 25px rgba(0, 0, 0, 1),
    0 2px 12px rgba(0, 0, 0, 0.95),
    0 4px 30px rgba(0, 0, 0, 0.8);
}

.slide-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.85;
}

.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Buttons inside hero */
.hero .btn-primary {
  background: var(--blue);
  border: none;
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.45);
}
.hero .btn-primary:hover {
  background: var(--blue-dk);
  box-shadow: 0 10px 32px rgba(26, 86, 219, 0.6);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition: var(--t);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--orange);
  color: var(--orange);
}

/* Trust row */
.slide-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.slide-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.slide-trust span i {
  color: #34d399;
  font-size: 0.9rem;
}

/* ── Floating Glass Card ── */
.slide-card {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.slide.active .slide-card {
  animation: slideLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sc-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.5);
}
.sc-label {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.sc-sub {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 18px;
}
.sc-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

/* Stat row in card */
.sc-stats {
  display: flex;
  width: 100%;
  margin-bottom: 18px;
}
.sc-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.sc-stat:last-child {
  border-right: none;
}
.sc-stat strong {
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.sc-stat span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features in card */
.sc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 18px;
  text-align: left;
}
.sc-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}
.sc-feat i {
  color: #34d399;
  font-size: 0.84rem;
  flex-shrink: 0;
}

/* CTA in card */
.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  transition: var(--t);
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.4);
}
.sc-cta:hover {
  background: #ea6c0a;
  gap: 14px;
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.55);
}

/* ── Slide Counter ── */
/* ── Slide Counter — Circle Ring ── */
.sl-counter {
  position: absolute;
  bottom: 32px;
  left: calc(50% - 600px + 24px);
  z-index: 10;
  width: 64px;
  height: 64px;
  display: none;
  align-items: center;
  justify-content: center;
}
.sl-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.sl-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 3;
}
.sl-ring-fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.sl-counter-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 1px;
}
.sl-cur {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.sl-total-sm {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}

/* ── Arrows ── */
.sl-prev,
.sl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.sl-prev:hover,
.sl-next:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.5);
  transform: translateY(-50%) scale(1.08);
}
.sl-prev {
  left: 28px;
}
.sl-next {
  right: 28px;
}

/* ── Dots ── */
.sl-dots {
  position: absolute;
  bottom: 36px;
  right: calc(50% - 600px + 24px);
  display: flex;
  gap: 10px;
  z-index: 10;
  align-items: center;
}
.sl-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  transition: var(--t);
  padding: 0;
  overflow: hidden;
}
.sl-dot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.sl-dot.active {
  background: var(--orange);
  width: 34px;
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.5);
}

/* ── Stats Strip — Compact Icon Left + Text Right ── */
.stats-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1a56db 55%, #1240b0 100%);
}
.stats-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stats-bg-layer::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.12);
  top: -100px;
  right: -60px;
  filter: blur(70px);
}
.stats-bg-layer::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -60px;
  left: -40px;
  filter: blur(50px);
}

/* Grid — single unified strip, no gaps */
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* Each stat: icon left + text right, horizontal */
.stat-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  position: relative;
  transition: var(--t);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.stat-box:last-child {
  border-right: none;
}
.stat-box:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* Icon circle — small */
.stat-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
}
.stat-box:hover .stat-icon-ring {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}
.stat-icon-ring > i {
  font-size: 1.1rem;
  color: #fff;
}

/* Text right */
.stat-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.stat-num {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}
.stat-box strong {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-box sup {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 2px;
}
.stat-box span {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* ── About ── */
.about-section {
  background: var(--light);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-img-frame {
  position: relative;
  height: 420px;
}
.about-img-box {
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(
      to top,
      rgba(10, 30, 90, 0.97) 0%,
      rgba(10, 30, 90, 0.85) 45%,
      rgba(10, 30, 90, 0.2) 100%
    ),
    url("../img/teacher.jpg") top center / cover no-repeat;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: #fff;
  gap: 2px;
  padding: 16px 18px;
  box-shadow: 0 24px 64px rgba(26, 86, 219, 0.3);
  overflow: hidden;
}
.about-img-box::before {
  display: none;
}
.about-img-box > i {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  animation:
    atomSpin 20s linear infinite,
    glowPulse 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  z-index: 1;
}

@keyframes atomSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* @keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4))
      drop-shadow(0 0 16px rgba(26, 86, 219, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.9))
      drop-shadow(0 0 36px rgba(249, 115, 22, 0.7))
      drop-shadow(0 0 60px rgba(26, 86, 219, 0.4));
  }
} */
.aim-label {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}
.aim-by {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
.aim-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}
/* credentials list inside the image box */
.aim-creds {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
  position: relative;
  z-index: 1;
  width: 100%;
}
.aim-creds li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
  line-height: 1.3;
}
.aim-creds li i {
  font-size: 0.62rem;
  color: #f97316;
  flex-shrink: 0;
  width: 12px;
  text-align: center;
}
.about-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: var(--sh2);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.about-badge i {
  color: var(--blue);
}
.b1 {
  top: 0;
  left: 0;
}
.b2 {
  bottom: 0;
  right: 0;
}

/* ── About credentials ── */
.about-credentials {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-lt);
  border: 1px solid var(--blue-mid);
  border-radius: 10px;
  padding: 10px 14px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.ac-item:hover {
  background: var(--blue-mid);
  transform: translateX(4px);
}
.ac-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.ac-item span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark2);
  line-height: 1.4;
}
.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark2);
  margin-bottom: 14px;
}
.about-body {
  color: var(--text);
  margin-bottom: 24px;
}
.feat-list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}
.feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--blue-lt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* ── Courses ── */
.courses-section {
  background: #fff;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.courses-row2 {
  display: flex;
  justify-content: center;
  gap: 24px;
  grid-column: 1 / -1;
}
.courses-row2 .course-card {
  width: calc(33.333% - 12px);
  max-width: 380px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: var(--sh2);
  transform: translateY(-6px);
  border-color: var(--blue);
}
.course-card.popular {
  border-top: 3px solid var(--blue);
}
.popular-ribbon {
  position: absolute;
  top: 16px;
  right: -28px;
  background: linear-gradient(135deg, #f97316, #ea6c0a);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 36px;
  transform: rotate(45deg);
  z-index: 2;
}
.cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-lt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--t);
}
.course-card:hover .cc-icon {
  background: var(--blue);
  color: #fff;
}
.cc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue-mid);
  background: var(--blue-lt);
  padding: 4px 12px;
  border-radius: 50px;
}
.course-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.course-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}
.course-card ul {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-card ul li {
  font-size: 0.84rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-card ul li i {
  color: var(--blue);
  font-size: 0.75rem;
}
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  transition: var(--t);
}
.cc-btn:hover {
  gap: 14px;
  color: var(--blue-dk);
}

/* ── Notice Board ── */
.notice-section {
  background: var(--light);
}
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

/* ── Notice Board — smooth fade+slide carousel ── */

/* All items transition smoothly */
.notice-item {
  background: #fff;
  border-radius: var(--r);
  padding: 24px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--blue);
  /* GPU-accelerated smooth transition */
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.3s ease;
  will-change: transform, opacity;
}

/* Fade+slide OUT — top item leaving */
.notice-item.ni-out {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

/* Start state for new bottom item (before transition fires) */
.notice-item.ni-from {
  opacity: 0;
  transform: translateY(30px);
}

.notice-item:first-child {
  border-left-color: var(--orange);
}
.notice-item:hover {
  transform: translateX(6px);
  box-shadow: var(--sh2);
}
.ni-date {
  min-width: 90px;
  text-align: center;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.ni-ongoing {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
/* Pulsing dot — left of text */
.ni-date::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #6ee7b7;
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }
}
.notice-item:first-child .ni-date {
  background: linear-gradient(135deg, #f97316, #ea6c0a);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.notice-item:first-child .ni-date::before {
  background: #fed7aa;
}
.ni-day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.ni-mon {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ni-yr {
  font-size: 0.68rem;
  opacity: 0.8;
}
.ni-body {
  flex: 1;
}
.ni-new {
  display: inline-block;
  background: var(--orange-lt);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.ni-body h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.ni-body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}
.ni-icon {
  font-size: 1.8rem;
  color: rgba(26, 86, 219, 0.1);
  flex-shrink: 0;
}
.notice-item:first-child .ni-icon {
  color: rgba(249, 115, 22, 0.15);
}

/* ── Gallery — 3D Focus Carousel ── */
.gallery-section {
  background: #fff;
}
.fc-stage {
  display: flex;
  align-items: center;
  position: relative;
  padding: 30px 0 40px;
}
.fc-track {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  position: relative;
  height: 360px;
  overflow: visible;
}
.fc-card {
  position: absolute;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.6s ease,
    width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.6s ease;
}
.fc-card.fc-center {
  width: 520px;
  height: 320px;
  transform: translateX(0) translateZ(0);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 24px 60px rgba(26, 86, 219, 0.22);
}
.fc-card.fc-left {
  width: 320px;
  height: 230px;
  transform: translateX(-310px) translateZ(-60px);
  opacity: 0.55;
  z-index: 2;
  box-shadow: var(--sh);
}
.fc-card.fc-right {
  width: 320px;
  height: 230px;
  transform: translateX(310px) translateZ(-60px);
  opacity: 0.55;
  z-index: 2;
  box-shadow: var(--sh);
}
.fc-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.fc-card.fc-center:hover .fc-img {
  transform: scale(1.03);
}
.fc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.6) 0%,
    transparent 55%
  );
}
.fc-card.fc-left .fc-overlay,
.fc-card.fc-right .fc-overlay {
  background: rgba(15, 23, 42, 0.35);
}
.fc-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.fc-card.fc-center .fc-caption {
  opacity: 1;
  transform: translateY(0);
}
.fc-caption i {
  font-size: 1rem;
}
.fc-caption span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.fc-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--blue);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
  z-index: 10;
  box-shadow: var(--sh);
}
.fc-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.1);
}

/* ── Reviews Carousel ── */
.reviews-section {
  background: var(--light);
}
.rv-carousel {
  position: relative;
  /* arrows sit inside the carousel, clipped only for the track */
  padding: 8px 0 56px;
}
.rv-track-wrap {
  overflow: hidden; /* only clip the sliding cards */
  width: 100%;
}
.rv-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.rv-card {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  background: #fff;
  border-radius: var(--r);
  padding: 28px 26px 24px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  border-top: 3px solid var(--blue);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  flex-shrink: 0;
}
.rv-card:hover {
  box-shadow: var(--sh2);
  transform: translateY(-4px);
}
.rv-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}
.rv-text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.rv-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rv-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
}
.rv-info span {
  font-size: 0.76rem;
  color: var(--muted);
}
.rv-badge {
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.rv-badge i {
  color: #4285f4;
}

/* Arrows — sit in rv-controls row above the carousel */
.rv-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.rv-head-row .sec-head {
  text-align: left;
  margin-bottom: 0;
}
.rv-head-row .sec-head .title-line {
  margin-left: 0;
}
.rv-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.rv-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--blue);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
  flex-shrink: 0;
}
.rv-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.rv-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.rv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s,
    transform 0.3s;
}
.rv-dot.active {
  background: var(--blue);
  transform: scale(1.35);
}

/* Overall rating */
.rv-overall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.rv-ov-score {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.rv-ov-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  display: flex;
  gap: 3px;
}
.rv-ov-label {
  font-size: 0.82rem;
  color: var(--muted);
}
.rv-ov-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.rv-ov-link i {
  color: #4285f4;
}
.rv-ov-link:hover {
  border-color: #4285f4;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.15);
}

/* ── Contact ── */
.contact-section {
  background: var(--light);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--sh);
  transition: var(--t);
}
.ci-item:hover {
  transform: translateX(4px);
  border-color: var(--blue);
  box-shadow: var(--sh2);
}
.ci-ico {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-text h5 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 3px;
}
.ci-text p {
  font-size: 0.9rem;
  color: var(--text);
}
.ci-text a {
  color: var(--text);
  transition: var(--t);
}
.ci-text a:hover {
  color: var(--blue);
}
.contact-map {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  min-height: 120px;
  justify-content: center;
}
.contact-map i {
  font-size: 2rem;
  color: var(--orange);
}
.contact-map p {
  font-size: 0.86rem;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 44px 40px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.06);
}
.contact-form h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.cf-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.cf-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}
.cf-field label em {
  color: var(--orange);
  font-style: normal;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: var(--t);
}
.cf-field select option {
  background: #fff;
  color: var(--text);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: #94a3b8;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}
.cf-field textarea {
  resize: vertical;
  min-height: 110px;
}
.cf-ok {
  display: none;
  margin-top: 14px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}
.cf-ok.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ── Floating Call & WhatsApp Buttons ── */
.float-btn {
  position: fixed;
  bottom: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  overflow: visible;
}
.float-btn i {
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
}

/* Call — left */
.float-call {
  left: 24px;
  background: var(--blue);
}
/* WhatsApp — right */
.float-wa {
  right: 24px;
  background: #25d366;
}

/* ── Pulse rings ── */
.float-btn::before,
.float-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  animation: floatPulse 2.2s ease-out infinite;
}
.float-btn::after {
  animation-delay: 1.1s;
}

.float-call::before,
.float-call::after {
  background: var(--blue);
}
.float-wa::before,
.float-wa::after {
  background: #25d366;
}

@keyframes floatPulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ── Bubble particles ── */
.float-btn .bubble {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  opacity: 0;
  animation: floatBubble 3s ease-in infinite;
  z-index: 0;
}
.float-btn .bubble:nth-child(1) {
  animation-delay: 0s;
  margin-left: -10px;
  width: 7px;
  height: 7px;
}
.float-btn .bubble:nth-child(2) {
  animation-delay: 0.7s;
  margin-left: 0px;
  width: 5px;
  height: 5px;
}
.float-btn .bubble:nth-child(3) {
  animation-delay: 1.4s;
  margin-left: 10px;
  width: 4px;
  height: 4px;
}
.float-btn .bubble:nth-child(4) {
  animation-delay: 2.1s;
  margin-left: -4px;
  width: 6px;
  height: 6px;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  80% {
    transform: translateY(-40px) scale(0.5);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-55px) scale(0.2);
    opacity: 0;
  }
}

/* ── Lightbox ── */
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}
.lb-backdrop.lb-open {
  opacity: 1;
  pointer-events: auto;
}
.lb-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lb-backdrop.lb-open .lb-img-wrap {
  transform: scale(1);
}
.lb-img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}
.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  z-index: 10000;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1) rotate(90deg);
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a56db, #f97316);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-top: 60px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}
.ft-brand .ft-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.ft-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
  margin-bottom: 14px;
  text-decoration: none;
}
.ft-byline {
  font-size: 0.64rem;
  font-weight: 700;
  font-style: italic;
  color: var(--blue);
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1;
  margin-top: -8px;
}
.ft-brand p {
  font-size: 0.86rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
}
.ft-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ft-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-col ul li a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--t);
}
.ft-col ul li a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.ft-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}
.ft-contact p i {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
  width: 14px;
}
.ft-contact a:hover {
  color: var(--orange);
}
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
}
.footer-bar-inner p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bar-inner a {
  color: var(--blue);
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.footer-bar-inner a:hover {
  opacity: 0.8;
}

/* ── Back to Top ── */
.btt {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
  z-index: 999;
}
.btt.show {
  opacity: 1;
  pointer-events: auto;
}
.btt:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .courses-row2 {
    flex-wrap: wrap;
  }
  .courses-row2 .course-card {
    width: calc(50% - 12px);
    max-width: none;
  }
  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  /* Navbar → hamburger from 900px down */
  .header-inner {
    height: 68px;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 950;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
  }
  .nav.open {
    transform: translateX(0);
    display: flex;
  }
  .nav::before {
    display: none;
  }
  .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .nav-title {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
  }
  .nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue-lt);
    border: 1px solid var(--blue-mid);
    color: var(--blue);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t);
    flex-shrink: 0;
  }
  .nav-close:hover {
    background: var(--blue);
    color: #fff;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 16px 20px;
    flex: 1;
  }
  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-link::after {
    content: "›";
    font-size: 1.2rem;
    color: var(--muted);
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link:hover,
  .nav-link.active {
    background: var(--blue-lt);
    color: var(--blue);
    padding-left: 20px;
  }
  .nav-link.enroll-btn {
    background: var(--blue);
    color: #fff !important;
    border-radius: 10px;
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    font-size: 0.95rem;
    border-bottom: none;
  }
  .nav-link.enroll-btn::after {
    display: none;
  }
  .nav-link.enroll-btn:hover {
    background: var(--blue-dk);
    padding-left: 16px;
  }
  .burger {
    display: flex;
    position: relative;
    z-index: 999;
    transition: opacity 0.2s ease;
  }
}

@media (max-width: 768px) {
  /* Courses — 1 column */
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .courses-row2 {
    flex-direction: column;
  }
  .courses-row2 .course-card {
    width: 100%;
    max-width: none;
  }
  /* Reviews — 1 card per view */
  .rv-card {
    flex: 0 0 100%;
    width: 100%;
  }
  .rv-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .rv-controls {
    align-self: flex-end;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-box {
    padding: 18px 18px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .stat-box:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.09);
  }
  .stat-box:nth-child(3),
  .stat-box:nth-child(4) {
    border-bottom: none;
  }
  .stat-box strong {
    font-size: 1.6rem;
  }
  .cf-row2 {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 88svh;
    min-height: 520px;
  }
  .slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .slide-card {
    display: none;
  }
  .slide-content {
    padding: 0 16px;
    max-width: 100%;
  }
  .slide-content h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .slide-btns {
    flex-wrap: wrap;
  }
  .slide-trust {
    gap: 12px;
  }
  .sl-counter {
    left: 20px;
    bottom: 20px;
  }
  .sl-dots {
    right: 20px;
    bottom: 24px;
  }
  .sl-prev {
    left: 10px;
  }
  .sl-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-box {
    padding: 16px 14px;
    gap: 10px;
  }
  .stat-icon-ring {
    width: 36px;
    height: 36px;
  }
  .stat-icon-ring > i {
    font-size: 0.95rem;
  }
  .stat-box strong {
    font-size: 1.5rem;
  }
  .stat-box span {
    font-size: 0.7rem;
  }
  .fc-track {
    height: 240px;
  }
  .fc-card.fc-center {
    width: 260px;
    height: 200px;
  }
  .fc-card.fc-left {
    width: 160px;
    height: 150px;
    transform: translateX(-165px) translateZ(-40px);
  }
  .fc-card.fc-right {
    width: 160px;
    height: 150px;
    transform: translateX(165px) translateZ(-40px);
  }
  .fc-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .hero-pill {
    font-size: 0.72rem;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
}
