/* ════════════════════════════════════════════════════════════════
   RevitTech — Consolidated stylesheet
   Extracted from index.html on 2026-05-25
   ════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════
   BLOCK 1 (originally inline style block 1 in index.html)
   ════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   REVITTECH • PARALLAX EDITION
   Hero cinematic • Body subtle • Curriculum + Outsourcing scrollytelling
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:          #0a0818;
  --navy-2:        #0d0b1e;
  --purple-deep:   #1a1040;
  --purple-mid:    #3d1fa3;
  --purple-bright: #6c3fff;
  --violet:        #8b5cf6;
  --violet-light:  #a78bfa;
  --pink:          #f472b6;
  --pink-deep:     #db2777;
  --coral:         #ff6b6b;
  --orange:        #ff8c42;
  --amber:         #facc15;
  --cyan:          #38bdf8;
  --emerald:       #34d399;
  --white:         #ffffff;
  --white-90:      rgba(255,255,255,0.9);
  --white-70:      rgba(255,255,255,0.7);
  --white-50:      rgba(255,255,255,0.5);
  --white-30:      rgba(255,255,255,0.48);  /* Bumped from 0.3 to meet WCAG AA on navy (~4.8:1) */
  --white-15:      rgba(255,255,255,0.15);
  --white-08:      rgba(255,255,255,0.08);
  --white-05:      rgba(255,255,255,0.05);
  --card-bg:       rgba(255,255,255,0.04);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER (VI / EN)
   ═══════════════════════════════════════════════════════════════ */
.lang-switch {
  display: flex; align-items: center;
  border: 1px solid var(--white-15);
  background: var(--white-05);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-right: 4px;
  font-family: 'JetBrains Mono', monospace;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--white-50);
  cursor: pointer;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active {
  background: var(--orange);
  color: var(--navy);
}


* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ═══════════ FOCUS STYLES — keyboard accessibility ═══════════ */

/* Clear default browser focus on mouse clicks, show ring only on keyboard nav */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Fine-tune focus ring placement for specific elements */
a:focus-visible,
button:focus-visible,
[onclick]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255,107,107,0.15);
}
.tab-btn:focus-visible { outline-offset: 2px; }
.course-card:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 4px;
}
.nav-toggle:focus-visible { outline-offset: 2px; }

/* Skip link — appears when keyboard-focused */
.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white);
  padding: 12px 22px;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(255,107,107,0.45);
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ═══════════ PARALLAX ENGINE PRIMITIVES ═══════════ */

.px-layer {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Reveal-on-scroll: elements start hidden, animate in when .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.is-visible, .reveal-right.is-visible { transform: translateX(0); }

.reveal-scale { transform: scale(0.94); }
.reveal-scale.is-visible { transform: scale(1); }

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important; transform: none !important;
  }
  .px-layer { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════ NAV ═══════════ */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  background: rgba(10,8,24,0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease-out), padding 0.3s var(--ease-out), border-color 0.3s;
}
nav.scrolled {
  background: rgba(10,8,24,0.95);
  padding: 12px 60px;
  border-bottom-color: rgba(255,255,255,0.08);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: opacity .2s;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
}
.logo:hover { opacity: 0.85; }

.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(255,107,107,0.4);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.logo-mark::before {
  content: ''; position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  animation: shine 3s linear infinite;
}
@keyframes shine {
  0%   { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%)  translateY(100%); }
}
.logo-mark svg {
  width: 20px; height: 20px;
  position: relative; z-index: 1;
  fill: none; stroke: var(--white); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(255,107,107,0.55);
}
.logo-text {
  letter-spacing: 2px;
  line-height: 1;
}
.logo-text .accent {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy img-based logo kept for fallback */
.logo-img {
  height: 40px; width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(45,212,191,0.25));
  transition: filter .3s, transform .4s var(--ease-out);
}
.logo:hover .logo-img {
  filter: drop-shadow(0 4px 14px rgba(45,212,191,0.5));
  transform: scale(1.02);
}
nav.scrolled .logo-img { height: 34px; }
nav.scrolled .logo-mark { width: 30px; height: 30px; }
nav.scrolled .logo-mark svg { width: 18px; height: 18px; }
nav.scrolled .logo { font-size: 1.4rem; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  position: relative;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white-70);
  text-decoration: none; transition: color .2s;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white); border: none; border-radius: 10px;
  padding: 10px 22px; font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(255,107,107,0.3);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255,107,107,0.45); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,0.12);
  width: 42px; height: 42px; border-radius: 10px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; cursor: pointer; padding: 0;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop behind mobile menu */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(10,8,24,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-backdrop.open { opacity: 1; pointer-events: all; }

/* Scroll progress bar */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 101;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--purple-bright));
  width: 0%; transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(255,107,107,0.6);
}

/* ═══════════ HERO — CINEMATIC PARALLAX ═══════════ */

#hero {
  position: relative;
  min-height: 100vh; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 160px 40px 80px;
  overflow: hidden;
  isolation: isolate;
}

/* Layer 1: Deep background gradient */
.hero-bg-gradient {
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(108,63,255,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(244,114,182,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(56,189,248,0.12) 0%, transparent 60%),
    var(--navy);
  z-index: -5;
}

/* Layer 2: Architecture photo — darkened, slow parallax */
.hero-bg-image {
  position: absolute; inset: -10% -5%;
  background-image:
    linear-gradient(180deg, rgba(10,8,24,0.85) 0%, rgba(10,8,24,0.7) 50%, rgba(10,8,24,0.95) 100%),
    url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: -4;
  opacity: 0.45;
  filter: contrast(1.1) saturate(1.2);
}

/* Layer 3: Animated SVG grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,63,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,63,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  z-index: -3;
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Layer 4: Floating geometric shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -2;
  opacity: 0.55;
  pointer-events: none;
}
.hero-shape.s1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--purple-bright), transparent 70%);
  top: -10%; left: -10%;
  animation: float1 14s ease-in-out infinite;
}
.hero-shape.s2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  bottom: -15%; right: -5%;
  animation: float2 18s ease-in-out infinite;
}
.hero-shape.s3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--coral), transparent 70%);
  top: 50%; left: 60%;
  animation: float3 12s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-60px, -80px) scale(1.1); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-40px, 30px) scale(0.9); }
  66%      { transform: translate(40px, -40px) scale(1.1); }
}

/* Layer 5: Sharp geometric accents (wireframe boxes) */
.hero-wireframe {
  position: absolute; pointer-events: none; z-index: -1;
  opacity: 0.35;
}
.hero-wireframe.w1 { top: 15%;  left: 8%;  width: 140px; animation: wire 20s linear infinite; }
.hero-wireframe.w2 { bottom: 20%; right: 10%; width: 110px; animation: wire 26s linear infinite reverse; }
.hero-wireframe.w3 { top: 25%;  right: 18%; width: 80px;  animation: wire 18s linear infinite; }
@keyframes wire {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--white-70);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: fadeUp 0.8s 0.1s var(--ease-out) both;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Big Shoulders Display', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(3.2rem, 10vw, 8rem);
  font-weight: 900; line-height: 0.92;
  letter-spacing: -1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
/* EN text is wider than VI — slightly smaller to prevent overflow */
html[lang="en"] .hero-title {
  font-size: clamp(2.8rem, 8.5vw, 6.8rem);
  letter-spacing: -1.5px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  animation: heroWord 1s var(--ease-out) both;
}
.hero-title .word.w1 { animation-delay: 0.2s; color: var(--white); }
.hero-title .word.w2 { animation-delay: 0.35s; color: var(--white); }
.hero-title .word.w3 {
  animation-delay: 0.5s;
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 50%, var(--pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: heroWord 1s var(--ease-out) both, gradientShift 4s ease-in-out infinite;
}
@keyframes heroWord {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 600px;
  color: var(--white-70);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  margin: 0 auto 40px;
  animation: fadeUp 0.8s 0.7s var(--ease-out) both;
}

.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 0.8s 0.85s var(--ease-out) both;
}

.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white); border: none; border-radius: 12px;
  padding: 15px 36px; font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700; font-size: 0.9rem; letter-spacing: .5px;
  cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  box-shadow: 0 10px 32px rgba(255,107,107,0.4);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  opacity: 0; transition: opacity .25s;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(255,107,107,0.55);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 15px 36px; font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer; text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, transform .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex; gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(14px);
  animation: fadeUp 0.8s 1s var(--ease-out) both;
  flex-wrap: wrap;
}
.hero-stat {
  padding: 22px 36px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  flex: 1 1 auto;
  min-width: 140px;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.hero-stat-label {
  font-size: 0.7rem; color: var(--white-70);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px;
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--white-50);
  font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeIn 1s 1.3s both, scrollBob 2.5s ease-in-out 1.5s infinite;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--coral), transparent);
}
@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════ SECTIONS COMMON ═══════════ */

section {
  position: relative;
  padding: 130px 60px;
  overflow: hidden;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--purple-bright), var(--violet));
  border-radius: 100px;
  padding: 7px 20px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--white);
}
.section-tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 8px var(--white);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-sub {
  color: var(--white-70);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 64px;
  font-size: 1rem;
}

.section-header-center {
  text-align: center;
}
.section-header-center .section-sub { margin-left: auto; margin-right: auto; }

/* Parallax background layer slot */
.px-bg {
  position: absolute; inset: -10%;
  z-index: 0;
  pointer-events: none;
}
section > * { position: relative; z-index: 1; }
section > .px-bg { z-index: 0; }

/* ═══════════ MARKET OPPORTUNITY (CO HOI) ═══════════ */

#co-hoi {
  background: var(--navy);
  padding: 140px 60px;
}
.co-hoi-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,24,0.92), rgba(10,8,24,0.85)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.co-hoi-glow {
  position: absolute; top: 30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,63,255,0.25), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.co-hoi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; max-width: 1200px; margin: 0 auto;
  align-items: start;
}

/* Timeline */
.tl-header { margin-bottom: 40px; }
.tl-mark {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.tl-mark-line {
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
}
.tl-mark-text {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral);
}

.tl-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 18px;
  text-transform: uppercase;
}
.tl-sub { color: var(--white-70); line-height: 1.7; max-width: 480px; }

.timeline { position: relative; }
.tl-item {
  display: flex; gap: 24px; padding-bottom: 36px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--coral);
  margin-top: 6px;
  box-shadow: 0 0 0 6px rgba(255,107,107,0.1);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}
.tl-dot.muted {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
  box-shadow: none;
}
.tl-line {
  width: 2px; flex: 1;
  background: linear-gradient(to bottom, rgba(255,107,107,0.5), rgba(255,255,255,0.08));
  margin-top: 8px;
  min-height: 40px;
}

.tl-body .tl-year {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', 'Barlow Condensed', sans-serif;
}
.tl-body .tl-year.muted {
  color: var(--white-50);
}
.tl-body h4 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 8px;
  color: var(--white);
  line-height: 1.35;
}
.tl-body h4.muted { color: var(--white-70); }
.tl-body p {
  font-size: 0.88rem; color: var(--white-50); line-height: 1.65;
}
.tl-source {
  margin-top: 8px; font-size: 0.72rem;
  color: var(--white-30); font-style: italic;
}

/* Stats cards */
.stats-col { display: flex; flex-direction: column; gap: 18px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 32px;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.stat-card:hover {
  border-color: rgba(255,107,107,0.4);
  transform: translateY(-4px);
}
.stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  transform: scaleX(0); transition: transform .5s var(--ease-out);
}
.stat-card:hover::before { transform: scaleX(1); }

.stat-label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--white-30);
  margin-bottom: 16px;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.stat-num.gradient {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-unit { font-size: 0.85rem; color: var(--white-50); margin-top: 4px; }
.stat-bar {
  height: 3px; margin-top: 16px; border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s 0.2s var(--ease-out);
}
.stat-card.is-visible .stat-bar { transform: scaleX(var(--w, 0.5)); }
.stat-source {
  margin-top: 12px; font-size: 0.68rem;
  color: var(--white-30);
}

/* Salary bars */
.salary-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 32px;
}
.salary-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.salary-role {
  font-size: 0.85rem; color: var(--white-70);
  width: 140px; flex-shrink: 0;
}
.salary-track {
  flex: 1; height: 7px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.salary-fill {
  height: 100%; border-radius: 4px;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1s var(--ease-out);
  background: linear-gradient(90deg, var(--cyan), var(--purple-bright));
}
.salary-fill.hot {
  background: linear-gradient(90deg, var(--coral), var(--orange));
}
.salary-card.is-visible .salary-fill { transform: scaleX(var(--w, 0.5)); }
.salary-amount {
  font-size: 0.8rem; color: var(--white-50);
  width: 56px; text-align: right;
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
}
.salary-source {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.68rem; color: var(--white-30);
}

/* ═══════════ COURSES ═══════════ */

#khoa-hoc {
  background: #f5f4fc;
  color: #1a1040;
  text-align: center;
  padding: 140px 60px;
}
.courses-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139,92,246,0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(244,114,182,0.06), transparent 50%);
  z-index: 0;
}
#khoa-hoc .section-tag { background: linear-gradient(135deg, var(--purple-bright), #a855f7); color: #fff; }
#khoa-hoc .section-title { color: #1a1040; }
#khoa-hoc .section-sub { color: #666; margin: 0 auto 56px; }

.courses-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; max-width: 900px; margin: 0 auto;
}
.course-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,16,64,0.08);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.course-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(108,63,255,0.25);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.course-card:hover {
  transform: translateY(-10px) scale(1.01);
}
.course-card:hover::after { opacity: 1; }

.card-header {
  padding: 32px; position: relative; min-height: 180px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.card-header::before {
  content: ''; position: absolute;
  top: -40%; right: -20%; width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
}
.card-header.revit      { background: linear-gradient(135deg, #4c1d95, #6c3fff); }
.card-header.autocad    { background: linear-gradient(135deg, #1e40af, #6c3fff, #a855f7); }
.card-header.navisworks { background: linear-gradient(135deg, #9d174d, #db2777, #f472b6); }
.card-header.enterprise { background: linear-gradient(135deg, #064e3b, #059669, #34d399); }

.card-badge {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 1px;
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: #fff; text-align: left;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.card-desc {
  font-size: 0.84rem; color: rgba(255,255,255,0.85);
  margin-top: 8px; line-height: 1.55; text-align: left;
}

.card-body { padding: 28px 32px; flex: 1; text-align: left; }
.card-body h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #999;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.card-body h4::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(108,63,255,0.2), transparent);
}
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem; color: #333; line-height: 1.5;
}
.feature-list li:last-child { border-bottom: none; }
.check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 900;
}
.check.purple { background: linear-gradient(135deg, #6c3fff, #a855f7); color: #fff; }
.check.blue   { background: linear-gradient(135deg, #3b82f6, #6c3fff); color: #fff; }
.check.green  { background: linear-gradient(135deg, #059669, #34d399); color: #fff; }
.check.pink   { background: linear-gradient(135deg, #db2777, #f472b6); color: #fff; }

.card-footer { padding: 20px 32px 32px; }
.card-cta {
  display: block; width: 100%; border: none; cursor: pointer;
  text-align: center; text-decoration: none;
  border-radius: 12px; padding: 14px;
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase;
  transition: transform .2s, box-shadow .3s;
  color: #fff;
}
.card-cta:hover { transform: translateY(-2px); }
.card-cta.purple { background: linear-gradient(135deg, #4c1d95, #6c3fff); box-shadow: 0 6px 20px rgba(108,63,255,0.3); }
.card-cta.blue   { background: linear-gradient(135deg, #1e40af, #6c3fff); box-shadow: 0 6px 20px rgba(59,130,246,0.3); }
.card-cta.pink   { background: linear-gradient(135deg, #9d174d, #db2777); box-shadow: 0 6px 20px rgba(219,39,119,0.3); }
.card-cta.green  { background: linear-gradient(135deg, #064e3b, #059669); box-shadow: 0 6px 20px rgba(5,150,105,0.3); }


/* ═══════════ CURRICULUM — SCROLLYTELLING ═══════════ */

#noi-dung {
  background: var(--navy);
  padding: 140px 0 0;
  overflow: visible;
}
#noi-dung .section-header {
  max-width: 1400px; margin: 0 auto 60px;
  padding: 0 60px;
}
#noi-dung .section-title { color: var(--white); }

.curriculum-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 1400px; margin: 0 auto 60px;
  padding: 0 60px;
}
.tab-btn {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-70);
  border-radius: 100px;
  padding: 11px 26px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all .25s var(--ease-out);
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--purple-bright), var(--violet));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(108,63,255,0.35);
}
.tab-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  transform: translateY(-1px);
}
.tab-btn.soon {
  opacity: 0.55;
  position: relative;
  padding-right: 46px;
}
.tab-btn.soon::after {
  content: 'Sớm';
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white);
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 100px;
}
.tab-btn.soon:hover { opacity: 0.85; }

/* Scrollytelling layout */
.curriculum-scrolly {
  max-width: 1400px; margin: 0 auto;
  padding: 0 60px;
  position: relative;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

/* Sticky panel - left side */
.curr-sticky {
  position: sticky;
  top: 100px;
  height: fit-content;
  align-self: start;
  padding: 40px 0;
}
.curr-sticky-inner {
  background: linear-gradient(135deg, rgba(108,63,255,0.08), rgba(244,114,182,0.04));
  border: 1px solid rgba(108,63,255,0.2);
  border-radius: 24px;
  padding: 44px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s;
}
.curr-sticky-inner::before {
  content: ''; position: absolute;
  top: -50%; right: -20%; width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,63,255,0.2), transparent 70%);
  filter: blur(40px);
}

.curr-sticky-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.curr-sticky-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem; font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple-bright), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
  transition: opacity 0.4s;
}
.curr-sticky-icon {
  font-size: 3.5rem; margin-bottom: 18px;
  filter: drop-shadow(0 8px 20px rgba(108,63,255,0.3));
  position: relative; z-index: 1;
  transition: transform 0.5s;
}
.curr-sticky-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.curr-sticky-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--white);
  position: relative; z-index: 1;
  text-transform: uppercase;
}
.curr-sticky-desc {
  font-size: 0.9rem; color: var(--white-70);
  line-height: 1.65;
  position: relative; z-index: 1;
}
.curr-sticky-progress {
  margin-top: 28px;
  display: flex; gap: 6px;
  position: relative; z-index: 1;
}
.curr-progress-dot {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  transition: background 0.4s;
}
.curr-progress-dot.active {
  background: linear-gradient(90deg, var(--coral), var(--orange));
}

/* Right: scrolling modules */
.curr-modules {
  display: flex; flex-direction: column;
  gap: 80px;
  padding: 40px 0 100px;
}

.curr-module {
  padding: 36px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  position: relative;
  transition: border-color .4s, background .4s;
  min-height: 420px;
}
.curr-module.active {
  border-color: rgba(255,107,107,0.3);
  background: rgba(255,255,255,0.04);
}
.curr-module::before {
  content: ''; position: absolute;
  left: -40px; top: 36px;
  width: 3px; height: calc(100% - 36px);
  background: linear-gradient(to bottom, var(--coral), transparent);
  opacity: 0; transition: opacity .4s;
}
.curr-module.active::before { opacity: 1; }

.cmod-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.cmod-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--white-30); letter-spacing: 2px;
  min-width: 28px;
}
.cmod-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.cmod-meta { flex: 1; }
.cmod-tag {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 4px;
  opacity: 0.9;
}
.cmod-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.2px;
}
.cmod-desc {
  font-size: 0.88rem; color: var(--white-70); margin-top: 4px;
}

.cmod-win {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
}
.cmod-win-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.cmod-win p { font-size: 0.88rem; color: #86efac; line-height: 1.55; }
.cmod-win strong { color: #4ade80; }

.cmod-lesson-head {
  font-size: 0.7rem; font-weight: 700;
  color: var(--white-30); text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 18px 0 10px;
}
.cmod-lessons { display: flex; flex-direction: column; gap: 8px; }
.cmod-lesson {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  transition: background .2s, transform .2s;
}
.cmod-lesson:hover {
  background: rgba(255,255,255,0.05);
  transform: translateX(4px);
}
.cmod-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0; margin-top: 8px;
}
.cmod-lesson span { font-size: 0.86rem; color: var(--white-70); line-height: 1.5; }
.cmod-lesson b { color: var(--white); font-weight: 600; }

.cmod-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.cmod-pill {
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 12px; border-radius: 7px;
  border: 1px solid;
  letter-spacing: 0.3px;
}

/* Theme colors */
.cmod-c-blue .cmod-icon { background: rgba(59,130,246,0.15); }
.cmod-c-blue .cmod-tag { color: #60a5fa; }
.cmod-c-blue .cmod-dot { background: #60a5fa; }
.cmod-c-blue .cmod-pill { color: #93c5fd; border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.06); }

.cmod-c-amber .cmod-icon { background: rgba(234,179,8,0.15); }
.cmod-c-amber .cmod-tag { color: #facc15; }
.cmod-c-amber .cmod-dot { background: #facc15; }
.cmod-c-amber .cmod-pill { color: #fde047; border-color: rgba(234,179,8,0.3); background: rgba(234,179,8,0.06); }

.cmod-c-cyan .cmod-icon { background: rgba(14,165,233,0.15); }
.cmod-c-cyan .cmod-tag { color: #38bdf8; }
.cmod-c-cyan .cmod-dot { background: #38bdf8; }
.cmod-c-cyan .cmod-pill { color: #7dd3fc; border-color: rgba(14,165,233,0.3); background: rgba(14,165,233,0.06); }

.cmod-c-red .cmod-icon { background: rgba(239,68,68,0.15); }
.cmod-c-red .cmod-tag { color: #f87171; }
.cmod-c-red .cmod-dot { background: #f87171; }
.cmod-c-red .cmod-pill { color: #fca5a5; border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.06); }

.cmod-c-teal .cmod-icon { background: rgba(20,184,166,0.15); }
.cmod-c-teal .cmod-tag { color: #2dd4bf; }
.cmod-c-teal .cmod-dot { background: #2dd4bf; }
.cmod-c-teal .cmod-pill { color: #5eead4; border-color: rgba(20,184,166,0.3); background: rgba(20,184,166,0.06); }

.cmod-c-purple .cmod-icon { background: rgba(139,92,246,0.15); }
.cmod-c-purple .cmod-tag { color: #a78bfa; }
.cmod-c-purple .cmod-dot { background: #a78bfa; }
.cmod-c-purple .cmod-pill { color: #c4b5fd; border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.06); }

/* ═══════════ EVENTS ═══════════ */

#su-kien {
  background: linear-gradient(180deg, var(--navy), var(--purple-deep) 100%);
  padding: 140px 60px;
}
#su-kien .section-header { max-width: 1100px; margin: 0 auto 60px; }

.events-timeline {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
}

.event-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(108,63,255,0.12);
  position: relative;
  border: 1px solid rgba(108,63,255,0.15);
}

.event-badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff;
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(108,63,255,0.3);
  backdrop-filter: blur(8px);
}

.event-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  min-height: 380px;
}

.event-main-photo {
  position: relative; overflow: hidden;
}
.event-main-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.event-main-photo:hover img { transform: scale(1.05); }

.event-photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(26,16,64,0.75), transparent);
}
.event-tag-chip {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.7rem; font-weight: 700;
}

.event-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.event-side-item {
  position: relative; overflow: hidden;
  border-left: 4px solid #fff;
  border-bottom: 2px solid #fff;
}
.event-side-item:last-child { border-bottom: none; }
.event-side-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.event-side-item:hover img { transform: scale(1.08); }

.event-info {
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid rgba(108,63,255,0.08);
}
.event-date {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: #888;
  margin-bottom: 14px; font-weight: 500;
}
.event-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: #1a1040; line-height: 1.2;
  margin-bottom: 12px;
}
.event-desc {
  font-size: 0.9rem; color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}
.event-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.event-tag-pill {
  background: rgba(108,63,255,0.08);
  border: 1px solid rgba(108,63,255,0.2);
  color: #6c3fff;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem; font-weight: 700;
}
.event-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #6c3fff; font-size: 0.88rem; font-weight: 700;
  text-decoration: none; letter-spacing: .3px;
  transition: gap .2s;
}
.event-link:hover { gap: 12px; }

/* Source link to TDTU article */
.event-source-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(108, 63, 255, 0.06);
  border: 1px solid rgba(108, 63, 255, 0.18);
  border-radius: 10px;
  color: #6c3fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  width: fit-content;
}
.event-source-link:hover {
  background: rgba(108, 63, 255, 0.12);
  border-color: rgba(108, 63, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 63, 255, 0.18);
}
.event-source-link span[aria-hidden] {
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.event-source-link:hover span[aria-hidden] {
  transform: translate(2px, -2px);
}

/* Event with quad grid */
.event-quad {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 4px;
}
.event-quad-item {
  position: relative; overflow: hidden;
  height: 160px;
}
.event-quad-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.event-quad-item:hover img { transform: scale(1.08); }
.event-quad-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,16,64,0.75), transparent);
  padding: 8px;
  color: #fff; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.5px;
}

.event-strip {
  display: flex; gap: 4px;
}
.event-strip-item {
  flex: 1; overflow: hidden; height: 120px;
}
.event-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.event-strip-item:hover img { transform: scale(1.08); }


/* ═══════════ ACTIVITIES (TDTU) ═══════════ */

#tdtu {
  background: linear-gradient(180deg, var(--purple-deep), var(--navy));
  padding: 140px 60px;
}
.tdtu-bg {
  position: absolute; top: 10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.activities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; max-width: 1100px; margin: 0 auto;
}
.activity-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.activity-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--violet));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.activity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,63,255,0.4);
  background: rgba(255,255,255,0.05);
}
.activity-card:hover::before { transform: scaleX(1); }
.activity-icon {
  font-size: 2rem; margin-bottom: 16px;
  display: inline-block;
  padding: 12px;
  background: linear-gradient(135deg, rgba(108,63,255,0.15), rgba(244,114,182,0.1));
  border-radius: 14px;
}
.activity-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  margin-bottom: 10px; color: var(--white);
  letter-spacing: 0.3px;
}
.activity-desc {
  font-size: 0.88rem; color: var(--white-70); line-height: 1.65;
}

/* ═══════════ TEAM ═══════════ */

#team {
  background: #f5f4fc;
  text-align: center;
  color: #1a1040;
  padding: 130px 60px;
}
.team-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(108,63,255,0.06), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244,114,182,0.06), transparent 50%);
  z-index: 0;
}
#team .section-tag { background: linear-gradient(135deg, var(--purple-bright), #a855f7); color: #fff; }
#team .section-title { color: #1a1040; margin: 0 auto 8px; }
#team .section-sub { color: #666; margin: 0 auto 48px; }

.founder-card {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 48px 64px;
  box-shadow: 0 12px 48px rgba(108,63,255,0.15);
  border: 1px solid rgba(108,63,255,0.1);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: ''; position: absolute;
  top: -40%; right: -20%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(108,63,255,0.08), transparent 70%);
  filter: blur(30px);
}
.founder-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, #6c3fff, #f472b6);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem; font-weight: 800; color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(108,63,255,0.3);
  position: relative; z-index: 1;
  overflow: hidden;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: #1a1040;
  position: relative; z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.founder-role {
  font-size: 0.75rem; color: #888;
  letter-spacing: 2px; text-transform: uppercase;
  margin: 6px 0 16px;
  position: relative; z-index: 1;
}
.founder-bio {
  font-size: 0.9rem; color: #555;
  max-width: 340px; line-height: 1.7;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.social-links { display: flex; gap: 10px; position: relative; z-index: 1; }
.social-link {
  background: linear-gradient(135deg, #6c3fff, #a855f7);
  color: #fff;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(108,63,255,0.2);
}
.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108,63,255,0.35);
}

/* ═══════════ ALUMNI ═══════════ */

#alumni {
  background: #eeedf8;
  text-align: center;
  color: #1a1040;
  padding: 130px 60px;
}
#alumni .section-tag { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; }
#alumni .section-title { color: #1a1040; }
#alumni .section-sub { color: #666; margin: 0 auto 56px; }

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 28px;
  max-width: 1100px; margin: 0 auto;
}
.alumni-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  transition: transform .3s var(--ease-out);
}
.alumni-item:hover { transform: translateY(-6px); }
.alumni-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(108,63,255,0.15);
  position: relative;
  transition: box-shadow .3s;
}
.alumni-item:hover .alumni-avatar {
  box-shadow: 0 12px 32px rgba(108,63,255,0.3);
}
.alumni-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.alumni-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: #1a1040;
  letter-spacing: 0.5px;
}
.alumni-role {
  font-size: 0.7rem; color: #888;
  letter-spacing: 0.5px; text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

/* ═══════════ OUTSOURCING — SCROLLYTELLING WITH GLOBE ═══════════ */

#outsourcing {
  background: var(--navy-2);
  padding: 140px 0 0;
  overflow: visible;
}
.outs-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(108,63,255,0.15), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(244,114,182,0.08), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
#outsourcing .section-header {
  max-width: 1300px; margin: 0 auto 60px;
  padding: 0 60px;
  text-align: center;
}
#outsourcing .section-title { color: var(--white); }
#outsourcing .section-header .section-sub { margin: 0 auto 40px; }

.outs-headline-stats {
  display: flex; justify-content: center; gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  max-width: 680px; margin: 0 auto;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}
.outs-hstat {
  padding: 26px 44px;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex: 1;
}
.outs-hstat:last-child { border-right: none; }
.outs-hstat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.outs-hstat-label {
  font-size: 0.7rem; color: var(--white-50);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: 6px;
}

/* Scrollytelling layout: sticky globe + scrolling projects */
.outs-scrolly {
  max-width: 1300px; margin: 80px auto 0;
  padding: 0 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.outs-sticky {
  position: sticky;
  top: 100px;
  height: fit-content;
  align-self: start;
  padding: 40px 0;
}
.outs-sticky-inner {
  background: linear-gradient(135deg, rgba(108,63,255,0.08), rgba(244,114,182,0.04));
  border: 1px solid rgba(108,63,255,0.2);
  border-radius: 28px;
  padding: 40px;
  overflow: hidden;
  position: relative;
}

/* Country pins — state + pulse via CSS (no JS transform manipulation) */
.globe-pin {
  opacity: 0.4;
  transition: opacity .5s var(--ease-out);
}
.globe-pin.active { opacity: 1; }
.globe-pin.active .pin-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 1.8s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(1);   opacity: 0.4; }
  70%  { opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Globe - SVG circles with country pins */
.globe-svg {
  width: 100%; height: auto;
  max-width: 400px; margin: 0 auto;
  display: block;
}
.globe-label {
  text-align: center;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white-50);
  margin-top: 16px;
}
.globe-active-country {
  text-align: center;
  margin-top: 20px;
}
.globe-flag {
  font-size: 2.2rem; margin-bottom: 6px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.4s;
}
.globe-country-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.4s;
}
.globe-project-count {
  font-size: 0.78rem;
  color: var(--coral);
  font-weight: 600;
  transition: color 0.4s;
}

/* Projects column */
.outs-projects {
  display: flex; flex-direction: column; gap: 60px;
  padding: 40px 0 60px;
}
.outs-project-group {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  transition: border-color .4s;
}
.outs-project-group.active {
  border-color: rgba(255,107,107,0.3);
  background: rgba(255,255,255,0.05);
}
.outs-pg-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.outs-pg-flag { font-size: 1.8rem; }
.outs-pg-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--white); letter-spacing: 1px;
  text-transform: uppercase;
}
.outs-pg-count {
  margin-left: auto;
  font-size: 0.72rem; color: var(--coral);
  font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255,107,107,0.1);
  padding: 5px 12px;
  border-radius: 100px;
}
.outs-pg-projects {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.outs-project {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  transition: transform .25s, border-color .25s, background .25s;
}
.outs-project:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  border-color: rgba(108,63,255,0.25);
}
.outs-project-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.outs-project-desc {
  font-size: 0.76rem; color: var(--white-50);
  line-height: 1.5;
}

/* ─── PORTFOLIO TABS — Horizontal layout (Vietnam + AU/US + NZ) ─── */
.outs-portfolio {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 60px 40px;
}
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.portfolio-tab {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--rt-ink-500, rgba(255,255,255,0.7));
  font-family: 'Be Vietnam Pro', sans-serif;
  cursor: pointer;
  transition: all 0.3s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
  position: relative;
  overflow: hidden;
}
.portfolio-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 140, 66, 0.4);
  transform: translateY(-2px);
}
.portfolio-tab.active {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.18), rgba(108, 63, 255, 0.12));
  border-color: var(--rt-orange, #ff8c42);
  color: var(--rt-ink-900, #ffffff);
  box-shadow: 0 8px 24px rgba(255, 140, 66, 0.25);
}
.portfolio-tab-flag {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.portfolio-tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.portfolio-tab-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.portfolio-tab-count {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.7;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* Projects panel — full width (globe removed) */
.portfolio-row {
  display: block;
}
.portfolio-globe {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.portfolio-globe .globe-svg {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
}
.portfolio-globe-meta {
  text-align: center;
}
.portfolio-globe-meta .globe-flag {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 8px;
  transition: transform 0.3s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.portfolio-globe-meta .globe-country-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rt-ink-900, #fff);
  font-family: 'Bricolage Grotesque', sans-serif;
  margin-bottom: 4px;
}
.portfolio-globe-meta .globe-project-count {
  font-size: 0.85rem;
  color: var(--rt-ink-500, rgba(255,255,255,0.6));
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}

/* Panels — only one visible at a time */
.portfolio-panels {
  position: relative;
}
.portfolio-panel {
  display: none;
  animation: portfolioFadeIn 0.4s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}
.portfolio-panel.active {
  display: block;
}
@keyframes portfolioFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.portfolio-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.portfolio-panel-header .outs-pg-flag {
  font-size: 1.8rem;
}
.portfolio-panel-header .outs-pg-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--rt-ink-900, #fff);
}
.portfolio-panel-header .outs-pg-count {
  margin-left: auto;
  padding: 6px 14px;
  background: rgba(255, 140, 66, 0.12);
  border: 1px solid rgba(255, 140, 66, 0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rt-orange, #ff8c42);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Project grid — auto-fill, fills the full width */
.portfolio-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 14px;
}
.portfolio-projects-grid .outs-project {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.25s var(--ease-out, cubic-bezier(0.22,1,0.36,1));
}
.portfolio-projects-grid .outs-project:hover {
  background: rgba(255, 140, 66, 0.05);
  border-color: rgba(255, 140, 66, 0.3);
  transform: translateY(-2px);
}
.portfolio-projects-grid .outs-project-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rt-ink-900, #fff);
  margin-bottom: 4px;
}
.portfolio-projects-grid .outs-project-desc {
  font-size: 0.82rem;
  color: var(--rt-ink-500, rgba(255,255,255,0.6));
  font-family: 'JetBrains Mono', monospace;
}

/* Tablet */
@media (max-width: 1024px) {
  .outs-portfolio { padding: 40px 30px; }
  .portfolio-row { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-globe { position: static; padding: 0; }
  .portfolio-globe .globe-svg { max-width: 240px; }
}

/* Mobile */
@media (max-width: 768px) {
  .outs-portfolio { padding: 30px 16px; }
  .portfolio-tabs { gap: 8px; }
  .portfolio-tab { padding: 10px 14px; gap: 8px; }
  .portfolio-tab-flag { font-size: 1.3rem; }
  .portfolio-tab-name { font-size: 0.85rem; }
  .portfolio-tab-count { font-size: 0.65rem; }
  .portfolio-projects-grid { grid-template-columns: 1fr; }
  .portfolio-panel-header { flex-wrap: wrap; }
  .portfolio-panel-header .outs-pg-count { margin-left: 0; }
  .portfolio-globe .globe-svg { max-width: 200px; }
  .portfolio-globe-meta .globe-country-name { font-size: 1.2rem; }
}

/* Services section — below scrollytelling */
.outs-services {
  max-width: 1300px; margin: 0 auto;
  padding: 100px 60px;
}
.outs-services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.outs-service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px;
  transition: transform .3s var(--ease-out), border-color .3s;
  position: relative;
  overflow: hidden;
}
.outs-service-card::before {
  content: ''; position: absolute;
  top: -50%; right: -20%; width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,63,255,0.08), transparent 70%);
  filter: blur(30px);
}
.outs-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,63,255,0.4);
}
.outs-service-icon {
  font-size: 2.2rem; margin-bottom: 16px;
  display: inline-block;
  padding: 12px;
  background: linear-gradient(135deg, rgba(108,63,255,0.15), rgba(244,114,182,0.08));
  border-radius: 14px;
  position: relative; z-index: 1;
}
.outs-service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  position: relative; z-index: 1;
}
.outs-service-list { list-style: none; position: relative; z-index: 1; }
.outs-service-list li {
  color: var(--white-70);
  font-size: 0.88rem;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.outs-service-list li:last-child { border-bottom: none; }
.outs-service-list li::before {
  content: '✦';
  position: absolute; left: 0;
  color: var(--coral);
}

.outs-cta-wrap {
  text-align: center; padding: 0 60px 140px;
}
.cta-big {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white);
  border-radius: 14px;
  padding: 18px 48px;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.5px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  box-shadow: 0 10px 32px rgba(255,107,107,0.35);
}
.cta-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(255,107,107,0.5);
}

/* ═══════════ FAQ ═══════════ */

#faq {
  background: linear-gradient(180deg, #eeedf8 0%, #f5f4fc 100%);
  color: #1a1040;
  padding: 130px 60px;
}
.faq-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(108,63,255,0.06), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(244,114,182,0.05), transparent 55%);
  z-index: 0;
}
#faq .section-tag {
  background: linear-gradient(135deg, var(--purple-bright), var(--violet));
  color: #fff;
}
#faq .section-title { color: #1a1040; margin: 0 auto 16px; }
#faq .section-sub { color: #666; margin: 0 auto 56px; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(108,63,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .35s;
}
.faq-item:hover { border-color: rgba(108,63,255,0.25); }
.faq-item.open {
  border-color: rgba(108,63,255,0.4);
  box-shadow: 0 12px 36px rgba(108,63,255,0.12);
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  background: none; border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: #1a1040;
  transition: background .2s;
}
.faq-q:hover { background: rgba(108,63,255,0.04); }

.faq-q-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1040;
}

.faq-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--violet));
  flex-shrink: 0;
  position: relative;
  transition: transform .35s var(--ease-out), background .3s;
  box-shadow: 0 4px 12px rgba(108,63,255,0.2);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 2px;  transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px;  height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  transform: rotate(180deg);
  box-shadow: 0 4px 14px rgba(255,107,107,0.35);
}
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 640px; }

.faq-a-inner {
  padding: 0 26px 24px;
  color: #444;
  font-size: 0.93rem;
  line-height: 1.75;
}
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner strong { color: #1a1040; }

.faq-bullets {
  list-style: none;
  margin: 8px 0 12px;
  padding: 12px 18px;
  background: rgba(108,63,255,0.04);
  border-left: 3px solid var(--purple-bright);
  border-radius: 0 10px 10px 0;
}
.faq-bullets li {
  padding: 6px 0;
  font-size: 0.9rem;
  position: relative;
  padding-left: 22px;
}
.faq-bullets li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--purple-bright);
  font-weight: 700;
}

.faq-cta {
  text-align: center;
  margin-top: 60px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.faq-cta p {
  color: #666;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

/* ═══════════ CONTACT ═══════════ */

#lien-he {
  background: var(--navy);
  text-align: center;
  padding: 140px 60px;
}
.lien-he-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(108,63,255,0.25), transparent 60%),
    radial-gradient(ellipse 40% 30% at 20% 40%, rgba(244,114,182,0.1), transparent 70%);
  z-index: 0;
}
#lien-he .section-title { color: var(--white); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto 40px;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
  text-decoration: none;
  color: var(--white);
  display: block;
}
.contact-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,107,0.35);
  background: rgba(255,107,107,0.05);
}
.contact-icon {
  width: 54px; height: 54px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(22,176,161,0.10);
  color: var(--rt-teal-700, #0E7068);
  transition: background .3s, color .3s, transform .3s var(--ease-out, ease);
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-link:hover .contact-icon {
  background: rgba(22,176,161,0.18);
  transform: translateY(-2px);
}
.contact-label {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white-50); margin-bottom: 8px;
}
.contact-val {
  font-size: 0.95rem; font-weight: 600;
  color: var(--white);
  word-break: break-word;
}

/* ═══════════ FOOTER ═══════════ */

footer {
  background: #050410;
  padding: 80px 60px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.footer-bg-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--orange), transparent);
  opacity: 0.5;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px;
}

.footer-brand-row {
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 56px; width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(45,212,191,0.25));
}
.footer-logo { font-size: 1.9rem; }
.footer-logo .logo-mark { width: 42px; height: 42px; border-radius: 11px; }
.footer-logo .logo-mark svg { width: 26px; height: 26px; }
.footer-brand p {
  font-size: 0.88rem; color: var(--white-50);
  line-height: 1.7; max-width: 280px;
  margin-bottom: 8px;
}
.footer-brand .footer-addr {
  font-size: 0.82rem; color: var(--white-30);
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-70);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 0.78rem; font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.footer-social:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transform: translateY(-1px);
}

.footer-col h4 {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white-30); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.88rem; color: var(--white-50);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

/* ═══════════ COMPANY LEGAL INFO ═══════════ */
.footer-legal {
  max-width: 1200px; margin: 0 auto 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-legal-title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; letter-spacing: 0.04em;
  font-size: 1.05rem; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}
.footer-legal-title .fl-mark {
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--rt-grad-brand, linear-gradient(90deg,#6c3fff,#f472b6));
}
.footer-legal-sub {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400; font-size: 0.72rem; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.5);
  text-transform: none;
}
.footer-legal-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 40px;
}
.fl-row { display: flex; flex-direction: column; gap: 4px; }
.fl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.fl-value {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.88rem; line-height: 1.5;
  color: rgba(255,255,255,0.82);
}
@media (max-width: 720px) {
  .footer-legal-grid { grid-template-columns: 1fr; gap: 14px; }
}

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  font-size: 0.78rem; color: var(--white-30);
}

/* ═══════════ FLOATING CTA ═══════════ */

#floatGroup {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
#floatCourses {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--ease-out);
}
#floatCourses.open {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.float-course {
  display: flex; align-items: center; gap: 10px;
  background: rgba(26,16,64,0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 11px 22px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform .2s, background .2s;
}
.float-course:hover {
  transform: translateX(-4px);
  background: rgba(26,16,64,1);
}
.float-course-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

.float-main {
  display: flex; gap: 10px; align-items: center;
}
#floatToggle {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff; border: none; border-radius: 100px;
  padding: 15px 26px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700; font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(255,107,107,0.45);
  transition: transform .2s, box-shadow .2s;
}
#floatToggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255,107,107,0.6);
}
#floatToggle .pulse-dot {
  width: 8px; height: 8px; background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
#floatArrow {
  font-size: 0.75rem;
  transition: transform .3s;
}
#floatToggle.open #floatArrow { transform: rotate(180deg); }

.zalo-float {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 100px;
  width: 50px; height: 50px;
  text-decoration: none; font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: background .2s, transform .2s;
}
.zalo-float:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ═══════════ COURSE MODAL ═══════════ */

.course-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,8,24,0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.course-modal-overlay.open { opacity: 1; pointer-events: all; }

.course-modal {
  width: 100%; max-width: 720px;
  max-height: 90vh;
  background: #1a1040;
  border: 1px solid rgba(108,63,255,0.3);
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  transform: scale(0.94);
  transition: transform .35s var(--ease-out);
}
.course-modal-overlay.open .course-modal { transform: scale(1); }



.cm-header {
  padding: 40px 40px 32px;
  position: relative;
  overflow: hidden;
}
.cm-header::before {
  content: ''; position: absolute;
  top: -40%; right: -10%; width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}
.cm-header.revit      { background: linear-gradient(135deg, #4c1d95, #6c3fff); }
.cm-header.autocad    { background: linear-gradient(135deg, #1e40af, #6c3fff, #a855f7); }
.cm-header.navisworks { background: linear-gradient(135deg, #9d174d, #db2777, #f472b6); }
.cm-header.enterprise { background: linear-gradient(135deg, #064e3b, #059669, #34d399); }

.cm-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px; height: 36px; border-radius: 10px;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.cm-close:hover { background: rgba(255,255,255,0.25); }
.cm-badge {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.cm-icon {
  font-size: 2.4rem; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.cm-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  position: relative; z-index: 1;
  text-transform: uppercase;
}
.cm-tagline {
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
  margin-top: 6px;
  position: relative; z-index: 1;
}
.cm-body {
  padding: 32px 40px;
  overflow-y: auto;
  flex: 1;
}
.cm-schedule {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}
.cm-schedule-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cm-schedule-row:last-child { border-bottom: none; }
.cm-sched-label {
  font-size: 0.85rem; color: var(--white-70);
}
.cm-sched-val {
  font-size: 0.9rem; color: var(--white); font-weight: 600;
}
.cm-hocphi {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(255,140,66,0.06));
  border: 1px solid rgba(255,107,107,0.25);
  border-radius: 14px;
  margin-bottom: 24px;
}
.cm-hocphi-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white-50); margin-bottom: 8px;
}
.cm-hocphi-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cm-features h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 14px;
}
.cm-features ul { list-style: none; }
.cm-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  font-size: 0.88rem; color: var(--white-70);
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cm-features li:last-child { border-bottom: none; }
.cm-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 900; color: #fff;
}
.cm-check.purple { background: linear-gradient(135deg, #6c3fff, #a855f7); }
.cm-check.blue   { background: linear-gradient(135deg, #3b82f6, #6c3fff); }
.cm-check.pink   { background: linear-gradient(135deg, #db2777, #f472b6); }
.cm-check.green  { background: linear-gradient(135deg, #059669, #34d399); }
.cm-register-btn {
  display: block; width: 100%;
  text-align: center; text-decoration: none;
  border-radius: 12px;
  padding: 16px;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 1px; text-transform: uppercase;
  margin-top: 24px;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.cm-register-btn:hover { transform: translateY(-2px); }
.cm-register-btn.revit      { background: linear-gradient(135deg, #4c1d95, #6c3fff); box-shadow: 0 8px 24px rgba(108,63,255,0.35); }
.cm-register-btn.autocad    { background: linear-gradient(135deg, #1e40af, #6c3fff); box-shadow: 0 8px 24px rgba(59,130,246,0.35); }
.cm-register-btn.navisworks { background: linear-gradient(135deg, #9d174d, #db2777); box-shadow: 0 8px 24px rgba(219,39,119,0.35); }
.cm-register-btn.enterprise { background: linear-gradient(135deg, #064e3b, #059669); box-shadow: 0 8px 24px rgba(5,150,105,0.35); }

/* ═══════════ INLINE REGISTRATION FORM ═══════════ */

.cm-form-wrap {
  margin-top: 28px;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(108,63,255,0.08), rgba(255,107,107,0.04));
  border: 1px solid rgba(108,63,255,0.25);
  border-radius: 16px;
  position: relative;
}
.cm-form-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cm-form-header h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cm-form-header p {
  font-size: 0.84rem;
  color: var(--white-70);
  line-height: 1.55;
}

#cmForm { display: flex; flex-direction: column; gap: 16px; }

.cm-form-individual,
.cm-form-enterprise {
  display: contents;
}
/* Default: show individual, hide enterprise */
.cm-form-enterprise,
#cmCommitmentsEnterprise { display: none; }

/* When modal is in enterprise mode */
.course-modal-overlay.enterprise-mode .cm-form-individual,
.course-modal-overlay.enterprise-mode #cmCommitments { display: none; }
.course-modal-overlay.enterprise-mode .cm-form-enterprise,
.course-modal-overlay.enterprise-mode #cmCommitmentsEnterprise { display: flex; flex-direction: column; gap: 8px; }
.course-modal-overlay.enterprise-mode .cm-form-enterprise { display: contents; }

.cm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cm-field { display: flex; flex-direction: column; gap: 6px; }
.cm-field label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--white-70);
}
.cm-field label .req { color: var(--coral); margin-left: 2px; }

.cm-field input[type="text"],
.cm-field input[type="tel"],
.cm-field input[type="email"],
.cm-field select,
.cm-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.9rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.cm-field input::placeholder,
.cm-field textarea::placeholder {
  color: rgba(255,255,255,0.32);
}
.cm-field input:hover,
.cm-field select:hover,
.cm-field textarea:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}
.cm-field input:focus,
.cm-field select:focus,
.cm-field textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255,107,107,0.04);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.12);
}
.cm-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(239,68,68,0.5);
}
.cm-field textarea { resize: vertical; min-height: 60px; }

.cm-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ff6b6b' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.cm-field select option { background: #1a1040; color: #fff; }

/* Radio group — custom card-style buttons */
.cm-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cm-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cm-radio-box {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  text-align: center;
}
.cm-radio-icon { font-size: 1.2rem; line-height: 1; }
.cm-radio-label {
  font-size: 0.75rem; font-weight: 600;
  color: var(--white-70);
  letter-spacing: 0.2px;
}
.cm-radio:hover .cm-radio-box {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.07);
}
.cm-radio input:checked + .cm-radio-box {
  border-color: var(--coral);
  background: rgba(255,107,107,0.12);
  box-shadow: 0 0 0 2px rgba(255,107,107,0.2);
}
.cm-radio input:checked + .cm-radio-box .cm-radio-label { color: var(--white); }
.cm-radio input:focus-visible + .cm-radio-box {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* Commitments block */
.cm-commitments {
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.cm-commit-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem;
  color: rgba(167,243,208,0.95);
  line-height: 1.5;
}
.cm-commit-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(52,211,153,0.25);
  color: #4ade80;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Submit button */
.cm-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform .2s, box-shadow .2s, filter .2s;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 10px 28px rgba(255,107,107,0.4);
}
.cm-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,107,107,0.55);
  filter: brightness(1.05);
}
.cm-submit-btn:active { transform: translateY(0); }
.cm-submit-btn:disabled {
  opacity: 0.6; cursor: not-allowed;
  transform: none;
}
.cm-submit-icon { font-size: 1.1rem; }
.cm-submit-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--white-50);
  margin-top: 10px;
  font-style: italic;
}

/* Success state */
.cm-form-success {
  display: none;
  padding: 40px 20px;
  text-align: center;
}
.cm-form-success.show { display: block; }
.cm-form-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #059669, #34d399);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 32px rgba(52,211,153,0.4);
  animation: successPop 0.5s var(--ease-out);
}
@keyframes successPop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.cm-form-success h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cm-form-success p {
  color: var(--white-70);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 1024px) {
  nav { padding: 14px 28px; }
  nav.scrolled { padding: 10px 28px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; max-width: 340px;
    height: 100vh; height: 100dvh;
    background: rgba(10,8,24,0.98);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    flex-direction: column;
    padding: 110px 32px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .4s var(--ease-out);
    border-left: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-size: 0.92rem;
    letter-spacing: 1.8px;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--coral); transform: translateX(4px); }

  section { padding: 100px 28px; }
  #noi-dung, #outsourcing { padding-left: 0; padding-right: 0; }
  #noi-dung .section-header,
  #noi-dung .curriculum-tabs,
  #noi-dung .curriculum-scrolly,
  #outsourcing .section-header,
  #outsourcing .outs-scrolly,
  .outs-services {
    padding-left: 28px; padding-right: 28px;
  }
  .co-hoi-grid,
  .curriculum-scrolly,
  .outs-scrolly {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Hide sticky panels on mobile — they duplicate content shown in scrolling cards */
  .curr-sticky,
  .outs-sticky {
    display: none;
  }
  .courses-grid,
  .outs-services-grid { grid-template-columns: 1fr; }
  .outs-project-group .outs-pg-projects { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .event-layout { grid-template-columns: 1fr; }
  .event-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .event-side-item { border-left: none; border-bottom: 4px solid #fff; border-right: 2px solid #fff; }
  .event-side-item:last-child { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-wireframe { display: none; }
}

@media (max-width: 640px) {
  section { padding: 80px 20px; }
  #noi-dung .section-header,
  #noi-dung .curriculum-tabs,
  #noi-dung .curriculum-scrolly,
  #outsourcing .section-header,
  #outsourcing .outs-scrolly,
  .outs-services { padding-left: 20px; padding-right: 20px; }

  nav { padding: 12px 20px; }
  .logo { font-size: 1.2rem; }
  .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
  .logo-mark svg { width: 16px; height: 16px; }
  nav.scrolled .logo { font-size: 1.1rem; }
  nav.scrolled .logo-mark { width: 26px; height: 26px; }
  .logo-img { height: 30px; }
  nav.scrolled .logo-img { height: 26px; }
  .footer-logo { font-size: 1.5rem; }
  .footer-logo .logo-mark { width: 36px; height: 36px; }
  .footer-logo .logo-mark svg { width: 22px; height: 22px; }
  .footer-logo-img { height: 44px; }
  .nav-cta { padding: 7px 12px; font-size: 0.68rem; letter-spacing: 0.5px; }
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 5px 8px; font-size: 0.64rem; letter-spacing: 0.03em; }
  .nav-actions { gap: 6px; }
  .nav-toggle { width: 38px; height: 38px; flex-shrink: 0; }
  #hero { padding: 120px 20px 80px; }
  .hero-title { font-size: clamp(2.5rem, 13vw, 5rem); letter-spacing: -1px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-shape.s1, .hero-shape.s2, .hero-shape.s3 { opacity: 0.3; }

  .activities-grid { grid-template-columns: 1fr; }
  .alumni-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .event-quad { grid-template-columns: 1fr 1fr; }
  .event-strip { flex-wrap: wrap; }
  .event-strip-item { flex: 1 1 calc(50% - 2px); }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  #floatToggle { padding: 12px 20px; font-size: 0.82rem; }
  .float-course { padding: 9px 18px; font-size: 0.76rem; }

  .outs-headline-stats { flex-direction: column; }
  .outs-hstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px; }
  .outs-hstat:last-child { border-bottom: none; }
  .stats-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }

  #faq { padding: 80px 20px; }
  .faq-q { padding: 18px 20px; gap: 12px; }
  .faq-q-text { font-size: 0.92rem; }
  .faq-a-inner { padding: 0 20px 20px; }
  .faq-item.open .faq-a { max-height: 800px; }  /* taller for wrapped text on mobile */

  .cm-header, .cm-body { padding-left: 24px; padding-right: 24px; }
  .cm-name { font-size: 1.8rem; }
  .cm-form-wrap { padding: 22px 18px; }
  .cm-form-header h4 { font-size: 1.3rem; }
  .cm-field-row { grid-template-columns: 1fr; gap: 16px; }
  .cm-radio-group { grid-template-columns: 1fr; gap: 6px; }
  .cm-radio-box { flex-direction: row; justify-content: flex-start; padding: 11px 14px; }
  .cm-radio-icon { font-size: 1rem; }
  .cm-radio-label { font-size: 0.84rem; }
}

/* Very narrow viewports — hide nav CTA button (user has floating CTA bottom-right) */
@media (max-width: 420px) {
  nav { padding: 12px 16px; }
  nav.scrolled { padding: 10px 16px; }
  .nav-cta { display: none; }
  .logo { font-size: 1.1rem; }
  .logo-mark { width: 26px; height: 26px; }
  .logo-mark svg { width: 15px; height: 15px; }
  .lang-btn { padding: 5px 10px; }
  .card-name { font-size: 1.8rem; letter-spacing: -1px; }
}

/* Disable heavy parallax on mobile (performance) */
@media (max-width: 768px) {
  .hero-bg-image, .co-hoi-bg { background-attachment: scroll; }
  [data-parallax-speed] { transform: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   BLOCK 2 (originally inline style block 2 in index.html)
   ════════════════════════════════════════════════════════════════ */


/* ─── TOKEN REDEFINITION ─────────────────────────────────────────── */
:root {
  /* Brand · Teal scale (logo gradient) */
  --rt-teal-50:  #EDFCFA;
  --rt-teal-100: #CFF7F2;
  --rt-teal-200: #9FEEE5;
  --rt-teal-300: #5EE0D2;
  --rt-teal-400: #2BCEBC;
  --rt-teal-500: #16B0A1;
  --rt-teal-600: #0E8E83;
  --rt-teal-700: #0E7068;
  --rt-teal-800: #0F574F;
  --rt-teal-900: #0E433D;

  /* Brand · Forest */
  --rt-forest-300: #7BAB97;
  --rt-forest-500: #3D6B5A;
  --rt-forest-700: #28503F;
  --rt-forest-900: #16332A;

  /* Ink (neutrals) */
  --rt-ink-0:   #FFFFFF;
  --rt-ink-50:  #F6F8F8;
  --rt-ink-100: #EBEFF0;
  --rt-ink-200: #D6DEE0;
  --rt-ink-300: #B6C2C5;
  --rt-ink-400: #8896A0;
  --rt-ink-500: #5F6E78;
  --rt-ink-600: #3F4D57;
  --rt-ink-700: #28333B;
  --rt-ink-800: #161E25;
  --rt-ink-900: #0B1218;

  /* Semantic */
  --rt-amber:  #E8A33D;
  --rt-coral-warm: #E5685A;
  --rt-grad-brand: linear-gradient(135deg, #0E7068 0%, #16B0A1 50%, #2BCEBC 100%);
  --rt-grad-soft:  linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%);

  /* Map old tokens → new for cascade compatibility */
  --navy:          #FFFFFF;
  --navy-2:        #F6F8F8;
  --purple-deep:   #EDFCFA;
  --purple-mid:    #16B0A1;
  --purple-bright: #0E7068;
  --violet:        #2BCEBC;
  --violet-light:  #5EE0D2;
  --pink:          #3D6B5A;
  --pink-deep:     #28503F;
  --coral:         #16B0A1;
  --orange:        #2BCEBC;
  --amber:         #E8A33D;
  --cyan:          #4FB6E5;
  --emerald:       #28503F;

  /* Text colors flipped (the original used these for white-on-dark) */
  --white:    #0B1218;
  --white-90: rgba(11,18,24,0.92);
  --white-70: rgba(11,18,24,0.72);
  --white-50: rgba(11,18,24,0.55);
  --white-30: rgba(11,18,24,0.42);
  --white-15: rgba(11,18,24,0.12);
  --white-08: rgba(11,18,24,0.06);
  --white-05: rgba(11,18,24,0.04);
  --card-bg:  rgba(255,255,255,0.7);
}

/* ─── BASE ───────────────────────────────────────────────────────── */
html, body {
  background: #FFFFFF;
  color: var(--rt-ink-800);
}
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(14,112,104,0.05) 1px, transparent 0);
  background-size: 26px 26px;
  background-attachment: fixed;
}

::selection { background: var(--rt-teal-200); color: var(--rt-teal-900); }

:focus-visible { outline-color: var(--rt-teal-500); }
a:focus-visible, button:focus-visible, [onclick]:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--rt-teal-500);
}

/* ─── SCROLL PROGRESS BAR ────────────────────────────────────────── */
#scrollProgress {
  background: var(--rt-grad-brand);
  box-shadow: 0 0 12px rgba(22,176,161,0.5);
}

/* ─── NAV ────────────────────────────────────────────────────────── */
nav {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(11,18,24,0.06);
}
nav.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(11,18,24,0.08);
  box-shadow: 0 2px 10px rgba(11,18,24,0.04);
}

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--rt-teal-700);
}

/* Logo mark — teal gradient with wireframe vibe */
.logo-mark {
  background: linear-gradient(135deg, #0E7068, #16B0A1, #2BCEBC);
  box-shadow: 0 4px 14px rgba(14,112,104,0.32);
  border-radius: 9px;
}
.logo-mark svg { stroke: #FFFFFF; }
.logo:hover .logo-mark {
  box-shadow: 0 6px 22px rgba(14,112,104,0.44);
}
.logo-text .accent {
  background: linear-gradient(135deg, #16B0A1, #2BCEBC);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Nav links */
.nav-links a {
  color: var(--rt-ink-600);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.nav-links a:hover { color: var(--rt-teal-700); }
.nav-links a::after {
  background: var(--rt-grad-brand);
}

/* Nav CTA */
.nav-cta {
  background: var(--rt-ink-900);
  color: #FFFFFF;
  border-radius: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(11,18,24,0.16);
}
.nav-cta:hover {
  background: var(--rt-teal-700);
  box-shadow: 0 8px 22px rgba(14,112,104,0.36);
}

/* Lang switch */
.lang-switch {
  background: rgba(11,18,24,0.04);
  border-color: rgba(11,18,24,0.1);
}
.lang-btn { color: var(--rt-ink-500); }
.lang-btn:hover { color: var(--rt-ink-900); }
.lang-btn.active { background: var(--rt-teal-700); color: #FFFFFF; }

/* Hamburger */
.nav-toggle { border-color: rgba(11,18,24,0.12); }
.nav-toggle:hover { background: rgba(11,18,24,0.04); border-color: var(--rt-teal-500); }
.nav-toggle span { background: var(--rt-ink-900); }

.nav-backdrop { background: rgba(11,18,24,0.4); }

@media (max-width: 1024px) {
  .nav-links {
    background: #FFFFFF !important;
    border-left: 1px solid var(--rt-ink-100) !important;
  }
}

/* ─── HERO ───────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8F8 100%);
}

/* Replace dark gradient with teal mesh on light */
.hero-bg-gradient {
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(43,206,188,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(22,176,161,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(61,107,90,0.08) 0%, transparent 60%),
    #FFFFFF;
}
/* Hide architecture photo overlay (it was darkened for dark theme) */
.hero-bg-image { opacity: 0.08; mix-blend-mode: multiply; }

/* Hero grid overlay — make it the engineering dot/line grid */
.hero-grid {
  background-image:
    linear-gradient(to right, rgba(14,112,104,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,112,104,0.06) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 30%, transparent 80%);
  opacity: 1 !important;
}

/* Floating shape blobs — recolor */
.hero-shape.s1 { background: radial-gradient(circle, rgba(43,206,188,0.30), transparent 70%); }
.hero-shape.s2 { background: radial-gradient(circle, rgba(22,176,161,0.22), transparent 70%); }
.hero-shape.s3 { background: radial-gradient(circle, rgba(61,107,90,0.18), transparent 70%); }

/* Wireframes — teal stroke */
.hero-wireframe.w1 { stroke: var(--rt-teal-700) !important; opacity: 0.35; }
.hero-wireframe.w2 { stroke: var(--rt-teal-500) !important; opacity: 0.4; }
.hero-wireframe.w3 { stroke: var(--rt-forest-500) !important; opacity: 0.3; }

/* Hero badge — subtle pill, doesn't compete with title */
.hero-badge {
  background: rgba(255,255,255,0.65) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  padding: 7px 16px !important;
  margin-bottom: 36px !important;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 1px 3px rgba(14,112,104,0.04);
  text-shadow: none;
  position: relative;
  z-index: 2;
}
.hero-badge .dot {
  background: var(--rt-teal-500);
  box-shadow: 0 0 8px rgba(22,176,161,0.5);
  width: 6px !important;
  height: 6px !important;
}

/* Hero title — Bricolage Grotesque, mixed case (not uppercase) */
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--rt-ink-900);
}
.hero-title .word.w1,
.hero-title .word.w2 {
  color: var(--rt-ink-900);
  -webkit-text-fill-color: var(--rt-ink-900);
}
/* The emphatic third line ("CHUYÊN NGHIỆP" / "LIKE A PRO") gets brand gradient + italic */
.hero-title .word.w3 {
  background: var(--rt-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  color: var(--rt-ink-500);
  font-size: 1.1rem;
  max-width: 620px;
}

/* Hero buttons */
.btn-primary {
  background: var(--rt-ink-900);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 16px 28px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(11,18,24,0.18);
  border: 1px solid var(--rt-ink-900);
}
.btn-primary:hover {
  background: var(--rt-teal-700);
  border-color: var(--rt-teal-700);
  box-shadow: 0 12px 28px rgba(14,112,104,0.34);
}
.btn-secondary {
  background: transparent;
  color: var(--rt-teal-700);
  border: 1px solid var(--rt-teal-700);
  border-radius: 10px;
  padding: 16px 28px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.btn-secondary:hover {
  background: var(--rt-teal-50);
  color: var(--rt-teal-800);
}

/* Hero stats */
.hero-stats {
  border-top: 1px dashed rgba(11,18,24,0.15);
  padding-top: 32px;
}
.hero-stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--rt-teal-700);
  letter-spacing: -0.025em;
  line-height: 1;
  background: none;
  -webkit-text-fill-color: var(--rt-teal-700);
}
.hero-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--rt-ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero-scroll { color: var(--rt-ink-500); }
.hero-scroll-line { background: linear-gradient(to bottom, var(--rt-teal-500), transparent); }

/* ─── SECTIONS COMMON ────────────────────────────────────────────── */
section { background: transparent; }

.section-tag {
  background: var(--rt-teal-50);
  border: 1px solid var(--rt-teal-200);
  color: var(--rt-teal-700);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
}
.section-tag::before {
  background: var(--rt-teal-500);
  box-shadow: 0 0 8px var(--rt-teal-400);
}

.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--rt-ink-900);
}

.section-sub { color: var(--rt-ink-500); }

/* ─── CO-HOI (Market Opportunity) ────────────────────────────────── */
#co-hoi {
  background: linear-gradient(180deg, #F6F8F8 0%, #FFFFFF 100%);
  border-top: 1px solid var(--rt-ink-100);
  border-bottom: 1px solid var(--rt-ink-100);
}
.co-hoi-bg {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,248,248,0.85)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1800&q=80&auto=format&fit=crop');
  opacity: 0.18;
}
.co-hoi-glow {
  background: radial-gradient(circle, rgba(22,176,161,0.18), transparent 70%);
}

/* Timeline */
.tl-mark-line { background: var(--rt-grad-brand); }
.tl-mark-text { color: var(--rt-teal-700); font-family: 'JetBrains Mono', monospace; }
.tl-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.025em;
  color: var(--rt-ink-900);
}
.tl-sub { color: var(--rt-ink-500); }
.tl-dot {
  background: var(--rt-teal-500);
  border-color: var(--rt-teal-500);
  box-shadow: 0 0 0 6px rgba(22,176,161,0.12);
}
.tl-dot.muted {
  background: var(--rt-ink-200);
  border-color: var(--rt-ink-300);
}
.tl-line { background: linear-gradient(to bottom, rgba(22,176,161,0.5), rgba(11,18,24,0.08)); }
.tl-body .tl-year { color: var(--rt-teal-700); font-family: 'JetBrains Mono', monospace; }
.tl-body .tl-year.muted { color: var(--rt-ink-400); }
.tl-body h4 { color: var(--rt-ink-900); }
.tl-body h4.muted { color: var(--rt-ink-600); }
.tl-body p { color: var(--rt-ink-500); }
.tl-source { color: var(--rt-ink-400); }

/* Stat cards on light */
#co-hoi .stat-card,
.salary-card {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
}
#co-hoi .stat-card:hover {
  border-color: var(--rt-teal-300);
  box-shadow: 0 8px 24px rgba(14,112,104,0.12);
  transform: translateY(-4px);
}
#co-hoi .stat-card::before {
  background: var(--rt-grad-brand);
}
.stat-label {
  color: var(--rt-ink-500);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: var(--rt-ink-900);
  letter-spacing: -0.025em;
}
.stat-num.gradient {
  background: var(--rt-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-unit { color: var(--rt-ink-500); }
.stat-bar { background: var(--rt-grad-brand); }
.stat-source { color: var(--rt-ink-400); }

.salary-role { color: var(--rt-ink-700); }
.salary-track { background: rgba(11,18,24,0.06); }
.salary-fill { background: linear-gradient(90deg, var(--rt-teal-500), var(--rt-teal-300)); }
.salary-fill.hot { background: linear-gradient(90deg, var(--rt-teal-700), var(--rt-teal-400)); }
.salary-amount { color: var(--rt-ink-500); }
.salary-source { border-top-color: rgba(11,18,24,0.06); color: var(--rt-ink-400); }

/* ─── COURSES ────────────────────────────────────────────────────── */
#khoa-hoc {
  background: #FAFCFC;
  color: var(--rt-ink-900);
}
.courses-bg {
  background:
    radial-gradient(circle at 20% 30%, rgba(22,176,161,0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43,206,188,0.05), transparent 50%);
}
#khoa-hoc .section-tag { background: var(--rt-teal-50); border: 1px solid var(--rt-teal-200); color: var(--rt-teal-700); }
#khoa-hoc .section-title { color: var(--rt-ink-900); font-family: 'Bricolage Grotesque', sans-serif; }
#khoa-hoc .section-sub { color: var(--rt-ink-500); }

.course-card {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
}
.course-card::after {
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(14,112,104,0.18);
}

/* Convert all 4 course header gradients to brand-coherent variations */
.card-header.revit      { background: linear-gradient(135deg, #0F574F 0%, #16B0A1 100%); }
.card-header.enterprise { background: linear-gradient(135deg, #16332A 0%, #28503F 50%, #3D6B5A 100%); }
.card-header.navisworks { background: linear-gradient(135deg, #0E7068 0%, #2BCEBC 100%); }
.card-header.autocad    { background: linear-gradient(135deg, #0E433D 0%, #0E7068 50%, #16B0A1 100%); }

.card-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
}

.card-body h4 { color: var(--rt-ink-500); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; }
.card-body h4::after { background: linear-gradient(to right, rgba(22,176,161,0.2), transparent); }

.feature-list li { border-bottom-color: var(--rt-ink-100); color: var(--rt-ink-700); }

/* All check icons → brand colors */
.check.purple { background: linear-gradient(135deg, var(--rt-teal-700), var(--rt-teal-500)); }
.check.blue   { background: linear-gradient(135deg, var(--rt-teal-800), var(--rt-teal-500)); }
.check.green  { background: linear-gradient(135deg, var(--rt-forest-700), var(--rt-forest-500)); }
.check.pink   { background: linear-gradient(135deg, var(--rt-teal-600), var(--rt-teal-300)); color: var(--rt-teal-900); }

/* CTA buttons — unified */
.card-cta {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
  border-radius: 10px;
}
.card-cta.purple { background: var(--rt-teal-700); box-shadow: 0 6px 20px rgba(14,112,104,0.28); }
.card-cta.blue   { background: var(--rt-ink-900); box-shadow: 0 6px 20px rgba(11,18,24,0.28); }
.card-cta.pink   { background: var(--rt-teal-600); box-shadow: 0 6px 20px rgba(14,142,131,0.28); }
.card-cta.green  { background: var(--rt-forest-700); box-shadow: 0 6px 20px rgba(40,80,63,0.28); }

.card-cta.purple:hover { background: var(--rt-teal-800); }
.card-cta.blue:hover   { background: var(--rt-teal-700); }
.card-cta.pink:hover   { background: var(--rt-teal-700); }
.card-cta.green:hover  { background: var(--rt-forest-900); }

.card-badge {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}

/* ─── CURRICULUM (scrollytelling modules) ────────────────────────── */
#noi-dung {
  background: #FFFFFF;
  border-top: 1px solid var(--rt-ink-100);
  color: var(--rt-ink-900);
}
#noi-dung .section-title,
#noi-dung h1, #noi-dung h2, #noi-dung h3, #noi-dung h4 {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: none;
}
#noi-dung p, #noi-dung li {
  color: var(--rt-ink-700);
}

/* Module backgrounds: dark cards on dark in original — flip to light surface */
#noi-dung .module-card,
#noi-dung [class*="module-"],
#noi-dung .curriculum-step,
#noi-dung .step-card,
#noi-dung .cur-step,
#noi-dung .cur-module,
#noi-dung .module {
  background: #FAFCFC;
  border: 1px solid var(--rt-ink-100);
  border-radius: 16px;
  color: var(--rt-ink-800);
}

/* Generic dark backgrounds inside curriculum → light */
#noi-dung [style*="background"][style*="rgba(255,255,255"] {
  background: rgba(11,18,24,0.04) !important;
}

/* ─── EVENTS ─────────────────────────────────────────────────────── */
#su-kien {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8F8 100%);
  border-top: 1px solid var(--rt-ink-100);
}
#su-kien .event-card,
#su-kien [class*="event"] {
  color: var(--rt-ink-800);
}
#su-kien h3, #su-kien h4 {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* ─── TDTU ACTIVITIES ────────────────────────────────────────────── */
#tdtu {
  background: #FFFFFF;
  border-top: 1px solid var(--rt-ink-100);
}

/* ─── TEAM ───────────────────────────────────────────────────────── */
#team {
  background: linear-gradient(180deg, #F6F8F8 0%, #FFFFFF 100%);
  border-top: 1px solid var(--rt-ink-100);
}
#team h3, #team h4 { color: var(--rt-ink-900); font-family: 'Bricolage Grotesque', sans-serif; }
#team p { color: var(--rt-ink-500); }

/* ─── ALUMNI ─────────────────────────────────────────────────────── */
#alumni {
  background: #FFFFFF;
  border-top: 1px solid var(--rt-ink-100);
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
#faq {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8F8 100%);
  border-top: 1px solid var(--rt-ink-100);
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 12px;
}
.faq-item.open { border-color: var(--rt-teal-300); }
.faq-q {
  color: var(--rt-ink-900);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
}
.faq-a, .faq-answer {
  color: var(--rt-ink-600);
}

/* ─── OUTSOURCING ────────────────────────────────────────────────── */
#outsourcing {
  background: linear-gradient(180deg, #F6F8F8 0%, #FFFFFF 100%);
  color: var(--rt-ink-900);
  border-top: 1px solid var(--rt-ink-100);
}
#outsourcing h2, #outsourcing h3, #outsourcing h4 {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: none;
}
#outsourcing p, #outsourcing li { color: var(--rt-ink-600); }

/* Globe & dark elements in outsourcing */
#outsourcing .out-globe,
#outsourcing .globe-wrap {
  filter: hue-rotate(150deg) saturate(0.8);
}

/* ─── CONTACT ────────────────────────────────────────────────────── */
#lien-he {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFC 100%);
  border-top: 1px solid var(--rt-ink-100);
}
.lien-he-bg {
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(22,176,161,0.12), transparent 70%);
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 16px;
  color: var(--rt-ink-800);
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.contact-card:hover {
  border-color: var(--rt-teal-400);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,112,104,0.12);
}
.contact-label {
  color: var(--rt-ink-500);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-val {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}

.cta-big {
  background: var(--rt-grad-brand);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 18px 36px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(14,112,104,0.32);
  text-transform: none;
  transition: transform .2s, box-shadow .3s;
}
.cta-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(14,112,104,0.42);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--rt-ink-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(43,206,188,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43,206,188,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}
footer > * { position: relative; z-index: 1; }

.footer-bg-glow {
  background: linear-gradient(90deg, transparent, var(--rt-teal-400), var(--rt-teal-300), transparent);
  opacity: 0.7;
}

footer .logo {
  color: #FFFFFF;
}
footer .logo-text .accent {
  background: linear-gradient(135deg, var(--rt-teal-400), var(--rt-teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p { color: rgba(255,255,255,0.6); }
.footer-brand .footer-addr { color: rgba(255,255,255,0.4); font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; }

.footer-social {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}
.footer-social:hover {
  background: var(--rt-teal-700);
  border-color: var(--rt-teal-600);
  color: #FFFFFF;
}

.footer-col h4 {
  color: var(--rt-teal-400);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.footer-col ul li a { color: rgba(255,255,255,0.5); }
.footer-col ul li a:hover { color: var(--rt-teal-300); }

.footer-bottom {
  border-top-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ─── FLOATING CTA ───────────────────────────────────────────────── */
#floatToggle {
  background: var(--rt-grad-brand);
  border-radius: 999px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(14,112,104,0.42);
}
#floatToggle:hover {
  box-shadow: 0 16px 40px rgba(14,112,104,0.55);
}

.float-course {
  background: var(--rt-ink-900);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(11,18,24,0.32);
}
.float-course:hover {
  background: var(--rt-teal-800);
  border-color: var(--rt-teal-600);
}
/* Recolor course dots */
.float-course-dot { background: var(--rt-teal-400) !important; }

.zalo-float {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--rt-teal-200);
  color: var(--rt-teal-700);
  box-shadow: 0 6px 20px rgba(11,18,24,0.18);
}
.zalo-float:hover {
  background: #FFFFFF;
  color: var(--rt-teal-800);
  border-color: var(--rt-teal-400);
}

/* ─── COURSE MODAL ───────────────────────────────────────────────── */
.course-modal-overlay {
  background: rgba(11,18,24,0.72);
  backdrop-filter: blur(12px);
}
.course-modal {
  background: #FFFFFF;
  color: var(--rt-ink-800);
  border: 1px solid var(--rt-ink-100);
}
.course-modal h2, .course-modal h3, .course-modal .cm-name {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: none;
}
.cm-close {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #FFFFFF;
}

/* Inline registration form */
.inline-register-form,
.register-form {
  background: #FAFCFC;
  border: 1px solid var(--rt-ink-100);
  border-radius: 16px;
  color: var(--rt-ink-800);
}
.inline-register-form input,
.inline-register-form select,
.inline-register-form textarea,
.register-form input,
.register-form select,
.register-form textarea {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-200);
  color: var(--rt-ink-900);
  border-radius: 10px;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.inline-register-form input:focus,
.inline-register-form select:focus,
.inline-register-form textarea:focus,
.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
  border-color: var(--rt-teal-500);
  box-shadow: 0 0 0 4px rgba(22,176,161,0.15);
  outline: none;
}
.inline-register-form label,
.register-form label {
  color: var(--rt-ink-700);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* Submit buttons inside forms */
.form-submit, button[type="submit"] {
  background: var(--rt-grad-brand);
  color: #FFFFFF;
  border-radius: 10px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ─── REVEAL ANIMATION COLORS ────────────────────────────────────── */
.reveal {
  /* Keep the original reveal animations functional */
}

/* ─── ALL DARK SECTION FALLBACKS ─────────────────────────────────── */
/* For any sections still with old dark token usage, provide cleanup */
section[id]:not(#khoa-hoc):not(footer) > *:not(.px-bg):not(.px-layer) {
  /* Children inherit light theme cleanly */
}

/* Fix any leftover dark cards */
.stats-row .stat-card {
  background: #FFFFFF;
  border-color: var(--rt-ink-100);
}

/* ─── DECORATIVE LOGO MARK FIX (NAV) ─────────────────────────────── */
/* The original nav SVG uses Path-based mark with white stroke;
   keep it readable on the new teal gradient background */
nav .logo-mark svg path {
  stroke: #FFFFFF;
  stroke-width: 2;
}

/* ─── TYPOGRAPHY SAFETY NET ──────────────────────────────────────── */
/* Wherever Barlow Condensed UPPERCASE was used for titles, switch to Bricolage Grotesque */
h1.section-title, h2.section-title, h3.section-title,
.tl-title, .card-name {
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: -0.025em;
}

/* Numbers / stats keep Bricolage for character */
.hero-stat-num, .stat-num, .cm-name {
  font-family: 'Bricolage Grotesque', sans-serif !important;
}

/* Mono for technical labels */
.section-tag, .stat-label, .hero-stat-label, .tl-mark-text, .tl-year,
.lang-btn, .hero-badge span, .nav-links a, .footer-col h4, .footer-bottom,
.contact-label, .footer-addr {
  font-family: 'JetBrains Mono', monospace !important;
}

/* ─── DOTTED-LINE DIVIDER UTILITY (NEW) ──────────────────────────── */
section + section { border-top: 1px solid var(--rt-ink-100); }

/* ─── REMOVE HARSH SHADOWS ON LIGHT THEME ────────────────────────── */
.course-card, .contact-card, #co-hoi .stat-card {
  box-shadow: 0 1px 3px rgba(11,18,24,0.04), 0 4px 12px rgba(11,18,24,0.04);
}

/* ─── HERO SUB-LINE WIDTH ────────────────────────────────────────── */
.hero-sub { font-family: 'Be Vietnam Pro', sans-serif; line-height: 1.65; }

/* ─── MOBILE / RESPONSIVE TWEAKS ─────────────────────────────────── */
@media (max-width: 768px) {
  body { background-size: 20px 20px; }
  .hero-title { letter-spacing: -0.04em; }
  .nav-cta { font-size: 0.7rem; padding: 8px 14px; }
}

/* ─── PRINT ──────────────────────────────────────────────────────── */
@media print {
  body { background: #FFFFFF; background-image: none; }
  nav, #floatGroup, .hero-bg-image { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PART 2 — CURRICULUM SCROLLYTELLING (deep override)
   ═══════════════════════════════════════════════════════════════ */

/* Curriculum tabs */
.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-200);
  color: var(--rt-ink-600);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
}
.tab-btn:hover:not(.active) {
  border-color: var(--rt-teal-400);
  color: var(--rt-teal-700);
  background: var(--rt-teal-50);
}
.tab-btn.active {
  background: var(--rt-ink-900);
  border-color: var(--rt-ink-900);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(11,18,24,0.18);
}
.tab-btn.soon { opacity: 0.5; }
.tab-btn.soon::after {
  background: var(--rt-amber);
  color: var(--rt-ink-900);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

/* Sticky panel — left side */
.curr-sticky-inner {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FAFCFC 100%);
  border: 1px solid var(--rt-ink-100);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
}
.curr-sticky-inner::before {
  background: radial-gradient(circle, rgba(22,176,161,0.18), transparent 70%);
  filter: blur(50px);
}
.curr-sticky-label {
  color: var(--rt-teal-700);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}
.curr-sticky-num {
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-weight: 700;
  background: var(--rt-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.curr-sticky-icon {
  filter: drop-shadow(0 8px 20px rgba(14,112,104,0.22));
}
.curr-sticky-tag { color: var(--rt-ink-500); }
.curr-sticky-title {
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: -0.025em;
  color: var(--rt-ink-900);
}
.curr-sticky-desc { color: var(--rt-ink-500); }

.curr-progress-dot {
  background: var(--rt-ink-100);
}
.curr-progress-dot.active {
  background: var(--rt-grad-brand);
}

/* Module cards on right */
.curr-module {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
  transition: border-color 0.4s, transform 0.3s, box-shadow 0.3s;
}
.curr-module.active {
  border-color: var(--rt-teal-300);
  background: #FFFFFF;
  box-shadow: 0 8px 28px rgba(14,112,104,0.10);
}
.curr-module::before {
  background: linear-gradient(to bottom, var(--rt-teal-500), transparent);
}

.cmod-num {
  color: var(--rt-ink-400);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}
.cmod-tag {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}
.cmod-title {
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-weight: 600;
  text-transform: none;
  color: var(--rt-ink-900);
}
.cmod-desc { color: var(--rt-ink-500); }

/* Win callout (the green box) */
.cmod-win {
  background: rgba(40,80,63,0.06);
  border: 1px solid rgba(40,80,63,0.18);
  border-radius: 10px;
}
.cmod-win p { color: var(--rt-forest-700); }
.cmod-win strong { color: var(--rt-forest-900); font-weight: 700; }

.cmod-lesson-head {
  color: var(--rt-ink-500);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}
.cmod-lesson {
  background: var(--rt-ink-50);
  border: 1px solid transparent;
  border-radius: 8px;
}
.cmod-lesson:hover {
  background: var(--rt-teal-50);
  border-color: var(--rt-teal-200);
  transform: translateX(4px);
}
.cmod-lesson span { color: var(--rt-ink-700); }
.cmod-lesson b { color: var(--rt-ink-900); }

/* Module theme variations — recolor to teal/forest/amber palette */
.cmod-c-blue .cmod-icon   { background: rgba(14,112,104,0.10); }
.cmod-c-blue .cmod-tag    { color: var(--rt-teal-700); }
.cmod-c-blue .cmod-dot    { background: var(--rt-teal-500); }
.cmod-c-blue .cmod-pill   { color: var(--rt-teal-800); border-color: var(--rt-teal-300); background: var(--rt-teal-50); }

.cmod-c-amber .cmod-icon  { background: rgba(232,163,61,0.12); }
.cmod-c-amber .cmod-tag   { color: #C97D1F; }
.cmod-c-amber .cmod-dot   { background: var(--rt-amber); }
.cmod-c-amber .cmod-pill  { color: #8C5A12; border-color: rgba(232,163,61,0.4); background: rgba(232,163,61,0.10); }

.cmod-c-cyan .cmod-icon   { background: rgba(43,206,188,0.12); }
.cmod-c-cyan .cmod-tag    { color: var(--rt-teal-600); }
.cmod-c-cyan .cmod-dot    { background: var(--rt-teal-400); }
.cmod-c-cyan .cmod-pill   { color: var(--rt-teal-700); border-color: var(--rt-teal-300); background: var(--rt-teal-50); }

.cmod-c-red .cmod-icon    { background: rgba(229,104,90,0.10); }
.cmod-c-red .cmod-tag     { color: var(--rt-coral-warm); }
.cmod-c-red .cmod-dot     { background: var(--rt-coral-warm); }
.cmod-c-red .cmod-pill    { color: #B83C2F; border-color: rgba(229,104,90,0.3); background: rgba(229,104,90,0.06); }

.cmod-c-teal .cmod-icon   { background: rgba(22,176,161,0.12); }
.cmod-c-teal .cmod-tag    { color: var(--rt-teal-600); }
.cmod-c-teal .cmod-dot    { background: var(--rt-teal-500); }
.cmod-c-teal .cmod-pill   { color: var(--rt-teal-800); border-color: var(--rt-teal-300); background: var(--rt-teal-50); }

.cmod-c-purple .cmod-icon { background: rgba(61,107,90,0.12); }
.cmod-c-purple .cmod-tag  { color: var(--rt-forest-700); }
.cmod-c-purple .cmod-dot  { background: var(--rt-forest-500); }
.cmod-c-purple .cmod-pill { color: var(--rt-forest-700); border-color: rgba(61,107,90,0.28); background: rgba(61,107,90,0.07); }

/* ═══════════════════════════════════════════════════════════════
   PART 3 — EVENTS
   ═══════════════════════════════════════════════════════════════ */
#su-kien {
  background: linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%);
  padding: 130px 60px;
}

/* All event cards */
.event-card,
.evt-card,
[class*="event-"][class*="card"] {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
  color: var(--rt-ink-800);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.event-card:hover,
.evt-card:hover {
  transform: translateY(-4px);
  border-color: var(--rt-teal-300);
  box-shadow: 0 12px 32px rgba(14,112,104,0.12);
}

/* Generic dark backgrounds in events → light */
#su-kien [style*="rgba(255,255,255,0.0"],
#su-kien [class*="dark"] {
  background: #FFFFFF !important;
}

/* ═══════════════════════════════════════════════════════════════
   PART 4 — OUTSOURCING
   ═══════════════════════════════════════════════════════════════ */
#outsourcing {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFC 100%);
  padding: 130px 60px;
}

/* Outsourcing cards / globe panel */
.out-card, .outsourcing-card,
.os-card, .scrolly-card,
[class*="outsourcing"] [class*="card"] {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 18px;
  color: var(--rt-ink-800);
}

/* Project cards */
.project-card {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 16px;
  color: var(--rt-ink-800);
}
.project-card h3, .project-card h4 {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif;
}
.project-card p { color: var(--rt-ink-500); }

/* Globe section — keep dark mode for the globe canvas only */
.globe-wrapper, .out-globe-wrap {
  background: var(--rt-ink-900);
  border-radius: 24px;
  border: 1px solid var(--rt-ink-100);
  filter: none;
}

/* ═══════════════════════════════════════════════════════════════
   PART 5 — COURSE MODAL (deep)
   ═══════════════════════════════════════════════════════════════ */
.course-modal {
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(11,18,24,0.32);
}

.cm-header {
  border-radius: 20px 20px 0 0;
}
/* Modal headers also use the same gradient mapping as cards */
.cm-header.revit      { background: linear-gradient(135deg, #0F574F 0%, #16B0A1 100%); }
.cm-header.enterprise { background: linear-gradient(135deg, #16332A 0%, #28503F 50%, #3D6B5A 100%); }
.cm-header.navisworks { background: linear-gradient(135deg, #0E7068 0%, #2BCEBC 100%); }
.cm-header.autocad    { background: linear-gradient(135deg, #0E433D 0%, #0E7068 50%, #16B0A1 100%); }

.cm-name {
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: -0.025em;
}
.cm-tagline {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 400;
}
.cm-badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}

.cm-body { color: var(--rt-ink-700); }
.cm-body h3, .cm-body h4 {
  color: var(--rt-ink-900);
  font-family: 'Bricolage Grotesque', sans-serif !important;
  text-transform: none !important;
}
.cm-body p, .cm-body li { color: var(--rt-ink-700); }

/* Modal sections / blocks */
.cm-block, .cm-section {
  background: var(--rt-ink-50);
  border: 1px solid var(--rt-ink-100);
  border-radius: 12px;
}

/* Modal CTA */
.cm-cta {
  background: var(--rt-grad-brand);
  color: #FFFFFF;
  border-radius: 10px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(14,112,104,0.32);
}
.cm-cta:hover {
  box-shadow: 0 12px 32px rgba(14,112,104,0.42);
}

/* ═══════════════════════════════════════════════════════════════
   PART 6 — TEXT COLOR FALLBACKS FOR ANY DARK ELEMENTS
   ═══════════════════════════════════════════════════════════════ */
/* Anything still rendering white text from --white needs to be dark now,
   except elements we explicitly want dark backgrounds for. */
footer, footer *,
.hero-bg-image,
.cm-header, .cm-header *,
.card-header, .card-header *,
.card-cta, .card-cta *,
.tab-btn.active,
.float-course, .float-course *,
.btn-primary, .btn-primary *,
.cta-big, .cta-big *,
#floatToggle, #floatToggle *,
.nav-cta,
.zalo-float,
.lang-btn.active,
.cm-cta, .cm-cta *,
.globe-wrapper, .globe-wrapper *,
.out-globe-wrap, .out-globe-wrap *,
.cm-close,
.card-badge {
  /* These elements should keep their light-on-dark text */
}

/* Hero scroll indicator text */
.hero-scroll {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Reveal/animation entries shouldn't show flicker on color change */
[class*="reveal"] { transition: opacity .6s, transform .6s; }

/* ═══════════════════════════════════════════════════════════════
   PART 7 — DECORATIVE BLUEPRINT FRAME (NEW)
   Subtle wireframe corner brackets on key cards
   ═══════════════════════════════════════════════════════════════ */
.course-card, #co-hoi .stat-card, .contact-card {
  position: relative;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--rt-teal-400);
  border-right: 1.5px solid var(--rt-teal-400);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  z-index: 5;
  pointer-events: none;
}
.course-card:hover::before { opacity: 1; }

/* ─── EOF — RT THEME 2026 ─────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════
   PATCHES v1 — User feedback fixes (Apr 2026)
   ═══════════════════════════════════════════════════════════════ */

/* ─── PATCH 1: NEW LOGO IMAGE IN NAV/FOOTER ──────────────────────
   Replaces SVG cube + text wordmark with actual RevitTech logo PNG.
   File: LogoRevitTechShort.png — keep next to index.html when deploying. */
.logo-img-real {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(14,112,104,0.18));
  transition: filter .3s var(--ease-out), transform .3s var(--ease-out);
}
.logo:hover .logo-img-real {
  filter: drop-shadow(0 4px 14px rgba(14,112,104,0.35));
  transform: scale(1.02);
}
nav.scrolled .logo-img-real { height: 38px; }
.footer-logo-img-real {
  height: 48px;
  width: auto;
  background: #FFFFFF;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(43,206,188,0.25), 0 0 0 1px rgba(43,206,188,0.15);
  filter: none;
  display: block;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
footer .logo:hover .footer-logo-img-real {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,206,188,0.35), 0 0 0 1px rgba(43,206,188,0.25);
}
@media (max-width: 760px) {
  .logo-img-real { height: 38px; }
  .footer-logo-img-real { height: 40px; padding: 8px 14px; }
}

/* ─── PATCH 2: HERO TITLE — reduce size + fix italic clipping ──── */
.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5.4rem) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
}
html[lang="en"] .hero-title {
  font-size: clamp(2.2rem, 5.8vw, 4.6rem) !important;
}
/* Allow descenders/italic overhang to render — line padding compensates */
.hero-title .line {
  overflow: visible !important;
  padding-bottom: 0.05em;
  padding-right: 0.08em;
}
/* The 3rd line ("CHUYÊN NGHIỆP" / italic gradient) — slightly smaller, generous padding */
.hero-title .word.w3 {
  font-size: 0.92em;
  padding: 0.04em 0.08em 0.12em 0.02em;
  display: inline-block;
}

/* ─── PATCH 3: HERO STATS LABELS — bump contrast ─────────────── */
.hero-stat-num {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
}
.hero-stat-label {
  color: var(--rt-ink-700) !important;
  font-weight: 600 !important;
  font-size: 0.72rem !important;
  opacity: 0.95;
}

/* ─── PATCH 4: SECTION TITLE — sensible size ───────────────────── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  line-height: 1.1 !important;
}
.tl-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem) !important;
}

/* ─── PATCH 5: HERO BG VIDEO ───────────────────────────────────── */
.hero-bg-video {
  position: absolute;
  inset: -10% -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  z-index: -4;
  opacity: 0.32;
  filter: contrast(1.05) saturate(1.15) hue-rotate(155deg);
  pointer-events: none;
}
/* When video is empty/no source, only the poster shows — that's fine.
   Hide the legacy hero-bg-image when video exists, to avoid stacking */
section#hero .hero-bg-image { display: none; }

/* ─── PATCH 6: COURSE MODAL FORM — fix invisible inputs/placeholders ── */
.course-modal {
  background: #FFFFFF;
  color: var(--rt-ink-800);
}
.course-modal .cm-body { background: #FFFFFF; }

.cm-field label {
  color: var(--rt-ink-700) !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.cm-field label .req { color: var(--rt-coral-warm) !important; }

.cm-field input[type="text"],
.cm-field input[type="tel"],
.cm-field input[type="email"],
.cm-field select,
.cm-field textarea {
  background: #FAFCFC !important;
  background-color: #FAFCFC !important;
  border: 1px solid var(--rt-ink-200) !important;
  color: var(--rt-ink-900) !important;
  border-radius: 10px;
}
.cm-field input::placeholder,
.cm-field textarea::placeholder {
  color: rgba(11,18,24,0.42) !important;
  opacity: 1;
}
.cm-field input:hover,
.cm-field select:hover,
.cm-field textarea:hover {
  border-color: var(--rt-teal-300) !important;
  background-color: #FFFFFF !important;
}
.cm-field input:focus,
.cm-field select:focus,
.cm-field textarea:focus {
  outline: none;
  border-color: var(--rt-teal-500) !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(22,176,161,0.15) !important;
}
.cm-field select {
  background-color: #FAFCFC !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230E7068' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
  padding-right: 36px !important;
}
.cm-field select:hover,
.cm-field select:focus {
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230E7068' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
}
.cm-field select option { background: #FFFFFF; color: var(--rt-ink-900); }

/* Radio cards */
.cm-radio-box {
  background: #FAFCFC !important;
  border: 1px solid var(--rt-ink-200) !important;
  color: var(--rt-ink-700);
  border-radius: 10px;
}
.cm-radio-box:hover {
  border-color: var(--rt-teal-300) !important;
  background: #FFFFFF !important;
}
.cm-radio input[type="radio"]:checked + .cm-radio-box,
.cm-radio-box.checked {
  border-color: var(--rt-teal-500) !important;
  background: var(--rt-teal-50) !important;
  color: var(--rt-teal-900);
}
.cm-radio-icon { font-size: 1.4rem; }
.cm-radio-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.06em !important;
  color: var(--rt-ink-700);
  font-weight: 600;
}

/* Modal close button */
.cm-close {
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  color: var(--rt-ink-900) !important;
  font-weight: 600;
}
.cm-close:hover {
  background: #FFFFFF !important;
  color: var(--rt-teal-700) !important;
}

/* Modal body section headings */
.cm-section-head, .cm-body h3, .cm-body h4 {
  color: var(--rt-ink-900) !important;
}
.cm-body p, .cm-body li, .cm-body span {
  color: var(--rt-ink-700);
}

/* ─── PATCH 7: EVENTS — override inline gradient backgrounds ───── */
.event-badge {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  border-radius: 999px;
}
/* Original purple → teal */
.event-badge[style*="6c3fff"],
.event-badge[style*="a855f7"] {
  background: linear-gradient(135deg, #0E7068 0%, #16B0A1 100%) !important;
}
/* Original green → forest */
.event-badge[style*="059669"],
.event-badge[style*="34d399"] {
  background: linear-gradient(135deg, #28503F 0%, #3D6B5A 100%) !important;
}
/* Original amber → keep amber but harmonized */
.event-badge[style*="f59e0b"],
.event-badge[style*="ff8c42"] {
  background: linear-gradient(135deg, #C97D1F 0%, #E8A33D 100%) !important;
}
/* Tag chip on event main photo */
.event-tag-chip {
  background: rgba(255,255,255,0.95);
  color: var(--rt-ink-900);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.04em;
}

/* Event tags pills */
.event-tag-pill {
  background: var(--rt-teal-50);
  color: var(--rt-teal-700);
  border: 1px solid var(--rt-teal-200);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 4px 10px;
}

/* Event card layout */
.event-card {
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(11,18,24,0.04);
  overflow: hidden;
}
.event-info { padding: 24px; }
.event-info h3, .event-title {
  color: var(--rt-ink-900) !important;
  font-family: 'Bricolage Grotesque', sans-serif !important;
  text-transform: none !important;
  font-size: 1.4rem !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.event-desc { color: var(--rt-ink-600) !important; font-size: 0.95rem; line-height: 1.6; }
.event-date {
  color: var(--rt-ink-500) !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Image fallback styling for when images don't load (during dev) */
.event-main-photo img,
.event-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #EBEFF0 0%, #D6DEE0 100%);
}
.event-main-photo,
.event-side-item {
  background: linear-gradient(135deg, #EBEFF0 0%, #D6DEE0 100%);
  position: relative;
  overflow: hidden;
}

/* ─── PATCH 8: ALUMNI — light theme fixes + correct typography ───── */
#alumni {
  background: linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%) !important;
  color: var(--rt-ink-900) !important;
  border-top: 1px solid var(--rt-ink-100);
}
#alumni .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#alumni .section-title {
  color: var(--rt-ink-900) !important;
  font-family: 'Bricolage Grotesque', sans-serif !important;
}
#alumni .section-sub { color: var(--rt-ink-500) !important; }

.alumni-avatar {
  border: 4px solid #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(14,112,104,0.18) !important;
  background: var(--rt-ink-100); /* Visible placeholder when image missing */
}
.alumni-item:hover .alumni-avatar {
  box-shadow: 0 12px 32px rgba(14,112,104,0.32) !important;
}
.alumni-name {
  color: var(--rt-ink-900) !important;
  font-family: 'Bricolage Grotesque', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}
.alumni-role {
  color: var(--rt-ink-500) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 500;
}

/* ─── PATCH 9: GLOBAL CONTRAST — bump faded text ─────────────────── */
/* Anything still using --white-30/50 should appear readable on white */
.hero-sub { color: var(--rt-ink-600) !important; }

/* Stat sources & similar fine print */
.stat-source, .salary-source, .tl-source,
.footer-bottom, .footer-addr {
  color: var(--rt-ink-500) !important;
}

/* Card descriptions */
.card-desc { color: rgba(255,255,255,0.92) !important; } /* Card headers are dark-themed teal */

/* Curriculum section header inherit */
#noi-dung .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}

/* TDTU Activities */
#tdtu .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#tdtu .section-title { color: var(--rt-ink-900) !important; font-family: 'Bricolage Grotesque', sans-serif !important; }
#tdtu .section-sub { color: var(--rt-ink-500) !important; }

/* Team section */
#team .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#team .section-title { color: var(--rt-ink-900) !important; font-family: 'Bricolage Grotesque', sans-serif !important; }
#team .section-sub { color: var(--rt-ink-500) !important; }

/* Co-hoi section header */
#co-hoi .section-tag,
#co-hoi .tl-mark-text {
  color: var(--rt-teal-700) !important;
}

/* Outsourcing section */
#outsourcing .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}

/* FAQ section */
#faq .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#faq .section-title { color: var(--rt-ink-900) !important; font-family: 'Bricolage Grotesque', sans-serif !important; }

/* Contact section */
#lien-he .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#lien-he .section-title { color: var(--rt-ink-900) !important; font-family: 'Bricolage Grotesque', sans-serif !important; }
#lien-he .section-sub { color: var(--rt-ink-500) !important; }

/* Events section header — override the inline pink gradient via attribute selector */
#su-kien .section-tag,
#su-kien .section-tag[style*="linear-gradient"] {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
  background-image: none !important;
}

/* ─── PATCH 10: GENERIC CHECK FOR MISSING IMAGES (dev only) ─────────── */
img[src^="images/"]:not([src$=".png"]):not([src$=".jpg"]):not([src$=".jpeg"]):not([src$=".webp"]) {
  background: linear-gradient(135deg, var(--rt-ink-100) 0%, var(--rt-ink-200) 100%);
}

/* When alt text is shown (broken images), make it readable */
img {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--rt-ink-500);
  text-align: center;
  font-weight: 500;
}

/* ─── PATCH 11: FOOTER LOGO image fix ────────────────────────────
   Logo sits on a white card (.footer-logo-img-real), so keep its
   real colors — do NOT invert to white (was rendering white-on-white). */
footer .logo .logo-img-real {
  filter: drop-shadow(0 4px 14px rgba(43,206,188,0.22));
}

/* Floating CTA group dots — recolor from old hex codes */
.float-course-dot[style*="6c3fff"] { background: var(--rt-teal-700) !important; }
.float-course-dot[style*="3b82f6"] { background: var(--rt-teal-500) !important; }
.float-course-dot[style*="db2777"] { background: var(--rt-teal-600) !important; }
.float-course-dot[style*="34d399"] { background: var(--rt-forest-500) !important; }

/* ─── PATCH 12: HERO 3D CANVAS (Three.js wireframe BIM scene) ─── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.95;
  display: block;
  /* Mask: hide center column where text sits, show on left + right sides */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 22%,
    rgba(0,0,0,0.15) 36%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.15) 64%,
    rgba(0,0,0,1) 78%,
    rgba(0,0,0,1) 100%
  );
          mask-image: linear-gradient(
    to right,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 22%,
    rgba(0,0,0,0.15) 36%,
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,0.15) 64%,
    rgba(0,0,0,1) 78%,
    rgba(0,0,0,1) 100%
  );
}

/* Hide the static background image div now that we have live animation
   (the bg-image was already disabled, but ensure it stays hidden) */
section#hero .hero-bg-image { display: none !important; }

/* The grid overlay should sit slightly above canvas so structure feels layered */
section#hero .hero-grid { z-index: -2; }

/* On small mobile, simplify — opacity lower for readability over text,
   AND remove the side-mask since mobile is single-column */
@media (max-width: 760px) {
  .hero-canvas {
    opacity: 0.45;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,1) 100%);
            mask-image: radial-gradient(ellipse 70% 80% at 50% 50%,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,1) 100%);
  }
}

/* Respect reduced motion: stop the animation */
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { opacity: 0.5; }
}

/* ─── EOF — PATCHES v1 ──────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════
   PATCHES v2 — Classroom Gallery section (NEW)
   ═══════════════════════════════════════════════════════════════ */

#lop-hoc {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFC 100%);
  padding: 130px 60px;
  border-top: 1px solid var(--rt-ink-100);
  position: relative;
  overflow: hidden;
}
#lop-hoc::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(14,112,104,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,112,104,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}
#lop-hoc > * { position: relative; z-index: 1; }

#lop-hoc .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#lop-hoc .section-title {
  color: var(--rt-ink-900) !important;
  font-family: 'Bricolage Grotesque', sans-serif !important;
  text-transform: none !important;
}
#lop-hoc .section-sub { color: var(--rt-ink-500) !important; }

/* Masonry-style grid */
.classroom-gallery {
  max-width: 1280px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.cl-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--rt-ink-100);
  border: 1px solid var(--rt-ink-100);
  transition: transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              border-color 0.3s;
}
.cl-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out),
              filter 0.4s;
  display: block;
}
.cl-photo:hover {
  transform: translateY(-4px);
  border-color: var(--rt-teal-300);
  box-shadow: 0 16px 40px rgba(14,112,104,0.18);
  z-index: 2;
}
.cl-photo:hover img {
  transform: scale(1.06);
}

/* Variant sizes (creates masonry feel) */
.cl-large { grid-column: span 2; grid-row: span 2; }
.cl-tall  { grid-row: span 2; }
.cl-wide  { grid-column: span 2; }

/* Caption overlay on hover */
.cl-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px 16px;
  background: linear-gradient(to top,
    rgba(11,18,24,0.90) 0%,
    rgba(11,18,24,0.55) 60%,
    transparent 100%);
  color: white;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
  pointer-events: none;
}
.cl-photo:hover .cl-caption {
  opacity: 1;
  transform: translateY(0);
}
.cl-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--rt-teal-300);
  text-transform: uppercase;
}
.cl-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: white;
}

/* Decorative corner brackets on cl-large */
.cl-large::before,
.cl-large::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.cl-large::before {
  top: 12px; left: 12px;
  border-top: 1.5px solid var(--rt-teal-300);
  border-left: 1.5px solid var(--rt-teal-300);
}
.cl-large::after {
  top: 12px; right: 12px;
  border-top: 1.5px solid var(--rt-teal-300);
  border-right: 1.5px solid var(--rt-teal-300);
}
.cl-large:hover::before,
.cl-large:hover::after { opacity: 1; }

/* Loading skeleton (when image fails) */
.cl-photo img[src=""],
.cl-photo img:not([src]) {
  background: linear-gradient(135deg, var(--rt-teal-50) 0%, var(--rt-ink-100) 100%);
}

/* CTA row at bottom */
.cl-cta-row {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px dashed var(--rt-ink-200);
}
.cl-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--rt-ink-700);
  max-width: 56ch;
  letter-spacing: -0.005em;
  position: relative;
  padding: 0 24px;
}
.cl-quote::before,
.cl-quote::after {
  content: '"';
  font-family: 'Bricolage Grotesque', serif;
  font-size: 2rem;
  color: var(--rt-teal-500);
  position: absolute;
  top: -8px;
  font-style: normal;
  font-weight: 700;
}
.cl-quote::before { left: 0; }
.cl-quote::after { right: 0; }

/* Responsive masonry */
@media (max-width: 1024px) {
  .classroom-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}
@media (max-width: 700px) {
  #lop-hoc { padding: 90px 24px; }
  .classroom-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 10px;
  }
  .cl-large { grid-column: span 2; grid-row: span 2; }
  .cl-wide  { grid-column: span 2; grid-row: span 1; }
  .cl-tall  { grid-column: span 1; grid-row: span 2; }
  .cl-caption { opacity: 1; transform: translateY(0); }
  .cl-name { font-size: 0.78rem; }
  .cl-tag { font-size: 0.6rem; }
}

/* ─── EOF — PATCHES v2 ──────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════
   PATCHES v3 — Feedback fixes (Apr 2026 / Round 2)
   ═══════════════════════════════════════════════════════════════ */

/* ─── PATCH 13: HERO PADDING — ensure badge clears nav ─────────── */
#hero { padding-top: 180px !important; }
@media (max-width: 760px) {
  #hero { padding-top: 140px !important; }
}

/* ─── PATCH 14: CURRICULUM COLLAPSE / EXPAND ─────────────────────── */

/* Default collapsed state — limit visible lessons */
.curr-module:not(.is-expanded) .cmod-lessons {
  max-height: 180px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  transition: max-height 0.4s var(--ease-out);
}

/* Hide secondary lesson groups when collapsed (modules with multiple lesson-heads) */
.curr-module:not(.is-expanded) .cmod-lesson-head ~ .cmod-lesson-head,
.curr-module:not(.is-expanded) .cmod-lesson-head ~ .cmod-lesson-head ~ .cmod-lessons {
  display: none;
}

/* Expanded state */
.curr-module.is-expanded .cmod-lessons {
  max-height: none;
  -webkit-mask-image: none;
          mask-image: none;
}

/* Toggle button (auto-injected by JS) */
.cmod-toggle {
  margin-top: 18px;
  padding: 10px 18px;
  background: var(--rt-teal-50);
  border: 1px solid var(--rt-teal-200);
  border-radius: 10px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--rt-teal-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}
.cmod-toggle:hover {
  background: var(--rt-teal-100);
  border-color: var(--rt-teal-400);
  transform: translateY(-1px);
}
.cmod-toggle-icon {
  font-size: 0.85rem;
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}
.curr-module.is-expanded .cmod-toggle-icon {
  transform: rotate(180deg);
}

/* ─── PATCH 15: NAV LINK ACTIVE STATE (top header highlights current section) ─── */

/* Override original coral underline → teal gradient */
nav .nav-links a::after {
  background: var(--rt-grad-brand) !important;
  height: 2px !important;
  bottom: -6px !important;
  border-radius: 1px;
}

/* Active state — when user is in this section while scrolling */
nav .nav-links a.is-active {
  color: var(--rt-teal-700) !important;
  font-weight: 700 !important;
}
nav .nav-links a.is-active::after {
  width: 100% !important;
  box-shadow: 0 0 8px rgba(22,176,161,0.3);
}

/* On scrolled nav (smaller bg), keep readable */
nav.scrolled .nav-links a.is-active {
  color: var(--rt-teal-800) !important;
}

/* Mobile: active state stays visible in mobile menu */
@media (max-width: 920px) {
  nav.scrolled .nav-links a.is-active,
  nav .nav-links a.is-active {
    color: var(--rt-teal-700) !important;
    background: var(--rt-teal-50);
    border-radius: 8px;
  }
}

/* ─── PATCH 16: DOCUMENTS SECTION (NEW) ──────────────────────────── */

#tai-lieu {
  background: linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%);
  padding: 130px 60px;
  border-top: 1px solid var(--rt-ink-100);
  position: relative;
  overflow: hidden;
}

#tai-lieu .section-tag {
  background: var(--rt-teal-50) !important;
  border: 1px solid var(--rt-teal-200) !important;
  color: var(--rt-teal-700) !important;
}
#tai-lieu .section-title {
  color: var(--rt-ink-900) !important;
  font-family: 'Bricolage Grotesque', sans-serif !important;
  text-transform: none !important;
}
#tai-lieu .section-sub { color: var(--rt-ink-500) !important; }

.docs-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .docs-grid { grid-template-columns: 1fr; } }

.doc-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--rt-ink-100);
  border-radius: 18px;
  padding: 28px 26px;
  transition: transform 0.4s var(--ease-out),
              border-color 0.3s,
              box-shadow 0.4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.doc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rt-grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.doc-card:hover {
  transform: translateY(-4px);
  border-color: var(--rt-teal-300);
  box-shadow: 0 16px 40px rgba(14,112,104,0.12);
}
.doc-card:hover::before { transform: scaleX(1); }

.doc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--rt-teal-50);
  border: 1px solid var(--rt-teal-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.doc-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rt-teal-700);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.doc-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--rt-ink-900);
  margin-bottom: 10px;
}

.doc-desc {
  color: var(--rt-ink-500);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.doc-meta {
  display: flex;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--rt-ink-500);
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--rt-ink-200);
  letter-spacing: 0.04em;
}
.doc-meta span { display: inline-flex; align-items: center; gap: 5px; }

.doc-btn {
  width: 100%;
  padding: 12px 18px;
  background: var(--rt-ink-900);
  color: #FFFFFF;
  border: 1px solid var(--rt-ink-900);
  border-radius: 10px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.doc-btn:not(:disabled):hover {
  background: var(--rt-teal-700);
  border-color: var(--rt-teal-700);
}
.doc-btn:disabled,
.doc-card.doc-soon .doc-btn {
  background: var(--rt-ink-50);
  border-color: var(--rt-ink-200);
  color: var(--rt-ink-500);
  cursor: not-allowed;
}

/* "Coming Soon" state styling */
.doc-card.doc-soon {
  background: linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%);
}
.doc-card.doc-soon::after {
  content: 'COMING SOON';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--rt-amber);
  color: var(--rt-ink-900);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
}

/* Empty state CTA at bottom */
.docs-empty-state {
  margin-top: 56px;
  padding: 32px;
  text-align: center;
  background: var(--rt-teal-50);
  border: 1px dashed var(--rt-teal-300);
  border-radius: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.docs-empty-state p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--rt-teal-800);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ─── EOF — PATCHES v3 ──────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════
   PATCHES v4 — Vietnam BIM Project Service form (Outsourcing)
   ═══════════════════════════════════════════════════════════════ */

/* Divider between global outsourcing block and Vietnam form */
.outs-vn-divider {
  display: flex; align-items: center; gap: 18px;
  max-width: 800px; margin: 80px auto 56px;
  padding: 0 40px;
}
.outs-vn-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rt-ink-200), transparent);
}
.outs-vn-divider-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--rt-ink-500);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

/* Wrapper card — 2 column grid (info | form) */
.outs-vn-wrap {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
  padding: 56px 56px;
  background: linear-gradient(135deg, #EDFCFA 0%, #FFFFFF 60%);
  border: 1px solid var(--rt-teal-200);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.outs-vn-wrap::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(22,176,161,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.outs-vn-wrap::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(123,171,151,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.outs-vn-info {
  position: relative; z-index: 1;
}

.outs-vn-tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--rt-grad-brand);
  color: white;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(22,176,161,0.25);
}

.outs-vn-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--rt-ink-900);
  margin-bottom: 16px;
}
.outs-vn-sub {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--rt-ink-700);
  margin-bottom: 24px;
}
.outs-vn-sub strong {
  color: var(--rt-teal-800);
  font-weight: 700;
}

/* 3-Disciplines feature grid */
.outs-vn-disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.outs-vn-disc {
  background: white;
  border: 1px solid var(--rt-teal-200);
  border-radius: 12px;
  padding: 16px 8px 14px;
  text-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.outs-vn-disc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rt-grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.outs-vn-disc:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(22,176,161,0.18);
  border-color: var(--rt-teal-400);
}
.outs-vn-disc:hover::before { transform: scaleX(1); }

.outs-vn-disc-icon {
  font-size: 1.7rem;
  margin-bottom: 8px;
  line-height: 1;
}
.outs-vn-disc-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rt-ink-900);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.outs-vn-disc-tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--rt-teal-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.outs-vn-benefits {
  list-style: none;
  padding: 0; margin: 0 0 28px 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.outs-vn-benefits li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem;
  color: var(--rt-ink-700);
  line-height: 1.5;
}
.outs-vn-benefits li strong {
  color: var(--rt-ink-900);
  font-weight: 600;
}
.outs-vn-tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--rt-teal-100);
  color: var(--rt-teal-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Inline BIM file list — tags-style */
.outs-vn-files {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rt-teal-700);
  background: var(--rt-teal-50);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--rt-teal-200);
  margin-top: 2px;
  white-space: nowrap;
}

.outs-vn-direct {
  padding: 18px 22px;
  background: rgba(255,255,255,0.7);
  border: 1px dashed var(--rt-teal-300);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.outs-vn-direct p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--rt-ink-500);
  margin: 0 0 8px 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.outs-vn-zalo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--rt-teal-700);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s, transform 0.2s;
}
.outs-vn-zalo-btn:hover {
  color: var(--rt-teal-800);
  transform: translateX(2px);
}
.outs-vn-zalo-icon { font-size: 1.2rem; }

/* Form card */
.outs-vn-form {
  background: white;
  padding: 32px 30px;
  border-radius: 18px;
  border: 1px solid var(--rt-ink-100);
  box-shadow: 0 12px 40px rgba(11,18,24,0.07);
  position: relative;
  z-index: 1;
}
.outs-vn-form-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--rt-ink-900);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}
.outs-vn-form-sub {
  font-size: 0.85rem;
  color: var(--rt-ink-500);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.bvf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.bvf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.bvf-grid > .bvf-field { margin-bottom: 0; }

.bvf-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--rt-ink-700);
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
}
.bvf-req { color: var(--rt-coral); }

.bvf-field input,
.bvf-field select,
.bvf-field textarea {
  padding: 11px 14px !important;
  background: var(--rt-ink-50) !important;
  border: 1px solid var(--rt-ink-200) !important;
  border-radius: 8px !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.92rem !important;
  color: var(--rt-ink-900) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.bvf-field input:focus,
.bvf-field select:focus,
.bvf-field textarea:focus {
  outline: none !important;
  border-color: var(--rt-teal-400) !important;
  background: white !important;
  box-shadow: 0 0 0 3px rgba(22,176,161,0.12) !important;
}
.bvf-field input::placeholder,
.bvf-field textarea::placeholder {
  color: rgba(11,18,24,0.4);
}
.bvf-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B1218' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
  padding-right: 36px !important;
  cursor: pointer;
}
.bvf-field textarea {
  resize: vertical;
  min-height: 72px;
  font-family: 'Be Vietnam Pro', sans-serif !important;
}

.bvf-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  background: var(--rt-grad-brand);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(22,176,161,0.20);
}
.bvf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,176,161,0.32);
}
.bvf-submit:active { transform: translateY(0); }
.bvf-submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
  transform: none;
}
.bvf-submit.is-success {
  background: var(--rt-emerald, #2BCEBC);
  box-shadow: 0 4px 16px rgba(43,206,188,0.30);
}
.bvf-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}
.bvf-submit:hover .bvf-arrow { transform: translateX(4px); }

.bvf-note {
  font-size: 0.78rem;
  color: var(--rt-ink-500);
  text-align: center;
  margin: 14px 0 0 0;
  line-height: 1.5;
  font-style: italic;
}

/* Responsive */
@media (max-width: 960px) {
  .outs-vn-wrap {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 36px;
  }
  .bvf-grid { grid-template-columns: 1fr; gap: 0; }
  .bvf-grid > .bvf-field { margin-bottom: 14px; }
}
@media (max-width: 600px) {
  .outs-vn-divider {
    margin: 60px auto 40px;
    padding: 0 20px;
    gap: 12px;
  }
  .outs-vn-form { padding: 24px 20px; }
  .outs-vn-wrap { padding: 28px 22px; }
  .outs-vn-title { font-size: 1.4rem; }

  /* Discipline grid → vertical list on mobile */
  .outs-vn-disciplines {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .outs-vn-disc {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-align: left;
  }
  .outs-vn-disc-icon {
    margin-bottom: 0;
    font-size: 1.4rem;
    flex-shrink: 0;
  }
  .outs-vn-disc-name {
    flex: 1;
    margin-bottom: 0;
  }
}

/* ─── EOF — PATCHES v4 ──────────────────────────────────────────── */

/* ═══════════ PATCHES v5 — QUOTE-PROJECT FLOATING CTA ═══════════ */

/* Special "Báo Giá Dự Án" button — distinct amber-accent treatment */
.float-course--quote {
  background: linear-gradient(135deg, rgba(232,163,61,0.12) 0%, rgba(232,163,61,0.06) 100%) !important;
  border: 1px solid rgba(232,163,61,0.32) !important;
  font-weight: 600 !important;
  color: var(--rt-ink-900, #1a2823) !important;
  position: relative;
  overflow: hidden;
}
.float-course--quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,163,61,0.18) 0%, rgba(232,163,61,0.08) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.float-course--quote:hover {
  border-color: rgba(232,163,61,0.55) !important;
  transform: translateX(-3px);
  box-shadow: 0 6px 18px rgba(232,163,61,0.22) !important;
}
.float-course--quote:hover::before { opacity: 1; }
.float-course--quote .float-course-dot {
  background: #E8A33D !important;
  box-shadow: 0 0 0 3px rgba(232,163,61,0.18), 0 0 12px rgba(232,163,61,0.45);
}

/* Subtle separator between quote-CTA and course buttons */
.float-course-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 14px 2px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14,67,61,0.45);
  font-weight: 600;
}
.float-course-sep::before,
.float-course-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,67,61,0.18), transparent);
}

/* Form pulse-highlight when scrolled to via quote-CTA */
#bimVnForm.is-pulse {
  animation: bimVnFormPulse 1.6s ease-out;
}
@keyframes bimVnFormPulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,163,61,0.0), 0 4px 14px rgba(0,0,0,0.04); }
  20%  { box-shadow: 0 0 0 6px rgba(232,163,61,0.35), 0 8px 24px rgba(232,163,61,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(232,163,61,0.0), 0 4px 14px rgba(0,0,0,0.04); }
}

/* ─── EOF — PATCHES v5 ──────────────────────────────────────────── */

/* ═══════════ COMMUNITY (Cộng Đồng — light theme, merged tabs section) ═══════════ */
#cong-dong {
  position: relative;
  padding: 120px 60px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);
  color: var(--rt-ink-900, #0B1218);
  overflow: hidden;
}
.cong-dong-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(108,63,255,0.05), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43,206,188,0.05), transparent 50%);
  pointer-events: none;
}
.community-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px auto 50px;
  max-width: 800px;
  position: relative;
  z-index: 2;
}
.community-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #FFFFFF;
  border: 1px solid rgba(11,18,24,0.10);
  border-radius: 14px;
  color: var(--rt-ink-500, #5F6E78);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 2px 8px rgba(11,18,24,0.04);
}
.community-tab:hover {
  background: #FFFFFF;
  border-color: rgba(108,63,255,0.4);
  color: var(--rt-ink-900, #0B1218);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(108,63,255,0.12);
}
.community-tab.active {
  background: linear-gradient(135deg, #6c3fff, #f472b6);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(108,63,255,0.32);
}
.community-tab-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.community-panels {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  z-index: 1;
}
.community-panel {
  display: none;
  animation: communityFadeIn 0.4s var(--ease-out);
}
.community-panel.active {
  display: block;
}
@keyframes communityFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  #cong-dong { padding: 70px 16px; }
  .community-tabs { margin: 24px auto 32px; gap: 8px; }
  .community-tab { padding: 10px 16px; font-size: 0.85rem; }
  .community-tab-icon { font-size: 1.1rem; }
}

/* Light-theme content overrides for community section */
section#cong-dong .section-title,
section#cong-dong h2.section-title {
  color: var(--rt-ink-900, #0B1218) !important;
}
section#cong-dong .section-sub,
section#cong-dong p.section-sub {
  color: var(--rt-ink-500, #5F6E78) !important;
}
section#cong-dong .alumni-name {
  color: var(--rt-ink-900, #0B1218) !important;
}
section#cong-dong .alumni-role {
  color: var(--rt-ink-500, #5F6E78) !important;
}
section#cong-dong .alumni-item {
  text-align: center;
}

/* Founder card — beefed up for solo founder */
section#cong-dong .founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 48px 56px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(108,63,255,0.12);
  border: 1px solid rgba(11,18,24,0.06);
  text-align: center;
}
section#cong-dong .founder-name {
  color: var(--rt-ink-900, #0B1218);
}
section#cong-dong .founder-role {
  color: var(--rt-orange, #ff8c42);
  font-weight: 700;
}
section#cong-dong .founder-bio {
  color: var(--rt-ink-500, #5F6E78);
}
.founder-achievements {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  text-align: left;
  width: 100%;
  max-width: 480px;
}
.founder-achievements li {
  font-size: 0.88rem;
  color: var(--rt-ink-900, #0B1218);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.founder-achievements li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  color: var(--rt-teal-700, #0E7068);
  font-weight: 800;
}
@media (max-width: 600px) {
  section#cong-dong .founder-card { padding: 32px 24px; }
  .founder-achievements { grid-template-columns: 1fr; gap: 10px; }
}

/* ════════════════════════════════════════════════════════════════
   BLOCK 3 (originally inline style block 3 in index.html)
   ════════════════════════════════════════════════════════════════ */

  .cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(13, 11, 30, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px 24px;
    color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  }
  .cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
  }
  .cookie-banner p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.85);
  }
  .cookie-banner a {
    color: #a78bfa;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .cookie-banner a:hover { color: #c4b5fd; }
  .cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-btn {
    flex: 1;
    min-width: 130px;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, background 0.2s;
  }
  .cookie-btn-accept {
    background: linear-gradient(135deg, #ff8c42, #ff6b6b);
    color: #ffffff;
  }
  .cookie-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

/* ════════════════════════════════════════════════════════════════
   HERO AURORA — Antigravity-style soft color streaks
   ════════════════════════════════════════════════════════════════ */

#hero { overflow: hidden; }

.hero-bg-gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%) !important;
  overflow: hidden;
}

/* Aurora layer A — 3 main color streaks */
.hero-bg-gradient::before {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 35% 22% at 28% 30%, rgba(108, 63, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 32% 25% at 72% 28%, rgba(244, 114, 182, 0.32), transparent 60%),
    radial-gradient(ellipse 45% 22% at 50% 78%, rgba(43, 206, 188, 0.34), transparent 60%);
  filter: blur(50px);
  opacity: 0.9;
  pointer-events: none;
  animation: auroraDriftA 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* Aurora layer B — 2 accent streaks, reverse direction */
.hero-bg-gradient::after {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 40% 25% at 78% 65%, rgba(56, 189, 248, 0.28), transparent 60%),
    radial-gradient(ellipse 35% 22% at 22% 60%, rgba(255, 140, 66, 0.20), transparent 60%);
  filter: blur(70px);
  opacity: 0.8;
  pointer-events: none;
  animation: auroraDriftB 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes auroraDriftA {
  0%   { transform: translate(0%, 0%)   rotate(0deg)   scale(1); }
  50%  { transform: translate(8%, -6%)  rotate(120deg) scale(1.1); }
  100% { transform: translate(-5%, 7%)  rotate(240deg) scale(0.95); }
}
@keyframes auroraDriftB {
  0%   { transform: translate(0%, 0%)   rotate(0deg)    scale(1); }
  50%  { transform: translate(-7%, 5%)  rotate(-150deg) scale(0.9); }
  100% { transform: translate(7%, -5%)  rotate(-300deg) scale(1.15); }
}

/* Hide static floating blobs — replaced by aurora */
#hero .hero-shape { display: none; }

/* Reduce intensity on mobile for performance */
@media (max-width: 768px) {
  .hero-bg-gradient::before { filter: blur(35px); }
  .hero-bg-gradient::after  { filter: blur(50px); }
}

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-gradient::before,
  .hero-bg-gradient::after { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   COURSE CARD PRICING — Học phí + Khai giảng (from Google Sheets)
   ════════════════════════════════════════════════════════════════ */

.card-pricing {
  margin: 18px 24px 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(43,206,188,0.06), rgba(108,63,255,0.04));
  border: 1px solid rgba(43,206,188,0.18);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-pricing .cp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
}
.card-pricing .cp-label {
  color: var(--rt-ink-500, #5F6E78);
  font-size: 0.82rem;
  font-weight: 500;
}
.card-pricing .cp-price {
  color: var(--rt-orange, #ff8c42);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.card-pricing .cp-date {
  color: var(--rt-ink-900, #0B1218);
  font-weight: 700;
  font-size: 0.92rem;
}
.card-pricing.is-tba .cp-price,
.card-pricing.is-tba .cp-date {
  color: var(--rt-ink-500, #5F6E78);
  font-weight: 600;
  font-style: italic;
  font-size: 0.95rem;
}

/* ════════════════════════════════════════════════════════════════
   ENROLLMENT TICKER — Marquee scroll right-to-left
   Position: just below hero stats, full width
   ════════════════════════════════════════════════════════════════ */

#enrollment-ticker {
  position: relative;
  margin: -60px 0 40px;
  padding: 0;
  z-index: 10;
  background: linear-gradient(135deg, #6c3fff 0%, #f472b6 55%, #ff8c42 100%);
  box-shadow: 0 14px 40px rgba(108,63,255,0.22);
}
.ticker-mask {
  position: relative;
  overflow: hidden;
  padding: 14px 0;
  /* Fade edges so items appear from / disappear into nowhere */
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: tickerScroll 45s linear infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 22px;
  color: #fff;
  text-decoration: none;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.92rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s;
}
.ticker-item:last-child { border-right: none; }
.ticker-item:hover {
  transform: translateY(-1px);
}
.ticker-item--outs {
  background: rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 6px 16px;
}

.ticker-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.ticker-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.ticker-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.ticker-meta .ti-label {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 500;
}
.ticker-meta .ti-value {
  font-weight: 800;
  font-size: 0.95rem;
}
.ticker-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  background: #fff;
  color: #6c3fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-left: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ticker-item:hover .ticker-cta {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile: smaller, faster */
@media (max-width: 768px) {
  #enrollment-ticker { margin: -30px 0 32px; }
  .ticker-mask { padding: 10px 0; }
  .ticker-track { gap: 32px; animation-duration: 35s; }
  .ticker-item { gap: 10px; padding: 4px 14px; font-size: 0.82rem; }
  .ticker-name { font-size: 0.95rem; }
  .ticker-icon { font-size: 1.1rem; }
  .ticker-meta .ti-label { font-size: 0.7rem; }
  .ticker-meta .ti-value { font-size: 0.85rem; }
  .ticker-cta { padding: 4px 10px; font-size: 0.75rem; }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-mask { mask-image: none; -webkit-mask-image: none; }
}
  .cookie-btn:hover { transform: translateY(-1px); }
  .cookie-btn-decline:hover { background: rgba(255, 255, 255, 0.12); }
  @media (max-width: 540px) {
    .cookie-banner {
      left: 12px;
      right: 12px;
      bottom: 12px;
      padding: 16px 18px;
      font-size: 0.82rem;
    }
    .cookie-btn { min-width: 100px; padding: 9px 14px; font-size: 0.8rem; }
  }

/* ════════════════════════════════════════════════════════════════
   BLOCK 4 (originally inline style block 4 in index.html)
   ════════════════════════════════════════════════════════════════ */

  .privacy-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .privacy-modal.is-open {
    display: flex;
    opacity: 1;
  }
  .privacy-modal-content {
    background: #0d0b1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px 40px;
    color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1.7;
    position: relative;
  }
  .privacy-modal-content h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff8c42, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .privacy-modal-content h3 {
    font-size: 1.05rem;
    margin: 22px 0 8px;
    color: #ffffff;
  }
  .privacy-modal-content p,
  .privacy-modal-content li {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    margin-bottom: 10px;
  }
  .privacy-modal-content ul {
    padding-left: 20px;
    margin-bottom: 10px;
  }
  .privacy-modal-content .last-updated {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
  }
  .privacy-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  .privacy-modal-close:hover { background: rgba(255, 255, 255, 0.16); }
  @media (max-width: 600px) {
    .privacy-modal-content { padding: 28px 22px; }
    .privacy-modal-content h2 { font-size: 1.4rem; }
  }

/* ════════════════════════════════════════════════════════════════
   BLOCK 5 (originally inline style block 5 in index.html)
   ════════════════════════════════════════════════════════════════ */

  .toc-sidebar {
    --toc-glow: #ff8c42;
    --toc-glow-2: #6c3fff;
    position: fixed;
    top: 50%;
    left: 24px;
    transform: translateY(-50%) translateX(-12px);
    z-index: 90;
    background:
      linear-gradient(135deg, rgba(108, 63, 255, 0.06) 0%, transparent 40%),
      linear-gradient(225deg, rgba(255, 140, 66, 0.05) 0%, transparent 40%),
      rgba(8, 6, 20, 0.78);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 12px 14px 12px;
    width: 218px;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.02) inset,
      0 0 40px rgba(108, 63, 255, 0.08);
    /* Sci-fi clipped corners */
    clip-path: polygon(
      0 12px, 12px 0,
      calc(100% - 4px) 0, 100% 4px,
      100% calc(100% - 12px), calc(100% - 12px) 100%,
      4px 100%, 0 calc(100% - 4px)
    );
  }
  .toc-sidebar.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
  }

  /* Animated scan line on top edge */
  .toc-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg,
      transparent 0%,
      var(--toc-glow) 50%,
      transparent 100%);
    opacity: 0.6;
    animation: tocScan 4s ease-in-out infinite;
  }
  @keyframes tocScan {
    0%, 100% { opacity: 0.3; transform: scaleX(0.3); }
    50% { opacity: 0.9; transform: scaleX(1); }
  }

  /* Corner brackets — top right + bottom left */
  .toc-sidebar::after {
    content: '';
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    border-top: 1px solid var(--toc-glow);
    border-right: 1px solid var(--toc-glow);
    opacity: 0.7;
  }

  .toc-sidebar.is-collapsed {
    width: 56px;
    padding: 14px 6px;
  }
  .toc-sidebar.is-collapsed .toc-list,
  .toc-sidebar.is-collapsed .toc-header-text,
  .toc-sidebar.is-collapsed .toc-progress {
    display: none;
  }

  /* ─── HEADER ─── */
  .toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
  }
  .toc-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 32px;
    height: 1px;
    background: var(--toc-glow);
    box-shadow: 0 0 8px var(--toc-glow);
  }
  .toc-header-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
  }
  .toc-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
    animation: tocPulse 2s ease-in-out infinite;
    flex-shrink: 0;
  }
  @keyframes tocPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #34d399; }
    50%      { opacity: 0.5; box-shadow: 0 0 12px #34d399; }
  }
  .toc-toggle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s;
    flex-shrink: 0;
    font-family: inherit;
  }
  .toc-toggle:hover {
    background: rgba(255, 140, 66, 0.12);
    border-color: var(--toc-glow);
    color: var(--toc-glow);
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.3);
  }
  .toc-sidebar.is-collapsed .toc-toggle {
    transform: rotate(180deg);
  }

  /* ─── LIST ─── */
  .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 140, 66, 0.3) transparent;
    position: relative;
  }
  .toc-list::-webkit-scrollbar { width: 3px; }
  .toc-list::-webkit-scrollbar-thumb {
    background: rgba(255, 140, 66, 0.3);
    border-radius: 0;
  }

  /* Vertical connector line behind items */
  .toc-list::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 15%,
      rgba(255, 255, 255, 0.08) 85%,
      transparent 100%);
    pointer-events: none;
  }

  .toc-item { margin: 0; position: relative; }
  .toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 6px 7px 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: 'Be Vietnam Pro', sans-serif;
    letter-spacing: 0.01em;
    transition: color 0.25s, background 0.25s, transform 0.2s;
    position: relative;
    cursor: pointer;
    border-radius: 0;
  }
  .toc-link:hover {
    color: #ffffff;
    background: rgba(255, 140, 66, 0.05);
    transform: translateX(2px);
  }
  .toc-link::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 2px; height: 0;
    background: var(--toc-glow);
    transform: translateY(-50%);
    transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px var(--toc-glow);
  }

  /* Numbering badge replaces the dot */
  .toc-num {
    flex-shrink: 0;
    width: 22px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(8, 6, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
  }

  .toc-text {
    transition: opacity 0.2s;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ─── ACTIVE STATE ─── */
  .toc-link.is-active {
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(90deg,
      rgba(255, 140, 66, 0.12) 0%,
      transparent 100%);
  }
  .toc-link.is-active::before {
    height: 70%;
  }
  .toc-link.is-active .toc-num {
    color: #ffffff;
    background: linear-gradient(135deg, var(--toc-glow), #ff6b6b);
    border-color: var(--toc-glow);
    box-shadow:
      0 0 12px rgba(255, 140, 66, 0.6),
      0 0 0 2px rgba(255, 140, 66, 0.15);
  }

  /* Visited (above current) — dim numbering */
  .toc-link.is-visited .toc-num {
    color: rgba(255, 140, 66, 0.6);
    border-color: rgba(255, 140, 66, 0.25);
  }

  /* ─── PROGRESS BAR ─── */
  .toc-progress {
    margin-top: 12px;
    padding: 8px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .toc-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
  }
  .toc-progress-value {
    color: var(--toc-glow);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 6px rgba(255, 140, 66, 0.5);
  }
  .toc-progress-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
  }
  .toc-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: linear-gradient(90deg, var(--toc-glow-2), var(--toc-glow));
    box-shadow: 0 0 8px var(--toc-glow);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Hide on mobile/tablet — only show on wide screens */
  @media (max-width: 1279px) {
    .toc-sidebar { display: none !important; }
  }
  @media (min-width: 1280px) and (max-width: 1499px) {
    .toc-sidebar { left: 12px; width: 200px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .toc-sidebar::before,
    .toc-status-dot { animation: none; }
  }

/* ═══════════════════════════════════════════════════════
   ACADEMY nav item — game/quest entry point for students
   ═══════════════════════════════════════════════════════ */
.nav-links a.nav-academy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-links a.nav-academy:hover { color: #00d9c0; }
.nav-links a.nav-academy:hover::after {
  background: linear-gradient(90deg, #00d9c0, #ff1f8f);
}
.nav-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  color: #0a0e1c;
  background: linear-gradient(135deg, #00ffe0, #00a88f);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0,255,224,0.4), 0 4px 12px rgba(0,168,143,0.45);
  animation: navBadgePulse 2.4s ease-in-out infinite;
}
@keyframes navBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(0,255,224,0.4), 0 4px 12px rgba(0,168,143,0.45); }
  50%      { transform: scale(1.08); box-shadow: 0 0 0 1px rgba(0,255,224,0.7), 0 6px 18px rgba(0,168,143,0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-badge { animation: none; }
}
@media (max-width: 980px) {
  .nav-links a.nav-academy { width: 100%; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════════
   DỰ ÁN BIM — Outsourcing portfolio section (dark band)
   ═══════════════════════════════════════════════════════════════ */
#du-an {
  position: relative;
  padding: 120px 24px;
  background: linear-gradient(180deg, #0a0818 0%, #0e1230 55%, #0a0818 100%);
  overflow: hidden;
  /* Section is dark: re-light the ink vars the portfolio CSS relies on
     (light-theme overlay sets --rt-ink-900/500 to dark → would be invisible here) */
  --rt-ink-900: #ffffff;
  --rt-ink-700: rgba(255,255,255,0.82);
  --rt-ink-500: rgba(255,255,255,0.62);
}
#du-an .du-an-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(255,140,66,0.10), transparent 70%),
    radial-gradient(50% 50% at 90% 100%, rgba(43,206,188,0.12), transparent 70%);
  pointer-events: none;
}
#du-an > *:not(.du-an-bg) { position: relative; z-index: 1; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* Header colours on dark */
#du-an .section-title { color: #ffffff; }
#du-an .section-sub   { color: rgba(255,255,255,0.66); }
#du-an .section-tag {
  color: var(--rt-orange, #ff8c42);
  border-color: rgba(255,140,66,0.35);
  background: rgba(255,140,66,0.08);
}

/* Stats bar */
.du-an-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; margin: 0 auto 56px; max-width: 880px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.da-stat {
  flex: 1 1 180px; padding: 26px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.da-stat:last-child { border-right: none; }
.da-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: var(--rt-orange, #ff8c42);
  margin-bottom: 8px;
}
.da-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
}

/* Globe ring (decorative, slow spin) */
.da-globe-ring {
  width: 100%; max-width: 320px; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.da-globe-ring .globe-svg { animation: daGlobeSpin 32s linear infinite; transform-origin: 50% 50%; }
@keyframes daGlobeSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .da-globe-ring .globe-svg { animation: none; } }

/* CTA */
.du-an-cta { text-align: center; margin-top: 56px; }
.du-an-cta > p {
  font-size: 1.15rem; font-weight: 600; color: #fff;
  margin-bottom: 22px; font-family: 'Be Vietnam Pro', sans-serif;
}
.du-an-cta-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
#du-an .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.3); }
#du-an .btn-secondary:hover { border-color: var(--rt-orange, #ff8c42); }
/* Primary CTA: --rt-ink-900 is re-lit to white inside #du-an, which would
   make the default ink-bg button white-on-white. Force the brand fill. */
#du-an .du-an-cta .btn-primary {
  background: var(--rt-grad-brand, linear-gradient(135deg, #0E7068, #16B0A1, #2BCEBC));
  color: #fff; border: none;
  box-shadow: 0 12px 32px rgba(14,112,104,0.35);
}
#du-an .du-an-cta .btn-primary:hover { box-shadow: 0 16px 40px rgba(14,112,104,0.5); }

/* Generic BIM blueprint texture on project cards (no real building photos —
   safe on copyright & honest: decorative wireframe only) */
#du-an .portfolio-projects-grid .outs-project {
  position: relative;
  overflow: hidden;
  background-color: rgba(255,255,255,0.03);
  background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.030) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.030) 0 1px, transparent 1px 24px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='78' viewBox='0 0 78 78'%3E%3Cg fill='none' stroke='%23ff8c42' stroke-width='1' opacity='0.22'%3E%3Cpath d='M39 9 L63 23 L63 51 L39 65 L15 51 L15 23 Z'/%3E%3Cpath d='M15 23 L39 37 L63 23'/%3E%3Cpath d='M39 37 L39 65'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 0 0, 0 0, right -10px bottom -10px;
  background-repeat: repeat, repeat, no-repeat;
}
/* keep text crisply above the texture */
#du-an .portfolio-projects-grid .outs-project > * { position: relative; z-index: 1; }
/* left accent rail */
#du-an .portfolio-projects-grid .outs-project::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--rt-orange, #ff8c42);
  opacity: 0.5; transition: opacity .25s var(--ease-out, ease);
}
#du-an .portfolio-projects-grid .outs-project:hover {
  background-color: rgba(255,140,66,0.06);
}
#du-an .portfolio-projects-grid .outs-project:hover::before { opacity: 1; }

/* ─── Outsourcing service + process blocks (inside #du-an) ─── */
.outs-block { margin-top: 72px; }
.outs-block-head { text-align: center; margin-bottom: 32px; }
.outs-block-kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--rt-orange, #ff8c42); margin-bottom: 10px;
}
.outs-block-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
}

/* Services — 2 cards */
.outs-services {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.outs-service-card {
  padding: 30px 28px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  transition: transform .3s var(--ease-out, ease), border-color .3s, box-shadow .3s;
}
.outs-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,140,66,0.45);
  box-shadow: 0 16px 40px rgba(255,140,66,0.12);
}
.outs-service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,140,66,0.2), rgba(43,206,188,0.16));
  border: 1px solid rgba(255,140,66,0.3);
}
.outs-service-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 8px;
}
.outs-service-sub {
  font-size: 0.92rem; line-height: 1.55;
  color: rgba(255,255,255,0.6); margin-bottom: 18px;
}
.outs-service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.outs-service-list li {
  position: relative; padding-left: 26px;
  font-size: 0.9rem; line-height: 1.5; color: rgba(255,255,255,0.8);
}
.outs-service-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff;
  background: var(--rt-orange, #ff8c42);
}

/* Process — 4 steps */
.outs-process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.outs-step {
  position: relative; padding: 26px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.outs-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 2.2rem; line-height: 1;
  color: var(--rt-orange, #ff8c42);
  margin-bottom: 12px;
}
.outs-step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 7px;
}
.outs-step-desc { font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.6); }
/* connector arrow between steps */
.outs-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%;
  transform: translateY(-50%); z-index: 2;
  color: rgba(255,140,66,0.7); font-size: 1.1rem;
}

@media (max-width: 900px) {
  .outs-process { grid-template-columns: repeat(2, 1fr); }
  .outs-step:nth-child(2)::after { content: none; }
}

@media (max-width: 760px) {
  #du-an { padding: 80px 20px; }
  .da-stat { flex-basis: 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .da-stat:nth-child(2n) { border-right: none; }
  .da-stat-num { font-size: 2rem; }
  .outs-services { grid-template-columns: 1fr; }
  .outs-step::after { content: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   LỘ TRÌNH NGHỀ BIM — career roadmap (light section)
   ═══════════════════════════════════════════════════════════════ */
#lo-trinh { padding: 110px 24px; position: relative; }
#lo-trinh > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.roadmap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0 22px; margin-top: 56px;
  counter-reset: rm;
}
.rm-step { position: relative; counter-increment: rm; }
/* Teal deepens each stage → visual sense of "leveling up" */
.rm-step:nth-child(1) { --rm-shade: #2BCEBC; --rm-shade-deep: #16B0A1; }
.rm-step:nth-child(2) { --rm-shade: #16B0A1; --rm-shade-deep: #0E7068; }
.rm-step:nth-child(3) { --rm-shade: #0E7068; --rm-shade-deep: #0a564f; }
.rm-step:nth-child(4) { --rm-shade: #0a564f; --rm-shade-deep: #073d38; }

/* connector line through the node row */
.rm-step::before {
  content: ""; position: absolute; top: 26px; left: 56px; right: -22px; height: 2px;
  background: linear-gradient(90deg, var(--rm-shade), rgba(22,176,161,0.16));
  z-index: 0;
}
/* rising "level up" arrow between nodes */
.rm-step::after {
  content: "↗"; position: absolute; top: 14px; right: -19px; z-index: 1;
  font-size: 1rem; font-weight: 800; color: var(--rm-shade);
}
.rm-step:last-child::before, .rm-step:last-child::after { display: none; }

.rm-node {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rm-shade), var(--rm-shade-deep));
  box-shadow: 0 6px 18px rgba(14,112,104,0.28);
}
.rm-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 1.32rem; color: #fff;
}
.rm-card {
  position: relative; overflow: hidden;
  margin-top: 72px; padding: 26px 22px 24px; height: calc(100% - 72px);
  background: #fff; border: 1px solid rgba(20,16,64,0.08);
  border-radius: 16px; box-shadow: 0 8px 28px rgba(20,16,64,0.05);
  transition: transform .3s var(--ease-out, ease), box-shadow .3s, border-color .3s;
}
/* top accent bar — same deepening teal */
.rm-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--rm-shade), var(--rm-shade-deep));
}
/* faint watermark number echoing the node — kept in the top-right corner,
   sized so it never reaches the role text below (no overlap) */
.rm-card::after {
  content: counter(rm, decimal-leading-zero);
  position: absolute; top: -16px; right: 2px; z-index: 0;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 3.6rem; line-height: 1; color: var(--rm-shade); opacity: 0.07;
  pointer-events: none;
}
.rm-card > * { position: relative; z-index: 1; }
.rm-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22,176,161,0.4);
  box-shadow: 0 18px 42px rgba(22,176,161,0.16);
}
.rm-role {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.22rem; color: #1a1040; margin-bottom: 4px;
}
.rm-role-sub {
  font-size: 0.84rem; line-height: 1.4; color: rgba(20,16,64,0.55);
  margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(20,16,64,0.07);
}
.rm-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rm-skills li {
  position: relative; padding-left: 18px;
  font-size: 0.87rem; line-height: 1.45; color: rgba(20,16,64,0.78);
}
.rm-skills li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--rm-shade, #16B0A1);
}
/* Branch callout */
.rm-branch {
  margin: 40px auto 0; max-width: 760px;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(22,176,161,0.06), rgba(22,176,161,0.02));
  border: 1px dashed rgba(22,176,161,0.4);
  border-radius: 14px;
}
.rm-branch-label {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--rt-teal-700, #0E7068); font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(22,176,161,0.12);
  white-space: nowrap; margin-top: 2px;
}
.rm-branch p {
  margin: 0; font-size: 0.92rem; line-height: 1.55;
  color: rgba(20,16,64,0.72);
}
.rm-branch strong { color: var(--rt-teal-700, #0E7068); font-weight: 700; }

.rm-note {
  text-align: center; margin-top: 28px;
  font-size: 0.98rem; color: rgba(20,16,64,0.6);
}
.rm-note strong { color: var(--rt-teal-700, #0E7068); }

@media (max-width: 600px) {
  .rm-branch { flex-direction: column; gap: 12px; }
}

@media (max-width: 900px) {
  #lo-trinh { padding: 80px 20px; }
  .roadmap { grid-template-columns: 1fr; gap: 24px; }
  .rm-step::before, .rm-step::after { display: none; }
  .rm-card { margin-top: 0; margin-left: 70px; height: auto; }
  .rm-node { top: 50%; transform: translateY(-50%); }
}
@media (max-width: 480px) {
  .rm-node { position: static; transform: none; margin-bottom: 16px; }
  .rm-card { margin-left: 0; }
}

/* Contact cards: 4 → 2 → 1 columns (overrides earlier responsive rule) */
@media (max-width: 920px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* BIM model gallery (inside #du-an, dark section) */
.bim-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.bim-shot {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 4 / 3; background: #0e1230;
}
.bim-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease-out, ease);
}
.bim-shot:hover img { transform: scale(1.06); }
.bim-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem; letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(transparent, rgba(8,6,20,0.82));
}
.bim-shot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,140,66,0);
  transition: box-shadow .3s; pointer-events: none;
}
.bim-shot:hover::after { box-shadow: inset 0 0 0 1px rgba(255,140,66,0.5); }
@media (max-width: 860px) { .bim-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bim-gallery { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   SOCIAL HUB — unified channel links (footer + contact)
   ═══════════════════════════════════════════════════════════════ */
.social-hub { display: flex; flex-wrap: wrap; gap: 10px; }
.social-hub a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.82);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-out, ease), background .25s, border-color .25s, color .25s;
}
.social-hub a svg { width: 17px; height: 17px; flex-shrink: 0; }
.social-hub a:hover { transform: translateY(-3px); color: #fff; }
.social-hub a.s-fb:hover    { background:#1877f2; border-color:#1877f2; }
.social-hub a.s-tt:hover    { background:#010101; border-color:#69C9D0; color:#fff; }
.social-hub a.s-yt:hover    { background:#ff0000; border-color:#ff0000; }
.social-hub a.s-zalo:hover  { background:#0068ff; border-color:#0068ff; }
.social-hub a.s-group:hover { background:#0068ff; border-color:#0068ff; }
.social-hub a.s-li:hover    { background:#0a66c2; border-color:#0a66c2; }
.social-hub a.s-mail:hover  { background: var(--rt-teal-600, #0E7068); border-color: var(--rt-teal-600, #0E7068); }

/* Light variant (contact section) */
.social-hub--light { justify-content: center; }
.social-hub--light a {
  background: #eef1f4; border-color: rgba(20,16,64,0.10); color: #54607a;
}
.social-hub--light a:hover { color: #fff; }

/* "Theo dõi" block in contact section */
.contact-follow { text-align: center; margin-top: 34px; }
.contact-follow-label {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(20,16,64,0.5); margin-bottom: 14px;
}

/* Roadmap → Jobs group CTA */
.rm-jobs {
  margin-top: 30px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.rm-jobs-text { font-size: 0.95rem; color: rgba(20,16,64,0.6); }
.rm-jobs-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--rt-grad-brand, linear-gradient(135deg, #0E7068, #16B0A1, #2BCEBC));
  color: #fff; font-weight: 700; font-size: 0.92rem; text-decoration: none;
  box-shadow: 0 10px 26px rgba(14,112,104,0.28);
  transition: transform .25s var(--ease-out, ease), box-shadow .25s;
}
.rm-jobs-btn svg { flex-shrink: 0; }
.rm-jobs-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(14,112,104,0.42); }
