* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  line-height: 1.6;
  color: #222;
  background: #f5f6fa;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
  padding-left: 0;
}

.container {
  width: min(1100px, calc(100% - 32px));
  max-width: 1100px;
  margin: auto;
}

/* HEADER & NAVIGATION */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  height: 60px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffff;
  background-image: url("3rd.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  padding: 0;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.navbar .logo {
  position: absolute;
  left: 24px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #bd34fe 0%, #41d1ff 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  
}

.logo-text {
  font-weight: 600;
  color: #ffffff;
}

.navbar .container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: #646cff;
}

a:hover {
  color: #535bf2;
}
/* Primary nav layout */
.nav {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  justify-content: flex-end;
  gap: 18px;
}

.nav-list {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding-left: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list > li {
  margin-left: 20px;
  position: relative;
}

.nav-list li {
  list-style: none;
  list-style-type: none;
}

.nav-list li::marker,
.nav-list li::before {
  content: none;
}

.nav a,
.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav a:hover,
.nav-link:hover {
  color: #f1f5f9;
}

/* underline hover effect for top nav */
.nav a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bd34fe, #41d1ff);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav-link:hover::after {
  width: 100%;
}

.navbar.scrolled .nav a,
.navbar.scrolled .nav-link {
  color: #ffffff;
}

.navbar.scrolled .logo-text {
  color: #ffffff;
}

.language-menu {
  position: relative;
  --language-trigger-width: 112px;
}

.language-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: var(--language-trigger-width);
  min-width: var(--language-trigger-width);
  padding: 9px 14px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.language-menu-button:hover {
  background: rgba(22, 31, 58, 0.72);
}

.language-menu-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

.language-menu-current {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.language-menu-chevron {
  width: 9px;
  height: 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.2s ease;
}

.language-menu.is-open .language-menu-chevron {
  transform: translateY(2px) rotate(-135deg);
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: max(160px, var(--language-trigger-width));
  padding: 8px;
  border-radius: 16px;
  background: rgba(10, 17, 36, 0.96);
  border: 1px solid rgba(191, 219, 254, 0.18);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1002;
}

.language-menu.is-open .language-menu-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.language-menu-item.is-active {
  background: linear-gradient(135deg, #2142ba, #40218d);
  color: #ffffff;
}

/* Submenu (desktop) */
.nav-submenu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.nav-submenu li a {
  display: block;
  padding: 8px 16px;
  color: #0b1c3d;
  font-size: 14px;
}

.nav-submenu li a:hover {
  background: #f1f5f9;
}

.nav-item-has-submenu:hover > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.75em;
}

.nav-item-has-submenu.open .submenu-toggle::after {
  transform: rotate(180deg);
  display: inline-block;
}

/* HERO */
.hero {
  background: url("1st.png") top center/contain no-repeat;
  background-color: #020617;
  color: #ffffff;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero {
    background-size: cover;
    background-position: center top;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .navbar {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar .container {
    padding: 0 18px;
  }

  .header-inner {
    justify-content: space-between;
    gap: 20px;
  }

  .navbar .logo {
    position: static;
    flex: 0 1 auto;
    min-width: 0;
  }

  .logo-text {
    font-size: 15px;
    white-space: nowrap;
  }

  .nav {
    flex: 0 1 auto;
    gap: 14px;
  }

  .nav-list {
    margin-right: 0;
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav-list > li {
    margin-left: 0;
  }

  .language-menu-button {
    width: var(--language-trigger-width);
    min-width: var(--language-trigger-width);
    padding: 8px 12px;
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
    background-size: cover;
    background-position: center top;
  }

  .hero-scroll-hint {
    bottom: 24px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .navbar .container {
    padding: 0 14px;
  }

  .header-inner {
    gap: 14px;
  }

  .logo-text {
    font-size: 14px;
  }

  .nav {
    gap: 10px;
  }

  .nav-list {
    gap: 10px;
  }

  .nav a,
  .nav-link {
    font-size: 13px;
  }

  .language-menu-button {
    width: var(--language-trigger-width);
    min-width: var(--language-trigger-width);
    padding: 8px 10px;
  }

  .hero {
    background-position: 56% top;
  }

  .hero-scroll-hint {
    bottom: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) and (orientation: portrait) {
  .hero {
    background-image: url("ipad.png");
    background-size: contain;
    background-position: center top;
  }

  .hero-scroll-hint {
    bottom: 24px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) and (orientation: landscape) {
  .hero {
    background-size: cover;
    background-position: center 18%;
  }

  .hero-scroll-hint {
    bottom: 16px;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-scroll-hint a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  animation: hero-scroll-bounce 1.5s infinite;
}

@keyframes hero-scroll-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(4px) rotate(45deg);
  }
  60% {
    transform: translateY(2px) rotate(45deg);
  }
}

.hero h1 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
  font-weight: 700;
  font-family: "Century Gothic", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-content {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

/* Move only the hero title text (not the whole hero box) */
.hero .title {
  transform: translateY(80px); /* increase to move text further down */
}

.hero-tagline {
  font-size: 18px;
  margin-bottom: 18px;
  opacity: 0.9;
}

.subtitle {
  font-weight: 600;
  margin-bottom: 20px;
}

.buttons {
  margin-top: 25px;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  margin: 5px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  transform: translateY(0);
}

.btn-primary {
  background: #646cff;
  color: white;
}

.btn-primary:hover {
  background: #535bf2;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: #0b1c3d;
  border: 1px solid #d0d4dd;
}

.btn-secondary:hover {
  background: #f2f4f8;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.section {
  padding: 70px 0;
}

.section h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  border-radius: 999px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #bd34fe, #41d1ff);
}

.section p {
  margin-bottom: 14px;
}

.section > .container > p,
.section > .container > .industry-list,
.section > .container > .bullet-list,
.section > .container > ol {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 30px;
  margin-top: 25px;
  align-items: start;
}

.about-grid h3 {
  margin-bottom: 10px;
}

.bullet-list {
  list-style: none;
  
}

.bullet-list li {
  overflow-wrap: anywhere;
}

.bullet-list li::before {
  content: "•";
  color: #646cff;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.about-section .container {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  margin-top: 12px;
}

.about-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-visual-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}

.bg-light {
  background: #f5f5f5;
}

/* Background image for "Vai trò chính của NYS" section */
#giai-phap {
  background: url("4th.png") center/cover no-repeat;
}

/* Background image for "Lý do chọn NYS" section */
#why {
  background: url("4th.png") center/cover no-repeat;
}

#why h2,
#why .bullet-list li {
  color: #ffffff;
}

#why .bullet-list li::before {
  color: #e0f2fe;
}

/* Let the three solution cards be wider so sentences stay on one row */
#giai-phap .container {
  max-width: 1280px;
}

#giai-phap .card ul li {
  font-size: 14px;
  position: relative;
  padding-left: 32px;
}

/* Blue tick icon before each line in solutions cards */
#giai-phap .card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #22c1f1);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

#giai-phap .card ul li::after {
  content: "\2713"; /* checkmark */
  position: absolute;
  left: 4px;
  top: 1px;
  font-size: 13px;
  color: #ffffff;
}

/* Make the heading text white on the image background */
#giai-phap h2 {
  color: #ffffff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}

.card {
  background: #ffffff;
  padding: 48px 26px 28px;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transform: translateY(0) scale(1);
  position: relative;
  overflow: visible;
  min-width: 0;
  height: 100%;
}

.card h3 {
  margin-bottom: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.role-subtitle {
  display: block;
  margin-top: 6px;
  font-size: 0.9em;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Center titles in "Vai trò chính của NYS" cards */
#giai-phap .card h3 {
  text-align: center;
}

.card ul li {
  margin-bottom: 6px;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  border-color: rgba(100, 108, 255, 0.8);
}

/* Circular icon box for "Vai trò chính của NYS" cards */
#giai-phap .card-icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  border: none;
  overflow: hidden;
}

/* Optional: put an <img> inside card-icon later */
#giai-phap .card-icon img {
  width: 100%;
  height: 100%;
  margin-left: 0;
  margin-top: 0;
  border-radius: 50%;
  object-fit: cover;
}

.industry-list {
  text-align: center;
  list-style: none;
}

.industry-list li {
  margin: 8px 0;
}

.process-list {
  list-style: none;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 0 auto;
}

.process-list li {
  counter-increment: step-counter;
  padding-left: 56px;
  margin-bottom: 18px;
  position: relative;
}

.process-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
  border: 2px solid #e5e7eb;
}

.process-list li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 34px;
  width: 2px;
  height: calc(100% - 34px);
  background: linear-gradient(to bottom, #e2e8f0, #cbd5f5);
}

.process-list li:last-child::after {
  display: none;
}

.process-list strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.process-list span {
  display: block;
  color: #555;
  overflow-wrap: anywhere;
}

/* Six-icon grid section */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  justify-items: center;
  margin-top: 30px;
}

@media (min-width: 1024px) {
  .icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.icon-card {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.icon-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-label {
  font-size: 14px;
  color: #0b1c3d;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact {
  background:
    radial-gradient(circle at top left, rgba(100, 108, 255, 0.3), transparent 55%),
    url("4th.png") center/cover no-repeat;
  color: white;
  text-align: center;
}

.contact-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 18px;
  border-radius: 24px;
  background: rgba(8, 15, 32, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.2);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(10px);
}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-lead {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.contact-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-primary-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(37, 99, 235, 0.36);
  filter: brightness(1.03);
}

.contact-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.contact-field {
  display: grid;
  gap: 4px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

.contact-field input.contact-input-error,
.contact-field textarea.contact-input-error {
  border-color: #fca5a5;
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.16);
}

.contact-submit {
  justify-self: center;
  min-width: 136px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #132a8a, #25176f);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 28px rgba(22, 28, 98, 0.32);
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1a38a5, #321f8b);
  box-shadow: 0 18px 34px rgba(31, 38, 123, 0.4);
}

.contact-form-status {
  min-height: 24px;
  margin: -4px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-form-status.is-error {
  color: #fecaca;
}

.contact-form-status.is-success {
  color: #bbf7d0;
}

.contact-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(191, 219, 254, 0.18);
}

.contact-meta p {
  max-width: 600px;
  margin: 0.35rem auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  overflow-wrap: anywhere;
}

footer {
  text-align: center;
  padding: 20px;
  background: #111 url("3rd.png") center/cover no-repeat;
  color: white;
  font-size: 14px;
}

.content {
  background: #f5f6fa;
}

@media (min-width: 769px) {
  /* Desktop nav: slightly inset from right edge */
  .nav-list {
    margin-left: 0;
    margin-right: 24px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding-top: 8px;
    padding-bottom: 4px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.3));
    height: auto;
  }

  .logo-text,
  .nav-list {
    display: none;
  }

  .navbar .logo {
    position: static;
  }

  .navbar .container {
    padding: 0 16px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 4px;
  }

  .nav {
    width: 100%;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .language-menu-button {
    width: var(--language-trigger-width);
    min-width: var(--language-trigger-width);
    padding: 8px 12px;
  }

  .nav-list > li {
    margin-left: 0;
  }

  .language-menu {
    margin: 0 auto;
  }

  .language-menu-list {
    right: 50%;
    transform: translateX(50%);
    min-width: 148px;
    max-width: min(220px, calc(100vw - 32px));
  }

  .nav a,
  .nav-link {
    font-size: 14px;
    color: #ffffff;
  }

  .navbar.scrolled .nav a,
  .navbar.scrolled .nav-link {
    color: #ffffff;
  }

  .nav-submenu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
  }

  .nav-item-has-submenu.open > .nav-submenu {
    max-height: 320px;
  }

  .submenu-toggle::after {
    display: none;
  }

  .nav-submenu li a {
    padding: 6px 0 6px 16px;
    color: #e5e7eb;
  }

  .hero {
    /* Mobile hero: dedicated image and spacing */
    height: 100svh;
    min-height: 100svh;
    padding: 80px 16px 24px; /* space for nav + scroll hint */
    justify-content: flex-start;
    background: #020617 url("mobile.png") center/cover no-repeat;
  }

  .hero-scroll-hint {
    display: block;
    bottom: 20px;
  }

  /* Mobile: pull About section closer to hero */
  .about-section {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .about-section .container {
    padding-top: 20px;
    padding-bottom: 24px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-grid {
    margin-top: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Stack Lĩnh vực icons vertically on mobile */
  .icon-grid {
    grid-template-columns: 1fr;
  }

  .icon-card {
    width: min(150px, 42vw);
    height: min(150px, 42vw);
  }

  .process-list li {
    padding-left: 48px;
  }

  .section {
    padding: 56px 0;
  }

  .contact-shell {
    max-width: 100%;
    padding: 20px 14px;
    border-radius: 18px;
  }

  .contact-lead {
    font-size: 14px;
  }

  .contact-primary-cta,
  .contact-submit {
    width: 100%;
    min-width: 0;
  }

  footer {
    padding: 18px 16px;
  }

  .contact-meta p,
  .bullet-list li,
  .process-list span,
  .process-list strong,
  .card h3,
  .role-subtitle {
    overflow-wrap: anywhere;
  }

}