:root {
  --ht-primary: #1e4d8b;
  --ht-primary-dark: #123663;
  --ht-accent: #f2a71b;
  --ht-dark: #1a2233;
  --ht-light: #f5f7fa;
  --ht-text: #37424a;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  color: var(--ht-text);
  background-color: #ffffff;
}

a {
  text-decoration: none;
}

/* ---------- Topbar ---------- */
.topbar-strip {
  background: var(--ht-dark);
  color: #cfd8e3;
  font-size: 0.85rem;
  padding: 6px 0;
}
.topbar-strip a {
  color: #cfd8e3;
}
.topbar-strip a:hover {
  color: var(--ht-accent);
}

/* ---------- Navbar ---------- */
.site-header .navbar {
  border-bottom: 1px solid #eef0f3;
}
.brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ht-primary);
  letter-spacing: 1px;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--ht-accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.navbar-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 46px;
  width: auto;
  display: block;
}
.footer-logo-chip {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--ht-dark);
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--ht-primary);
}
.navbar-nav .dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(15, 39, 73, 0.18);
  padding: 0.5rem;
  margin-top: 0.5rem;
}
.navbar-nav .dropdown-item {
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  color: var(--ht-dark);
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: rgba(30, 77, 139, 0.08);
  color: var(--ht-primary);
}
.navbar-nav .dropdown-item.fw-semibold {
  color: var(--ht-primary);
}
@media (min-width: 992px) {
  .navbar-nav .dropdown-toggle::after {
    vertical-align: 0.15em;
  }
}
.btn-contact {
  background: var(--ht-primary);
  border-color: var(--ht-primary);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
}
.btn-contact:hover {
  background: var(--ht-primary-dark);
  border-color: var(--ht-primary-dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--ht-primary-dark) 0%, var(--ht-primary) 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #dbe6f5;
  max-width: 640px;
}
.btn-accent {
  background: var(--ht-accent);
  border-color: var(--ht-accent);
  color: #1a2233;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
}
.btn-accent:hover {
  filter: brightness(1.05);
  color: #1a2233;
}
.hero .btn-outline-light, .hero-slide-content .btn-outline-light {
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
}
.hero-slider .carousel-item {
  position: relative;
  height: 560px;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ht-primary-dark);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 39, 73, 0.88) 0%, rgba(18, 54, 99, 0.55) 55%, rgba(18, 54, 99, 0.25) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-slide-content h1 {
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.hero-slide-content p.lead {
  font-size: 1.15rem;
  color: #dbe6f5;
  max-width: 640px;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255,255,255,0.5);
}
.hero-slider .carousel-indicators .active {
  background-color: var(--ht-accent);
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 5%;
}
@media (max-width: 767px) {
  .hero-slider .carousel-item {
    height: 460px;
  }
  .hero-slide-content h1 {
    font-size: 1.8rem;
  }
}

/* ---------- Section titles ---------- */
.section-title {
  font-weight: 800;
  color: var(--ht-dark);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: #7a8794;
  margin-bottom: 2.5rem;
}
.section-eyebrow {
  color: var(--ht-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

/* ---------- Service cards ---------- */
.service-card {
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
  background: #fff;
}
.service-card:hover {
  box-shadow: 0 12px 30px rgba(30, 77, 139, 0.12);
  transform: translateY(-4px);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(30, 77, 139, 0.08);
  color: var(--ht-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ht-dark);
}
.service-card .read-more {
  color: var(--ht-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-card.has-thumb {
  padding: 0;
  overflow: hidden;
}
.service-card .service-thumb {
  height: 180px;
  background-color: #e7ecf2;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-card .service-icon-badge {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ht-primary);
  font-size: 1.4rem;
}
.service-card .service-body {
  padding: 2.25rem 1.5rem 1.5rem;
}

/* ---------- Project cards ---------- */
.project-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  height: 100%;
  background: #fff;
}
.project-card .project-thumb {
  height: 200px;
  background-color: #e7ecf2;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-card .project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ht-accent);
  color: #1a2233;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.project-card .project-body {
  padding: 1.25rem;
}
.project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-bottom: 0.4rem;
}
.project-card .project-meta {
  font-size: 0.85rem;
  color: #7a8794;
}

/* ---------- Gallery albums ---------- */
.album-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.album-card:hover {
  box-shadow: 0 12px 30px rgba(30, 77, 139, 0.14);
  transform: translateY(-4px);
  color: inherit;
}
.album-cover {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.album-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 39, 73, 0.75);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.album-body {
  padding: 1.25rem;
}
.album-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-bottom: 0.4rem;
}
.album-meta {
  font-size: 0.82rem;
  color: #7a8794;
  margin-bottom: 0.5rem;
}

.lightbox-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.lightbox-thumb:hover img {
  transform: scale(1.05);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.94);
  z-index: 1080;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-image {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #dbe6f5;
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 767px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- News cards ---------- */
.news-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  height: 100%;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.news-card:hover {
  box-shadow: 0 12px 30px rgba(30, 77, 139, 0.12);
  transform: translateY(-4px);
}
.news-card .news-thumb {
  height: 190px;
  background-color: #e7ecf2;
  background-size: cover;
  background-position: center;
}
.news-card .news-body {
  padding: 1.25rem;
}
.news-card .news-meta {
  font-size: 0.8rem;
  color: #7a8794;
  margin-bottom: 0.5rem;
}
.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-category-badge {
  background: rgba(242, 167, 27, 0.15);
  color: #a06c0c;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* ---------- Article content & table of contents ---------- */
.article-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ht-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  scroll-margin-top: 90px;
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 90px;
}
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}
.article-content ul, .article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0 1rem;
}
.toc-box {
  position: sticky;
  top: 90px;
}
.toc-list {
  padding-left: 0;
  margin-bottom: 0;
}
.toc-item {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
.toc-item a {
  color: var(--ht-text);
  display: block;
  border-left: 2px solid #eef0f3;
  padding-left: 0.75rem;
}
.toc-item a:hover {
  color: var(--ht-primary);
  border-left-color: var(--ht-primary);
}
.toc-item.toc-sub {
  margin-left: 1rem;
  font-size: 0.85rem;
}

/* ---------- About / Company ---------- */
.about-hero {
  background: var(--ht-light);
  padding: 3.5rem 0;
}
.info-box {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
}
.info-box i {
  color: var(--ht-primary);
  font-size: 1.6rem;
}
.about-description {
  line-height: 1.8;
}
.about-stat {
  text-align: center;
  background: var(--ht-light);
  border-radius: 10px;
  padding: 1.1rem 0.5rem;
}
.about-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ht-primary);
  line-height: 1.2;
}
.about-stat-label {
  font-size: 0.78rem;
  color: #7a8794;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ---------- Value / feature / process cards ---------- */
.value-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.value-card:hover {
  box-shadow: 0 12px 30px rgba(30, 77, 139, 0.12);
  transform: translateY(-4px);
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(30, 77, 139, 0.08);
  color: var(--ht-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-bottom: 0.75rem;
}

.feature-item {
  height: 100%;
  padding: 0.5rem 0.25rem;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(242, 167, 27, 0.15);
  color: #a06c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-bottom: 0.5rem;
}

.process-step {
  height: 100%;
  position: relative;
  padding: 0.5rem 0.25rem;
}
.process-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(30, 77, 139, 0.18);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ht-dark);
  margin-bottom: 0.5rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--ht-primary-dark) 0%, var(--ht-primary) 100%);
  border-radius: 14px;
  padding: 2.75rem;
  color: #fff;
}
.cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

/* ---------- Contact ---------- */
.contact-card {
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 2rem;
  background: #fff;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30, 77, 139, 0.08);
  color: var(--ht-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.map-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef0f3;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ht-dark);
  color: #a8b3c2;
  position: relative;
  border-top: 3px solid var(--ht-accent);
}
.footer-top {
  background: var(--ht-dark);
}
.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-desc {
  color: #a8b3c2;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-link, .footer-links a {
  color: #a8b3c2;
}
.footer-links {
  padding-left: 0;
}
.footer-links li {
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}
.footer-links li i {
  color: var(--ht-accent);
  font-size: 0.7rem;
  margin-right: 0.5rem;
}
.footer-links a:hover, .footer-link:hover {
  color: var(--ht-accent);
}
.footer-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ht-accent);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}
.footer-view-all:hover {
  color: #fff;
}

/* Brand block */
.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
}
.footer-brand-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--ht-accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-contact-list {
  padding-left: 0;
  margin-bottom: 1.25rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: #a8b3c2;
}
.footer-contact-list li i {
  color: var(--ht-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover {
  background: var(--ht-accent);
  color: #1a2233;
}

/* CTA block */
.footer-hotline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-hotline i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ht-accent);
  color: #1a2233;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-hotline:hover {
  color: var(--ht-accent);
}
.footer-cta-btn {
  background: var(--ht-accent);
  color: #1a2233;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.65rem 1.4rem;
  width: 100%;
}
.footer-cta-btn:hover {
  filter: brightness(1.05);
  color: #1a2233;
}

.footer-bottom {
  background: #10151f;
  color: #7a8794;
  font-size: 0.85rem;
}
.footer-bottom-links a {
  color: #7a8794;
}
.footer-bottom-links a:hover {
  color: var(--ht-accent);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ht-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--ht-primary-dark);
  color: #fff;
}

/* ---------- Floating call button (mobile) ---------- */
.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ht-accent);
  color: #1a2233;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 1030;
}

/* ---------- Page header (breadcrumb banner) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--ht-primary-dark) 0%, var(--ht-primary) 100%);
  color: #fff;
  padding: 2.75rem 0;
}
.page-banner h1 {
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.page-banner .breadcrumb {
  margin-bottom: 0;
}
.page-banner .breadcrumb a {
  color: #dbe6f5;
}
.page-banner .breadcrumb .active {
  color: #fff;
}

/* ---------- Misc ---------- */
.badge-category {
  background: rgba(30, 77, 139, 0.08);
  color: var(--ht-primary);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
}
.filter-pill {
  border: 1px solid #dbe1e8;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ht-text);
}
.filter-pill.active, .filter-pill:hover {
  background: var(--ht-primary);
  border-color: var(--ht-primary);
  color: #fff;
}
