/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-950: #1e0a3c;
  --purple-900: #2d0f5e;
  --purple-800: #3d1a7a;
  --purple-700: #5b2d9e;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --purple-100: #ede9fe;
  --purple-50:  #f5f3ff;
  --gold:       #f59e0b;
  --gold-light: #fde68a;
  --white:      #ffffff;
  --gray-50:    #f8f5ff;
  --gray-100:   #f1ecfe;
  --gray-600:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --shadow-sm:  0 2px 8px rgba(91,45,158,.10);
  --shadow-md:  0 8px 32px rgba(91,45,158,.15);
  --shadow-lg:  0 20px 60px rgba(91,45,158,.20);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--gray-700);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,45,158,.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(91,45,158,.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo-icon { font-size: 28px; }
.logo-main {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--purple-700);
  letter-spacing: .5px;
  line-height: 1;
}
.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: .3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--purple-600); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--purple-500);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(91,45,158,.35);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,45,158,.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-700);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--purple-100);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--purple-50);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--purple-600); padding-left: 8px; }
.mobile-menu .nav-cta {
  margin-top: 8px;
  text-align: center;
  border-radius: 50px;
  padding: 12px;
  border-bottom: none;
  color: #fff !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-800) 50%, var(--purple-700) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(139,92,246,.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245,158,11,.15) 0%, transparent 50%);
}
.floating-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  font-size: 32px;
  opacity: .15;
  animation: float 6s ease-in-out infinite;
}
.s1 { top: 15%; left: 8%;  animation-delay: 0s; }
.s2 { top: 25%; left: 85%; animation-delay: 1s; }
.s3 { top: 60%; left: 5%;  animation-delay: 2s; font-size: 40px; }
.s4 { top: 70%; left: 80%; animation-delay: .5s; }
.s5 { top: 10%; left: 55%; animation-delay: 1.5s; font-size: 44px; }
.s6 { top: 80%; left: 40%; animation-delay: 3s; font-size: 24px; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 56px 24px 64px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,.2);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -.5px;
}
.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--gold), #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-300);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(245,158,11,.4);
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245,158,11,.5);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  display: inline-block;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--gold); }
.stat span { font-size: 13px; color: rgba(255,255,255,.65); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.hcard-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hcard-top .hcard-icon { font-size: 40px; }
.hcard-top strong { display: block; color: #fff; font-size: 20px; font-weight: 800; }
.hcard-top p { color: var(--purple-300); font-size: 14px; }
.hcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hcard-tags span {
  background: rgba(139,92,246,.3);
  border: 1px solid rgba(139,92,246,.5);
  color: var(--purple-300);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.hcard-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: var(--transition);
}
.hcard-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.wave-bottom { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }

/* Fix native hash navigation offset */
section[id] { scroll-margin-top: 90px; }

/* ===== SECTION HEADERS ===== */
/* ===== SHARED SECTION HEADER UTILITIES ===== */
.section-header { text-align: center; margin-bottom: 40px; position: relative; }

/* badge-pill dark variant (dùng trên nền trắng/sáng) */
.badge-pill-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-100);
  border: 1px solid var(--purple-200);
  color: var(--purple-700);
  padding: 7px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: .3px;
}

/* section-title: heading bên trong section-header */
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900; color: var(--gray-900);
  line-height: 1.2; margin-bottom: 12px;
}

/* .highlight: chữ màu gradient tím trong heading */
.section-title .highlight,
h2 .highlight, h1 .highlight {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* section-sub: phụ đề nhỏ bên dưới heading */
.section-sub {
  font-size: 15.5px; color: var(--gray-500);
  max-width: 560px; margin: 0 auto;
  line-height: 1.75;
}
.section-tag {
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-700);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-tag.light {
  background: rgba(255,255,255,.15);
  color: var(--purple-200, #ddd6fe);
}
.section-header h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-header h2 span { color: var(--purple-600); }
.section-header.light h2 { color: #fff; }
.section-header.light h2 span { color: var(--gold-light); }
.section-header p { font-size: 16px; color: var(--gray-600); max-width: 560px; margin: 0 auto; }
.section-header.light p { color: rgba(255,255,255,.75); }

/* ===== PROGRAMS ===== */
.programs {
  padding: 64px 0;
  background: var(--gray-50);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.prog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border: 2px solid var(--purple-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
  transform: scaleX(0);
  transition: var(--transition);
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--purple-300); }
.prog-card:hover::before { transform: scaleX(1); }
.prog-card.featured {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  border-color: var(--purple-600);
  color: #fff;
}
.prog-card.featured::before { background: linear-gradient(90deg, var(--gold), #fb923c); transform: scaleX(1); }
.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--gold), #fb923c);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.prog-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.prog-card.featured .prog-icon-wrap { background: rgba(255,255,255,.15); }
.prog-level {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-500);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
}
.prog-card.featured .prog-level { color: var(--purple-300); }
.prog-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.prog-card.featured h3 { color: #fff; }
.prog-card > p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.6;
}
.prog-card.featured > p { color: rgba(255,255,255,.75); }
.prog-subjects {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.prog-subjects li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}
.prog-subjects li span { font-size: 18px; }
.prog-card.featured .prog-subjects li { color: rgba(255,255,255,.9); }
.prog-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  background: var(--purple-100);
  color: var(--purple-700);
  transition: var(--transition);
}
.prog-card:hover .prog-btn, .prog-btn:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.prog-card.featured .prog-btn {
  background: linear-gradient(135deg, var(--gold), #fb923c);
  color: #fff;
}

/* ===== WHY ===== */
.why {
  position: relative;
  padding: 68px 0;
  overflow: hidden;
}
.why .section-header { margin-bottom: 28px; }
.why-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 100%);
}
.why-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(245,158,11,.1) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(139,92,246,.2) 0%, transparent 50%);
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.25);
}
.why-icon { font-size: 36px; margin-bottom: 12px; }
.why-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.why-card p { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing { padding: 36px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}
.price-card {
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  border: 2px solid var(--purple-100);
  background: #fff;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-features { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; flex: 1; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.best {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-950));
  border-color: var(--purple-600);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.price-card.best:hover { transform: scale(1.04) translateY(-6px); }
.best-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #fb923c);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.price-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.price-icon { font-size: 28px; }
.price-card h3 { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.price-card.best h3 { color: #fff; }
.price-amount { margin-bottom: 16px; }
.price-amount .from { display: block; font-size: 13px; color: var(--gray-600); margin-bottom: 4px; }
.price-card.best .from { color: rgba(255,255,255,.65); font-size: 20px; font-weight: 700; }
.price-amount .amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--purple-700);
  line-height: 1;
}
.price-amount .unit { font-size: 14px; color: var(--gray-600); margin-left: 4px; }
.price-features li { font-size: 14px; color: var(--gray-700); }
.price-card.best .price-features li { color: rgba(255,255,255,.85); }
.price-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff;
  transition: var(--transition);
}
.price-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card.best .price-btn {
  background: linear-gradient(135deg, var(--gold), #fb923c);
}
.pricing-note {
  text-align: center;
  padding: 14px 24px;
  background: var(--purple-50);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--purple-300);
  font-size: 14px;
  color: var(--gray-700);
}
.pricing-note strong { color: var(--purple-700); }

/* ===== RECRUITMENT ===== */
.recruitment { padding: 72px 0; background: var(--gray-50); }
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.job-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--purple-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-300);
}
.job-card.featured-job {
  border-color: var(--purple-500);
  background: linear-gradient(135deg, #faf8ff, var(--purple-50));
}
.job-urgent {
  position: absolute;
  top: 16px; right: 16px;
  background: #ef4444;
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.job-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.job-icon {
  font-size: 40px;
  flex-shrink: 0;
}
.job-header h4 { font-size: 20px; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.job-type { font-size: 13px; color: var(--purple-500); font-weight: 600; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-tags span {
  background: var(--purple-100);
  color: var(--purple-700);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.job-card > p { font-size: 14px; color: var(--gray-600); margin-bottom: 20px; line-height: 1.7; }
.job-reqs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.job-reqs li { font-size: 14px; color: var(--gray-700); }
.job-apply {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff;
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.job-apply:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.recruitment-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 2px solid var(--purple-100);
  text-align: center;
}
.recruitment-form-wrap h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.recruitment-form-wrap > p { color: var(--gray-600); margin-bottom: 32px; }

/* ===== GOOGLE FORM PLACEHOLDER ===== */
.gform-placeholder {
  background: var(--purple-50);
  border: 2px dashed var(--purple-300);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  text-align: center;
}
.gform-icon { font-size: 34px; margin-bottom: 8px; }
.gform-placeholder p { font-size: 14px; color: var(--gray-700); margin-bottom: 4px; }
.gform-placeholder p strong { color: var(--purple-700); font-size: 17px; }
.gform-note {
  font-size: 12px !important;
  color: var(--gray-600) !important;
  background: rgba(139,92,246,.08);
  border-radius: 8px;
  padding: 5px 12px;
  display: inline-block;
  margin: 8px 0 14px !important;
}
.gform-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}
.gform-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== CONTACT ===== */
.contact {
  position: relative;
  padding: 28px 0 40px;
  overflow: hidden;
}
.contact .section-header { margin-bottom: 16px; }
.contact .section-header h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.contact .section-header p { font-size: 13px; }
.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-800));
}
.contact-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(139,92,246,.25) 0%, transparent 60%);
}
.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
.form-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.form-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.form-card .gform-placeholder {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.2);
}
.form-card .gform-placeholder p { color: rgba(255,255,255,.8); }
.form-card .gform-placeholder p strong { color: var(--purple-300); }
.form-card .gform-note { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6) !important; }

.info-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.info-card h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.info-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon { font-size: 20px; flex-shrink: 0; }
.info-item strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.info-item p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }
.info-item a { color: var(--gold-light); font-weight: 700; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.social-btn.zalo {
  background: #0068ff;
  color: #fff;
}
.social-btn.phone {
  background: linear-gradient(135deg, var(--gold), #fb923c);
  color: #fff;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ===== FOOTER ===== */
.footer {
  background: var(--purple-950);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: #fff; font-size: 20px; }
.footer-brand .logo-sub { color: var(--purple-400); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.footer-links h4, .footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
}
.footer-links a, .footer-contact p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--purple-300); padding-left: 6px; }
.footer-contact a { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  padding: 20px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }

/* ===== FLOATING BUTTONS ===== */
.zalo-float, .phone-float {
  position: fixed;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: var(--transition);
  z-index: 999;
}
.zalo-float { right: 24px; background: #0068ff; }
.phone-float { right: 88px; background: linear-gradient(135deg, var(--gold), #fb923c); }
.zalo-float:hover, .phone-float:hover { transform: scale(1.1) translateY(-3px); }
.zalo-tooltip {
  position: absolute;
  right: 64px;
  background: var(--gray-900);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.zalo-float:hover .zalo-tooltip { opacity: 1; }

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
/* default = fade-up */
[data-aos]:not([data-aos="fade-left"]):not([data-aos="fade-right"]):not([data-aos="zoom-in"]):not([data-aos="flip-up"]) {
  transform: translateY(56px);
}
[data-aos="fade-left"]  { transform: translateX(72px); }
[data-aos="fade-right"] { transform: translateX(-72px); }
[data-aos="zoom-in"]    { transform: scale(.78) translateY(24px); }
[data-aos="flip-up"]    { transform: perspective(600px) rotateX(-30deg) translateY(32px); transform-origin: center bottom; }

[data-aos].visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance animations */
@keyframes heroSlideUp {
  from { opacity:0; transform: translateY(40px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes heroSlideRight {
  from { opacity:0; transform: translateX(60px) scale(.96); }
  to   { opacity:1; transform: translateX(0) scale(1); }
}
@keyframes badgePop {
  0%   { opacity:0; transform: scale(.6) translateY(16px); }
  70%  { transform: scale(1.08) translateY(-4px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.5); }
  50%      { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
}
@keyframes shimmerBtn {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes floatA {
  0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%      { transform: translateY(-22px) rotate(8deg) scale(1.1); }
  66%      { transform: translateY(-10px) rotate(-4deg) scale(.95); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-28px) rotate(-10deg); }
}
@keyframes floatC {
  0%,100% { transform: translateY(0) scale(1); }
  40%      { transform: translateY(-16px) scale(1.15); }
  80%      { transform: translateY(-6px) scale(.92); }
}
@keyframes countUp {
  from { opacity:0; transform: translateY(12px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%,100% { text-shadow: 0 0 0 transparent; }
  50%      { text-shadow: 0 0 24px rgba(245,158,11,.6); }
}
@keyframes slideInTag {
  from { opacity:0; transform: translateY(-12px) scale(.9); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

.badge-pill {
  animation: badgePop .7s cubic-bezier(.16,1,.3,1) .3s both, pulseBadge 2.4s ease 1.2s infinite;
}
.hero-content h1 { animation: heroSlideUp .8s cubic-bezier(.16,1,.3,1) .1s both; }
.hero-tagline     { animation: heroSlideUp .8s cubic-bezier(.16,1,.3,1) .25s both; }
.hero-desc        { animation: heroSlideUp .8s cubic-bezier(.16,1,.3,1) .38s both; }
.hero-actions     { animation: heroSlideUp .8s cubic-bezier(.16,1,.3,1) .5s both; }
.hero-stats       { animation: heroSlideUp .8s cubic-bezier(.16,1,.3,1) .62s both; }
.hero-visual      { animation: heroSlideRight 1s cubic-bezier(.16,1,.3,1) .4s both; }

.hero-content h1 .highlight { animation: glowPulse 3s ease 1.5s infinite; }

.btn-primary {
  background-size: 200% auto;
  background-image: linear-gradient(135deg, var(--gold) 0%, #f97316 40%, #fbbf24 60%, #f97316 100%);
}
.btn-primary:hover { animation: shimmerBtn 1s linear infinite; background-size: 200% auto; }

/* Floating shapes – bold & visible */
.shape {
  position: absolute;
  font-size: 36px;
  opacity: .6;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.s1  { top: 15%; left: 7%;   font-size: 42px; animation: floatA 7s ease-in-out infinite; animation-delay: 0s; }
.s2  { top: 22%; left: 86%;  font-size: 38px; animation: floatB 6s ease-in-out infinite; animation-delay: .8s; }
.s3  { top: 62%; left: 4%;   font-size: 48px; animation: floatC 8s ease-in-out infinite; animation-delay: 1.5s; }
.s4  { top: 72%; left: 82%;  font-size: 40px; animation: floatA 5.5s ease-in-out infinite; animation-delay: .3s; }
.s5  { top: 8%;  left: 52%;  font-size: 52px; animation: floatB 9s ease-in-out infinite; animation-delay: 1.2s; }
.s6  { top: 82%; left: 38%;  font-size: 32px; animation: floatC 6.5s ease-in-out infinite; animation-delay: 2.5s; }
.s7  { top: 45%; left: 92%;  font-size: 44px; animation: floatA 7.5s ease-in-out infinite; animation-delay: .5s; }
.s8  { top: 88%; left: 18%;  font-size: 36px; animation: floatB 6.8s ease-in-out infinite; animation-delay: 1.8s; }
.s9  { top: 35%; left: 2%;   font-size: 40px; animation: floatC 8.5s ease-in-out infinite; animation-delay: .9s; }
.s10 { top: 55%; left: 60%;  font-size: 38px; animation: floatA 7.2s ease-in-out infinite; animation-delay: 2.2s; opacity: .45; }
.s11 { top: 5%;  left: 28%;  font-size: 36px; animation: floatB 5.8s ease-in-out infinite; animation-delay: .4s; }
.s12 { top: 78%; left: 62%;  font-size: 44px; animation: floatC 9.5s ease-in-out infinite; animation-delay: 1.6s; }

/* Section tag animation */
.section-tag { animation: slideInTag .5s ease both; }

/* Why-card icon bounce on hover */
.why-card:hover .why-icon {
  animation: floatC .6s ease both;
  display: inline-block;
}
/* Prog-card icon on hover */
.prog-card:hover .prog-icon-wrap { transform: scale(1.15) rotate(-5deg); transition: transform .3s cubic-bezier(.16,1,.3,1); }

/* Price card pop-in */
.price-card { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }

/* Nav link active glow */
.nav-cta {
  position: relative;
  overflow: hidden;
}
.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-100%);
  transition: transform .5s ease;
  border-radius: inherit;
}
.nav-cta:hover::after { transform: translateX(100%); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card.best { transform: none; }
}

@media (max-width: 768px) {
  /* ── Nav ── */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  /* ── Container ── */
  .container { padding: 0 16px; }

  /* ── Hero ── */
  .hero { min-height: auto; padding-bottom: 32px; }
  .hero-inner { padding: 28px 0 20px; grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.2px; }
  .hero-tagline { font-size: 15px; margin-bottom: 12px; letter-spacing: .5px; }
  .hero-desc { font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .btn-primary { padding: 14px 24px; font-size: 15px; text-align: center; }
  .btn-ghost  { padding: 13px 24px; font-size: 15px; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 10px 20px; justify-content: flex-start; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 12px; }
  .stat-divider { display: none; }
  .badge-pill { font-size: 12px; padding: 6px 14px; margin-bottom: 14px; }
  .wave-bottom svg { height: 36px; }

  /* ── Section header ── */
  .section-header { margin-bottom: 24px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14px; }
  .section-tag { font-size: 11px; }

  /* ── Programs ── */
  .programs { padding: 40px 0; }
  .programs-grid { grid-template-columns: 1fr !important; gap: 14px; width: 100%; }
  .prog-card {
    padding: 20px 18px; width: 100% !important;
    max-width: 100% !important; box-sizing: border-box;
    transform: none !important;
  }
  .prog-card h3 { font-size: 16px; }
  .prog-subjects li { font-size: 13px; }

  /* ── Why ── */
  .why { padding: 40px 0; }
  .why .section-header { margin-bottom: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
  .why-card { padding: 18px 16px; }
  .why-icon { font-size: 28px; margin-bottom: 8px; }
  .why-card h4 { font-size: 15px; }
  .why-card p { font-size: 13px; }

  /* ── Pricing ── */
  .pricing { padding: 40px 0; }
  .pricing-grid { grid-template-columns: 1fr !important; gap: 14px; width: 100%; }
  .price-card {
    padding: 20px 18px; width: 100% !important;
    max-width: 100% !important; box-sizing: border-box;
    transform: none !important;
  }
  .price-card.best { transform: none !important; box-shadow: var(--shadow-lg); }
  .price-card h3 { font-size: 16px; }
  .price-amount .amount { font-size: 26px; }
  .pricing-note { font-size: 13px; padding: 12px 16px; }

  /* ── Contact / Form ── */
  .contact { padding: 40px 0; }
  .contact .section-header { margin-bottom: 20px; }
  .contact .section-header h2 { font-size: 22px; }
  .contact-layout { grid-template-columns: 1fr; gap: 16px; }
  .form-card { padding: 18px 16px; border-radius: 16px; }
  .form-card h3 { font-size: 16px; margin-bottom: 12px; }
  .info-card { padding: 18px 16px; border-radius: 16px; }
  .info-card h3 { font-size: 16px; }
  .info-item { gap: 10px; }
  .info-icon { font-size: 18px; }
  .map-wrap { margin-top: 12px; }
  .map-wrap iframe { height: 150px; }
  .social-links { gap: 10px; }
  .social-btn { padding: 10px 16px; font-size: 14px; }

  /* ── Form inputs ── */
  .form-row-2 { grid-template-columns: 1fr; gap: 12px; }
  .custom-form { gap: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 10px 12px; } /* font-size:16px tránh iOS zoom */
  .form-group label { font-size: 12px; }
  .subject-tags { gap: 6px; }
  .subject-tag .tag-label { font-size: 12px; padding: 5px 10px; }
  .form-submit-btn { font-size: 15px; padding: 13px 20px; }

  /* ── Footer ── */
  .footer { padding: 36px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links h4, .footer-contact h4 { font-size: 14px; }
  .footer-links a, .footer-contact p { font-size: 13px; }
  .footer-bottom p { font-size: 12px; }

  /* ── Float buttons ── */
  .zalo-float  { width: 50px; height: 50px; font-size: 20px; bottom: 76px; right: 14px; }
  .phone-float { width: 50px; height: 50px; font-size: 20px; bottom: 14px; right: 14px; }
}

@media (max-width: 420px) {
  .hero-content h1 { font-size: 24px; }
  .hero-tagline { font-size: 13px; }
  .hero-stats { gap: 8px 16px; }
  .stat strong { font-size: 20px; }
  .section-header h2 { font-size: 21px; }
  .prog-card, .price-card, .why-card { padding: 16px 14px; }
  .form-card, .info-card { padding: 16px 14px; }
  .social-links { flex-direction: column; }
  .social-btn { justify-content: center; text-align: center; }
  .badge-pill { font-size: 11px; }
}

/* ===== EXTRA MOBILE SAFETY NET ===== */
@media (max-width: 600px) {
  /* Tắt data-aos transforms trên mobile để tránh visual overflow */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Ngăn mọi card tràn ngang */
  .prog-card, .price-card, .why-card,
  .form-card, .info-card, .act-card,
  .sch-card, .job-card-full, .culture-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }
  /* Prog button full width */
  .prog-btn {
    display: block; width: 100%;
    text-align: center; margin-top: 16px;
  }
  /* Price button full width */
  .price-btn {
    display: block; width: 100%;
    text-align: center; box-sizing: border-box;
  }
  /* Grids luôn 1 cột */
  .programs-grid, .pricing-grid,
  .why-grid, .schedule-grid {
    grid-template-columns: 1fr !important;
  }
  /* Section container không overflow */
  .container { padding: 0 14px !important; }
  /* Section headings nhỏ hơn */
  .section-title { font-size: 22px !important; }
  /* Tắt hover transforms trên mobile (no hover on touch) */
  .prog-card:hover, .price-card:hover, .why-card:hover,
  .act-card:hover, .sch-card:hover, .job-card-full:hover {
    transform: none !important;
  }
}

/* ===== CUSTOM FORM STYLES ===== */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-800);
  letter-spacing: .2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 2px solid var(--purple-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--gray-900);
  background: #fff;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0aab8;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b5cf6' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea {
  resize: vertical;
  min-height: 76px;
}

/* Subject checkbox tags */
.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}
.subject-tag {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.subject-tag input[type="checkbox"] {
  display: none;
}
.subject-tag .tag-label {
  padding: 6px 14px;
  border-radius: 50px;
  border: 2px solid var(--purple-200);
  background: #fff;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  user-select: none;
  line-height: 1;
}
.subject-tag input:checked + .tag-label {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: #fff;
}
.subject-tag:hover .tag-label {
  border-color: var(--purple-400);
}

/* Submit button */
.form-submit-btn {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  letter-spacing: .2px;
}
.form-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.form-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/* Feedback messages */
.form-msg {
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
  line-height: 1.5;
}
.form-msg.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  display: block;
}
.form-msg.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* Dark theme overrides for form-card on contact section (index.html) */
.form-card .form-group label {
  color: rgba(255,255,255,.88);
}
.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.form-card .form-group input::placeholder,
.form-card .form-group textarea::placeholder {
  color: rgba(255,255,255,.35);
}
.form-card .form-group input:focus,
.form-card .form-group select:focus,
.form-card .form-group textarea:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(167,139,250,.2);
}
.form-card .form-group select {
  background-color: rgba(255,255,255,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4b5fd' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-card .form-group select option {
  background: var(--purple-900);
  color: #fff;
}
.form-card .subject-tag .tag-label {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
}
.form-card .subject-tag input:checked + .tag-label {
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: #fff;
}
.form-card .subject-tag:hover .tag-label {
  border-color: var(--purple-400);
}
.form-card .form-msg.success {
  background: rgba(16,185,129,.15);
  color: #6ee7b7;
  border-color: rgba(110,231,183,.3);
}
.form-card .form-msg.error {
  background: rgba(239,68,68,.12);
  color: #fca5a5;
  border-color: rgba(252,165,165,.3);
}

/* Dark theme overrides for apply-form-card (tuyen-dung.html) */
.apply-form-card .form-group label {
  color: rgba(255,255,255,.85);
}
.apply-form-card .form-group input,
.apply-form-card .form-group select,
.apply-form-card .form-group textarea {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.apply-form-card .form-group input::placeholder,
.apply-form-card .form-group textarea::placeholder {
  color: rgba(255,255,255,.35);
}
.apply-form-card .form-group input:focus,
.apply-form-card .form-group select:focus,
.apply-form-card .form-group textarea:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(167,139,250,.2);
}
.apply-form-card .form-group select {
  background-color: rgba(255,255,255,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4b5fd' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.apply-form-card .form-group select option {
  background: var(--purple-900);
  color: #fff;
}
.apply-form-card .subject-tag .tag-label {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
}
.apply-form-card .subject-tag input:checked + .tag-label {
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: #fff;
}
.apply-form-card .subject-tag:hover .tag-label {
  border-color: var(--purple-400);
}
.apply-form-card .form-msg.success {
  background: rgba(16,185,129,.15);
  color: #6ee7b7;
  border-color: rgba(110,231,183,.3);
}
.apply-form-card .form-msg.error {
  background: rgba(239,68,68,.12);
  color: #fca5a5;
  border-color: rgba(252,165,165,.3);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== FILE UPLOAD ===== */
.file-input-hidden { display: none; }
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 2px dashed rgba(255,255,255,.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,.06);
}
.file-upload-label:hover {
  border-color: var(--purple-400);
  background: rgba(255,255,255,.12);
}
.file-upload-label.has-file {
  border-style: solid;
  border-color: #6ee7b7;
  background: rgba(16,185,129,.12);
}
.file-upload-icon { font-size: 20px; flex-shrink: 0; }
.file-upload-text { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.4; }
.file-upload-label.has-file .file-upload-text { color: #6ee7b7; font-weight: 600; }

@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ===== HONEYPOT: ẩn hoàn toàn với người dùng ===== */
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}

/* ===== NAV: compact khi có nhiều item ===== */
.nav-links { gap: 20px; }
.nav-links a { font-size: 13.5px; }

/* ===== GLOBAL CONTACT BAR (đẹp hơn) ===== */
.contact-bar {
  background: linear-gradient(135deg, #1a0636 0%, #2d1060 45%, #1a0636 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.contact-bar::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(139,92,246,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(245,158,11,.18) 0%, transparent 55%);
  pointer-events: none;
}
.contact-bar::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.6) 30%, rgba(245,158,11,.6) 70%, transparent);
}
.contact-bar-inner {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 28px;
}
.contact-bar-text .cb-title {
  font-size: 22px; font-weight: 900; color: #fff;
  margin-bottom: 6px; line-height: 1.3;
}
.contact-bar-text .cb-sub {
  font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.6;
}
.contact-bar-btns {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.cbar-main {
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  color: #fff; font-weight: 800; font-size: 15px;
  padding: 14px 30px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(245,158,11,.45);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.cbar-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(245,158,11,.55);
}
.cbar-ghost {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9); font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 50px;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 7px;
}
.cbar-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
  color: #fff;
}
/* ===== CONTACT BAR RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-bar { padding: 36px 0; }
  .contact-bar-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .contact-bar-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; gap: 10px; }
  .cbar-main, .cbar-ghost {
    justify-content: center; text-align: center;
    padding: 14px 20px; font-size: 14px;
    width: 100%;
  }
  .contact-bar-text .cb-title { font-size: 18px; }
  .contact-bar-text .cb-sub { font-size: 13px; }
}

/* ===== SECTION TITLE / SUB / BADGE-PILL-DARK RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title { font-size: clamp(22px, 5vw, 30px); margin-bottom: 10px; }
  .section-sub { font-size: 14px; }
  .badge-pill-dark { font-size: 11px; padding: 6px 14px; margin-bottom: 12px; }
}
@media (max-width: 420px) {
  .section-title { font-size: 20px; }
  .section-sub { font-size: 13px; }
}

/* ===== HERO BUTTONS RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column; align-items: stretch;
    gap: 10px; width: 100%;
  }
  .btn-primary, .btn-ghost {
    width: 100%; text-align: center;
    padding: 14px 20px; font-size: 15px;
    display: block;
  }
}

/* ===== COUNTDOWN CTA RESPONSIVE (lich-khai-giang) ===== */
@media (max-width: 768px) {
  .cd-cta-wrap {
    flex-direction: column; align-items: stretch;
    gap: 10px; width: 100%; max-width: 320px; margin: 4px auto 0;
  }
  .cd-cta-wrap .btn-primary,
  .cd-cta-wrap .btn-ghost {
    width: 100%; text-align: center; justify-content: center;
    padding: 13px 20px; font-size: 14px;
  }
}

/* ===== SCHEDULE GRID RESPONSIVE (lich-khai-giang) ===== */
@media (max-width: 768px) {
  .schedule-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .ca-grid { flex-direction: column !important; gap: 12px !important; }
  .ca-card { padding: 20px !important; }
}

/* ===== ACTIVITY GRID RESPONSIVE (hoat-dong) ===== */
@media (max-width: 640px) {
  .activity-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1 !important; }
  .gallery-filter { gap: 8px; }
  .gf-btn { padding: 8px 16px; font-size: 13px; }
}

/* ===== TUYEN DUNG RESPONSIVE ===== */
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .jobs-grid-2 { grid-template-columns: 1fr !important; }
  .culture-grid { grid-template-columns: 1fr !important; }
  .apply-layout { grid-template-columns: 1fr !important; }
  .td-hero-inner { grid-template-columns: 1fr !important; }
  .td-hero-stats { flex-direction: row !important; flex-wrap: wrap; justify-content: center; }
  .jcf-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .jcf-apply { width: 100%; text-align: center; display: block; }
}
@media (max-width: 480px) {
  .td-hero-stats { flex-direction: column !important; align-items: center; }
  .apply-form-card { padding: 24px 18px; }
}
