/*
 * NSR Computer.bd — LearNix-inspired minimal UI
 * Font: Inter · Primary: #3B82F6 · Ink: #050505 · Soft blue: #EFF7FE
 * All public pages share this stylesheet.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-line: #dbeafe;
  --ink: #050505;
  --text: #334155;
  --muted: #64748b;
  --light: #94a3b8;
  --line: #e6eef8;
  --soft: #f5faff;
  --yellow: #fde047;
  --green: #22c55e;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-2xl: 34px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 30px -12px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 26px 50px -18px rgba(30, 64, 175, 0.22), 0 8px 18px -8px rgba(15, 23, 42, 0.08);
  --shadow-floating: 0 20px 50px -18px rgba(15, 23, 42, 0.22);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Legacy aliases used by older page markup */
  --color-primary: var(--blue);
  --color-primary-hover: var(--blue-dark);
  --color-primary-light: var(--blue-soft);
  --color-primary-border: var(--blue-line);
  --color-primary-glow: rgba(59, 130, 246, 0.2);
  --color-accent: #f97316;
  --color-accent-hover: #ea580c;
  --color-accent-light: #fff7ed;
  --color-accent-border: #ffedd5;
  --color-green: var(--blue);
  --color-green-dark: var(--blue-dark);
  --color-green-light: var(--blue-soft);
  --color-green-border: var(--blue-line);
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-orange-light: #fff7ed;
  --color-orange-border: #ffedd5;
  --color-bg: #ffffff;
  --color-bg-subtle: #f5faff;
  --color-surface: #ffffff;
  --color-surface-subtle: #f8fafc;
  --color-border: var(--line);
  --color-border-subtle: #f1f7fd;
  --color-text-main: var(--ink);
  --color-text-body: var(--text);
  --color-text-muted: var(--muted);
  --color-text-light: var(--light);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  background: #eaf4fc;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
a { color: inherit; text-decoration: none; transition: all .22s ease; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }
::selection { background: #bfdbfe; color: #0f172a; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 26px; width: 100%; }
.section { padding: 86px 0; position: relative; }
#courses { scroll-margin-top: 92px; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 18px 0;
  color: #fff;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
}
body.home .site-header.header-hidden { transform: translateY(-115%); }
body.inner .site-header {
  position: sticky;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px -14px rgba(15, 23, 42, 0.2);
  padding: 10px 0;
  color: var(--ink);
}
.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  transition: color .3s ease;
}
.brand-title span { color: inherit; }
body.inner .brand-title, .site-header.scrolled .brand-title { color: var(--ink); }
body.inner .brand-title span, .site-header.scrolled .brand-title span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin-left: auto; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: #fff; }
body.inner .nav-link, .site-header.scrolled .nav-link { color: var(--muted); }
body.inner .nav-link:hover, body.inner .nav-link.active,
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active { color: var(--blue-deep); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 6px 6px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-register .round-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .25s ease, background .25s ease;
}
.btn-register:hover .round-arrow { background: var(--blue-deep); transform: rotate(45deg); }
body.inner .btn-register, .site-header.scrolled .btn-register { border-color: var(--line); box-shadow: var(--shadow-sm); }

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
body.inner .mobile-menu-btn, .site-header.scrolled .mobile-menu-btn {
  background: var(--soft); color: var(--ink); border-color: var(--line);
}
.mobile-nav {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-top: 12px;
  box-shadow: var(--shadow-floating);
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-link { display: block; color: var(--text); padding: 11px 14px; border-radius: 10px; }
.mobile-nav .nav-link:hover, .mobile-nav .nav-link.active { background: var(--soft); color: var(--blue-dark); }

/* ============================================================
   BUTTONS / BADGES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-green {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff !important;
  box-shadow: 0 12px 24px -12px rgba(37, 99, 235, 0.7);
}
.btn-primary:hover, .btn-green:hover { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.btn-accent, .btn-orange { background: var(--ink); color: #fff !important; }
.btn-accent:hover, .btn-orange:hover { background: #1e293b; }
.btn-white { background: #fff; border-color: var(--line); color: var(--ink) !important; box-shadow: var(--shadow-sm); }
.btn-white:hover { border-color: var(--blue-line); color: var(--blue-dark) !important; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { background: #1e293b; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--blue-soft); }
.btn-lg { padding: 14px 30px; font-size: 0.98rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn .nsr-icon { stroke-width: 2px; }
.btn-primary .nsr-icon, .btn-accent .nsr-icon, .btn-dark .nsr-icon, .btn-green .nsr-icon { stroke: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}
.badge-primary, .badge-green { background: var(--blue-soft); color: var(--blue-dark); border: 1px solid var(--blue-line); }
.badge-accent, .badge-orange { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.badge-gray, .badge-dark { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* ============================================================
   HERO
   ============================================================ */
.hero-shell {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(140, 195, 255, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, #5aa6f7 0%, #3f83d6 48%, #2e6ab9 100%);
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  color: #fff;
}
.hero-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 90%, rgba(15, 60, 130, 0.28), transparent 70%);
  pointer-events: none;
}
.hero { position: relative; padding: 132px 0 0; z-index: 2; }
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
}
.hero-badge .nsr-icon { color: var(--blue-dark); }
.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin: 22px auto 18px;
  max-width: 900px;
}
.hero-subtitle {
  max-width: 580px;
  margin: 0 auto 26px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-full);
  padding: 7px 10px 7px 23px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.4);
}
.hero-search .nsr-icon { color: #64748b; flex-shrink: 0; }
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--ink);
  height: 42px;
}
.hero-search input::placeholder { color: #94a3b8; }
.hero-search button {
  border: none;
  background: var(--blue);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}
.hero-search button:hover { background: var(--blue-deep); }

.hero-visual {
  position: relative;
  height: 470px;
  margin-top: 34px;
}
.hero-rings {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translate(-50%, var(--py, 0px));
  width: 1100px;
  max-width: 140vw;
  height: 100%;
  background: repeating-radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.12) 0 1.5px, transparent 1.5px 118px);
  opacity: 0.9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 100%);
  mask-image: linear-gradient(to top, #000 55%, transparent 100%);
}
.hero-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(var(--py, 0px));
  width: 430px;
  height: 450px;
  overflow: hidden;
  border-radius: 220px 220px 0 0;
  box-shadow: 0 30px 60px -30px rgba(6, 30, 66, 0.8);
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
}
.hero-person-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: translate(var(--img-tx, 0%), var(--img-ty, 0%)) scale(var(--img-zoom, 1));
  transform-origin: 50% 50%;
}
.hero-float {
  position: absolute;
  z-index: 4;
  --float-scale: 1;
  transform: translateY(var(--py, 0px)) scale(var(--float-scale));
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 24px 50px -24px rgba(2, 22, 50, 0.55);
  padding: 20px 22px;
  text-align: left;
}
.hero-rating-card { left: 2%; bottom: 34px; width: 226px; }
.hero-rating-card .score { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.hero-stars { color: #facc15; font-size: 0.92rem; letter-spacing: 2px; margin: 7px 0 8px; }
.hero-rating-card p, .hero-learners-card p { font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.hero-learners-card { right: 1%; bottom: 96px; width: 286px; }
.hero-learners-card .count { font-size: 1.65rem; font-weight: 700; margin: 12px 0 4px; line-height: 1; }
.avatar-row { display: flex; align-items: center; }
.avatar-row img {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -12px;
  background: #dbeafe;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
}
.avatar-row img:first-child { margin-left: 0; }
.hero-star-deco, .hero-sun-deco { position: absolute; z-index: 3; pointer-events: none; }
.hero-star-deco { right: 11%; top: 16%; width: 52px; height: 52px; }
.hero-sun-deco { left: 9%; top: 47%; width: 78px; height: 78px; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
  text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-title-wrap { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.section-subtitle { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { background: #fff; padding-top: 78px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.category-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.5);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 28px 52px -26px rgba(37, 99, 235, 0.42);
}
.category-media {
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  background: #e2e8f0;
}
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.category-card:hover .category-media img { transform: scale(1.05); }
.category-count {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.6);
}
.category-count::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.category-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 4px 7px 4px;
}
.category-body h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 3px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.category-link { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.category-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--blue);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.category-card:hover .category-arrow { background: var(--blue); color: #fff; transform: rotate(45deg); }

/* ============================================================
   TRUST BENTO
   ============================================================ */
.trust-section { background: #fff; }
.trust-bento {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.trust-col { display: flex; flex-direction: column; gap: 20px; }
.trust-photo {
  border-radius: 20px;
  overflow: hidden;
  flex: 1;
  min-height: 230px;
  background: #dbeafe;
}
.trust-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate(var(--img-tx, 0%), var(--img-ty, 0%)) scale(var(--img-zoom, 1));
  transform-origin: 50% 50%;
  transition: transform .5s ease;
}
.feature-card {
  background: #eaf3fd;
  border-radius: 20px;
  padding: 26px;
  text-align: left;
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .7);
}
.feature-icon .nsr-icon { stroke: #fff; }
.feature-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }
.trust-main {
  background: #eaf3fd;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.orbit {
  position: relative;
  height: 240px;
  display: grid;
  place-items: center;
}
.orbit::before, .orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid #cfe2f7;
}
.orbit::before { width: 250px; height: 250px; }
.orbit::after { width: 160px; height: 160px; border-color: #d8e8f9; }
.orbit-avatar {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px -8px rgba(15, 23, 42, .25);
}
.orbit-avatar.center { width: 94px; height: 94px; position: relative; z-index: 2; }
.orbit-avatar.a1 { width: 52px; height: 52px; top: 2px; left: 50%; transform: translateX(-50%); }
.orbit-avatar.a2 { width: 46px; height: 46px; top: 42px; left: 8%; }
.orbit-avatar.a3 { width: 58px; height: 58px; top: 58px; right: 4%; }
.orbit-avatar.a4 { width: 40px; height: 40px; bottom: 30px; left: 12%; }
.orbit-avatar.a5 { width: 50px; height: 50px; bottom: 6px; right: 16%; }

/* ============================================================
   COURSES
   ============================================================ */
.courses-section { background: #edf5fd; }
.course-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-pill {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-pill:hover { color: var(--blue-dark); box-shadow: var(--shadow-sm); }
.filter-pill.active { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .8); }

.course-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 16px;
  scrollbar-width: none;
}
.course-slider::-webkit-scrollbar { display: none; }
.course-tile {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8f0fa;
  box-shadow: 0 10px 28px -20px rgba(15, 23, 42, .35);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  animation: tileIn .6s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.course-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.course-cover { position: relative; height: 196px; overflow: hidden; background: #dbeafe; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.course-tile:hover .course-cover img { transform: scale(1.05); }
.course-rating {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; color: var(--ink);
  font-size: 0.75rem; font-weight: 600;
  padding: 5px 10px; border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.course-rating .star { color: #fbbf24; }
.course-level {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255, 255, 255, .95);
  color: var(--blue-dark);
  font-size: 0.7rem; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-full);
}
.course-tile-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.course-tile-body h3 { font-size: 1.06rem; font-weight: 600; line-height: 1.35; margin-bottom: 4px; }
.course-by { font-size: 0.78rem; color: var(--blue-dark); margin-bottom: 12px; }
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.course-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500; color: #475569;
  border: 1px solid #e2e8f0; border-radius: var(--radius-full);
  padding: 5px 10px; background: #fff;
}
.course-chip .nsr-icon { color: #64748b; }
.course-students {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500; color: #475569;
  border: 1px solid #e2e8f0; border-radius: var(--radius-full);
  padding: 5px 10px; align-self: flex-start; margin-bottom: 16px;
}
.course-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.course-price { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.course-price small { font-size: 0.68rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.enroll-btn {
  background: var(--ink);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: all .22s ease;
}
.enroll-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  position: relative;
  min-height: 44px;
}
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #bfdbfe; cursor: pointer; padding: 0; transition: all .25s ease; }
.slider-dot.active { width: 26px; border-radius: 99px; background: var(--blue); }
.slider-arrows { position: absolute; right: 0; display: flex; gap: 10px; }
.slider-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #dbe7f4; background: transparent; color: #475569;
  display: grid; place-items: center; cursor: pointer; transition: all .2s ease;
}
.slider-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider-arrow.next { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider-arrow.next:hover { background: var(--blue-deep); }

/* Legacy course cards (kept for compatibility) */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.course-card-visual {
  background: #fff; border-radius: 20px; border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.course-card-visual:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.course-thumb-wrap { position: relative; height: 200px; overflow: hidden; background: #f1f5f9; }
.course-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card-visual:hover .course-thumb { transform: scale(1.05); }
.course-badge-overlay {
  position: absolute; top: 14px; left: 14px; background: #fff; color: var(--blue-dark);
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.course-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.course-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.course-price-tag { margin-left: auto; font-weight: 700; font-size: 1rem; color: var(--ink); }
.course-name { font-size: 1.16rem; font-weight: 600; margin-bottom: 12px; }
.course-points { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; flex: 1; }
.course-points li { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.course-points li .nsr-icon { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   MENTORS
   ============================================================ */
.mentors-section { background: #fff; overflow: hidden; }
.mentor-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 26px 10px;
  margin: 0 -26px;
  scrollbar-width: none;
}
.mentor-track::-webkit-scrollbar { display: none; }
.mentor-empty { padding: 34px 10px; color: var(--muted); }
.mentor-card {
  position: relative;
  flex: 1 0 268px;
  max-width: 340px;
  height: 356px;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: center;
  background: #dbeafe;
  box-shadow: 0 14px 32px -24px rgba(15, 23, 42, .45);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}
.mentor-card:hover { transform: translateY(-6px); box-shadow: 0 26px 48px -26px rgba(15, 23, 42, .5); }
.mentor-media { position: relative; width: 100%; height: 100%; }
.mentor-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate(var(--img-tx, 0%), var(--img-ty, 0%)) scale(var(--img-zoom, 1));
  transform-origin: 50% 50%;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.mentor-card:hover .mentor-media img {
  transform: translate(var(--img-tx, 0%), var(--img-ty, 0%)) scale(calc(var(--img-zoom, 1) * 1.05));
}
.mentor-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 20, 45, .05) 30%, rgba(2, 20, 45, .78) 100%);
  pointer-events: none;
}
.mentor-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: .7rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}
.mentor-caption { position: absolute; left: 18px; right: 74px; bottom: 18px; z-index: 2; color: #fff; }
.mentor-caption strong { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.mentor-caption span { display: block; margin-top: 3px; font-size: .78rem; opacity: .86; line-height: 1.35; }
.mentor-open {
  position: absolute; z-index: 2; right: 16px; bottom: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center; border: none; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(2, 20, 45, .6);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.mentor-open:hover { transform: scale(1.09); background: var(--blue); color: #fff; }
.mentor-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.mentor-controls.is-hidden { display: none; }
.mentor-controls .slider-arrow.is-disabled { opacity: .38; pointer-events: none; }

/* Mentor profile modal */
.mentor-modal { max-width: 520px; position: relative; overflow: hidden; }
.mentor-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  display: grid; place-items: center; border: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(2, 20, 45, .5);
  transition: background .2s ease, color .2s ease;
}
.mentor-modal-close:hover { background: #fee2e2; color: #dc2626; }
.mentor-modal-photo { position: relative; height: 280px; overflow: hidden; background: #dbeafe; }
.mentor-modal-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate(var(--img-tx, 0%), var(--img-ty, 0%)) scale(var(--img-zoom, 1));
  transform-origin: 50% 50%;
  transition: transform .5s ease;
}
.mentor-modal-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 20, 45, .35));
  pointer-events: none;
}
.mentor-modal-tag {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  background: #fff; color: var(--blue-dark);
  font-size: .72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 8px 18px -10px rgba(2, 20, 45, .55);
}
.mentor-modal-name { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.mentor-modal-role { margin-top: 4px; color: var(--blue); font-size: .88rem; font-weight: 600; }
.mentor-modal-bio { margin-top: 14px; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.mentor-modal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mentor-chip {
  background: var(--soft); border: 1px solid var(--line);
  color: #334155; font-size: .76rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.mentor-modal-stats { display: flex; gap: 12px; margin-top: 18px; }
.mentor-modal-stats > div {
  flex: 1; min-width: 0;
  background: #f4f8fe; border: 1px solid #e4eefb;
  border-radius: 14px; padding: 12px 14px;
}
.mentor-modal-stats strong { display: block; font-size: .95rem; color: var(--ink); }
.mentor-modal-stats span { display: block; margin-top: 2px; font-size: .72rem; color: var(--muted); }
.mentor-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mentor-modal-actions:empty { display: none; }
.mentor-action {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600;
  padding: 10px 16px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.mentor-action.ghost { background: #f1f6fd; border: 1px solid #dbe8f8; color: var(--blue-dark); }
.mentor-action.ghost:hover { background: #e7f0fb; transform: translateY(-1px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: #fff; }
.nsr-faq-accordion { display: flex; flex-direction: column; gap: 12px; max-width: 830px; margin: 0 auto; }
.nsr-faq-item {
  background: #eef5fc;
  border: 1px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.nsr-faq-item.active { background: #eaf2fb; border-color: #d6e6f7; }
.nsr-faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 24px; font-size: .95rem; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nsr-faq-toggle-icon {
  width: 24px; height: 24px; color: #334155;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .25s ease;
}
.nsr-faq-item.active .nsr-faq-toggle-icon { transform: rotate(180deg); }
.nsr-faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.16, 1, .3, 1), padding .35s cubic-bezier(.16, 1, .3, 1); padding: 0 24px; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.nsr-faq-item.active .nsr-faq-answer { max-height: 420px; padding: 0 24px 20px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { position: relative; background: #fff; text-align: center; padding: 76px 0 0; overflow: hidden; }
.cta-rings {
  position: absolute;
  left: 50%; bottom: -420px;
  transform: translate(-50%, var(--py, 0px));
  width: 1400px; height: 1400px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #5b9df0 0 24%, transparent 24.2%),
    radial-gradient(circle, #7db4f5 0 37%, transparent 37.2%),
    radial-gradient(circle, #b9d8fa 0 49%, transparent 49.2%),
    radial-gradient(circle, #d5e8fc 0 61%, transparent 61.2%),
    radial-gradient(circle, #e8f3fd 0 73%, transparent 73.2%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 12px; }
.cta-inner p { color: var(--muted); max-width: 540px; margin: 0 auto 24px; font-size: .98rem; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #4a94ec, #2563eb);
  color: #fff; font-size: .88rem; font-weight: 600;
  padding: 7px 7px 7px 22px; border-radius: var(--radius-full);
  box-shadow: 0 16px 30px -14px rgba(37, 99, 235, .8);
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn .round-arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue-dark); display: grid; place-items: center; }
.cta-photo-wrap { position: relative; height: 360px; margin-top: 30px; }
.cta-photo {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%) translateY(var(--py, 0px));
  width: 360px; height: 350px;
  overflow: hidden;
  border-radius: 210px 210px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  box-shadow: 0 30px 60px -30px rgba(6, 30, 66, .5);
}
.cta-photo-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 16%;
  transform: translate(var(--img-tx, 0%), var(--img-ty, 0%)) scale(var(--img-zoom, 1));
  transform-origin: 50% 50%;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: #000;
  color: #cbd5e1;
  padding: 54px 0 30px;
  border: none;
}
.site-footer .container { max-width: 1200px; }
.footer-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-connect h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 8px; }
.footer-connect p { color: #94a3b8; font-size: .9rem; max-width: 520px; }
.footer-connect-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7);
  padding: 11px 24px; border-radius: var(--radius-full); font-size: .86rem; font-weight: 600;
}
.btn-ghost-light:hover { background: #fff; color: #000; }
.btn-gradient {
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #6bb0f7, #3b82f6);
  color: #fff; font-size: .86rem; font-weight: 600;
  padding: 7px 7px 7px 22px; border-radius: var(--radius-full);
}
.btn-gradient:hover { transform: translateY(-2px); }
.btn-gradient .round-arrow { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--blue-dark); display: grid; place-items: center; }

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding: 42px 0 34px;
}
.footer-brand-col .footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand-col .footer-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.footer-brand-col .footer-brand-name { color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.footer-brand-col .footer-brand-name span { color: #7db4f5; }
.footer-about { color: #94a3b8; font-size: .88rem; line-height: 1.65; margin-bottom: 18px; max-width: 330px; }
.footer-col-title { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #94a3b8; font-size: .86rem; }
.footer-links a:hover { color: #fff; padding-left: 3px; }
.footer-contact-item { display: flex; gap: 10px; color: #94a3b8; font-size: .86rem; line-height: 1.6; margin-bottom: 12px; }
.footer-contact-item .nsr-icon { color: #93c5fd; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: #cbd5e1; }
.footer-contact-item a:hover { color: #fff; }

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-full);
  padding: 5px 5px 5px 18px;
  max-width: 360px;
}
.newsletter-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-size: .82rem; min-width: 0;
}
.newsletter-form input::placeholder { color: #64748b; }
.newsletter-form button {
  border: none; border-radius: var(--radius-full);
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #fff; font-size: .78rem; font-weight: 600;
  padding: 9px 18px; cursor: pointer; flex-shrink: 0;
}
.newsletter-form button:hover { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: #94a3b8;
}
.footer-bottom a { color: #cbd5e1; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  background: #2563eb; color: #fff;
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.social-row a:hover { background: #1d4ed8; transform: translateY(-2px); }

/* Made by Appynext watermark (right side of the footer legal row) */
.footer-bottom-side {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  color: #64748b;
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
}
.footer-made:focus-visible { outline: 2px solid #3b82f6; outline-offset: 4px; border-radius: 6px; }
.footer-made img {
  width: 16px;
  height: 16px;
  opacity: .75;
  transition: opacity .25s ease, transform .25s ease;
}
.footer-made strong {
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .25s ease;
}
.footer-made:hover img { opacity: 1; transform: translateY(-1px); }
.footer-made:hover strong { color: #fff; }
@media (max-width: 600px) {
  .footer-bottom-side { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
}

/* Legacy footer grid (inner pages) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 32px;
}
.footer-brand h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.footer-brand h3 span { color: #7db4f5; }
.footer-brand p { color: #94a3b8; font-size: .88rem; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col p, .footer-col p strong { color: #94a3b8 !important; }
.footer-col p strong { color: #cbd5e1 !important; }

/* ============================================================
   INNER PAGE HEADER + CARDS + FORMS
   ============================================================ */
body.inner { background: #f4f9ff; }
.page-header-clean, .page-header-curved, .page-header-solid {
  background: linear-gradient(180deg, #e8f3fd 0%, #f8fcff 100%);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 46px;
  text-align: left;
}
.page-header-clean h1, .page-header-curved h1, .page-header-solid h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.035em;
}
.page-header-clean p, .page-header-curved p, .page-header-solid p {
  color: var(--muted);
  font-size: .98rem;
  margin-top: 8px;
  max-width: 660px;
  line-height: 1.7;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-line); }

.form-group { margin-bottom: 20px; min-width: 0; }
.form-label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px;
  font-size: .92rem;
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control::placeholder { color: #9aa8ba; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, .12); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-full { grid-column: 1 / -1; }

/* Two-column inner page layouts that stack on smaller screens */
.page-split { display: grid; gap: 36px; align-items: start; }
.page-split > * { min-width: 0; }
.page-split-form { grid-template-columns: 1.4fr 1fr; }
.page-split-pay { grid-template-columns: 1fr 1.25fr; }
@media (max-width: 992px) {
  .page-split-form, .page-split-pay { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue-dark);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info-card h4 { font-size: .95rem; font-weight: 600; margin-bottom: 3px; }
.contact-info-card p, .contact-info-card a { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.contact-info-card a:hover { color: var(--blue-dark); }
.contact-form-card { padding: 32px; }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-form-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.contact-map {
  position: relative;
  margin-top: 34px;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #e8f0fb;
  display: flex;
  align-items: center;
  padding: 28px;
}
.map-roads { position: absolute; inset: 0; overflow: hidden; }
.map-road {
  position: absolute; display: block; background: #fff;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, .08);
  border-radius: 999px;
}
.map-road-1 { width: 135%; height: 30px; top: 18%; left: -18%; transform: rotate(-7deg); }
.map-road-2 { width: 22px; height: 150%; top: -25%; left: 63%; transform: rotate(11deg); }
.map-road-3 { width: 120%; height: 16px; bottom: 16%; left: -10%; transform: rotate(5deg); }
.map-block {
  position: absolute; display: block; border-radius: 14px;
  background: rgba(147, 197, 253, .28);
}
.map-block-1 { width: 170px; height: 90px; top: 12%; right: 8%; }
.map-block-2 { width: 120px; height: 70px; bottom: 12%; left: 12%; }
.map-marker {
  position: absolute; right: 22%; top: 24%;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, .55), 0 0 0 12px rgba(59, 130, 246, .14);
  animation: mapPulse 2.8s ease-in-out infinite;
}
.map-marker .nsr-icon { stroke: #fff; }
@keyframes mapPulse {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(37, 99, 235, .55), 0 0 0 12px rgba(59, 130, 246, .14); }
  50% { box-shadow: 0 14px 30px -8px rgba(37, 99, 235, .55), 0 0 0 20px rgba(59, 130, 246, .06); }
}
.map-details {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  max-width: 460px;
  box-shadow: 0 18px 40px -20px rgba(15, 23, 42, .28);
}
.map-details h3 { font-size: 1.2rem; margin: 6px 0 6px; }
.map-details p { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.map-details .btn { display: inline-flex; align-items: center; gap: 6px; }
.contact-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #16a34a; color: #fff !important;
  padding: 11px 22px; border-radius: var(--radius-full);
  font-size: .86rem; font-weight: 600;
}
.contact-wa-btn:hover { background: #15803d; transform: translateY(-2px); }

/* ============================================================
   HIGHLIGHTS / JOURNEY / SERVICES (legacy inner-page blocks)
   ============================================================ */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.highlight-card {
  background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; gap: 14px; align-items: flex-start;
}
.highlight-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue-dark);
  display: grid; place-items: center; flex-shrink: 0;
}
.highlight-icon .nsr-icon { stroke: var(--blue-dark); }
.journey-panel-clean { background: #fff; border-radius: 24px; border: 1px solid var(--line); padding: 44px; box-shadow: var(--shadow-sm); }
.journey-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.journey-media-card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); }
.journey-media-img { width: 100%; height: 400px; object-fit: cover; }
.journey-media-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.95); border-radius: 14px; padding: 12px 16px;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.journey-steps { display: flex; flex-direction: column; gap: 14px; }
.journey-step-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start;
  transition: all .25s ease;
}
.journey-step-item:hover { border-color: var(--blue-line); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.step-num { font-size: .78rem; font-weight: 700; color: var(--blue-dark); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }
.step-content h4 { font-size: 1rem; margin-bottom: 3px; }
.step-content p { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.services-section { background: #fff; }
.services-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.services-img { width: 100%; height: 400px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-card); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-item { background: #f7fbff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: all .25s ease; }
.service-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--blue-line); }
.service-title { font-size: .98rem; font-weight: 600; margin-bottom: 5px; }
.service-desc { font-size: .83rem; color: var(--muted); line-height: 1.5; }

/* Legacy testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial-stars { color: #fbbf24; margin-bottom: 10px; letter-spacing: 1px; }
.testimonial-quote { font-size: .9rem; color: var(--text); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.testimonial-author-name { font-weight: 600; font-size: .9rem; }
.testimonial-author-course { font-size: .76rem; color: var(--muted); }

/* ============================================================
   MODALS / TOASTS / REVEAL
   ============================================================ */
.nsr-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(2, 20, 45, .5);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.nsr-modal-backdrop.active { opacity: 1; visibility: visible; }
.nsr-modal {
  background: #fff; border-radius: 22px; width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-floating);
  transform: scale(.95) translateY(12px); transition: transform .25s ease;
}
.nsr-modal-backdrop.active .nsr-modal { transform: scale(1) translateY(0); }
.nsr-modal-header { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.nsr-modal-title { font-size: 1.2rem; font-weight: 600; }
.nsr-modal-close { background: var(--soft); border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.nsr-modal-close:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.nsr-modal-body { padding: 24px; }
.nsr-modal-footer { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: var(--soft); border-radius: 0 0 22px 22px; }

.nsr-toast-container { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.nsr-toast {
  pointer-events: auto; min-width: 300px; max-width: 520px;
  padding: 13px 20px; border-radius: 999px; display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 500; font-size: .9rem;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,.4);
  transform: translateY(-70px) scale(.94); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nsr-toast.show { transform: translateY(0) scale(1); opacity: 1; }
.nsr-toast-success { background: #0f172a; }
.nsr-toast-success .nsr-toast-icon { color: #60a5fa; }
.nsr-toast-error { background: #dc2626; }
.nsr-toast-icon .nsr-icon { stroke: currentColor; }

/* ---------------- Motion & scroll reveal ---------------- */
@keyframes riseIn {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes tileIn {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: .88; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  translate: 0 30px;
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), translate .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}
.reveal-left { translate: -22px 0; }
.reveal-right { translate: 22px 0; }
.reveal-scale { translate: 0 22px; transform: scale(.94); }
.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed, .reveal-scale.revealed {
  opacity: 1;
  translate: 0 0;
}
.reveal-scale.revealed { transform: scale(1); }

/* Staggered groups: children animate in sequence when the group enters view */
.js .stagger > * { opacity: 0; }
.js .stagger.in-view > * { animation: riseIn .7s cubic-bezier(.16, 1, .3, 1) both; }
.js .stagger.in-view > *:nth-child(1) { animation-delay: .04s; }
.js .stagger.in-view > *:nth-child(2) { animation-delay: .11s; }
.js .stagger.in-view > *:nth-child(3) { animation-delay: .18s; }
.js .stagger.in-view > *:nth-child(4) { animation-delay: .25s; }
.js .stagger.in-view > *:nth-child(5) { animation-delay: .32s; }
.js .stagger.in-view > *:nth-child(6) { animation-delay: .39s; }
.js .stagger.in-view > *:nth-child(7) { animation-delay: .46s; }
.js .stagger.in-view > *:nth-child(8) { animation-delay: .53s; }

/* Hero entrance */
.hero-badge, .hero-title, .hero-subtitle, .hero-search, .hero-visual {
  animation: riseIn .9s cubic-bezier(.16, 1, .3, 1) both;
}
.hero-badge { animation-delay: .06s; }
.hero-title { animation-delay: .14s; }
.hero-subtitle { animation-delay: .22s; }
.hero-search { animation-delay: .3s; }
.hero-visual { animation-delay: .34s; }

/* Soft ambient motion */
.hero-star-deco { animation: spinSlow 26s linear infinite; }
.hero-sun-deco { animation: sunPulse 6s ease-in-out infinite; transform-origin: center; }
.orbit-avatar { animation: bob 6.5s ease-in-out infinite; }
.orbit-avatar.center { animation-delay: -1.6s; }
.orbit-avatar.a1 { animation-delay: -.5s; }
.orbit-avatar.a2 { animation-delay: -2.2s; }
.orbit-avatar.a3 { animation-delay: -3.1s; }
.orbit-avatar.a4 { animation-delay: -4s; }
.orbit-avatar.a5 { animation-delay: -1.1s; }

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .course-tile { flex-basis: calc((100% - 24px) / 2); }
  .footer-main-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main-grid .footer-contact-col { grid-column: 2 / 4; }
  .hero-float { --float-scale: .92; }
  .hero-rating-card { left: 0; }
  .hero-learners-card { right: 0; }
}
@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .mobile-menu-btn { display: flex; }
  .hero-visual { height: 430px; }
  .hero-person { width: 380px; height: 410px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-bento { grid-template-columns: 1fr 1fr; }
  .trust-main { order: 3; grid-column: 1 / -1; }
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
  .footer-main-grid .footer-contact-col { grid-column: auto; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-grid, .services-split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 118px; }
  .hero-title { font-size: 2.35rem; }
  .hero-subtitle { font-size: .92rem; }
  .hero-visual { height: 360px; margin-top: 26px; }
  .hero-person { width: 300px; height: 340px; }
  .hero-float { padding: 14px 16px; border-radius: 16px; }
  .hero-rating-card { width: 170px; left: -4px; bottom: 6px; }
  .hero-rating-card .score { font-size: 1.35rem; }
  .hero-learners-card { width: 210px; right: -4px; bottom: 90px; }
  .hero-learners-card .count { font-size: 1.35rem; }
  .avatar-row img { width: 34px; height: 34px; }
  .hero-star-deco { width: 36px; height: 36px; right: 5%; top: 8%; }
  .hero-sun-deco { width: 54px; height: 54px; left: 4%; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .category-card { padding: 10px; border-radius: 20px; }
  .category-media { border-radius: 14px; }
  .trust-bento { grid-template-columns: 1fr; }
  .trust-main { order: 0; grid-column: auto; }
  .reveal-left, .reveal-right { translate: 0 24px; }
  .trust-photo { min-height: 220px; }
  .course-tile { flex-basis: 86%; }
  .slider-arrows { position: static; margin-top: 14px; }
  .slider-controls { flex-direction: column; gap: 14px; }
  .mentor-card { flex-basis: 232px; height: 316px; }
  .footer-connect { flex-direction: column; align-items: flex-start; }
  .footer-main-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-main-grid .footer-contact-col { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-form { max-width: 100%; }
  .btn-register span:not(.round-arrow) { display: none; }
  .btn-register { padding: 6px; }
  .cta-photo-wrap { height: 300px; }
  .cta-photo { width: 300px; height: 290px; }
  .journey-panel-clean { padding: 28px 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .slider-controls { margin-top: 18px; }
  .footer-legal { width: 100%; }
}
@media (max-width: 600px) {
  .category-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .category-card { padding: 11px; border-radius: 22px; }
  .category-media { aspect-ratio: 16 / 9; border-radius: 15px; }
  .category-body { padding: 14px 5px 6px 5px; }
}
@media (max-width: 480px) {
  .navbar-pill { gap: 14px; }
  .brand-link { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-title { font-size: 1.1rem; }
  .mobile-menu-btn { width: 38px; height: 38px; }
  .hero-title { font-size: 1.85rem; }
  .hero-visual { height: 330px; }
  .hero-person { width: 260px; height: 310px; }
  .hero-rating-card { width: 150px; }
  .hero-learners-card { width: 180px; bottom: 100px; }
  .hero-learners-card p { font-size: .72rem; }
  .hero-rating-card p { font-size: .72rem; }
  .course-tile { flex-basis: 94%; }
  .mentor-card { flex-basis: 84%; height: 340px; }
  .section-head h2 { font-size: 1.7rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badge, .hero-title, .hero-subtitle, .hero-search, .hero-visual,
  .course-tile, .hero-star-deco, .hero-sun-deco, .orbit-avatar {
    animation: none !important;
  }
  .js .stagger > * { opacity: 1; }
  .js .stagger.in-view > * { animation: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    translate: none !important;
    transform: none !important;
    transition: none !important;
  }
  body.home .site-header.header-hidden { transform: none; }
}
