/* ═══════════════════════════════════════════════════════════════
   Better Me English — MAIN SITE shared stylesheet
   Used by: index.html, about-us.html (the two 'main site' pages,
   sharing the same navbar/footer/design system).

   NOTE: services/*.html and ai-lab/*.html are separate mini-sites
   with their own bespoke design tokens — they intentionally do NOT
   use this file. See DEVELOPER-GUIDE.md for why.
   ═══════════════════════════════════════════════════════════════ */



/* ═══════════════════════════════════════════════════
   DESIGN TOKENS — Edit brand colors here
   ═══════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --navy:        #1C2B5E;   /* Primary navy — logo match */
  --navy-dark:   #111B3E;   /* Darker navy for hover/depth */
  --navy-light:  #2D3E7A;   /* Lighter navy for accents */
  --beige:       #F2EDE4;   /* Background beige — logo match */
  --beige-dark:  #E8E0D4;   /* Cards, borders */
  --beige-mid:   #D8CEBC;   /* Dividers, subtle borders */
  --white:       #FFFFFF;
  --ink:         #1A1A2E;   /* Body text */
  --muted:       #6B6F87;   /* Secondary text */
  --accent:      #E8B84B;   /* Gold accent — warmth */

  /* Typography */
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Plus Jakarta Sans', sans-serif;

  /* Spacing & Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 12px rgba(28,43,94,.07);
  --shadow-md: 0 8px 32px rgba(28,43,94,.10);
  --shadow-lg: 0 20px 60px rgba(28,43,94,.14);
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--beige); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY SCALE
   ═══════════════════════════════════════════════════ */
.label{font-size:.72rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--navy);display:inline-flex;align-items:center;gap:6px}

h1{font-family:var(--serif);font-size:clamp(3rem,6.5vw,5rem);font-weight:700;line-height:1.04;letter-spacing:-.02em;color:var(--navy)}
h2{font-family:var(--serif);font-weight:800;line-height:1.08;letter-spacing:-.01em}
h3{font-family:var(--serif);font-weight:700;line-height:1.2}
h4 { font-size: .95rem; font-weight: 600; color: var(--navy); }
p  { color: var(--muted); line-height: 1.72; }

.section-intro{font-size:.88rem;font-weight:400;color:var(--muted);line-height:1.78;max-width:560px;margin-top:.65rem}

/* ═══════════════════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
section    { padding: 6rem 5vw; }
.divider   { height: 1px; background: var(--beige-dark); margin: 0 5vw; }

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .75rem 1.8rem; border-radius: 50px;
  font-size: .88rem; font-weight: 600; letter-spacing: .02em;
  transition: transform .18s, box-shadow .18s, background .18s;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 18px rgba(28,43,94,.25);
}
.btn-navy:hover { background: var(--navy-dark); box-shadow: 0 8px 28px rgba(28,43,94,.32); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-accent {
  background: var(--accent); color: var(--navy);
  box-shadow: 0 4px 18px rgba(232,184,75,.30);
}
.btn-accent:hover { box-shadow: 0 8px 28px rgba(232,184,75,.40); filter: brightness(1.05); }
.btn-white {
  background: var(--white); color: var(--navy);
  box-shadow: 0 4px 18px rgba(255,255,255,.20);
}
.btn-white:hover { box-shadow: 0 8px 28px rgba(255,255,255,.28); }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(242,237,228,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--beige-dark);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 5vw;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .84rem; font-weight: 500; color: var(--muted);
  transition: color .2s; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: none; padding: 6px; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--beige); border-top: 1px solid var(--beige-dark);
  padding: 1.5rem 5vw 2rem;
  gap: 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: .95rem; font-weight: 500; color: var(--navy); }

/* ═══════════════════════════════════════════════════
   HERO — CLEAN REBUILD
   ═══════════════════════════════════════════════════ */
#hero {
  background: var(--beige);
  position: relative;
  overflow: hidden;
  padding: 6rem 5vw 4rem;
  padding-top: calc(64px + 4rem);
}
.hero-row {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3.5rem;
}
.hero-left  { flex: 3; min-width: 0; }
.hero-right { flex: 2; min-width: 0; flex-shrink: 0; }

.hero-label { margin-bottom: 1.2rem; }
h1 em { font-style: italic; color: var(--navy-light); display: block; }
.hero-sub {
  font-size: 1.05rem; margin: 1.3rem 0 2rem;
  color: var(--muted); line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; border: 1px solid var(--beige-dark);
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--white); max-width: 420px;
}
.stat {
  flex: 1; padding: .9rem 1rem; text-align: center;
  border-right: 1px solid var(--beige-dark);
}
.stat:last-child { border-right: none; }
.stat-num{font-family:var(--serif);font-size:clamp(1.5rem,2.5vw,2rem);font-weight:700;color:var(--navy);line-height:1;letter-spacing:-.01em}
.stat-lbl { font-size: .7rem; color: var(--muted); margin-top: 3px; }

/* Right: photo */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.hero-photo-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
}
.hero-float-card {
  position: absolute; bottom: -16px; left: -20px;
  background: var(--white); border-radius: var(--radius-md);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--beige-dark);
  min-width: 200px; max-width: 240px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.float-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.float-text .name { font-size: .82rem; font-weight: 600; color: var(--navy); }
.float-text .desc { font-size: .72rem; color: var(--muted); }
.hero-badge {
  position: absolute; top: 16px; right: -12px;
  background: var(--accent); color: var(--navy);
  border-radius: 50px; padding: .4rem .9rem;
  font-size: .74rem; font-weight: 700;
  box-shadow: var(--shadow-md); white-space: nowrap;
}
.hero-bg-circle { position: absolute; pointer-events: none; z-index: 0; }
.hero-bg-circle.c1 {
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28,43,94,.06) 0%, transparent 70%);
  top: -80px; right: -100px;
}
.hero-bg-circle.c2 {
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,184,75,.08) 0%, transparent 70%);
  bottom: -60px; left: -80px;
}

/* Mobile */
@media (max-width: 680px) {
  .hero-row { flex-direction: column; }
  .hero-right { width: 100%; }
  .hero-photo-wrap { max-width: 260px; }
  .hero-float-card { display: none; }
}

/* ═══════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════ */
#trust {
  background: var(--navy); padding: 1.8rem 5vw;
}
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; color: rgba(255,255,255,.75); font-weight: 400;
}
.trust-item svg { opacity: .6; flex-shrink: 0; }
.trust-divider { width: 1px; height: 24px; background: rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════════════
   COURSES
   ═══════════════════════════════════════════════════ */
#courses { background: var(--beige); }
.courses-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.course-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--beige-dark);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.course-card.featured { border: 2px solid var(--accent); }

.course-header {
  padding: 1.6rem 1.6rem 1.2rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem;
}
.course-emoji { font-size: 2rem; line-height: 1; }
.course-tag {
  font-size: .7rem; font-weight: 700; padding: .3rem .8rem;
  border-radius: 20px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.tag-navy { background: var(--navy); color: var(--white); }
.tag-accent { background: var(--accent); color: var(--navy); }
.tag-free { background: #E8F5E9; color: #2E7D32; }

.course-body { padding: 0 1.6rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.course-body p  { font-size: .86rem; line-height: 1.65; flex: 1; }
.course-meta {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0;
}
.meta-pill {
  font-size: .74rem; color: var(--muted); background: var(--beige);
  border: 1px solid var(--beige-dark); border-radius: 20px;
  padding: .25rem .75rem; display: flex; align-items: center; gap: 4px;
}
.course-footer {
  padding: 1.2rem 1.6rem; border-top: 1px solid var(--beige-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.course-price { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.course-price small { font-family: var(--sans); font-size: .75rem; font-weight: 400; color: var(--muted); }
.course-price.is-free { color: #2E7D32; }
.enroll-btn {
  padding: .6rem 1.3rem; border-radius: 30px;
  background: var(--navy); color: var(--white);
  font-size: .82rem; font-weight: 600; border: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.enroll-btn:hover { background: var(--navy-dark); transform: translateY(-1px); }

.bundle-note {
  margin-top: 2rem; padding: 1.2rem 1.6rem;
  background: var(--white); border: 1.5px dashed var(--navy-light);
  border-radius: var(--radius-md); text-align: center;
}
.bundle-note p { font-size: .88rem; }
.bundle-note strong { color: var(--navy); }

/* ═══════════════════════════════════════════════════
   VALUES / HOW WE TEACH
   ═══════════════════════════════════════════════════ */
#values { background: var(--navy); }
#values .label { color: rgba(255,255,255,.5); }

#values h2 { color: var(--white); }
#values .section-intro { color: rgba(255,255,255,.6); }
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 0;
}
.values-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; position: relative;
}
.values-visual img { width: 100%; height: 100%; object-fit: cover; }
.values-img-placeholder {
  width: 100%; height: 100%; min-height: 360px;
  background: rgba(255,255,255,.05);
  border: 1.5px dashed rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,.3);
}
.values-list { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2.5rem; }
.value-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.value-num {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.value-item h4 { color: var(--white); font-size: 1rem; margin-bottom: .35rem; }
.value-item p  { color: rgba(255,255,255,.6); font-size: .87rem; }

/* ═══════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════ */
#team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.team-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--beige-dark); background: var(--beige);
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-photo {
  height: 300px; overflow: hidden; position: relative;
  background: var(--beige-dark);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(145deg, var(--beige-dark), var(--beige-mid));
}
.team-initials-circle {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
}
.team-body { padding: 1.4rem; }
.team-body h3{font-family:var(--serif);font-size:1.15rem;font-weight:700;color:var(--navy);margin:0 0 .15rem}
.team-role{font-size:.7rem;font-weight:700;color:var(--navy);letter-spacing:.1em;text-transform:uppercase;margin-bottom:.55rem;opacity:.65}
.team-body p { font-size: .85rem; }

/* ═══════════════════════════════════════════════════
   JOURNEY — COMPACT HORIZONTAL TIMELINE
   ═══════════════════════════════════════════════════ */
#journey { background: var(--beige); padding: 5rem 5vw; }
.journey-head { text-align: center; max-width: 580px; margin: 0 auto 3.5rem; }
.journey-head .label { justify-content: center; margin-bottom: .8rem; }

.timeline-h {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
/* Horizontal connecting line */
.timeline-h::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5%); right: calc(12.5%);
  height: 2px;
  background: linear-gradient(to right, var(--navy), var(--accent), var(--navy));
  z-index: 0;
}

.tl-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 .5rem; position: relative; z-index: 1;
}
.tl-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem; flex-shrink: 0;
  border: 4px solid var(--beige);
  box-shadow: 0 0 0 2px var(--navy);
  transition: transform .2s;
}
.tl-item:hover .tl-dot { transform: scale(1.1); }
.tl-content { text-align: center; }
.tl-year {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: .3rem;
}
.tl-title{font-family:var(--serif);font-size:.95rem;font-weight:800;letter-spacing:-.01em}
.tl-desc  { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* Row 2 */
.timeline-h-2 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2rem;
}
.timeline-h-2::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5%); right: calc(12.5%);
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--navy), var(--accent));
  z-index: 0;
}
.timeline-h-3 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.timeline-h-3::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.6%); right: calc(16.6%);
  height: 2px;
  background: linear-gradient(to right, var(--navy), var(--accent));
  z-index: 0;
}

@media (max-width: 768px) {
  .timeline-h, .timeline-h-2, .timeline-h-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
    max-width: 100%;
  }
  .timeline-h::before, .timeline-h-2::before, .timeline-h-3::before { display: none; }
}
@media (max-width: 480px) {
  .timeline-h, .timeline-h-2, .timeline-h-3 { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
#testimonials { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: var(--beige); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars { color: var(--accent); font-size: .9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.t-quote {
  font-family: var(--serif); font-size: 1.08rem; font-style: italic;
  color: var(--navy); line-height: 1.65; margin-bottom: 1.4rem;
  position: relative; padding-left: 1.2rem;
}
.t-quote::before {
  content: '"';
  position: absolute; left: 0; top: -.2rem;
  font-size: 2.5rem; line-height: 1; color: var(--accent);
  font-family: var(--serif);
}
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: .9rem; flex-shrink: 0;
  overflow: hidden;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-size: .88rem; font-weight: 600; color: var(--navy); }
.t-meta { font-size: .75rem; color: var(--muted); }

/* ═══════════════════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════════════════ */
#contact { background: var(--navy); position: relative; overflow: hidden; }
.contact-bg-text {
  position: absolute; bottom: -60px; right: -20px;
  font-family: var(--serif); font-size: 16rem; font-weight: 700;
  color: rgba(255,255,255,.03); line-height: 1; pointer-events: none;
  white-space: nowrap; user-select: none;
}
#contact .label { color: rgba(255,255,255,.5); }

#contact h2 { color: var(--white); }
#contact .section-intro { color: rgba(255,255,255,.6); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-item h5 { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-size: .95rem; color: rgba(255,255,255,.9); }
.contact-item a:hover { color: var(--accent); }
.socials { display: flex; gap: .8rem; margin-top: .5rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: border-color .2s, color .2s, background .2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,184,75,.1); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }
input, select, textarea {
  width: 100%; padding: .82rem 1.1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: var(--white); font-family: var(--sans); font-size: .9rem;
  outline: none; transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent); background: rgba(255,255,255,.1);
}
select option { background: var(--navy-dark); color: var(--white); }
textarea { min-height: 100px; resize: vertical; }
.form-submit {
  padding: .9rem; border-radius: 50px;
  background: var(--accent); color: var(--navy);
  font-family: var(--sans); font-size: .95rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: filter .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(232,184,75,.3);
}
.form-submit:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,184,75,.4); }
.form-note { font-size: .75rem; color: rgba(255,255,255,.35); text-align: center; }
.success-msg {
  display: none; background: rgba(232,184,75,.15); border: 1px solid var(--accent);
  border-radius: var(--radius-sm); padding: 1rem; text-align: center;
  color: var(--accent); font-weight: 600; font-size: .9rem;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
footer {
  background: #0D1830; padding: 1.8rem 5vw;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo img { height: 40px; width: auto; opacity: .75; }
footer p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* hero handled in its own block */
  .outcomes-grid   { grid-template-columns: 1fr 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .journey-layout  { grid-template-columns: 1fr; gap: 2.5rem; }
  .journey-sticky  { position: static; }
  .contact-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-col { order: 1; }
  .contact-details  { order: 2; }
  .map-wrap         { order: 3; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  section { padding: 4rem 5vw; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-inner { gap: 1.2rem; }
  .trust-divider { display: none; }
  .hero-stats { flex-direction: column; border: none; background: transparent; gap: 1rem; }
  .stat { border: 1px solid var(--beige-dark); border-radius: var(--radius-sm); background: var(--white); }
}

/* ═══════════════════════════════════════════════════
   OPENING VIDEO INTRO
   ═══════════════════════════════════════════════════ */
#video-intro {
  position: fixed; inset: 0; z-index: 9999;
  background: #0D1830;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .8s ease, visibility .8s ease;
}
#video-intro.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
#video-intro video {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1.0); opacity: 1; }
  50%      { transform: scale(1.06); opacity: .9; }
}

@keyframes revealIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════
   TEAM GALLERY — SLIDESHOW
   ═══════════════════════════════════════════════════ */
#team-gallery { background: var(--beige-dark); padding: 5rem 5vw; }

.gallery-header { max-width: 560px; margin-bottom: 2.5rem; }

.slideshow {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) { .slideshow { height: 300px; } }
@media (max-width: 480px) { .slideshow { height: 220px; } }

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(17,27,62,.9), transparent);
  padding: 2.5rem 1.6rem 1.4rem; color: #fff;
}
.slide-caption h4 {
  font-family: var(--serif); font-size: 1.15rem;
  font-weight: 600; margin-bottom: .3rem; color: #fff;
}
.slide-caption p { font-size: .82rem; color: rgba(255,255,255,.78); line-height: 1.5; }

.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--navy);
  transition: background .2s;
}
.slide-arrow:hover { background: #fff; }
.slide-arrow.prev { left: 14px; }
.slide-arrow.next { right: 14px; }

.slide-counter {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(17,27,62,.65); color: #fff;
  font-size: .75rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.slide-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 1.2rem;
}
.slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--beige-mid); border: none; cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.slide-dot.active { background: var(--navy); transform: scale(1.3); }

/* ═══════════════════════════════════════════════════
   MAP EMBED
   ═══════════════════════════════════════════════════ */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem;
  height: 280px;
  position: relative;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
  filter: grayscale(20%) contrast(1.05);
}
.map-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--navy);
  color: var(--white);
  font-size: .75rem; font-weight: 600;
  padding: .4rem .9rem; border-radius: 20px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   JOURNEY — VISUAL ALTERNATING TIMELINE
   ═══════════════════════════════════════════════════ */
#journey { background: var(--white); padding: 6rem 0; overflow: hidden; }
.journey-intro { text-align: center; padding: 0 5vw; margin-bottom: 5rem; }
.journey-intro h2 { margin-bottom: .8rem; }
.journey-intro .section-intro { margin: 0 auto; }
.journey-steps { position: relative; }
.journey-steps::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; margin-left: -1px;
  background: linear-gradient(to bottom, transparent, var(--navy) 6%, var(--navy) 94%, transparent);
}
.journey-step {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  align-items: center; margin-bottom: 3.5rem; padding: 0 5vw;
}
.journey-step:nth-child(odd)  .step-card  { grid-column:1; justify-self:end; }
.journey-step:nth-child(odd)  .step-spine { grid-column:2; }
.journey-step:nth-child(odd)  .step-empty { grid-column:3; }
.journey-step:nth-child(even) .step-empty { grid-column:1; }
.journey-step:nth-child(even) .step-spine { grid-column:2; }
.journey-step:nth-child(even) .step-card  { grid-column:3; justify-self:start; }
.step-card {
  background: var(--beige); border: 1px solid var(--beige-dark);
  border-radius: var(--radius-lg); padding: 1.8rem 2rem;
  max-width: 440px; position: relative;
  transition: box-shadow .3s, transform .3s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.journey-step:nth-child(odd)  .step-card::after  { content:''; position:absolute; right:-10px; top:50%; transform:translateY(-50%); border:10px solid transparent; border-left-color:var(--beige-dark); }
.journey-step:nth-child(odd)  .step-card::before { content:''; position:absolute; right:-8px;  top:50%; transform:translateY(-50%); border:10px solid transparent; border-left-color:var(--beige); z-index:1; }
.journey-step:nth-child(even) .step-card::after  { content:''; position:absolute; left:-10px;  top:50%; transform:translateY(-50%); border:10px solid transparent; border-right-color:var(--beige-dark); }
.journey-step:nth-child(even) .step-card::before { content:''; position:absolute; left:-8px;   top:50%; transform:translateY(-50%); border:10px solid transparent; border-right-color:var(--beige); z-index:1; }
.step-spine { display:flex; align-items:center; justify-content:center; position:relative; z-index:2; }
.step-node {
  width:50px; height:50px; border-radius:50%;
  background:var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:1.05rem; font-weight:700;
  border:4px solid var(--white); box-shadow:0 0 0 3px var(--navy);
  flex-shrink:0;
}
.step-number { font-size:.68rem; font-weight:700; color:var(--navy-light); letter-spacing:.12em; text-transform:uppercase; margin-bottom:.4rem; }
.step-emoji  { font-size:1.5rem; margin-bottom:.5rem; }
.step-card h4 { font-size:1.05rem; font-weight:700; color:var(--navy); margin-bottom:.5rem; line-height:1.3; }
.step-card p  { font-size:.86rem; color:var(--muted); line-height:1.7; }
@media (max-width:768px) {
  .journey-steps::before { left:24px; }
  .journey-step { grid-template-columns:48px 1fr; padding:0 5vw; margin-bottom:2rem; }
  .journey-step:nth-child(odd)  .step-card,
  .journey-step:nth-child(even) .step-card  { grid-column:2; justify-self:start; max-width:100%; }
  .journey-step:nth-child(odd)  .step-spine,
  .journey-step:nth-child(even) .step-spine { grid-column:1; }
  .step-empty { display:none; }
  .step-node { width:38px; height:38px; font-size:.85rem; }
  .journey-step .step-card::after,
  .journey-step .step-card::before { display:none; }
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS — FEATURED + STRIP
   ═══════════════════════════════════════════════════ */
#testimonials {
  background: var(--navy);
  padding: 5rem 5vw;
}
#testimonials .label { color: rgba(255,255,255,.5); }

#testimonials h2 { color: var(--white); }
#testimonials .section-intro { color: rgba(255,255,255,.6); margin-bottom: 2.5rem; }

/* Featured video — large */
.vid-featured {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  margin-bottom: 1rem;
}
.vid-featured img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s;
}
.vid-featured:hover img { transform: scale(1.03); }
.vid-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem 2rem;
}
.vid-featured-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 28px rgba(0,0,0,.4);
  transition: transform .25s, background .2s;
}
.vid-featured:hover .vid-featured-play { transform: translate(-50%,-50%) scale(1.1); background: #fff; }
.vid-featured-play svg { margin-left: 4px; }
.vid-featured-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.vid-featured-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--white); line-height: 1.3; }

/* Strip — horizontal scroll of small thumbnails */
.vid-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
}
@media (max-width: 900px) { .vid-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .vid-strip { grid-template-columns: repeat(2, 1fr); } }

.vid-thumb-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}
.vid-thumb-card:hover, .vid-thumb-card.active {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  border-color: var(--accent);
}
.vid-thumb-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.vid-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.8) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: .4rem .5rem;
}
.vid-thumb-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
}
.vid-thumb-play svg { margin-left: 2px; }
.vid-thumb-label { font-size: .62rem; font-weight: 600; color: var(--accent); margin-bottom: 1px; }
.vid-thumb-title { font-size: .65rem; color: var(--white); line-height: 1.3; }

/* Lightbox unchanged */
.video-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.97); align-items: center;
  justify-content: center; flex-direction: column; padding: 1.5rem;
}
.video-lightbox.open { display: flex; }
.vlb-video { width: min(90vw,900px); max-height: 78vh; border-radius: var(--radius-md); outline: none; background: #000; }
.vlb-video.vert { width: min(50vh,380px); max-height: 80vh; }
.vlb-title { color: rgba(255,255,255,.65); font-family: var(--serif); font-style: italic; font-size: .9rem; margin-top: .9rem; text-align: center; }
.vlb-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.vlb-close:hover { background: rgba(255,255,255,.25); }

/* ═══════════════════════════════════════════════════
   COURSES — COMPACT CARDS
   ═══════════════════════════════════════════════════ */
#courses { background: var(--beige); padding: 5rem 5vw; }
.courses-top { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-bottom:2rem; }

.prereq-banner {
  background: rgba(28,43,94,.07); border: 1px solid rgba(28,43,94,.15);
  border-radius: var(--radius-md); padding: .65rem 1.1rem; margin-bottom: 1.5rem;
  font-size: .78rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center;
}
.prereq-banner strong { color: var(--navy); }
.prereq-sep { color: var(--beige-mid); }

/* ═══════════════════════════════════════════════════
   STICKY CTA BAR
   ═══════════════════════════════════════════════════ */
#sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--navy);
  border-top: 2px solid var(--accent);
  padding: .8rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 32px rgba(17,27,62,.35);
}
#sticky-cta.visible { transform: translateY(0); }
.sticky-cta-left { display:flex; align-items:center; gap:.8rem; }
.sticky-cta-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.sticky-cta-text p { font-size: .82rem; font-weight: 600; color: var(--white); margin: 0; }
.sticky-cta-text span { font-size: .72rem; color: rgba(255,255,255,.6); }
.sticky-cta-actions { display:flex; gap:.6rem; flex-wrap:wrap; }
.sticky-cta-btn {
  padding: .55rem 1.2rem; border-radius: 30px;
  font-size: .82rem; font-weight: 600; border: none; cursor: pointer;
  transition: filter .2s, transform .15s; white-space: nowrap;
}
.sticky-cta-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }
.sticky-cta-primary { background: var(--accent); color: var(--navy); }
.sticky-cta-secondary {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.sticky-cta-close {
  background: none; border: none; color: rgba(255,255,255,.4);
  cursor: pointer; font-size: 1.1rem; padding: 4px;
  flex-shrink: 0; transition: color .2s;
}
.sticky-cta-close:hover { color: var(--white); }
/* Zalo floating button */
#zalo-btn {
  position: fixed; right: 1.2rem; bottom: 5rem;
  z-index: 501;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: #0068FF;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,104,255,.4);
  text-decoration: none; font-size: .65rem; font-weight: 700;
  flex-direction: column; gap: 1px;
  transition: transform .2s, box-shadow .2s;
  opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .2s, box-shadow .2s;
}
#zalo-btn.visible { opacity: 1; pointer-events: all; }
#zalo-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(0,104,255,.5); }
#zalo-btn svg { width: 26px; height: 26px; }

/* ═══════════════════════════════════════════════════
   COURSE DETAIL MODAL
   ═══════════════════════════════════════════════════ */
#course-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,15,30,.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
#course-modal-overlay.open { display: flex; }
#course-modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 640px; max-height: 88vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(10,15,30,.4);
}
.cm-header {
  background: var(--navy); padding: 1.6rem 1.8rem;
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.cm-header-left h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin-bottom: .25rem; }
.cm-header-left p  { font-size: .8rem; color: rgba(255,255,255,.6); }
.cm-close {
  background: rgba(255,255,255,.15); border: none; color: var(--white);
  width: 34px; height: 34px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.cm-close:hover { background: rgba(255,255,255,.25); }
.cm-body { padding: 1.6rem 1.8rem; }
.cm-section { margin-bottom: 1.4rem; }
.cm-section-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy-light);
  margin-bottom: .7rem; display: flex; align-items: center; gap: 6px;
}
.cm-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cm-info-item {
  background: var(--beige); border-radius: var(--radius-sm);
  padding: .7rem .9rem;
}
.cm-info-item .lbl { font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.cm-info-item .val { font-size: .88rem; font-weight: 600; color: var(--navy); }
.cm-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.cm-syllabus { list-style: none; }
.cm-syllabus li {
  padding: .5rem 0; border-bottom: .5px solid var(--beige-dark);
  font-size: .87rem; color: var(--muted);
  display: flex; align-items: flex-start; gap: .5rem;
}
.cm-syllabus li:last-child { border-bottom: none; }
.cm-syllabus li::before { content: '✓'; color: var(--navy); font-weight: 700; flex-shrink: 0; }
.cm-outcome-box {
  background: rgba(28,43,94,.06); border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1rem;
  font-size: .87rem; color: var(--muted); line-height: 1.6;
}
.cm-outcome-box strong { color: var(--navy); }

.cm-footer {
  padding: 1.2rem 1.8rem; border-top: 1px solid var(--beige-dark);
  display: flex; gap: .8rem; flex-wrap: wrap;
  position: sticky; bottom: 0; background: var(--white); z-index: 2;
}
.cm-footer-btn {
  flex: 1; padding: .75rem; border-radius: 30px;
  font-size: .88rem; font-weight: 600; border: none; cursor: pointer;
  transition: filter .2s; white-space: nowrap; text-align: center; min-width: 140px;
}
.cm-footer-btn:hover { filter: brightness(1.08); }
.cm-btn-primary { background: var(--navy); color: var(--white); }
.cm-btn-zalo { background: #fff; color: #0068FF; }

/* ═══════════════════════════════════════════════════
   COURSE CARD COLOR STRIPS
   ═══════════════════════════════════════════════════ */
.course-card-v2 { border-top: 4px solid var(--beige-dark); }
#course-free  { border-top-color: #2E7D32; }
#course-bsg   { border-top-color: #1C2B5E; }
#course-hsge  { border-top-color: #E65100; }
#course-cert  { border-top-color: #6A1B9A; }
#course-toeic { border-top-color: #0D47A1; }
#course-ielts { border-top-color: #B71C1C; }
#course-comm   { border-top-color: #880E4F; }
#course-custom { border-top-color: #512DA8; }

.cc-course-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0; margin-bottom: .5rem;
}
#course-free  .cc-course-icon { background: #E8F5E9; }
#course-bsg   .cc-course-icon { background: rgba(28,43,94,.08); }
#course-hsge  .cc-course-icon { background: #FFF3E0; }
#course-cert  .cc-course-icon { background: #F3E5F5; }
#course-toeic .cc-course-icon { background: #E3F2FD; }
#course-ielts .cc-course-icon { background: #FFEBEE; }
#course-comm  .cc-course-icon { background: #FCE4EC; }

.cc-header-inner { display: flex; gap: 1rem; align-items: flex-start; }
.cc-header-content { flex: 1; min-width: 0; }

/* Step indicator between cards */
.course-step-connector {
  display: flex; align-items: center; gap: .6rem;
  padding: .3rem 1.6rem;
  font-size: .75rem; font-weight: 600; color: var(--muted);
  letter-spacing: .05em;
}
.course-step-connector::before,
.course-step-connector::after {
  content: ''; flex: 1; height: 1px; background: var(--beige-dark);
}

/* ═══════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════ */
#team { background: var(--white); padding: 5rem 5vw; }

.team-group { margin-bottom: 3rem; }
.team-group-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem;
}
.team-group-label::after { content: ''; flex: 1; height: 1px; background: var(--beige-dark); }
.team-group-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .35rem 1rem; border-radius: 20px; white-space: nowrap;
}
.tag-bod  { background: var(--navy); color: var(--white); }
.tag-comp { background: var(--accent); color: var(--navy); }
.tag-off  { background: var(--beige-dark); color: var(--muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}
.team-group.bod .team-grid {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
}

.team-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--beige-dark); background: var(--beige);
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card:hover .team-photo img { transform: scale(1.04); }

.team-photo {
  height: 300px; overflow: hidden; position: relative;
  background: var(--beige-dark);
}
.team-group.bod .team-photo { height: 320px; }
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  display: block; transition: transform .4s;
}

.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  background: linear-gradient(145deg, var(--beige-dark) 0%, var(--beige-mid) 100%);
}
.team-initials-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}

.team-body { padding: 1.4rem; }
.team-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.team-role {
  font-size: .78rem; color: var(--accent); font-weight: 600;
  margin-bottom: .7rem; letter-spacing: .02em;
}
.team-body p { font-size: .85rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 1rem; }
  .team-group.bod .team-grid { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; }
  .team-photo { height: 220px; }
  .team-group.bod .team-photo { height: 240px; }
}
@media (max-width: 480px) {
  .team-photo { height: 180px; }
  .team-group.bod .team-photo { height: 200px; }
  .team-body { padding: 1rem; }
  .team-body h3 { font-size: 1rem; }
  .team-body p { font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════════════════ */
#partners {
  background: var(--white);
  padding: 4rem 5vw;
  border-top: 1px solid var(--beige-dark);
}
.partners-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.partners-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 1rem;
}
.partners-label::before, .partners-label::after {
  content: ''; flex: 1; height: 1px; background: var(--beige-dark);
  width: 60px;
}
.partners-row {
  display: flex; align-items: center; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
}
.partner-card {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  text-decoration: none; transition: transform .2s, opacity .2s;
  opacity: .8;
}
.partner-card:hover { transform: translateY(-3px); opacity: 1; }
.partner-logo {
  width: 120px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  padding: 12px 16px;
}
.partner-logo svg { max-width: 100%; max-height: 100%; }
.partner-name {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  text-align: center; line-height: 1.3;
}

/* ── Video intro skip button ── */
.intro-skip-btn {
  position: absolute;
  bottom: 2rem; right: 2rem; z-index: 3;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  padding: .6rem 1.4rem; border-radius: 30px;
  cursor: pointer; backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .15s;
  display: flex; align-items: center; gap: 6px;
  animation: fadeSlideUp 1s ease .8s both;
}
.intro-skip-btn:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}
.intro-skip-btn svg {
  width: 14px; height: 14px; flex-shrink: 0;
}
/* Progress bar at bottom */
.intro-progress-bar-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,.1); z-index: 3;
}
.intro-progress-bar-fill {
  height: 100%; background: var(--accent,#E8B84B);
  width: 0%; transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

.cc-btn-row {
  display: flex; gap: 6px; margin-top: .9rem;
}
.cc-enroll {
  flex: 1; padding: .6rem; border-radius: 30px;
  font-size: .8rem; font-weight: 600; border: none; cursor: pointer;
  transition: filter .2s, transform .15s; white-space: nowrap; text-align: center;
}
.cc-enroll:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cc-btn-detail {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy) !important;
}
.cc-btn-detail:hover { background: var(--beige-dark); }
.cc-btn-enroll-main {
  background: var(--navy); color: var(--white);
}
.cc-btn-enroll-free {
  background: #2E7D32; color: var(--white);
}

.cc-pricing {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-top: 1px solid var(--beige-dark);
}
.cc-price-col { padding: 1rem 1.4rem; }
.cc-price-col:first-child { background: var(--beige); }
.cc-price-divider { background: var(--beige-dark); }
.cc-price-header {
  font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); margin-bottom:.8rem; display:flex; align-items:center; gap:6px;
}
.cc-price-rows { display:flex; flex-direction:column; gap:.5rem; }
.cc-price-row { display:flex; justify-content:space-between; align-items:center; gap:.5rem; }
.cc-price-label { font-size:.78rem; color:var(--muted); }
.cc-price-val { font-size:.88rem; font-weight:700; color:var(--navy); white-space:nowrap; }
.cc-price-combo {
  background:rgba(28,43,94,.06); border-radius:var(--radius-sm); padding:.3rem .7rem;
}
.cc-price-combo .cc-price-val { color:#2d6a4f; }

/* Button row below pricing table */
.cc-action-row {
  display: flex; gap: 8px;
  padding: .9rem 1.4rem 1rem;
  border-top: 1px solid var(--beige-dark);
  background: var(--white);
}
.cc-action-row .cc-btn-detail {
  flex: 1;
  padding: .65rem 1rem; border-radius: 30px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
  transition: background .2s, transform .15s;
  text-align: center;
}
.cc-action-row .cc-btn-detail:hover { background: var(--beige); transform: translateY(-1px); }
.cc-action-row .cc-btn-enroll {
  flex: 2;
  padding: .65rem 1rem; border-radius: 30px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  background: var(--navy); color: var(--white);
  border: none;
  transition: filter .2s, transform .15s;
  text-align: center;
}
.cc-action-row .cc-btn-enroll:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cc-action-row .cc-btn-enroll.free { background: #2E7D32; }

@media (max-width:640px) {
  .cc-pricing { grid-template-columns: 1fr; }
  .cc-price-divider { display: none; }
  .cc-price-col:first-child { border-bottom: 1px solid var(--beige-dark); }
}

/* ═══════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════ */
#faq { background: var(--white); padding: 4rem 5vw; }
.faq-grid { max-width: 720px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
  border: 1px solid var(--beige-dark); border-radius: var(--radius-md);
  overflow: hidden; transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q{width:100%;background:none;border:none;text-align:left;display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;font-size:.98rem;font-weight:600;color:var(--navy);cursor:pointer}
.faq-q:hover { background: var(--beige); }
.faq-icon { font-size: 1.1rem; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 1.2rem 1rem;
  font-size: .87rem; color: var(--muted); line-height: 1.7;
  border-top: 1px solid var(--beige-dark);
}
.faq-item.open .faq-a { display: block; }

/* Gallery slideshow — contain instead of cover, so portrait or
   differently-proportioned photos are never cropped. Background
   matches this section's existing beige-dark tone (#team-gallery
   uses var(--beige-dark), unlike #results which is dark navy). */
#team-gallery .slideshow { background: var(--beige-dark); }
#team-gallery .slide img { object-fit: contain; object-position: center; background: var(--beige-dark); }

#results .slideshow { background: #111827; }
#results .slide img {
  object-fit: contain;
  object-position: center;
  background: #111827;
}

/* ═══════════════════════════════════════════════════
   SECTION BACKGROUNDS (restored)
   ═══════════════════════════════════════════════════ */
#team     { background: var(--white);    padding: 5rem 5vw; }
#results  { background: var(--navy);     padding: 5rem 5vw; }
#results .label          { color: rgba(255,255,255,.5); }

#results h2              { color: var(--white); }
#results .section-intro  { color: rgba(255,255,255,.65); margin-bottom: 2rem; }
/* Proof slideshow dark bg so portrait images sit cleanly */
#results .slideshow      { background: #0d1322; }
#results .slide img      { object-fit: contain; object-position: center; background: #0d1322; }
#results .slide-caption  { background: linear-gradient(to top, rgba(10,15,30,.95), transparent); }

/* Full-width course card horizontal layout */
#course-free .cc-compact-top,
#course-cert .cc-compact-top,
#course-comm .cc-compact-top,
#course-custom .cc-compact-top {
  flex: 0 0 auto;
  min-width: 220px;
  max-width: 280px;
}
#course-free .cc-compact-body > *,
#course-cert .cc-compact-body > *,
#course-comm .cc-compact-body > *,
#course-custom .cc-compact-body > * {
  flex: 1;
  min-width: 180px;
}
#course-free .cc-sub,
#course-cert .cc-sub,
#course-comm .cc-sub {
  margin-top: .2rem;
}
@media (max-width: 640px) {
  #course-free .cc-compact-body,
  #course-cert .cc-compact-body,
  #course-comm .cc-compact-body,
  #course-custom .cc-compact-body {
    flex-direction: column !important;
  }
}

/* ── 3D Gallery Detail Panel ── */
.g3d-detail-wrap {
  margin-top: 2rem;
  min-height: 200px;
}
.g3d-detail-panel {
  animation: fadeUp .35s ease;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
.g3d-detail-inner {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  border: 1px solid var(--beige-dark);
  display: flex; flex-direction: column; gap: 1.2rem;
}
.g3d-detail-head {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding-left: 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.g3d-detail-points {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .5rem;
}
.g3d-detail-points li {
  font-size: .84rem; color: var(--muted); line-height: 1.55;
  padding: .5rem .7rem; background: var(--white);
  border-radius: var(--radius-sm); border-left: 2px solid var(--beige-mid);
  display: flex; align-items: flex-start; gap: 6px;
}
.g3d-detail-points li::before { content:'→'; color:var(--navy); flex-shrink:0; font-weight:700; }
@media (max-width:640px) {
  .g3d-detail-head { flex-direction:column; gap:.7rem; }
  .g3d-detail-points { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   SHARED HORIZONTAL 3D CAROUSEL
   ═══════════════════════════════════════════════════ */
.h3d-stage {
  perspective: 1100px;
  height: 360px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.h3d-track {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
}
.h3d-card {
  position: absolute;
  width: 320px;
  left: 50%; top: 50%;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.25,0.1,.25,1), visibility .5s;
  transform-origin: center center;
  user-select: none;
}
.h3d-inner {
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid var(--beige-dark);
  border-top: 4px solid var(--navy);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 6px 30px rgba(28,43,94,.1);
  min-height: 240px;
  display: flex; flex-direction: column; gap: .8rem;
  transition: box-shadow .3s;
}
.h3d-card.h3d-active .h3d-inner {
  box-shadow: 0 16px 50px rgba(28,43,94,.2);
}
.h3d-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.h3d-title{font-family:var(--serif);font-size:1.05rem;font-weight:700;color:var(--navy);line-height:1.3}
.h3d-sub { font-size: .78rem; color: var(--muted); }
.h3d-pills { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.h3d-pill {
  font-size: .68rem; font-weight: 600; padding: .2rem .6rem;
  border-radius: 20px; border: 1px solid var(--beige-dark);
  background: var(--beige); color: var(--navy);
}
.h3d-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.2rem;
}
.h3d-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  border: none; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.h3d-arrow:hover { background: var(--accent); color: var(--navy); transform: scale(1.08); }
.h3d-dots {
  display: flex; gap: 6px; align-items: center;
}
.h3d-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--beige-mid); border: none; cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.h3d-dot.active { background: var(--navy); transform: scale(1.3); }

/* Detail panel shared */
.h3d-detail-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  min-height: 180px;
}
.h3d-detail-panel {
  display: none;
  width: 100%;
  max-width: 720px;
  animation: fadeUp .35s ease;
}
.h3d-detail-panel.active { display: block; }
.h3d-detail-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--beige-dark);
  border-top: 4px solid var(--navy);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(28,43,94,.1);
}
/* Skill detail: desc + points side by side */
.h3d-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
  align-items: center;
}
/* Course detail: desc+tags left, price+buttons right */
.h3d-detail-course {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.h3d-detail-desc {
  font-size: .88rem; color: var(--muted);
  line-height: 1.72;
  font-weight: 500;
}
.h3d-detail-points {
  list-style: none;
  display: flex; flex-direction: column; gap: .4rem;
}
.h3d-detail-points li {
  font-size: .82rem; color: var(--navy); font-weight: 600; line-height: 1.5;
  padding: .5rem .8rem;
  background: var(--beige);
  border-radius: var(--radius-sm);
  border-left: 2.5px solid var(--navy);
  display: flex; gap: 7px;
}
.h3d-detail-points li::before {
  content: '→'; color: var(--navy); font-weight: 700; flex-shrink: 0;
}
.h3d-detail-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: .8rem;
}
.h3d-price-box {
  background: var(--beige);
  border-radius: var(--radius-sm);
  padding: .65rem .9rem;
  border: 1px solid var(--beige-dark);
}
.h3d-price-lbl { font-size: .68rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.h3d-price-val { font-size: .92rem; font-weight: 700; color: var(--navy); }
.h3d-price-val.combo { color: #2d6a4f; }
.h3d-detail-btns { display: flex; gap: 8px; }
.h3d-btn-outline {
  flex: 1; padding: .65rem; border-radius: 30px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
  transition: background .2s;
}
.h3d-btn-outline:hover { background: var(--beige); }
.h3d-btn-fill {
  flex: 2; padding: .65rem; border-radius: 30px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  background: var(--navy); color: var(--white);
  border: none; transition: filter .2s;
}
.h3d-btn-fill:hover { filter: brightness(1.1); }
.h3d-btn-green { background: #2E7D32; }
.h3d-detail-tags-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.h3d-detail-tag-pill {
  font-size: .72rem; font-weight: 700; padding: .25rem .75rem;
  border-radius: 20px; background: var(--navy);
  color: var(--white); border: none;
}
.h3d-free-badge {
  background: #E8F5E9; border-radius: var(--radius-sm);
  padding: .75rem; text-align: center;
  font-weight: 800; color: #1B5E20; font-size: 1.1rem;
  margin-bottom: .8rem; border: 1px solid #A5D6A7;
  letter-spacing: .02em;
}

@media (max-width: 640px) {
  .h3d-detail-body,
  .h3d-detail-course { grid-template-columns: 1fr; }
  .h3d-detail-inner { padding: 1.4rem; }
}

@media (max-width: 640px) {
  .h3d-stage { height: 280px; }
  .h3d-card { width: 260px; }
  .h3d-detail-inner { grid-template-columns: 1fr; }
}

/* ══ Products section ══ */
#bm-products { background: var(--navy); padding: 5rem 5vw; }
#bm-products h2 { color: var(--white); }

#bm-products .section-intro { color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product-card {
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  transition: background .2s, border-color .2s, transform .2s; cursor: pointer;
}
.product-card:hover { background: rgba(255,255,255,.09); border-color: var(--accent); transform: translateY(-3px); }
.product-card-head { display: flex; align-items: center; gap: 1rem; }
.product-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.product-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.product-tag { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 20px; display: inline-block; margin-top: .2rem; }
.product-desc { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.product-features { display: flex; flex-direction: column; gap: .45rem; }
.product-feat { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.product-feat::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.product-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.4rem; border-radius: 30px; font-size: .85rem; font-weight: 700; transition: filter .2s; margin-top: auto; width: fit-content; text-decoration: none; }
.product-cta-accent { background: var(--accent); color: var(--navy); }
.product-cta-accent:hover { filter: brightness(1.1); }
.product-cta-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.product-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
@media (max-width: 640px) { .products-grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .nav-cta { display: none; }
  nav { position: relative; }
}

.nav-menu-wrap{position:relative}
.nav-menu-btn{background:none;border:none;cursor:pointer;display:flex;align-items:center;gap:.45rem;font-size:.88rem;font-weight:600;color:var(--navy);padding:.35rem .6rem;border-radius:8px;transition:background .15s}
.nav-menu-btn:hover{background:rgba(28,43,94,.14)}
.nav-dropdown{position:absolute;top:calc(100% + 8px);left:0;background:var(--navy);border:1px solid rgba(255,255,255,.12);border-radius:12px;min-width:155px;padding:.45rem 0;box-shadow:0 12px 36px rgba(0,0,0,.3);z-index:1001;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s}
.nav-dropdown.open{opacity:1;visibility:visible;transform:none}
.nav-dropdown a{display:block;padding:.58rem 1.05rem;color:rgba(255,255,255,.75);font-size:.83rem;font-weight:500;cursor:pointer;transition:background .15s;text-decoration:none}
.nav-dropdown a:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-right{display:flex;align-items:center;gap:.55rem}

.nav-enroll{font-size:.83rem !important;padding:.44rem 1.1rem !important;white-space:nowrap}
@media(max-width:760px){.nav-tool-btns-wrap,.nav-tool-btn{display:none}.nav-enroll{font-size:.78rem !important}.nav-dropdown-tools{display:flex}.ndt-voice,.ndt-words,.ndt-overseas{display:flex}}
.eco-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-top:3px solid;border-radius:20px;padding:1.85rem;cursor:pointer;transition:transform .2s,background .2s;display:flex;flex-direction:column;gap:.85rem}
.eco-card:hover{background:rgba(255,255,255,.1);transform:translateY(-5px)}
.eco-icon{width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}
.eco-name{font-size:1.15rem;font-weight:700;color:#fff;letter-spacing:.01em}
.eco-tag{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;padding:.18rem .55rem;border-radius:20px}
.eco-desc{font-size:.88rem;color:rgba(255,255,255,.65);line-height:1.72;margin:0}
.eco-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.38rem}
.eco-list li{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:rgba(255,255,255,.58)}
.eco-list li span{font-weight:700;flex-shrink:0}
.section-label{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--navy);margin-bottom:.75rem}
.section-title{font-family:var(--serif);font-size:clamp(2.4rem,4.5vw,3.5rem);font-weight:800;color:var(--navy);line-height:1.08;margin-bottom:.65rem;letter-spacing:-.01em}
.section-title.on-dark{color:#fff}
.section-desc{font-size:.88rem;font-weight:400;color:var(--muted);line-height:1.78;max-width:580px}

/* Labels on dark backgrounds */
.label.on-dark,.section-label.on-dark{color:rgba(255,255,255,.75)}
.label.on-dark::before,.section-label.on-dark::before{opacity:.55}
/* Dash before label */
.label::before,.section-label::before{content:"— ";font-weight:400;color:inherit;opacity:.55;display:inline}
/* Hero eyebrow stays accent */
.hero-label{color:var(--navy) !important}
.hero-label::before{display:none}

/* Team card contrast */
.team-body h3{font-family:var(--serif);font-size:1.1rem;font-weight:800;color:var(--navy);margin:0 0 .15rem;letter-spacing:-.01em}
.team-body p{font-size:.83rem;color:var(--ink);line-height:1.7;margin:0}
.team-body{padding:1.1rem 1.25rem 1.25rem}

.eco-subtitle{font-size:.78rem;color:rgba(255,255,255,.5);font-weight:400;margin-top:.15rem;letter-spacing:.01em}

/* ── Colored tool buttons (desktop) ── */
.nav-tool-btn{font-size:.8rem;font-weight:700;padding:.38rem .85rem;border-radius:20px;border:1.5px solid;text-decoration:none;transition:all .18s;white-space:nowrap;display:inline-flex;align-items:center}
.nav-voice{color:#C9941A;border-color:rgba(232,184,75,.5);background:rgba(232,184,75,.1)}
.nav-voice:hover{background:rgba(232,184,75,.25);border-color:var(--accent);color:#926d00}
.nav-words{color:#2E7D32;border-color:rgba(76,175,80,.45);background:rgba(76,175,80,.08)}
.nav-words:hover{background:rgba(76,175,80,.18);border-color:#4CAF50}
.nav-overseas{color:#1565C0;border-color:rgba(33,150,243,.45);background:rgba(33,150,243,.08)}
.nav-overseas:hover{background:rgba(33,150,243,.18);border-color:#2196F3}

/* Tool links inside dropdown (mobile only) */
.nav-dropdown-tools{display:none;flex-direction:column;border-top:1px solid rgba(255,255,255,.1);margin-top:.35rem;padding-top:.35rem}
.ndt-voice,.ndt-words,.ndt-overseas{padding:.52rem 1.05rem;font-size:.83rem;font-weight:600;text-decoration:none}
.ndt-voice{color:#E8B84B}
.ndt-words{color:#4CAF50}
.ndt-overseas{color:#64B5F6}
.ndt-voice:hover{background:rgba(232,184,75,.1)}
.ndt-words:hover{background:rgba(76,175,80,.08)}
.ndt-overseas:hover{background:rgba(33,150,243,.08)}

/* Mobile: hide tool buttons, show in dropdown, no hamburger */
@media(max-width:760px){
  .nav-tool-btn{display:none}
  .nav-enroll{font-size:.78rem !important;padding:.38rem .85rem !important}
  .nav-dropdown-tools{display:flex}
}

/* ── Language toggle ── */
.lang-toggle{display:flex;align-items:center;gap:2px;margin-right:.5rem;flex-shrink:0}
.lang-btn{background:none;border:none;color:rgba(255,255,255,.45);font-size:.72rem;font-weight:700;cursor:pointer;font-family:var(--sans);padding:.2rem .3rem;letter-spacing:.04em;transition:color .15s}
.lang-btn.active{color:var(--white)}
.lang-sep{color:rgba(255,255,255,.25);font-size:.65rem}

a.eco-card{display:flex;flex-direction:column;gap:.85rem;text-decoration:none}
a.eco-card:hover{text-decoration:none}

.eco-pill-btn{
  display:inline-flex;align-items:center;gap:.35rem;
  align-self:flex-start;
  padding:.38rem .9rem;border-radius:20px;
  font-size:.78rem;font-weight:700;letter-spacing:.02em;
  text-decoration:none;transition:opacity .15s,transform .12s;
  margin-top:.4rem;white-space:nowrap;cursor:pointer;
}
.eco-pill-btn:hover{opacity:.88;transform:translateX(2px)}

/* ── Language Toggle — Sticky CTA (redesigned) ── */
.lang-toggle{display:flex;align-items:center;gap:3px;margin-right:.4rem;flex-shrink:0;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.25);border-radius:20px;padding:3px 5px}
.lang-btn{background:none;border:none;color:rgba(255,255,255,.6);font-size:.72rem;font-weight:700;cursor:pointer;font-family:var(--sans);padding:.25rem .5rem;letter-spacing:.05em;border-radius:14px;transition:all .18s}
.lang-btn.active{background:rgba(255,255,255,.92);color:var(--navy)}
.lang-sep{display:none}

/* ── Language Toggle — Navbar ── */
.nav-lang-wrap{display:flex;align-items:center;gap:2px;background:var(--navy);border:1.5px solid var(--navy);border-radius:20px;padding:3px 4px;margin-right:.4rem}
.nav-lang-btn{background:none;border:none;color:rgba(255,255,255,.55);font-size:.72rem;font-weight:700;cursor:pointer;font-family:var(--sans);padding:.25rem .55rem;letter-spacing:.05em;border-radius:14px;transition:all .18s;white-space:nowrap}
.nav-lang-btn.active{background:#fff;color:var(--navy)}
.nav-lang-sep{color:rgba(255,255,255,.3);font-size:.65rem;padding:0 1px}

/* Scrolled navbar: keep same pill style */
#navbar.scrolled .nav-lang-wrap{background:var(--navy);border-color:var(--navy)}
#navbar.scrolled .nav-lang-btn{color:rgba(255,255,255,.6)}
#navbar.scrolled .nav-lang-btn.active{background:#fff;color:var(--navy)}

/* Mobile: hide nav-lang-wrap (use sticky CTA instead) */
@media(max-width:760px){
  .nav-lang-wrap{display:none}
}


.proof-feat-title, .cm-title, #cm-title {font-family:var(--serif);font-weight:900;letter-spacing:-.02em}
.h3d-sub{font-family:var(--sans);font-size:.78rem;color:var(--muted);margin-top:.2rem;letter-spacing:.01em}
.footer-logo + p, footer p{font-family:var(--sans);font-size:.82rem}
.eco-subtitle{font-family:var(--sans);font-size:.78rem;font-weight:600;opacity:.75;letter-spacing:.03em}

/* Refined hero em (accent word) */
.hero-h1-em{color:var(--accent);font-style:italic;letter-spacing:-.01em}

/* Section title on-dark keeps same weight */
.section-title.on-dark{color:#fff}


.cm-header h3, #cm-title{font-family:var(--serif);font-weight:800;letter-spacing:-.01em}
.tl-title{font-family:var(--serif);font-size:.95rem;font-weight:800;letter-spacing:-.01em}
.h3d-sub{font-family:var(--sans);font-size:.78rem;color:var(--muted);margin-top:.2rem}
.nav-dropdown a{font-family:var(--serif);font-size:.88rem;font-weight:700}
.h3d-detail-tag-pill{font-family:var(--sans);font-size:.72rem;font-weight:600}
.hero-h1-em{font-family:var(--serif);font-weight:700;color:var(--accent);font-style:normal;letter-spacing:-.02em}
.section-title.on-dark{color:#fff}

/* ── Ecosystem Nav ── */
.nav-links-main{display:flex;align-items:center;gap:.25rem;flex:1;justify-content:center}
.nav-link{font-family:var(--sans);font-size:.85rem;font-weight:600;color:var(--navy);padding:.4rem .8rem;border-radius:8px;text-decoration:none;transition:background .15s,color .15s;white-space:nowrap}
.nav-link:hover{background:rgba(28,43,94,.07)}
.nav-link-lab{color:var(--accent);background:rgba(232,184,75,.1);border:1.5px solid rgba(232,184,75,.4)}
.nav-link-lab:hover{background:rgba(232,184,75,.2)}
.nav-link-services{color:#1565C0;background:rgba(33,150,243,.08);border:1.5px solid rgba(33,150,243,.3)}
.nav-link-services:hover{background:rgba(33,150,243,.15)}
/* Hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:.4rem}
.hamburger span{display:block;width:22px;height:2px;background:var(--navy);border-radius:2px;transition:all .2s}
/* Mobile Nav */
.mobile-nav{display:none;flex-direction:column;gap:.25rem;padding:.75rem 1.25rem 1rem;background:#fff;border-top:1px solid var(--beige-dark)}
.mobile-nav a{font-size:.9rem;font-weight:600;color:var(--navy);padding:.5rem .25rem;text-decoration:none;border-bottom:1px solid rgba(28,43,94,.06)}
.mobile-nav.open{display:flex}
.mob-lang-wrap{display:flex;align-items:center;gap:.5rem;padding:.6rem .25rem}
.mob-lang-wrap button{background:none;border:1.5px solid var(--navy);color:var(--navy);font-size:.75rem;font-weight:700;cursor:pointer;padding:.3rem .6rem;border-radius:12px}
.mob-enroll{background:var(--accent);color:var(--navy)!important;border-radius:20px!important;padding:.55rem 1.2rem!important;font-weight:700!important;text-align:center;margin-top:.5rem;border-bottom:none!important}
@media(max-width:820px){
  .nav-links-main{display:none}
  .nav-tool-btn{display:none}
  .hamburger{display:flex}
  .nav-lang-wrap{display:none}
}


/* Twemoji — must render at the same size/alignment as native emoji text */
img.emoji{height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em;display:inline-block}
