/* Quang Trung local preview v2 - standalone CSS; no CMS/backend dependencies */
:root {
  --navy: #1a4b74;
  --navy-deep: #143b60;
  --red: #ce2945;
  --red-dark: #b41d38;
  --text: #244461;
  --muted: #61788e;
  --light: #f1f7fc;
  --line: #dfeaf3;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 42px rgba(29, 79, 123, .10)
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font: 16px/1.65 "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white)
}

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

a {
  color: inherit;
  text-decoration: none
}

button,
input,
textarea,
select {
  font: inherit
}

button {
  cursor: pointer
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #f9ba4b;
  outline-offset: 3px
}

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

.demo-label {
  text-align: center;
  background: #fff5e6;
  color: #795120;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 7px 10px
}

.demo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cd8f3f;
  margin-right: 5px
}

.topline {
  background: var(--navy-deep);
  color: #e1eef8;
  font-size: 12px
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  gap: 16px
}

.topline-inner a:hover {
  color: white
}

.topline-separator {
  padding: 0 13px;
  opacity: .45
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: white;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 20px rgba(8, 22, 42, .035)
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 280px
}

.brand img {
  width: 54px;
  height: 61px;
  object-fit: contain
}

.brand span {
  display: flex;
  flex-direction: column
}

.brand strong {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: .025em;
  color: var(--navy)
}

.brand small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .055em;
  font-weight: 700;
  margin-top: 4px
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700
}

.nav>a {
  white-space: nowrap;
  padding: 9px 0;
  transition: color .2s
}

.nav>a:not(.nav-cta):hover,
.nav-active {
  color: var(--red)
}

.nav .nav-cta {
  background: var(--red);
  color: white;
  border-radius: 9px;
  padding: 12px 19px;
  box-shadow: 0 7px 15px rgba(206, 41, 69, .18)
}

.nav-cta span {
  padding-left: 8px
}

.nav .nav-cta:hover {
  background: var(--red-dark)
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--navy)
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 95% 12%, rgba(255, 255, 255, .16), transparent 43%), linear-gradient(118deg, #245681 0%, #3479a9 61%, #4c95bc 100%);
  color: white
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  pointer-events: none
}

.orb-one {
  width: 560px;
  height: 560px;
  top: -350px;
  left: 35%
}

.orb-two {
  width: 580px;
  height: 580px;
  bottom: -380px;
  left: -180px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 54px;
  padding-top: 78px;
  padding-bottom: 78px;
  min-height: 540px;
  position: relative
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  letter-spacing: .13em;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-transform: uppercase
}

.eyebrow-light {
  color: #ffe8eb
}

.eyebrow-light>span {
  width: 24px;
  height: 2px;
  background: var(--red)
}

.hero h1 {
  font-size: clamp(38px, 4.3vw, 57px);
  line-height: 1.13;
  letter-spacing: -.032em;
  margin: 22px 0 23px;
  max-width: 650px;
  font-weight: 800
}

.hero h1 em {
  color: #ffe2e6;
  font-style: normal
}

.hero-copy>p {
  max-width: 580px;
  font-size: 15px;
  line-height: 1.85;
  color: #f0f8fd;
  margin: 0 0 29px
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s, background .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-red {
  background: var(--red);
  color: white;
  border-color: var(--red)
}

.btn-red:hover {
  background: var(--red-dark)
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1)
}

.hero-points {
  display: flex;
  gap: 27px;
  flex-wrap: wrap;
  margin-top: 37px;
  color: #ecf6fd;
  font-size: 12px
}

.hero-photo {
  position: relative;
  border-radius: 12px;
  min-height: 355px;
  height: 370px;
  background: #d6e5ee;
  box-shadow: 22px 23px 0 rgba(255, 255, 255, .14), 0 26px 65px rgba(14, 50, 85, .22)
}

.hero-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: saturate(1.03) brightness(1.05)
}

.hero-photo:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, transparent, rgba(5, 22, 40, .85));
  pointer-events: none
}

.photo-caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 15px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  letter-spacing: .04em
}

.photo-caption strong {
  font-size: 17px
}

.photo-caption small {
  font-size: 12px;
  color: #d9e1eb
}

.caption-accent {
  height: 4px;
  width: 39px;
  background: var(--red);
  display: block;
  margin-bottom: 9px
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: white
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 25px;
  padding-bottom: 25px;
  gap: 28px
}

.trust-grid>div {
  display: flex;
  align-items: center;
  gap: 14px
}

.trust-icon {
  width: 43px;
  height: 43px;
  background: #fff1f2;
  color: var(--red);
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 21px;
  font-weight: 800;
  flex-shrink: 0
}

.trust-grid strong {
  color: var(--navy);
  font-size: 15px
}

.trust-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 1px 0 0
}

.section {
  padding: 92px 0;
  scroll-margin-top: 100px
}

.section-tinted {
  background: linear-gradient(180deg, #f4f9fd 0%, #edf5fb 100%)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px
}

.about-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 355px
}

.about-photo>img {
  width: 100%;
  height: 355px;
  object-fit: cover
}

.about-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--red);
  padding: 15px 22px;
  color: white;
  line-height: 1.6;
  font-size: 11px;
  letter-spacing: .04em
}

.about-corner strong {
  font-size: 16px
}

.about-copy h2,
.section-heading h2,
.training h2,
.contact-intro h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.22;
  letter-spacing: -.024em;
  color: var(--navy);
  margin: 14px 0 20px
}

.about-copy h2 span,
.section-heading h2 span,
.contact-intro h2 span {
  color: var(--red)
}

.about-copy>p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 24px
}

.feature {
  display: flex;
  gap: 17px;
  padding: 18px 0;
  border-top: 1px solid var(--line)
}

.feature>span {
  font-size: 23px;
  color: var(--red);
  font-weight: 800;
  line-height: 1.5
}

.feature strong {
  font-size: 15px;
  color: var(--navy)
}

.feature p {
  font-size: 13px;
  color: var(--muted);
  margin: 3px 0
}

.text-link {
  display: inline-flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
  margin-top: 12px
}

.text-link:hover {
  color: var(--red-dark)
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px
}

.section-heading h2 {
  margin: 10px 0 0
}

.section-heading>p {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 4px;
  line-height: 1.8
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.service-card {
  background: white;
  border: 1px solid #e7edf2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 38, 65, .035);
  transition: transform .2s, box-shadow .2s
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.service-image {
  height: 196px;
  overflow: hidden;
  background: #dfeef7
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}

.service-card:hover img {
  transform: scale(1.035)
}

.service-content {
  padding: 24px 24px 22px
}

.service-content small {
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--red)
}

.service-content h3 {
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 8px 0 8px
}

.service-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  min-height: 47px;
  margin: 0 0 16px
}

.service-content a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 750
}

.service-content a span {
  color: var(--red);
  font-size: 18px
}

.slider-controls {
  display: flex;
  gap: 10px
}

.slide-btn {
  width: 43px;
  height: 43px;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 10px;
  font-size: 20px
}

.slide-btn:hover {
  background: var(--navy);
  color: white
}

.slider-shell {
  border-radius: 16px;
  overflow: hidden;
  background: #e7ebf1;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center
}

.slider-shell>img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 966/380;
  object-fit: contain
}

.slide-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(11, 26, 47, .8);
  color: white;
  font-size: 12px
}

.photo-note {
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 0
}

.training {
  background: linear-gradient(120deg, #24587f 0%, #4889b1 100%);
  color: white
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.training h2 {
  color: white;
  font-size: clamp(33px, 3.4vw, 45px);
  margin: 18px 0
}

.training h2 em {
  font-style: normal;
  color: #ffe1e6
}

.training p {
  color: #f0f7fc;
  max-width: 450px;
  line-height: 1.9;
  font-size: 14px;
  margin-bottom: 28px
}

.btn-light {
  background: white;
  color: var(--navy)
}

.btn-light:hover {
  background: #eff4f8
}

.training-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.training-image img {
  width: 100%;
  height: 300px;
  object-fit: cover
}

.contact-section {
  background: #f1f7fb
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start
}

.contact-intro h2 {
  margin: 15px 0
}

.contact-intro>p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px
}

.contact-info strong {
  font-size: 12px;
  color: var(--muted)
}

.contact-info a {
  font-weight: 750;
  color: var(--navy)
}

.contact-form {
  background: white;
  padding: 36px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line)
}

.contact-form h3 {
  margin: 0;
  font-size: 23px;
  color: var(--navy)
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 23px
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: var(--navy);
  margin: 0 0 17px
}

.contact-form label em {
  color: var(--red);
  font-style: normal
}

.contact-form input:not([type=checkbox]),
.contact-form select,
.contact-form textarea {
  display: block;
  margin-top: 7px;
  width: 100%;
  border: 1px solid #dce6f0;
  background: #fbfdff;
  border-radius: 8px;
  padding: 12px 12px;
  color: var(--navy);
  font-size: 13px;
  min-width: 0
}

.contact-form textarea {
  resize: vertical
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px
}

.consent input {
  accent-color: var(--red);
  margin-top: 3px
}

.btn-submit {
  border: 0;
  min-width: 195px
}

.form-status {
  min-height: 18px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--red-dark);
  font-weight: 700
}

.footer {
  background: linear-gradient(125deg, #173e62 0%, #265e87 100%);
  color: #e1edf7;
  padding: 50px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr .6fr;
  gap: 55px;
  padding-bottom: 40px
}

.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center
}

.footer-brand strong {
  color: white;
  font-size: 16px;
  display: block;
  line-height: 1.25
}

.footer-brand small {
  display: block;
  font-size: 12px;
  margin-top: 4px
}

.footer-grid>p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9
}

.footer-grid>div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px
}

.footer-grid>div:last-child strong {
  color: white
}

.footer-grid a:hover {
  color: white
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 20px;
  font-size: 12px;
  color: #cfdeeb
}

@media(max-width:1020px) {
  .nav {
    gap: 16px
  }

  .brand {
    min-width: 260px
  }

  .brand strong {
    font-size: 15px
  }

  .hero-grid {
    gap: 30px
  }

  .hero h1 {
    font-size: 43px
  }

  .about-grid,
  .training-grid {
    gap: 38px
  }

  .contact-grid {
    gap: 34px
  }
}

@media(max-width:800px) {
  .topline-inner {
    justify-content: center
  }

  .topline-inner>span {
    display: none
  }

  .nav-wrap {
    min-height: 73px
  }

  .menu-toggle {
    display: flex
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 24px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px rgba(14, 34, 59, .09)
  }

  .nav.is-open {
    display: flex
  }

  .nav>a {
    padding: 10px 14px
  }

  .nav .nav-cta {
    margin-top: 6px;
    text-align: center
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 58px;
    padding-bottom: 60px;
    gap: 38px
  }

  .hero-photo {
    height: 350px
  }

  .hero-copy {
    max-width: 650px
  }

  .trust-grid {
    gap: 10px
  }

  .about-grid,
  .training-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .about-photo>img {
    height: 370px
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid>div:last-child {
    grid-column: 1/-1
  }

  .contact-grid {
    gap: 25px
  }

  .section {
    padding: 70px 0
  }
}

@media(max-width:560px) {
  .container {
    padding-left: 18px;
    padding-right: 18px
  }

  .brand {
    min-width: 0
  }

  .brand img {
    height: 53px;
    width: 46px
  }

  .brand strong {
    font-size: 13px
  }

  .brand small {
    font-size: 8px;
    letter-spacing: 0
  }

  .nav-wrap {
    min-height: 70px
  }

  .hero-grid {
    padding-top: 48px;
    padding-bottom: 52px
  }

  .hero h1 {
    font-size: 36px
  }

  .hero-copy>p {
    font-size: 14px
  }

  .hero-photo {
    height: 235px;
    min-height: 0;
    box-shadow: 10px 10px 0 rgba(255, 255, 255, .04)
  }

  .hero-points {
    gap: 12px;
    margin-top: 23px
  }

  .hero-actions .btn {
    font-size: 12px;
    padding: 11px 14px
  }

  .photo-caption {
    left: 17px;
    bottom: 14px
  }

  .photo-caption strong {
    font-size: 13px
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 21px;
    padding-bottom: 21px
  }

  .trust-grid>div {
    gap: 12px
  }

  .trust-icon {
    width: 36px;
    height: 36px
  }

  .section {
    padding: 58px 0
  }

  .section-heading {
    display: block
  }

  .section-heading>p {
    margin-top: 14px
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .service-image {
    height: 185px
  }

  .service-content {
    padding: 19px
  }

  .about-photo {
    min-height: 0
  }

  .about-photo>img {
    height: 240px
  }

  .training-image img {
    height: 220px
  }

  .section-heading-carousel {
    display: flex;
    gap: 14px;
    align-items: end
  }

  .slider-controls {
    flex-shrink: 0
  }

  .slide-btn {
    width: 36px;
    height: 36px
  }

  .contact-form {
    padding: 22px 18px
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .footer-grid>div:last-child {
    grid-column: auto
  }

  .footer-bottom {
    flex-direction: column
  }

  .topline {
    font-size: 11px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important
  }
}

/* v4: Trang thai bieu mau va truong chong bot - khong thay doi bo mau v3 */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.btn-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none
}

.form-status[data-kind="success"] {
  color: #18724b
}

.form-status[data-kind="error"] {
  color: #b1253b
}

/* v5 - Service detail pages: keep v3 light-blue palette unchanged */
.service-hero {
  background: linear-gradient(130deg, #eef7fd 0%, #f8fcff 58%, #e8f2fa 100%);
  padding: 62px 0 72px
}

.breadcrumbs {
  font-size: 12px;
  color: #567492;
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.breadcrumbs a {
  color: var(--navy);
  font-weight: 750
}

.breadcrumbs a:hover {
  color: var(--red)
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: 56px
}

.detail-hero-grid h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.17;
  color: var(--navy);
  margin: 13px 0 17px;
  letter-spacing: -.03em
}

.detail-hero-grid p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 25px
}

.detail-hero-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dbe9f3
}

.detail-hero-photo img {
  width: 100%;
  height: 335px;
  object-fit: cover
}

.detail-image-note {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 0
}

.btn-outline-dark {
  color: var(--navy);
  border: 1px solid #9dbad2;
  background: white
}

.btn-outline-dark:hover {
  background: #f4faff
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(285px, .65fr);
  gap: 55px;
  align-items: start
}

.detail-grid h2 {
  font-size: 29px;
  line-height: 1.25;
  color: var(--navy);
  margin: 8px 0 18px
}

.detail-grid p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted)
}

.detail-list {
  padding: 0;
  margin: 25px 0 34px;
  list-style: none;
  display: grid;
  gap: 17px
}

.detail-list li {
  display: flex;
  gap: 12px;
  line-height: 1.7;
  color: var(--text);
  font-size: 14px
}

.detail-list li:before {
  content: '✓';
  font-weight: 900;
  color: var(--red);
  flex: 0 0 auto
}

.detail-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0
}

.detail-step {
  background: #f3f8fc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px
}

.detail-step strong {
  color: var(--red);
  font-size: 14px
}

.detail-step p {
  margin: 8px 0 0;
  font-size: 12px
}

.detail-aside {
  position: sticky;
  top: 112px;
  background: #f4f9fd;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px
}

.detail-aside h3 {
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 10px
}

.detail-aside p {
  font-size: 13px;
  margin: 0 0 18px
}

.detail-aside .btn {
  width: 100%;
  font-size: 12px;
  text-align: center;
  padding: 12px
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.related-link {
  display: block;
  border: 1px solid var(--line);
  background: white;
  border-radius: 13px;
  padding: 21px;
  box-shadow: 0 7px 22px rgba(29, 79, 123, .04);
  color: var(--navy);
  font-weight: 750
}

.related-link:hover {
  border-color: #b2cbdc;
  color: var(--red)
}

.detail-disclaimer {
  font-size: 12px !important;
  color: #61788e !important;
  margin-top: 21px
}

@media(max-width:800px) {

  .detail-hero-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 27px
  }

  .detail-aside {
    position: static
  }

  .detail-hero-photo img {
    height: 310px
  }

  .detail-steps {
    grid-template-columns: 1fr 1fr
  }

  .related-grid {
    grid-template-columns: 1fr 1fr
  }

  .service-hero {
    padding: 44px 0 55px
  }
}

@media(max-width:560px) {
  .detail-hero-photo img {
    height: 228px
  }

  .detail-steps,
  .related-grid {
    grid-template-columns: 1fr
  }

  .detail-grid h2 {
    font-size: 25px
  }

  .detail-hero-grid h1 {
    font-size: 36px
  }

  .service-hero {
    padding: 36px 0 45px
  }
}


/* ================================================================
   CMS integration layer. Load after legacy template/menu styles.
   Keep Joomla generated menu links and module markup intact.
   ================================================================ */
body#bd {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  color: #18324a !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

body#bd #vnm-wrapper {
  background: none !important;
}

.qt-container,
.qt-cms-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 26px;
}

.qt-cms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 38px;
}

.qt-cms-top .qt-top-modules {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.qt-cms-top #shop,
.qt-cms-top #lang {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
}

.qt-cms-top img {
  max-height: 25px !important;
  width: auto !important;
  display: inline-block;
  vertical-align: middle;
}

.qt-cms-top a {
  color: inherit;
}

.qt-cms-header .nav-wrap {
  min-height: 85px;
}

.qt-cms-header .brand {
  min-width: 280px;
}

.qt-cms-header .qt-brand-logo {
  max-width: 58px;
  flex: 0 0 58px;
}

.qt-cms-header .qt-brand-logo img {
  max-width: 55px !important;
  max-height: 61px !important;
  width: auto !important;
  height: auto !important;
  display: block;
}

.qt-cms-header .brand .qt-brand-name {
  display: flex;
  flex-direction: column;
  white-space: normal;
  text-decoration: none;
}

.qt-cms-header .qt-nav {
  min-width: 0;
  justify-content: flex-end;
}

.qt-cms-header .qt-nav #ja-cssmenu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  list-style: none !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

.qt-cms-header .qt-nav #ja-cssmenu>li {
  position: relative;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  list-style: none !important;
}

.qt-cms-header .qt-nav #ja-cssmenu>li>a {
  display: block !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  padding: 11px 12px !important;
  margin: 0 !important;
  color: #173f6b !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px;
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.qt-cms-header .qt-nav #ja-cssmenu>li:hover>a,
.qt-cms-header .qt-nav #ja-cssmenu>li.active>a,
.qt-cms-header .qt-nav #ja-cssmenu>li>a:focus {
  color: #ce2945 !important;
  background: #f6e8ec !important;
}

.qt-cms-header .qt-nav #ja-cssmenu li ul {
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  min-width: 220px;
  margin: 0 !important;
  padding: 7px 0 !important;
  background: #fff !important;
  border: 1px solid #d9e6ef !important;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(24, 50, 74, .14);
  z-index: 50;
  list-style: none !important;
  display: none;
}

.qt-cms-header .qt-nav #ja-cssmenu li:hover>ul,
.qt-cms-header .qt-nav #ja-cssmenu li:focus-within>ul {
  display: block !important;
}

.qt-cms-header .qt-nav #ja-cssmenu ul li {
  float: none !important;
  display: block !important;
  margin: 0 !important;
  width: auto !important;
}

.qt-cms-header .qt-nav #ja-cssmenu ul li a {
  display: block !important;
  float: none !important;
  width: auto !important;
  padding: 9px 14px !important;
  line-height: 1.55 !important;
  height: auto !important;
  font-size: 13px !important;
  color: #18324a !important;
  background: #fff !important;
  text-decoration: none !important;
  white-space: normal;
}

.qt-cms-header .qt-nav #ja-cssmenu ul li:hover>a,
.qt-cms-header .qt-nav #ja-cssmenu ul li>a:focus {
  background: #f1f7fc !important;
  color: #ce2945 !important;
}

.qt-newsflash {
  padding: 10px 0;
  border-bottom: 1px solid #dce7f2;
  background: #f5f9fd;
}

.qt-newsflash #tinmoi {
  width: 100% !important;
  float: none !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.qt-newsflash img {
  max-width: 100%;
  height: auto;
}

.qt-cms-main .hero {
  background: linear-gradient(120deg, #245681 0%, #3178a8 62%, #4c95bc 100%);
}

.qt-cms-main .hero h1 em {
  color: #ffd7dc;
}

.qt-cms-main .hero-copy>p,
.qt-cms-main .hero-points {
  color: #f1f7fc;
}

.qt-cms-main .hero-photo:after {
  background: linear-gradient(to bottom, transparent, rgba(17, 47, 76, .85));
}

.qt-cms-main .section-tinted {
  background: #f1f7fc;
}

.qt-cms-main .training {
  background: linear-gradient(115deg, #245681, #3f83b0);
}

.qt-cms-main .service-grid a,
.qt-cms-main .service-card a {
  text-decoration: none !important;
}

.qt-cms-main .service-card .service-image img {
  max-width: none !important;
}

.qt-cms-main .qt-cms-content {
  margin-top: 18px;
  color: #18324a;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.qt-cms-main .qt-cms-content img {
  max-width: 100%;
  height: auto;
}

.qt-cms-main #main_content {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  float: none !important;
  margin: 0 !important;
}

.qt-cms-main .qt-cms-content table {
  max-width: 100%;
}

.qt-cms-main .qt-cms-content .contentpaneopen,
.qt-cms-main .qt-cms-content .contentpane {
  max-width: 100%;
}

.qt-cms-main #text_main,
.qt-cms-main #linehe {
  float: none !important;
  width: 100% !important;
  height: auto !important;
}

.qt-cms-main #text_main p,
.qt-cms-main #linehe p {
  font-size: 14px;
  line-height: 1.9;
}

.qt-cms-main .qt-cms-banner {
  max-width: 100%;
  background: #ecf3f8;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(24, 50, 74, .09);
}

.qt-cms-main .qt-cms-banner img {
  max-width: 100% !important;
  height: auto !important;
}

.qt-cms-main .qt-cms-banner table {
  max-width: 100%;
  width: 100% !important;
}

.qt-cms-main .qt-cms-banner iframe {
  max-width: 100%;
}

.qt-cms-main .qt-internal {
  padding-top: 35px;
  padding-bottom: 65px;
}

.qt-cms-main .qt-internal h1,
.qt-cms-main .qt-internal h2,
.qt-cms-main .qt-internal h3 {
  color: #245681;
}

.qt-cms-main .qt-internal a {
  color: #ba2946;
}

.qt-cms-main .qt-internal a:hover {
  color: #245681;
}

.qt-cms-main .qt-contact-legacy {
  padding: 25px;
  border: 1px solid #dce7f2;
  border-radius: 14px;
  background: #fff;
}

.qt-cms-main .qt-contact-legacy input,
.qt-cms-main .qt-contact-legacy textarea,
.qt-cms-main .qt-contact-legacy select {
  max-width: 100%;
}

.qt-cms-main .qt-contact-legacy input[type="text"],
.qt-cms-main .qt-contact-legacy input[type="email"],
.qt-cms-main .qt-contact-legacy textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd8e4;
}

.qt-cms-main .qt-contact-legacy input[type="submit"],
.qt-cms-main .qt-contact-legacy button {
  border: 0;
  border-radius: 8px;
  background: #ce2945;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
}

.qt-footer-cms {
  background: #153d62;
  color: #edf5fb;
}

.qt-footer-cms .qt-footer-content {
  padding: 40px 0 25px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
}

.qt-footer-cms .qt-footer-content strong {
  font-size: 17px;
  color: #fff;
}

.qt-footer-cms .qt-footer-module {
  min-width: 0;
  overflow-wrap: break-word;
}

.qt-footer-cms .qt-footer-module * {
  max-width: 100%;
}

.qt-footer-cms a {
  color: #fff;
}

.qt-footer-cms .qt-footer-bottom {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .17);
  font-size: 12px;
  color: #dde8f2;
}

.qt-footer-cms .qt-footer-bottom #thongke {
  float: none !important;
  width: auto !important;
}

.qt-cms-main .qt-cms-about .about-copy {
  min-width: 0;
}

.qt-cms-main .qt-cms-about .about-copy img {
  max-width: 100%;
  height: auto;
}

.qt-cms-main .qt-service-detail-link {
  color: #245681 !important;
}

@media(max-width:1050px) {
  .qt-cms-header .nav-wrap {
    gap: 12px;
  }

  .qt-cms-header .brand {
    min-width: 240px
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 9px 8px !important;
    font-size: 12px !important;
  }
}

@media(max-width:800px) {
  .qt-cms-header .qt-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #dce7f2;
    box-shadow: 0 18px 28px rgba(19, 52, 82, .13);
    padding: 14px 24px;
    max-height: 80vh;
    overflow: auto;
  }

  .qt-cms-header .qt-nav.is-open {
    display: block;
  }

  .qt-cms-header .qt-nav #ja-cssmenu {
    display: block !important;
    width: 100% !important;
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li {
    display: block !important;
    width: 100% !important;
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 12px 13px !important;
    font-size: 14px !important;
    white-space: normal;
  }

  .qt-cms-header .qt-nav #ja-cssmenu li ul {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: 0 !important;
    border-left: 2px solid #dce7f2 !important;
    border-radius: 0;
    padding: 0 0 0 12px !important;
    margin: 1px 0 8px 14px !important;
    max-width: 100%;
  }

  .qt-cms-main .qt-cms-about .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .qt-footer-cms .qt-footer-content {
    grid-template-columns: 1fr;
  }

  .qt-cms-main .qt-internal {
    padding-top: 25px;
  }
}

@media(max-width:560px) {

  .qt-container,
  .qt-cms-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .qt-cms-header .brand {
    min-width: 0;
  }

  .qt-cms-header .qt-brand-logo {
    flex-basis: 46px;
    max-width: 46px;
  }

  .qt-cms-header .qt-brand-logo img {
    max-height: 52px !important;
  }

  .qt-cms-top {
    justify-content: center;
  }

  .qt-cms-top .qt-top-modules {
    justify-content: center;
  }

  .qt-cms-main .qt-cms-about .about-photo img {
    height: 240px;
  }

  .qt-cms-main .qt-contact-legacy {
    padding: 15px;
  }
}

/* ================================================================
   v5.2 - Chinh menu CMS: 1 dong tren desktop, menu thu gon tren
   man hinh nho. Chi tac dong header, khong doi bo mau hien tai.
   ================================================================ */

/* Giữ menu desktop trên một hàng; tăng chiều rộng riêng cho header. */
@media (min-width: 1281px) {
  .qt-cms-header .qt-container.nav-wrap {
    max-width: 1480px;
    width: 100%;
    padding-left: 26px;
    padding-right: 26px;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .qt-cms-header .brand {
    min-width: 245px;
    flex: 0 0 245px;
  }

  .qt-cms-header .qt-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    justify-content: flex-end;
  }

  .qt-cms-header .qt-nav #ja-cssmenu {
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: 0;
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li {
    flex: 0 0 auto;
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 10px 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
}

/* Tablet / laptop hẹp: chuyển sang nút menu thay vì đẩy mục Liên hệ
   xuống dòng. Sử dụng class .is-open từ qt-cms.js hiện có. */
@media (min-width: 801px) and (max-width: 1280px) {
  .qt-cms-header .nav-wrap {
    position: relative;
    min-height: 76px;
    gap: 12px;
  }

  .qt-cms-header .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .qt-cms-header .menu-toggle {
    display: flex;
    margin-left: auto;
    flex: 0 0 44px;
  }

  .qt-cms-header .qt-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 12px 24px 18px;
    background: #fff;
    border-bottom: 1px solid #dce7f2;
    box-shadow: 0 18px 28px rgba(19, 52, 82, .13);
    max-height: 75vh;
    overflow-y: auto;
  }

  .qt-cms-header .qt-nav.is-open {
    display: block;
  }

  .qt-cms-header .qt-nav #ja-cssmenu {
    display: block !important;
    width: 100% !important;
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li {
    display: block !important;
    width: 100% !important;
  }

  .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 11px 13px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }

  .qt-cms-header .qt-nav #ja-cssmenu li ul {
    display: block !important;
    position: static !important;
    min-width: 0;
    max-width: 100%;
    margin: 1px 0 8px 14px !important;
    padding: 0 0 0 12px !important;
    border: 0 !important;
    border-left: 2px solid #dce7f2 !important;
    border-radius: 0;
    box-shadow: none !important;
  }
}

/* Ở điện thoại, neo menu thả xuống vào khung header. */
@media (max-width: 800px) {
  .qt-cms-header .nav-wrap {
    position: relative;
  }

  .qt-cms-header .qt-nav #ja-cssmenu li ul {
    min-width: 0;
  }
}


/* ============================================================
   v6: menu width and cache-safe asset name.
   Applied only to Joomla/VNTDC bridge header.
   ============================================================ */
@media (min-width: 1401px) {
  body#bd .qt-cms-header .qt-container.nav-wrap {
    width: 100% !important;
    max-width: 1520px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 10px !important;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
  }

  body#bd .qt-cms-header .brand {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }

  body#bd .qt-cms-header .qt-nav {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-content: flex-end !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
    width: max-content !important;
    max-width: none !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu>li {
    flex: 0 0 auto !important;
    float: none !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 9px 7px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
  }
}

/* Switch to actual working hamburger below 1401px, rather than crowd the header. */
@media (min-width: 801px) and (max-width: 1400px) {
  body#bd .qt-cms-header .qt-container.nav-wrap {
    position: relative !important;
    min-height: 78px !important;
    flex-wrap: nowrap !important;
    max-width: 1200px !important;
  }

  body#bd .qt-cms-header .brand {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  body#bd .qt-cms-header .menu-toggle {
    display: flex !important;
    margin-left: auto !important;
    flex: 0 0 44px !important;
  }

  body#bd .qt-cms-header .qt-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 60 !important;
    padding: 14px 24px !important;
    background: #fff !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
    box-shadow: 0 18px 28px rgba(19, 52, 82, .13);
  }

  body#bd .qt-cms-header .qt-nav.is-open {
    display: block !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu>li {
    width: 100% !important;
    display: block !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 11px 13px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu li ul {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: 0 !important;
    border-left: 2px solid #dce7f2 !important;
    max-width: 100% !important;
  }
}


/* ================================================================
   v7 - Desktop header alignment and brand width
   - Center header to match page content
   - Preserve V6 single-row menu; avoid wrapping brand text
   - Keep the existing tablet/mobile hamburger behavior
   ================================================================ */
@media (min-width: 1401px) {
  body#bd .qt-cms-header .qt-container.nav-wrap {
    max-width: 1280px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    gap: 18px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body#bd .qt-cms-header .brand {
    flex: 0 0 305px !important;
    min-width: 305px !important;
    max-width: 305px !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body#bd .qt-cms-header .qt-brand-logo {
    display: flex !important;
    flex: 0 0 56px !important;
    width: 56px !important;
    max-width: 56px !important;
    align-items: center;
    justify-content: center;
  }

  body#bd .qt-cms-header .qt-brand-logo img {
    max-width: 54px !important;
    max-height: 61px !important;
    object-fit: contain !important;
  }

  body#bd .qt-cms-header .brand .qt-brand-name {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap !important;
    text-align: left;
  }

  body#bd .qt-cms-header .brand .qt-brand-name strong {
    display: block;
    font-size: 16px !important;
    line-height: 1.35 !important;
    letter-spacing: .01em !important;
    white-space: nowrap !important;
  }

  body#bd .qt-cms-header .brand .qt-brand-name small {
    display: block;
    font-size: 9px !important;
    letter-spacing: 0 !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
  }

  body#bd .qt-cms-header .qt-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu {
    flex-wrap: nowrap !important;
    max-width: 100% !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu>li>a {
    padding: 9px 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
}

/* Smaller laptop/tablet: brand stays neat beside the existing toggle. */
@media (min-width: 561px) and (max-width: 1400px) {
  body#bd .qt-cms-header .brand {
    flex: 0 1 310px !important;
    max-width: 310px !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body#bd .qt-cms-header .brand .qt-brand-name strong {
    white-space: nowrap !important;
    font-size: 16px !important;
  }

  body#bd .qt-cms-header .brand .qt-brand-name small {
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }
}


/* ============================================================
   V8 - Mobile: collapsible Joomla submenu + compact hotline bar.
   Desktop V7 navigation, brand and visual design are unchanged.
   ============================================================ */
@media (max-width: 800px) {

  /* New toggle is generated only for items with a direct <ul> child. */
  body#bd .qt-cms-header .qt-nav #ja-cssmenu li.qt-has-submenu {
    position: relative !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu li.qt-has-submenu>a {
    padding-right: 58px !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu li.qt-has-submenu>ul {
    display: none !important;
    visibility: hidden !important;
    position: static !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 2px 0 9px 14px !important;
    padding: 0 0 0 12px !important;
    border: 0 !important;
    border-left: 2px solid #dce7f2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu li.qt-has-submenu.qt-submenu-expanded>ul {
    display: block !important;
    visibility: visible !important;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu .qt-submenu-toggle {
    position: absolute !important;
    top: 6px;
    right: 7px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 39px;
    margin: 0;
    padding: 0;
    border: 1px solid #dce7f2;
    border-radius: 8px;
    background: #f5f9fd;
    color: #173f6b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu .qt-submenu-toggle[aria-expanded="true"] {
    background: #f6e8ec;
    color: #ce2945;
  }

  body#bd .qt-cms-header .qt-nav #ja-cssmenu .qt-submenu-toggle:focus-visible {
    outline: 3px solid #f9ba4b;
    outline-offset: 2px;
  }
}

@media (min-width: 801px) {
  body#bd .qt-cms-header .qt-nav #ja-cssmenu .qt-submenu-toggle {
    display: none !important;
  }
}

@media (max-width: 560px) {

  /* Keep the existing phone, email and languages visible, but remove
     the extra slogan row and reduce spacing on narrow screens. */
  body#bd .topline .qt-cms-top {
    display: flex !important;
    justify-content: center !important;
    min-height: 0 !important;
    gap: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  body#bd .topline .qt-cms-top>span {
    display: none !important;
  }

  body#bd .topline .qt-cms-top .qt-top-modules {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px 10px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  body#bd .topline .qt-cms-top #shop,
  body#bd .topline .qt-cms-top #lang {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  body#bd .topline .qt-cms-top img {
    max-height: 21px !important;
    width: auto !important;
    vertical-align: middle;
  }
}

/* ========================================================================
   V9 - Joomla 1.0 / VNTDC INNER-PAGE LAYOUT ONLY
   Avoid changing the V8 desktop header, mobile menu, homepage and form.
   Scope every adjustment to .qt-internal or .qt-footer-cms.
   ======================================================================== */

/* Prevent legacy floated blocks from collapsing the inner-page wrapper and
   overlapping the footer. Do not impose a minimum height on empty articles. */
body#bd .qt-cms-main .qt-internal {
  display: flow-root;
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 54px;
  background: #fff;
  clear: both;
}

body#bd .qt-cms-main .qt-internal #main_content {
  display: flow-root !important;
  clear: both !important;
  float: none !important;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  color: #18324a !important;
  overflow-wrap: break-word;
}

/* Joomla renders articles and blog categories in old HTML tables.
   Correct the OUTER tables only: do not force inline content tables to 100%. */
body#bd .qt-cms-main .qt-internal #main_content>table,
body#bd .qt-cms-main .qt-internal #main_content table.contentpaneopen,
body#bd .qt-cms-main .qt-internal #main_content table.contentpane,
body#bd .qt-cms-main .qt-internal #main_content table.blog {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background-color: transparent;
}

body#bd .qt-cms-main .qt-internal #main_content table.contentpaneopen td,
body#bd .qt-cms-main .qt-internal #main_content table.contentpane td,
body#bd .qt-cms-main .qt-internal #main_content table.blog td {
  max-width: 100%;
  vertical-align: top;
  overflow-wrap: break-word;
}

body#bd .qt-cms-main .qt-internal #main_content #giangcho {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 10px 0 18px !important;
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

body#bd .qt-cms-main .qt-internal #main_content .contentheading,
body#bd .qt-cms-main .qt-internal #main_content .componentheading {
  color: #245681 !important;
  line-height: 1.4;
  overflow-wrap: break-word;
}

body#bd .qt-cms-main .qt-internal #main_content p {
  max-width: 100%;
  line-height: 1.8;
}

body#bd .qt-cms-main .qt-internal #main_content img,
body#bd .qt-cms-main .qt-internal #main_content video,
body#bd .qt-cms-main .qt-internal #main_content iframe {
  max-width: 100% !important;
}

body#bd .qt-cms-main .qt-internal #main_content img {
  height: auto;
}

body#bd .qt-cms-main .qt-internal #main_content pre {
  max-width: 100%;
  overflow-x: auto;
}

body#bd .qt-cms-main .qt-internal #main_content .article_separator {
  display: block;
  clear: both;
  min-height: 18px;
}

/* Older content modules can float; keep them below the main body rather than
   squeezed alongside it on inner pages. */
body#bd .qt-cms-main .qt-internal>#text_main {
  display: flow-root;
  clear: both !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-top: 24px !important;
}

/* Restore the two-column footer after floated blog/article markup. */
body#bd .qt-footer-cms {
  display: flow-root;
  clear: both !important;
  width: 100%;
  max-width: 100%;
}

body#bd .qt-footer-cms .qt-footer-content {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.5fr) !important;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 28px;
}

body#bd .qt-footer-cms .qt-footer-content>div {
  min-width: 0 !important;
  max-width: 100%;
  float: none !important;
  overflow-wrap: break-word;
}

@media (max-width: 800px) {
  body#bd .qt-cms-main .qt-internal {
    padding-top: 22px;
    padding-bottom: 38px;
  }

  body#bd .qt-cms-main .qt-internal #main_content #giangcho {
    font-size: 14px;
    line-height: 1.75;
  }

  body#bd .qt-footer-cms .qt-footer-content {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 560px) {
  body#bd .qt-cms-main .qt-internal {
    padding-top: 18px;
    padding-bottom: 32px;
  }

  /* Preserve natural table sizing; allow only oversized old content to scroll. */
  body#bd .qt-cms-main .qt-internal #main_content {
    overflow-x: auto;
  }

  body#bd .qt-cms-main .qt-internal #main_content .contentheading,
  body#bd .qt-cms-main .qt-internal #main_content .componentheading {
    font-size: 22px !important;
  }
}

/* FIX: Noi dung bai viet Joomla bi chu trang */

body#bd #giangcho,
body#bd #giangcho * {
  color: #18324a !important;
}

/* Mau lien ket trong bai viet */
body#bd #giangcho a {
  color: #ce2945 !important;
}

/* Hinh anh trong bai viet */
body#bd #giangcho img {
  max-width: 100% !important;
  height: auto !important;
}

/* Can giua hinh anh trong noi dung Joomla */

body#bd #giangcho div[style*="text-align: center"]>img {
  display: block !important;
  float: none !important;
  clear: both !important;
  margin: 12px auto 18px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Can chinh noi dung bai viet */
body#bd #giangcho {
  width: 100%;
  line-height: 1.8;
}

/* QT V9 - Fix content layout */

body#bd .qt-internal .qt-cms-content {
  min-width: 0;
  overflow-wrap: break-word;
  line-height: 1.8;
}

body#bd .qt-internal img {
  max-width: 100% !important;
  height: auto !important;
}

body#bd .qt-internal table {
  max-width: 100% !important;
}

body#bd .qt-cms-about #text_main {
  min-width: 0;
  overflow-wrap: break-word;
}

body#bd .qt-cms-about #text_main a {
  line-height: 1.5;
}

body#bd .qt-newsflash a {
  color: #173b5c !important;
}

body#bd .qt-newsflash a:hover {
  color: #ce2945 !important;
}

@media (max-width: 767px) {
  body#bd .qt-internal {
    padding-left: 16px;
    padding-right: 16px;
  }

  body#bd .qt-internal img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* QT V9 - Can chinh trang chi tiet */

body#bd .qt-internal #main_content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

body#bd .qt-internal #giangcho {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

body#bd .qt-internal #giangcho img {
  max-width: 100% !important;
  height: auto !important;
}

body#bd .qt-internal #giangcho p {
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  body#bd .qt-internal #main_content {
    max-width: 100%;
  }

  body#bd .qt-internal #giangcho {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* QT V10 - module text_main (ID 151) - 8 cards instead of legacy 7-column table */
body#bd .qt-cms-about #text_main {
  min-width: 0;
  max-width: none;
}

body#bd .qt-cms-about #text_main .qt-v10-links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

body#bd .qt-cms-about #text_main a.qt-v10-card {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 202px;
  gap: 12px;
  padding: 18px 12px 16px;
  background: #fff;
  border: 1px solid #dfe8f2;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(17, 54, 86, .055);
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body#bd .qt-cms-about #text_main a.qt-v10-card:hover,
body#bd .qt-cms-about #text_main a.qt-v10-card:focus-visible {
  border-color: #cf2947;
  box-shadow: 0 8px 23px rgba(16, 54, 90, .12);
  transform: translateY(-2px);
}

body#bd .qt-cms-about #text_main .qt-v10-card-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f5f9;
}

body#bd .qt-cms-about #text_main .qt-v10-card-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body#bd .qt-cms-about #text_main .qt-v10-card-name {
  display: block;
  width: 100%;
  color: #173e60 !important;
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

body#bd .qt-cms-about #text_main a.qt-v10-card:hover .qt-v10-card-name,
body#bd .qt-cms-about #text_main a.qt-v10-card:focus-visible .qt-v10-card-name {
  color: #c82443 !important;
}

/* Make the existing photo/title form the first row; put the 8 cards full-width underneath. */
@media (min-width: 960px) {
  body#bd .qt-cms-about .about-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    column-gap: 44px !important;
    row-gap: 14px !important;
    align-items: start;
  }

  body#bd .qt-cms-about .about-copy {
    display: contents !important;
  }

  body#bd .qt-cms-about .about-photo {
    grid-column: 1;
    grid-row: 1 / 4;
    min-width: 0;
    align-self: stretch;
  }

  body#bd .qt-cms-about .about-copy>.eyebrow {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  body#bd .qt-cms-about .about-copy>h2 {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  body#bd .qt-cms-about .about-copy>.text-link {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    justify-self: start;
  }

  body#bd .qt-cms-about .about-copy>#text_main {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 959px) {
  body#bd .qt-cms-about #text_main .qt-v10-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  body#bd .qt-cms-about #text_main a.qt-v10-card {
    padding: 12px 8px;
    min-height: 175px;
  }

  body#bd .qt-cms-about #text_main .qt-v10-card-photo {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  body#bd .qt-cms-about #text_main .qt-v10-card-name {
    font-size: 12px !important;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#bd .qt-cms-about #text_main a.qt-v10-card {
    transition: none;
  }
}

/* ===== HỢP TÁC QUỐC TẾ / BLOG CATEGORY ===== */
#main_content .contentpaneopen img,
#main_content .blog img,
#main_content .item-page img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

#main_content .blog {
  max-width: 1080px;
  margin: 0 auto;
}

#main_content .blog .contentpaneopen,
#main_content .blog .item-separator {
  margin-bottom: 32px;
}

#main_content .blog img {
  width: 100%;
  max-width: 520px;
  margin: 18px auto 22px;
  object-fit: cover;
}

#main_content .contentheading,
#main_content .componentheading {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #153a63;
  margin-bottom: 18px;
}

#main_content .blog p,
#main_content .contentpaneopen p {
  font-size: 18px;
  line-height: 1.8;
  color: #334155;
}

#main_content input.readon,
#main_content a.readon {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: #153a63;
  color: #fff !important;
  text-decoration: none;
  border: none;
  font-weight: 700;
}

#main_content input.readon:hover,
#main_content a.readon:hover {
  background: #c62828;
}

@media (max-width: 768px) {

  #main_content .contentheading,
  #main_content .componentheading {
    font-size: 28px;
  }

  #main_content .blog p,
  #main_content .contentpaneopen p {
    font-size: 16px;
  }

  #main_content .blog img {
    max-width: 100%;
  }
}
/* QT V11 International cooperation: replace original small thumbnail only. */
body#bd .qt-cms-main img[src*="qt-hop-tac-quoc-te-v11.jpg"] {
  display: block !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  width: min(100%, 800px) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 24px auto 28px !important;
  border: 1px solid rgba(181, 148, 87, .25) !important;
  border-radius: 15px !important;
  box-shadow: 0 16px 38px rgba(13, 39, 64, .14) !important;
}
@media (max-width: 767px) {
  body#bd .qt-cms-main img[src*="qt-hop-tac-quoc-te-v11.jpg"] {
    width: 100% !important;
    margin: 16px auto 20px !important;
    border-radius: 10px !important;
  }
}

/* QT ABOUT IMAGE 700PX - BEGIN: only article 233 AI image */
body#bd .qt-cms-page .qt-cms-main .qt-internal #main_content #giangcho img[src*="qt-gioi-thieu-v11.jpg"] {
  display: block !important;
  width: 100% !important;
  max-width: 700px !important;
  height: auto !important;
  margin: 18px auto 24px !important;
}
@media (max-width: 767px) {
  body#bd .qt-cms-page .qt-cms-main .qt-internal #main_content #giangcho img[src*="qt-gioi-thieu-v11.jpg"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* QT ABOUT IMAGE 700PX - END */

/* QT V11 - Contact Address Cards */
#qt-contact-info {
    max-width: 1200px;
    margin: 10px auto 42px;
    font-family: inherit;
    color: #102f45;
}

#qt-contact-info .qt-contact-heading {
    text-align: center;
    margin-bottom: 30px;
}

#qt-contact-info .qt-contact-heading > span {
    color: #a77b2d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

#qt-contact-info .qt-contact-heading h2 {
    color: #0d3047;
    font-size: 34px;
    margin: 10px 0;
    font-weight: 800;
}

#qt-contact-info .qt-contact-heading p {
    color: #667787;
    font-size: 15px;
}

#qt-contact-info .qt-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#qt-contact-info .qt-location-card {
    background: #fff;
    border: 1px solid #e8e7e0;
    border-top: 4px solid #b58a3b;
    border-radius: 16px;
    padding: 27px 25px;
    box-shadow: 0 8px 28px rgba(7, 40, 60, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

#qt-contact-info .qt-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(7, 40, 60, .12);
}

#qt-contact-info .qt-location-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #f6efdf;
    color: #9e772d;
    font-weight: 800;
    font-size: 17px;
}

#qt-contact-info .qt-location-card h3 {
    color: #0d3047;
    font-size: 20px;
    margin: 20px 0 12px;
    font-weight: 800;
}

#qt-contact-info .qt-location-card p {
    color: #536575;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

#qt-contact-info .qt-contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 20px;
    margin-top: 22px;
    background: #0d3047;
    padding: 24px 28px;
    border-radius: 16px;
}

#qt-contact-info .qt-contact-details > div {
    min-width: 0;
}

#qt-contact-info .qt-contact-details span {
    display: block;
    color: #dbc28e;
    font-size: 13px;
    margin-bottom: 8px;
}

#qt-contact-info .qt-contact-details strong,
#qt-contact-info .qt-contact-details a {
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 850px) {
    #qt-contact-info .qt-location-grid {
        grid-template-columns: 1fr;
    }

    #qt-contact-info .qt-contact-details {
        grid-template-columns: 1fr;
    }

    #qt-contact-info .qt-contact-heading h2 {
        font-size: 28px;
    }
}

/* QT CONTACT GRID FIX 20261120 */

#qt-contact-info {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 15px auto 45px !important;
    box-sizing: border-box !important;
}

#qt-contact-info .qt-contact-heading {
    text-align: center !important;
    margin-bottom: 30px !important;
}

#qt-contact-info .qt-contact-heading > span {
    color: #b18a45 !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
}

#qt-contact-info .qt-contact-heading h2 {
    color: #0b3047 !important;
    font-size: 32px !important;
    margin: 12px 0 !important;
}

#qt-contact-info .qt-location-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

#qt-contact-info .qt-location-card {
    display: block !important;
    min-width: 0 !important;
    background: #ffffff !important;
    padding: 26px !important;
    border: 1px solid #e6e9ec !important;
    border-top: 4px solid #b48a42 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(10, 48, 70, .09) !important;
    box-sizing: border-box !important;
    transition: transform .2s, box-shadow .2s;
}

#qt-contact-info .qt-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(10, 48, 70, .15) !important;
}

#qt-contact-info .qt-location-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: #f7eedc !important;
    color: #a57a2e !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 18px !important;
}

#qt-contact-info .qt-location-card h3 {
    color: #0b3047 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    margin: 20px 0 12px !important;
}

#qt-contact-info .qt-location-card p {
    color: #53687a !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

#qt-contact-info .qt-contact-details {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.5fr !important;
    gap: 20px !important;
    background: #0b3047 !important;
    padding: 25px !important;
    margin-top: 24px !important;
    border-radius: 16px !important;
}

#qt-contact-info .qt-contact-details span {
    display: block !important;
    color: #e0bf80 !important;
    margin-bottom: 8px !important;
}

#qt-contact-info .qt-contact-details strong,
#qt-contact-info .qt-contact-details a {
    color: white !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 850px) {
    #qt-contact-info .qt-location-grid,
    #qt-contact-info .qt-contact-details {
        grid-template-columns: 1fr !important;
    }

    #qt-contact-info .qt-contact-heading h2 {
        font-size: 26px !important;
    }
}

/* QT CONTACT BAR READABILITY FIX */

#qt-contact-info .qt-contact-details {
    background: #0b3047 !important;
    border: 1px solid #17445f !important;
    padding: 28px 30px !important;
    border-radius: 18px !important;
}

#qt-contact-info .qt-contact-details,
#qt-contact-info .qt-contact-details * {
    color: #ffffff !important;
    opacity: 1 !important;
}

#qt-contact-info .qt-contact-details > div > span {
    color: #e8c98d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#qt-contact-info .qt-contact-details strong {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

#qt-contact-info .qt-contact-details a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

#qt-contact-info .qt-contact-details a:hover {
    color: #e8c98d !important;
}

@media (max-width: 850px) {
    #qt-contact-info .qt-contact-details {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 24px !important;
    }
}