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

:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Be Vietnam Pro', sans-serif;
  
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-900: #1e3a8a;
  
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  
  --dark: #0f172a;
  --dark-light: #1e293b;
  --text-main: #334155;
  --text-muted: #64748b;
  
  --surface-color: #ffffff;
  --bg-light: #f8fafc;
  
  --container-max: 1200px;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Reset & Language Logic */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; color-scheme: light; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--surface-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

body.lang-en [lang="vi"] { display: none !important; }
body.lang-vi [lang="en"] { display: none !important; }

/* Typography */
h1, h2, h3, h4, .font-heading { font-family: var(--font-heading); color: var(--dark); font-weight: 700; line-height: 1.2; }
img { width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

.container { max-width: var(--container-max); margin: 0 auto; padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
.container-xl { max-width: 1400px; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 3rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 3rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--dark); }
.py-lg { padding: 5rem 0; }

.section { padding: 6rem 0; position: relative; scroll-margin-top: 80px; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.5rem); margin-bottom: 1rem; color: var(--dark); text-wrap: balance; }
.subtitle { font-size: 1.125rem; color: var(--text-muted); font-weight: 500; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 0.875rem 1.75rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-body);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer; border: none; text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--primary-600); color: #fff; box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { background: var(--primary-700); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4); color: #fff;}
.btn-secondary { background: #fff; color: var(--primary-900); box-shadow: 0 8px 16px rgba(0,0,0,0.05); }
.btn-secondary:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.w-full { width: 100%; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0; transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--primary-900); }
.logo-img { 
  height: 50px; 
  width: auto; 
  object-fit: contain; 
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.navbar.scrolled .logo { color: var(--dark); }

.nav-menu { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a { font-weight: 500; font-size: 0.88rem; color: var(--text-main); position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--primary-600); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px;
  background: var(--primary-600); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.btn-contact { background: var(--primary-500); color: #fff !important; padding: 0.45rem 1rem; border-radius: 99px; font-size: 0.85rem; white-space: nowrap; }
.btn-contact::after { display: none !important; }
.btn-contact:hover { background: var(--primary-700); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(37,99,235,0.3); }

/* Language Switcher */
.lang-switcher {
  background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.1); border-radius: 99px;
  padding: 0.35rem 0.75rem; display: flex; gap: 0.5rem; font-weight: 600;
  font-family: var(--font-heading); cursor: pointer; color: var(--text-muted); font-size: 0.85rem;
  transition: background 0.2s;
}
.lang-switcher:hover { background: #fff; }
.lang-en-text, .lang-vi-text { transition: color 0.2s; }
.lang-en-text.active, .lang-vi-text.active { color: var(--primary-600); }
.divider { color: #cbd5e1; }

.menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1070; position: relative; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: var(--dark); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* Hero */
/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: max(125px, 12vh);
  padding-bottom: max(75px, 8vh);
  background-color: var(--primary-50);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(239, 246, 255, 0) 100%);
  overflow: visible; /* Prevent clipping at top */
}
.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background-image: url('./assets/images/hero-banner.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

.hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
  position: relative;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 620px;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--primary-900);
  line-height: 1.15;
  text-align: left;
}
.text-gradient {
  background: linear-gradient(120deg, var(--primary-700), var(--primary-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-content h1 span.text-gradient {
  background: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  -webkit-text-fill-color: inherit;
}

.hero-subhead {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--primary-700);
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-family: var(--font-heading);
}
.hero-content p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1.6;
  max-width: 90%;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-start; margin-top: 0.5rem; }
.btn-lg { padding: 0.75rem 1.4rem; font-size: 0.95rem; border-radius: 999px; white-space: nowrap; }
.btn-outline { background: #fff; border: 2px solid var(--primary-200); color: var(--primary-600); font-weight: 600; display: inline-flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.2s; border-radius: 999px; padding: 0.75rem 1.4rem; font-family: var(--font-body); white-space: nowrap; }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-700); border-color: var(--primary-300); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* Stats Banner Styling */
.hero-stats-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transform: translateY(50%);
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}
.hero-stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  width: 100%;
  max-width: 950px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.stat-item { display: flex; align-items: center; gap: 0.75rem; flex: 1; justify-content: center; }
.stat-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 50%;
  color: var(--primary-600);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.stat-text { display: flex; flex-direction: column; }
.stat-text strong { color: var(--primary-900); font-size: 1.05rem; font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }
.stat-text span { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; white-space: nowrap; margin-top: 0.1rem; }
.stat-divider { width: 1px; height: 35px; background: rgba(0,0,0,0.1); margin: 0 0.5rem; }

/* Grid Utils */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.align-center { align-items: center; }
.rounded-img { border-radius: var(--radius-lg); object-fit: cover; }
.shadow-lg { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }

/* About Section */
.about-image-wrapper { height: 100%; }
.about-image-wrapper img { height: 100%; object-fit: cover; }
.highlight-text { font-size: 1.25rem; font-family: var(--font-heading); color: var(--primary-600); font-weight: 500; border-left: 4px solid var(--accent); padding-left: 1.5rem; margin-top: 2rem; }
.about-text-wrapper p { margin-bottom: 1.25rem; font-size: 1.1rem; color: var(--text-main); line-height: 1.7; }

/* Hero Text Card Styling */
.hero-text-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero-text-card p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem !important;
  color: #334155;
  line-height: 1.55;
}
.hero-text-card p:last-child {
  margin-bottom: 0;
}

.card-header-with-icon {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.25rem;
  align-items: flex-start;
}

.header-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 0.15rem;
}

.header-icon i {
  color: var(--primary-600);
  font-size: 1rem;
}

.text-highlight {
  color: var(--primary-700);
  font-weight: 700;
}



/* Vision & Mission Cards */
.cards-container { gap: 2rem; }
.info-card {
  background: #fff; padding: 3rem; border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform var(--transition), box-shadow var(--transition); border: 1px solid rgba(0,0,0,0.02);
}
.info-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; background: var(--primary-50); width: 80px; height: 80px; display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; }
.card-icon i { font-size: 2rem; color: var(--primary-600); }
.card-title { font-size: 1.5rem; margin-bottom: 1rem; }

/* Founder Section Redesign */
.founder-new-section { position: relative; padding: 6rem 0; background-color: #ffffff; }
.founder-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 4.5rem;
  align-items: flex-start;
}
.founder-sidebar {
  display: flex;
  flex-direction: column;
}
.founder-portrait {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center 10%;
  border-radius: var(--radius-lg);
  display: block;
}
.founder-quote {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}
.founder-quote .quote-icon i {
  color: var(--primary-600);
  font-size: 2rem;
  line-height: 1;
}
.quote-content .quote-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.6;
}
.quote-content .quote-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 0.75rem;
}
.founder-story p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}
.mb-sm { margin-bottom: 0.5rem; }

/* Team Section */
.team-section { background: var(--dark); position: relative; overflow: hidden; padding: 7rem 0; }
.team-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(59,130,246,0.12), transparent 60%); }
.team-section::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent); pointer-events: none; z-index: 1; }
.subtitle-blur { opacity: 0.8; font-size: 1.15rem; }

/* Team Badge */
.team-badge {
  display: inline-block; padding: 0.45rem 1.25rem; border-radius: 99px;
  background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1.25rem; font-family: var(--font-heading);
}

.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
  z-index: 2; position: relative; text-align: left;
}

/* Team Cards */
.team-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s, border-color 0.4s;
  position: relative;
}
.team-group:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Accent Bar at Top of Card */
.team-card-accent {
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
  transition: height 0.3s;
}
.team-group:hover .team-card-accent { height: 5px; }
.team-card-accent.accent-emerald { background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7); }
.team-card-accent.accent-violet { background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c4b5fd); }

.team-card-content { padding: 2rem 2rem 2.25rem; }

/* Group Header */
.group-header { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.group-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(59, 130, 246, 0.12); flex-shrink: 0;
}
.group-icon i { font-size: 1.35rem; color: #60a5fa; }
.group-icon.icon-emerald { background: rgba(16, 185, 129, 0.12); }
.group-icon.icon-emerald i { color: #34d399; }
.group-icon.icon-violet { background: rgba(139, 92, 246, 0.12); }
.group-icon.icon-violet i { color: #a78bfa; }

.team-group h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0; flex: 1; min-width: 0; }
.member-count {
  font-size: 0.75rem; color: #64748b; font-weight: 500; font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.06); padding: 0.2rem 0.65rem; border-radius: 99px;
  white-space: nowrap;
}

.group-desc { color: #94a3b8; font-size: 0.9rem; margin-bottom: 0; line-height: 1.55; }

/* Team Divider */
.team-divider {
  height: 1px; margin: 1.25rem 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Sub-group Labels */
.sub-group-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: #475569; margin-bottom: 0.75rem; font-family: var(--font-heading);
}

/* Leader Highlight */
.member-section { margin-bottom: 0.75rem; }
.member-leader {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.85rem; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); margin-bottom: 0.5rem;
  transition: background 0.25s;
}
.member-leader:hover { background: rgba(255, 255, 255, 0.08); }
.member-leader strong { color: #fff; font-size: 0.95rem; display: block; font-family: var(--font-heading); }
.leader-indicator {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(59, 130, 246, 0.2); flex-shrink: 0;
}
.leader-indicator i { font-size: 0.7rem; color: #60a5fa; }
.leader-indicator.indicator-emerald { background: rgba(16, 185, 129, 0.2); }
.leader-indicator.indicator-emerald i { color: #34d399; }
.leader-indicator.indicator-violet { background: rgba(139, 92, 246, 0.2); }
.leader-indicator.indicator-violet i { color: #a78bfa; }

/* Role Badge */
.role-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.15rem 0.55rem; border-radius: 4px; margin-top: 0.15rem;
  background: rgba(59, 130, 246, 0.15); color: #93c5fd;
}
.role-badge.badge-emerald { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.role-badge.badge-violet { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; }

/* Member List */
.member-list li {
  color: #94a3b8; margin-bottom: 0; font-size: 0.9rem;
  padding: 0.45rem 0.85rem; padding-left: 2.1rem; position: relative;
  border-radius: 6px; transition: background 0.2s, color 0.2s;
}
.member-list li:hover { background: rgba(255,255,255,0.03); color: #cbd5e1; }
.member-list li::before {
  content: ''; position: absolute; left: 1.1rem; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(148, 163, 184, 0.4); transform: translateY(-50%);
  transition: background 0.2s;
}
.member-list li:hover::before { background: var(--primary-500); }
.member-list li strong { color: #e2e8f0; }

/* Services */
.services-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-box {
  background: #fff; padding: 2.5rem; border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03); border-top: 4px solid var(--primary-500); transition: transform 0.3s, box-shadow 0.3s;
}
.service-box:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
.svc-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.svc-icon i { font-size: 2.5rem; color: var(--primary-500); }
.svc-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.service-box ul li { display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 1.05rem; }
.service-box ul li::before { content: '✓'; color: var(--success, #10b981); font-weight: bold; }

/* Program Cards */
.program-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  border-top: 4px solid var(--primary-500);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.program-icon {
  width: 70px; height: 70px; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary-600);
  border-radius: 20px; font-size: 2.2rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.program-card:hover .program-icon {
  transform: scale(1.05) rotate(-5deg);
  background: var(--primary-600); color: #fff;
}
.program-card h3 {
  font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--primary-900); min-height: 3.5rem;
}
.program-list {
  flex: 1; margin: 0; padding: 0; list-style: none; text-align: left;
}
.program-list li {
  position: relative; padding-left: 1.75rem; margin-bottom: 0.85rem;
  font-size: 0.95rem; color: var(--text-main); line-height: 1.6;
}
.program-list li::before {
  content: '\f00c'; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 0.2rem; color: var(--primary-500); font-size: 0.85rem;
}

.program-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.program-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--primary-100);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-700);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.program-link:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.program-link i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.program-link:hover i {
  transform: translateX(3px);
}

/* Card Themes */
.program-card-blue { border-top-color: var(--primary-500); }

.program-card-amber { border-top-color: var(--accent); }
.program-card-amber .program-icon { background: rgba(245, 158, 11, 0.1); color: var(--accent); }
.program-card-amber:hover .program-icon { background: var(--accent); color: #fff; }
.program-card-amber h3 { color: #b45309; }

.program-card-emerald { border-top-color: #10b981; }
.program-card-emerald .program-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.program-card-emerald:hover .program-icon { background: #10b981; color: #fff; }
.program-card-emerald h3 { color: #047857; }

.program-card-violet { border-top-color: #8b5cf6; }
.program-card-violet .program-icon { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.program-card-violet:hover .program-icon { background: #8b5cf6; color: #fff; }
.program-card-violet h3 { color: #5b21b6; }
.program-card-violet .program-list li::before { color: #8b5cf6; }
.program-card-emerald .program-list li::before { color: #10b981; }
.program-card-amber .program-list li::before { color: var(--accent); }

/* Process Section */
.process-label {
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  display: inline-block;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  text-align: center;
}
.process-label-amber { background: var(--accent); }
.process-label-glass { background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); }

.process-steps { position: relative; }
.process-steps::before {
  content: ''; position: absolute; left: 1.25rem; top: 1rem; bottom: 1rem;
  width: 2px; background: rgba(37, 99, 235, 0.15);
}
.step-item { display: flex; gap: 1.5rem; position: relative; z-index: 1; }
.step-number {
  width: 2.75rem; height: 2.75rem; min-width: 2.75rem; border-radius: 50%;
  background: var(--primary-600); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem;
  box-shadow: 0 0 0 6px #fff;
}
.step-content { padding-top: 0.4rem; }
.highlight-list li {
  display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem;
  font-size: 0.95rem; line-height: 1.5;
}
.highlight-list li i {
  color: #93c5fd; margin-top: 0.25rem; font-size: 0.85rem;
}
.simple-list li {
  position: relative; padding-left: 1rem; margin-bottom: 0.5rem; font-size: 0.9rem;
}
.simple-list li::before {
  content: '•'; position: absolute; left: 0; color: #93c5fd;
}

/* Commitment Redesign */
.bg-paper {
  background-color: #fcfbf8;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}
.commitment-section {
  position: relative;
  padding: 6rem 0 8rem;
  overflow: hidden;
}
.commitment-corner-dark {
  position: absolute;
  top: 0; left: 0;
  width: clamp(150px, 30vw, 350px);
  height: clamp(150px, 30vw, 350px);
  background: #000;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}
.commitment-badge {
  position: absolute;
  top: 0; left: 8%;
  width: clamp(200px, 25vw, 280px);
  height: clamp(300px, 35vw, 380px);
  background: #edc84b;
  border-radius: 0 0 140px 140px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.badge-logo { text-align: center; }
.badge-logo-img { 
  width: 100%; 
  max-width: 200px; 
  height: auto; 
  object-fit: contain; 
  margin-top: -15px; 
  image-rendering: -webkit-optimize-contrast;
}
.badge-logo .earth-icon {
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: #1a365d;
  margin-bottom: -15px;
}
.badge-logo .book-icon {
  font-size: clamp(2rem, 3vw, 3rem);
  color: #064e3b;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}
.badge-logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
  color: #000;
  margin-bottom: 0.5rem;
}
.badge-logo-sub {
  font-size: clamp(0.45rem, 0.8vw, 0.6rem);
  font-weight: 700;
  color: #000;
  letter-spacing: 0.05em;
}
.container-commitment { position: relative; z-index: 3; }
.commitment-main-content {
  padding-left: clamp(200px, 38%, 500px);
  padding-top: 2rem;
}
.commitment-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  text-shadow: 6px 6px 0px rgba(0,0,0,0.05);
}
.text-balance { text-wrap: balance; }

.commitment-title::after {
  content: '';
  position: absolute;
  top: 48%;
  left: 30%;
  width: 140%;
  height: 2px;
  background: transparent;
  box-shadow: -8px -8px 15px rgba(0,0,0,0.15);
  transform: rotate(-10deg);
  z-index: -1;
}
.commitment-bullets {
  list-style: none;
  margin-left: 0;
  padding-right: 2rem;
}
.commitment-bullets li {
  position: relative;
  font-size: 1.15rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-left: 2rem;
  line-height: 1.6;
}
.commitment-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
}
.p-xl { padding: 4rem; }
.rounded-3xl { border-radius: 2.5rem; }

/* Contact */
.contact-section { margin-top: -4rem; z-index: 10; position: relative; }
.bg-primary { background: var(--primary-700); }
.contact-info-panel h2 { color: #fff; margin-bottom: 1rem; }
.c-item { display: flex; gap: 1rem; align-items: center; }
.c-icon { background: rgba(255,255,255,0.2); width: 48px; height: 48px; min-width: 48px; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; color: #fff; line-height: 1; }
.c-icon i { font-size: 1.25rem; line-height: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.c-item span { display: block; font-size: 0.85rem; opacity: 0.8; }
.c-item strong { display: block; font-size: 1.1rem; color: #fff; overflow-wrap: break-word; }

.contact-form-panel { padding: 4rem; }
.input-group { position: relative; margin-bottom: 1.25rem; }
.input-group input, .input-group textarea {
  width: 100%; border: 1px solid var(--primary-100); border-radius: 12px; background: #f8fafc;
  padding: 1.5rem 1rem 0.5rem 1.25rem; font-family: inherit; font-size: 1rem; color: var(--dark); 
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.input-group input:hover, .input-group textarea:hover {
  border-color: var(--primary-300); background: #fff;
}
.input-group input:focus-visible, .input-group textarea:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: -1px;
}
.input-group input:focus, .input-group textarea:focus { 
  border-color: var(--primary-500); background: #fff; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08); 
}
.input-group label {
  position: absolute; left: 1.25rem; top: 1.15rem; color: var(--text-muted); font-size: 1rem; pointer-events: none; 
  transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease, left 0.3s ease;
}
.input-group:hover label {
  color: var(--text-main);
}
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem; font-size: 0.75rem; color: var(--primary-600); font-weight: 600;
}
.input-group input::placeholder, .input-group textarea::placeholder {
  color: transparent; transition: color 0.3s;
}
.input-group input:focus::placeholder, .input-group textarea:focus::placeholder {
  color: #94a3b8;
}
.input-group textarea {
  padding-top: 1.6rem; min-height: 120px; resize: vertical;
}

/* Footer */
.footer { padding: 4rem 0 2rem; background: #0f172a; color: #cbd5e1; border-top: 1px solid rgba(255,255,255,0.05); }
.bg-dark-eval { background-color: #0f172a; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { color: #fff; }
.logo-img-footer { 
  height: 64px; 
  width: auto; 
  object-fit: contain; 
  filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 1px rgba(255,255,255,0.3));
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.footer-contact a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact i {
  color: var(--primary-500);
  width: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
}

.footer .text-muted { color: #94a3b8 !important; }
.text-accent { color: var(--accent); }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Support Widget */
.support-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.support-popup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  width: 260px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: bottom right;
}

.support-widget.open .support-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.support-popup-header h4 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 700;
}

.support-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}

.support-close:hover {
  color: #64748b;
}

.support-popup-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: #334155;
  transition: transform 0.2s, background 0.2s;
  padding: 0.5rem;
  border-radius: 12px;
}

.support-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.support-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.phone-icon {
  background: #fef3c7;
  color: #475569;
}

.zalo-icon {
  background: white;
  color: #0068ff;
}

.support-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: #334155;
}

.support-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-support 2s infinite;
}

.support-btn:hover {
  transform: scale(1.05);
  background: var(--primary-700);
  box-shadow: 0 6px 16px rgba(37,99,235,0.5);
  animation: none;
}

.support-widget.open .support-btn {
  animation: none;
}

@keyframes pulse-support {
  0% { box-shadow: 0 0 0 0 rgba(37,99,235,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37,99,235,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Design */
/* Nav hamburger menu for tablet + mobile */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
    background: #fff; flex-direction: column; justify-content: flex-start;
    padding-top: 6rem; padding-bottom: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s; z-index: 1000;
    overscroll-behavior: contain; overflow-y: auto;
  }
  .nav-menu.active { right: 0; }
  .lang-switcher { margin-top: 1.5rem; align-self: center; }
  .nav-links { flex-direction: column; width: 100%; text-align: center; }
  .nav-links a { font-size: 1.25rem; display: block; padding: 1rem; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

@media (max-width: 1024px) {
  .hero-container, .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .founder-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-portrait { height: 400px; max-height: 500px; min-height: auto; }
  .founder-portrait {
    max-width: 100%;
    height: auto; /* Ensures aspect ratio is maintained */
    width: auto; /* Overrides any fixed width, works with max-width */
    display: block; /* Allows margin: auto to center the element */
    margin: 0 auto; /* Centers the image horizontally */
    /* Keep your existing border-radius if it's not already covered by this */
    /* border-radius: var(--radius-xl); */
}
  .grid-2.cards-container { grid-template-columns: 1fr; }
  .team-grid, .services-timeline { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 0px; display: flex; flex-direction: column; min-height: auto; align-items: center; justify-content: center; }
  .hero-bg-image { 
    width: 100%; 
    height: 100%; 
    opacity: 0.15; 
    background-size: cover; 
    background-position: center center; 
    -webkit-mask-image: none; 
    mask-image: none; 
  }
  .hero-container { justify-content: center; text-align: center; display: flex; padding-top: 0; padding-bottom: 40px; }
  .hero-content { align-items: center; max-width: 100%; z-index: 2; position: relative; }
  .hero-content h1, .hero-subhead { text-align: center; }
  .hero-content > p { text-align: center; max-width: 100%; margin-bottom: 1.5rem; }
  .hero-text-card { text-align: left; }
  .hero-text-card p { text-align: left !important; }
  .hero-actions { justify-content: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .hero-stats-wrapper { position: relative; bottom: auto; transform: none; margin-top: 0px; padding-bottom: 40px; display: flex; width: 100%; z-index: 2; }
  .hero-stats-banner { flex-wrap: wrap; gap: 1.5rem 0; justify-content: space-around; padding: 1.5rem; border-radius: 16px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.05); width: 100%; }
  .stat-divider { display: none; }
  .stat-item { flex-basis: 45%; justify-content: flex-start; }
  .commitment-main-content { padding-left: 0; padding-top: 24rem; text-align: center; }
  .commitment-badge { left: 50%; transform: translateX(-50%); width: 240px; }
  .commitment-title::after { display: none; }
  .commitment-bullets li { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {

  .team-grid, .services-timeline, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .about-image-wrapper { display: none; }
  .contact-form-panel { padding: 2.5rem; }
  .p-xl { padding: 2rem; }
  .commitment-main-content { padding-top: 20rem; }
  .commitment-badge { width: 200px; height: 300px; }
  .badge-logo-title { font-size: 1.3rem; }
  .commitment-title { font-size: clamp(2rem, 10vw, 3rem); }
  .commitment-bullets li { font-size: 1.05rem; }

  /* Hero Mobile Refinements */
  .hero-text-card {
    padding: 1.25rem 1rem;
  }
  .hero-text-card p {
    font-size: 0.88rem !important;
  }
  .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    gap: 0.35rem;
  }
  .hero-actions .btn {
    flex: 1;
    padding: 0.7rem 0.2rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    min-width: 0;
  }
  .hero-actions .btn:last-child {
    flex: 1;
  }

  .hero-stats-banner { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.25rem 1rem; 
    padding: 1.5rem 1rem; 
  }
  .stat-item { 
    flex-basis: auto; 
    flex-direction: column; 
    text-align: center; 
    gap: 0.5rem; 
  }
  .stat-text {
    align-items: center;
  }
  .stat-text strong {
    font-size: 1.15rem;
  }
  .stat-text span {
    white-space: normal;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  /* Fix form spacing on tablets */
  .input-group input, .input-group textarea {
    padding: 1.25rem 1rem 0.5rem 1rem;
    font-size: 0.95rem;
  }
  .input-group label {
    font-size: 0.95rem;
    left: 1rem;
    top: 1rem;
  }
  .input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
  .input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.35rem; left: 1rem;
  }
  .input-group textarea {
    padding-top: 1.4rem;
  }

  .process-card, .highlights-card {
    padding: 2.5rem 1.5rem;
  }
  .process-label {
    font-size: 1rem;
    padding: 0.4rem 1.25rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form-panel, .contact-info-panel { padding: 1.5rem; }
  .p-xl { padding: 1.5rem; }
  
  .c-icon { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
  .c-icon i { font-size: 1.1rem; }
  
  .hero-img { height: 320px; }
  .floating-card { padding: 0.5rem 0.75rem; gap: 0.5rem; }
  .floating-card .icon, .floating-card .icon i { font-size: 1.2rem; }
  .floating-card .card-text strong { font-size: 0.8rem; }
  .floating-card.c1 { top: 5%; right: 3%; }
  .floating-card.c2 { bottom: 5%; left: 3%; }
  
  /* Fix form spacing on mobile */
  .input-group { margin-bottom: 1rem; }
  .input-group input, .input-group textarea {
    padding: 1.15rem 0.875rem 0.4rem 0.875rem;
    font-size: 0.9rem; border-radius: 10px;
  }
  .input-group label {
    font-size: 0.9rem;
    top: 0.9rem; left: 0.875rem;
  }
  .input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
  .input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.25rem; left: 0.875rem; font-size: 0.7rem;
  }
  .input-group textarea {
    padding-top: 1.2rem;
  }
  
  /* Ensure button fits properly */
  .btn { font-size: 0.9rem; padding: 0.7rem 1.25rem; }
  
  /* Adjust focus outline for smaller screens */
  .input-group input:focus-visible, .input-group textarea:focus-visible {
    outline-offset: 2px;
  }

  /* Support Widget on Mobile */
  .support-widget {
    bottom: 1rem;
    right: 1rem;
  }
  .support-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .c-item strong {
    font-size: 0.95rem;
  }
  .process-label {
    font-size: 0.9rem;
    padding: 0.35rem 1rem;
    width: auto;
    max-width: 100%;
  }
  .c-item {
    gap: 0.75rem;
  }
}
