/*
 * VHL WEBSITE TYPOGRAPHY SYSTEM
 * ===============================
 * 
 * Font Family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial
 * 
 * HEADING HIERARCHY:
 * h1 / .h1     → 2rem / 700 / 1.4 line-height (section titles)
 * h2 / .h2     → 1.5rem / 700 / 1.4 line-height (subsection titles)
 * h3 / .h3     → 1.25rem / 700 / 1.4 line-height (card titles, service labels)
 * h4 / .h4     → 1.125rem / 600 / 1.4 line-height
 * h5 / .h5     → 1rem / 600 / 1.4 line-height (form labels, footer headings)
 * h6 / .h6     → 0.875rem / 600 / 1.4 line-height
 * 
 * DISPLAY HEADINGS (large hero text):
 * .display-4   → 2rem / 700 / 1.2 line-height
 * 
 * BODY TEXT:
 * Base         → 1rem / 400 / 1.6 line-height
 * .lead        → 1.125rem / 400 / 1.6 line-height (intro paragraphs)
 * .text-lg     → 1.125rem
 * .text-sm     → 0.875rem
 * 
 * FONT WEIGHTS:
 * Regular (400) → Body text, descriptions
 * Medium (500)  → Form labels, subtle emphasis
 * Semibold (600)→ Card titles, emphasis
 * Bold (700)    → Headings, strong emphasis
 * 
 * LINE HEIGHTS:
 * Tight (1.4)   → Headings (reduced line height for visual hierarchy)
 * Base (1.6)    → Body text, paragraphs (improved readability)
 * 
 * SPECIFIC ELEMENT TYPOGRAPHY:
 * - Service labels (h3)     : 1.1rem / bold / 1.4
 * - Service values (p)      : 0.95rem / regular / 1.6
 * - Choose titles (h3)      : 1.25rem / bold / 1.4
 * - Choose text (p)         : 1rem / regular / 1.6
 * - Process step title (h5) : 1rem / bold / 1.4
 * - Process step body (p)   : 0.95rem / regular / 1.6
 * - Contact header (h2)     : 1.8rem / bold / 1.4
 * - Consultation title (h3) : 1.75rem / bold / 1.4
 */

:root{
	--accent:#d32f2f;
	--muted:#6c757d;
	--card-shadow: 0 6px 18px rgba(22,27,36,0.08);
}

html { scroll-behavior: smooth; }

[data-bs-theme="dark"] {
	--card-shadow: 0 6px 18px rgba(255,255,255,0.08);
}

/* Typography System */
:root {
	--font-family-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	--font-size-base: 1.25rem;
	--font-size-sm: 1.125rem;
	--font-size-lg: 1.375rem;
	--line-height-base: 1.6;
	--line-height-tight: 1.4;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
}

body {
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	background: #fafafa;
	color: #2c1419;
	padding-top: 56px;
}

/* Heading Styles */
h1, .h1 {
	font-size: 2.25rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
	margin-bottom: 1.25rem;
}

h2, .h2 {
	font-size: 1.75rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
	margin-bottom: 1rem;
}

h3, .h3 {
	font-size: 1.75rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
	margin-bottom: 0.75rem;
}

h4, .h4 {
	font-size: 1.4rem;
	font-weight: var(--fw-semibold);
	line-height: var(--line-height-tight);
	margin-bottom: 0.75rem;
}

h5, .h5 {
	font-size: 1.25rem;
	font-weight: var(--fw-semibold);
	line-height: var(--line-height-tight);
	margin-bottom: 0.5rem;
}

h6, .h6 {
	font-size: 1.125rem;
	font-weight: var(--fw-semibold);
	line-height: var(--line-height-tight);
	margin-bottom: 0.5rem;
}

/* Display headings */
.display-1 { font-size: 4.5rem; font-weight: var(--fw-bold); line-height: 1.2; }
.display-2 { font-size: 4.5rem; font-weight: var(--fw-bold); line-height: 1.2; }
.display-3 { font-size: 4rem; font-weight: var(--fw-bold); line-height: 1.2; }
.display-4 { font-size: 2.75rem; font-weight: var(--fw-bold); line-height: 1.2; }

/* Responsive display headings for mobile */
@media (max-width: 576px) {
  .display-1 { font-size: 2.5rem; }
  .display-2 { font-size: 2.5rem; }
  .display-3 { font-size: 2rem; }
  .display-4 { font-size: 1.75rem; }
}

@media (min-width: 577px) and (max-width: 768px) {
  .display-1 { font-size: 3rem; }
  .display-2 { font-size: 3rem; }
  .display-3 { font-size: 2.5rem; }
  .display-4 { font-size: 2rem; }
}

/* Text utility classes */
.text-sm { font-size: var(--font-size-sm); }
.text-lg { font-size: var(--font-size-lg); }
.fw-regular { font-weight: var(--fw-regular); }
.fw-medium { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }

.lead {
	font-size: 1.4rem;
	font-weight: var(--fw-regular);
	line-height: var(--line-height-base);
	color: #6c757d;
}

[data-bs-theme="dark"] body {
	background: #1a0d0f;
	color: #f5e6e8;
	padding-top: 56px;
}

/* Section styling with alternating backgrounds */
header, section {
  padding: 0;
  margin: 0;
  width: 100%;
}

header#home {
  background-color: #dd0000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

section#intro {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#hero {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#AboutUs {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#services {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#business {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#choose {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#products {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#profile {
  background-color: #ffffff;
  position: relative;
}

section#profile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  pointer-events: none;
}

section#about {
  background-color: #ffffff;
}

section#company-info {
  background-color: #ffffff;
}

section#process {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

section#contact {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(221,0,0,0) 0%, rgba(221,0,0,0.3) 10%, #dd0000 15%, #dd0000 85%, rgba(221,0,0,0.3) 90%, rgba(221,0,0,0) 100%);
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

/* Dark mode section backgrounds */
[data-bs-theme="dark"] header#home {
  background-color: #990000;
}

[data-bs-theme="dark"] section#intro {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#hero {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#AboutUs {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#services {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#business {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#choose {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#products {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#profile {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#about {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#company-info {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#process {
  background-color: #1a0d0f;
}

[data-bs-theme="dark"] section#contact {
  background-color: #1a0d0f;
}
header h1 {
	font-weight: var(--fw-bold);
	font-size: 1.75rem;
}

.card-title {
	font-weight: var(--fw-semibold);
	font-size: 1.25rem;
}

/* Hero section */
.hero {
	background: linear-gradient(90deg, rgba(211,47,47,0.08), rgba(229,57,57,0.03));
	padding: 2.4rem;
	border-radius: 12px;
	box-shadow: var(--card-shadow), 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.hero h1 {
	font-size: 2rem;
	font-weight: var(--fw-bold);
	line-height: 1.3;
}

.hero p.lead {
	font-size: 1.35rem;
	font-weight: var(--fw-regular);
	line-height: var(--line-height-base);
	color: var(--muted);
}

header#home .hero h1 {
	color: #ffffff;
	font-weight: var(--fw-bold);
}

[data-bs-theme="dark"] .hero{background:linear-gradient(90deg, rgba(211,47,47,0.15), rgba(229,57,57,0.08))}

/* Cards */
.card{border:0; border-radius:12px; box-shadow:var(--card-shadow)}

/* Mission goals with hover effect */
.mission-goal {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
}

.mission-goal:hover,
.mission-goal:active {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(221, 0, 0, 0.15);
}

.mission-goal-badge {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Process mini cards */
.process-step-card {
  border: 1px solid rgba(221, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(221, 0, 0, 0.12);
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.6rem;
  background: rgba(221, 0, 0, 0.08);
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #dd0000;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.process-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #dd0000;
  background: rgba(221, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(221, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Process step styles */
.process-step-title {
	font-weight: var(--fw-bold);
	font-size: 1.25rem;
	line-height: var(--line-height-tight);
	margin-bottom: 0.35rem;
}

.process-step-body {
	color: var(--muted);
	font-size: 1.2rem;
	line-height: var(--line-height-base);
	margin: 0;
}

[data-bs-theme="dark"] .process-step-card {
  background-color: rgb(42, 42, 42);
  border-color: rgba(221, 0, 0, 0.2);
}

[data-bs-theme="dark"] .process-step-number {
  color: #ffb3b3;
}

[data-bs-theme="dark"] .process-step-icon {
  color: #ffb3b3;
  background: rgba(221, 0, 0, 0.2);
}

[data-bs-theme="dark"] .process-step-badge {
  background: rgba(221, 0, 0, 0.16);
}

[data-bs-theme="dark"] #why-vhl .card {
  background-color: rgb(42, 42, 42);
}

/* Aside contact */
.contact-label{color:var(--muted); font-weight:600; margin-right:.4rem}

/* Buttons */
.btn-primary {
  background-color: #dd0000;
  border-color: #dd0000;
}

.btn-primary:hover {
  background-color: #bb0000;
  border-color: #bb0000;
}

.btn-accent{background:var(--accent); border:0; color:#fff}
.btn-accent:hover{background:#b71c1c}

/* Dark mode button styles */
[data-bs-theme="dark"] .btn-primary {
  background-color: #dd0000;
  border-color: #dd0000;
}

[data-bs-theme="dark"] .btn-primary:hover {
  background-color: #bb0000;
  border-color: #bb0000;
}

[data-bs-theme="dark"] .btn-outline-secondary{color:#adb5bd; border-color:#495057}
[data-bs-theme="dark"] .btn-outline-secondary:hover{background-color:#495057; border-color:#495057}
[data-bs-theme="dark"] .btn-secondary{background-color:#495057; border-color:#495057}

/* Responsive tweaks */
@media(min-width:992px) {
	.hero h1 {
		font-size: 2.5rem;
		line-height: 1.3;
	}
}

/* Small decorative icon spacing */
.icon{width:1.1rem; height:1.1rem; vertical-align:-0.15rem; margin-right:.4rem}

/* Improved form accessibility and spacing */
.form-label {
	font-weight: var(--fw-medium);
	font-size: var(--font-size-base);
}

.form-control:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
}

/* Mission section card */
section#mission .mission-card {
	border-top: 4px solid var(--accent);
	background: white;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 2rem;
}

section#mission .mission-card h2 {
	font-size: 1.5rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
}

[data-bs-theme="dark"] section#mission .mission-card {
  background: #2a2a2a;
}

/* Company info section card */
section#company-info .company-card {
	border-top: 4px solid var(--accent);
	background: white;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 2rem;
}

section#company-info .company-card h2 {
	font-size: 1.5rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
	margin-bottom: 1.25rem;
}

section#company-info .company-card p {
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

[data-bs-theme="dark"] section#company-info .company-card {
  background: #2a2a2a;
}
}

/* Contact section card accents */
section#contact .card {
  border-top: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(221, 0, 0, 0.1);
}

/* Consultation form styling */
.consultation-card {
  background-color: #f5f5f5;
  border: none;
  border-top: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Contact info card - white background */
#contact-info .consultation-card {
  background-color: #ffffff;
}

/* Contact email card - darker background */
#contact-email .consultation-card {
  background-color: #f5f5f5;
}

.consultation-card .card-title {
	font-size: 2.2rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
	color: #1a1a1a;
}

.consultation-card .form-control,
.consultation-card .form-select {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 0.875rem 1rem;
	font-size: var(--font-size-base);
	font-weight: var(--fw-regular);
	background-color: #ffffff;
}

.consultation-card .form-control:focus,
.consultation-card .form-select:focus {
  border-color: #17a2b8;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

#contact-email .consultation-card .form-control:focus,
#contact-email .consultation-card .form-select:focus {
  border-color: #f28b82;
  box-shadow: 0 0 0 0.2rem rgba(242, 139, 130, 0.3);
}

.consultation-card .form-control::placeholder {
  color: #aaa;
}

.btn-consultation {
	background-color: #dd0000;
	border: none;
	color: #ffffff;
	font-weight: var(--fw-semibold);
	font-size: var(--font-size-base);
	padding: 0.875rem;
	border-radius: 8px;
	transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-consultation:hover {
  background-color: #b30000;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-consultation:active {
  transform: scale(0.98);
  transition: transform 0.05s ease;
}

[data-bs-theme="dark"] .consultation-card {
  background-color: #2a2a2a;
}

[data-bs-theme="dark"] #contact-info .consultation-card,
[data-bs-theme="dark"] #contact-email .consultation-card {
  background-color: rgb(42, 42, 42);
}

[data-bs-theme="dark"] .consultation-card .card-title {
  color: #f5e6e8;
}

[data-bs-theme="dark"] .consultation-card .form-control,
[data-bs-theme="dark"] .consultation-card .form-select {
  background-color: #1a1a1a;
  border-color: #444;
  color: #f5e6e8;
}

[data-bs-theme="dark"] .consultation-card .form-control::placeholder {
  color: #666;
}

/* Footer */
footer small{color:var(--muted)}

/* Dark mode footer */
[data-bs-theme="dark"] footer.bg-light{background-color:#2a2a2a !important}

/* Improve list spacing */
ol.mt-4 li {
	line-height: var(--line-height-base);
	font-size: var(--font-size-base);
}

/* Site banner */
.site-banner{overflow:hidden}
.site-banner img{display:block; width:100%; height:220px; object-fit:cover}

@media(max-width:576px){
	.site-banner img{height:140px}
}

/* Navbar brand logo sizing (centralized) */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.navbar-brand img {
  height: 28px;
  max-height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.navbar-brand span {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

@media(max-width:576px) {
  .navbar-brand {
    font-size: 0.9rem;
  }
  .navbar-brand img {
    height: 22px;
    max-height: 22px;
  }
  .navbar-brand span {
    font-size: 0.9rem;
  }
}

/* Sticky navbar positioning */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Active nav link styling */
nav.navbar .nav-link {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.5rem 1rem;
}

nav.navbar .nav-link.active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
  color: var(--accent) !important;
  font-weight: 500;
}

/* Navbar dark mode support */
[data-bs-theme="dark"] nav.navbar {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .navbar-brand {
  color: #e9ecef !important;
}

[data-bs-theme="dark"] .nav-link {
  color: #f5c6c6 !important;
}

[data-bs-theme="dark"] .nav-link:hover,
[data-bs-theme="dark"] .nav-link:focus {
  color: #fff !important;
}

[data-bs-theme="dark"] .navbar-toggler {
  border-color: #495057 !important;
}

[data-bs-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23adb5bd' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] .form-select {
  background-color: #3d1f23;
  color: #f5e6e8;
  border-color: #8b3a42;
}

[data-bs-theme="dark"] .form-select:focus {
  background-color: #3d1f23;
  color: #f5e6e8;
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
}

/* Contact section header */
.contact-header {
	text-align: center;
	padding: 1rem 0 0.5rem 0;
}

.contact-header h2 {
	font-size: 2.25rem;
	font-weight: var(--fw-bold);
	line-height: var(--line-height-tight);
	margin-bottom: 1rem;
}

.contact-header p {
	margin-bottom: 0.5rem;
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

.footer-main {
	background-color: #dd0000;
	color: #ffffff;
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	font-weight: var(--fw-regular);
}

.footer-main h5 {
	color: #ffffff;
	font-weight: var(--fw-regular);
	font-size: var(--font-size-base);
	line-height: var(--line-height-tight);
	font-family: var(--font-family-base);
}

.footer-main p,
.footer-main span,
.footer-main strong,
.footer-main a,
.footer-main small {
	color: #ffffff;
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	font-weight: var(--fw-regular);
}

.footer-main a {
	color: #ffffff;
	text-decoration: none;
}

.footer-main a:hover {
	color: #ffcccc;
	text-decoration: underline;
}

.footer-main hr {
	border-color: rgba(255, 255, 255, 0.3);
}

.locale-vi-only:empty {
  display: none;
}

.locale-vi-only {
  display: none;
}

[data-locale="vi"] .locale-vi-only {
  display: block;
}

[data-locale="vi"] .vi-hide {
  display: none !important;
}

.en-only {
  display: none;
}

[data-locale="en"] .en-hide {
  display: none !important;
}

[data-locale="en"] .en-only {
  display: block !important;
}

.social-links a {
  color: #ffffff;
  transition: color 0.3s ease;
}

/* Service Item Cards */
.service-item-card {
	background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 5px solid var(--accent);
	border-radius: 12px;
	padding: 1.75rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(221, 0, 0, 0.18);
  border-color: rgba(221, 0, 0, 0.35);
}

/* Icon scale animation on card hover */
.service-item-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(221, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(221, 0, 0, 0.2);
}

.service-item-card::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(221, 0, 0, 0.18), transparent 60%);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.service-item-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.service-icon {
	font-size: 2.5rem;
	color: #dd0000;
	margin-bottom: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	background: rgba(221, 0, 0, 0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(221, 0, 0, 0.1);
}

.service-label {
	font-size: 1.4rem;
	font-weight: var(--fw-bold);
	color: #1a1a1a;
	line-height: var(--line-height-tight);
	margin-bottom: 0.75rem;
}

.service-value {
	font-size: 1.2rem;
	color: var(--muted);
	font-weight: var(--fw-regular);
	line-height: var(--line-height-base);
	margin: 0;
}

/* Dark mode service cards */
[data-bs-theme="dark"] .service-item-card {
  background: rgb(42, 42, 42);
  border-color: #444;
}

[data-bs-theme="dark"] .service-label {
  color: #f5e6e8;
}

[data-bs-theme="dark"] .service-value {
  color: #c9c9c9;
}

[data-bs-theme="dark"] .service-icon {
  background: rgba(221, 0, 0, 0.15);
  color: #ffb3b3;
}

/* Product Items - Key-Value Pair Layout */
.product-item {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(221, 0, 0, 0.02);
  border-left: 3px solid #dd0000;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.product-item:hover {
  background: rgba(221, 0, 0, 0.05);
  transform: translateX(5px);
}

.product-label {
  color: #dd0000;
  font-weight: var(--fw-semibold);
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.product-value {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

[data-bs-theme="dark"] .product-item {
  background: rgba(221, 0, 0, 0.08);
  border-left-color: #ff6b6b;
}

[data-bs-theme="dark"] .product-item:hover {
  background: rgba(221, 0, 0, 0.12);
}

[data-bs-theme="dark"] .product-label {
  color: #ff6b6b;
}

[data-bs-theme="dark"] .product-value {
  color: #e0e0e0;
}

/* Benefit Cards - Vietnamese-Only Section */
.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  gap: 1.25rem;
  border: 1px solid rgba(221, 0, 0, 0.1);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(221, 0, 0, 0.15);
  border-color: rgba(221, 0, 0, 0.3);
}

.benefit-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #dd0000, #ff4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(221, 0, 0, 0.2);
}

.benefit-content {
  flex: 1;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: #dd0000;
  margin-bottom: 0.75rem;
  line-height: var(--line-height-tight);
}

.benefit-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

[data-bs-theme="dark"] .benefit-card {
  background: rgb(42, 42, 42);
  border-color: rgba(221, 0, 0, 0.2);
}

[data-bs-theme="dark"] .benefit-card:hover {
  border-color: rgba(221, 0, 0, 0.4);
  box-shadow: 0 12px 28px rgba(221, 0, 0, 0.25);
}

[data-bs-theme="dark"] .benefit-icon {
  background: linear-gradient(135deg, #dd0000, #cc0000);
}

[data-bs-theme="dark"] .benefit-title {
  color: #ff6b6b;
}

[data-bs-theme="dark"] .benefit-description {
  color: #c9c9c9;
}

/* Choose Section - Icon-focused design */
.choose-item {
	text-align: center;
	padding: 2rem 1rem;
	transition: transform 0.3s ease;
}

.choose-item:hover {
	transform: translateY(-6px);
}

.choose-icon {
	font-size: 4rem;
	color: #dd0000;
	margin-bottom: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, rgba(221, 0, 0, 0.05), rgba(221, 0, 0, 0.12));
	border-radius: 50%;
	transition: all 0.3s ease;
}

.choose-item:hover .choose-icon {
	background: linear-gradient(135deg, rgba(221, 0, 0, 0.12), rgba(221, 0, 0, 0.18));
	transform: scale(1.05);
}

.choose-title {
	font-size: 1.6rem;
	font-weight: var(--fw-bold);
	color: #1a1a1a;
	line-height: var(--line-height-tight);
	margin-bottom: 1rem;
}

.choose-text {
	font-size: 1.25rem;
	color: var(--muted);
	font-weight: var(--fw-regular);
	line-height: var(--line-height-base);
	margin: 0;
}

/* Comparison Table */
.comparison-card {
	border-top: 4px solid var(--accent);
	background: white;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 2rem;
	margin: 2rem 0;
}

.comparison-table {
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	border-top: none;
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
}

.comparison-table thead {
	background-color: #f5f5f5;
}

.comparison-table thead th {
	padding: 1rem;
	font-weight: var(--fw-semibold);
	border: none;
	vertical-align: middle;
	font-size: var(--font-size-base);
}

.comparison-table tbody td {
	padding: 1rem;
	vertical-align: middle;
	border-color: transparent;
	font-size: var(--font-size-base);
}

.comparison-table tbody td:first-child {
	background-color: #f9f9f9;
	font-weight: var(--fw-semibold);
	width: 20%;
}

.comparison-table tbody td:nth-child(2) {
	background-color: #e8f5e9;
	width: 40%;
	font-weight: var(--fw-medium);
}

.comparison-table tbody td:last-child {
	background-color: #fff5f5;
	width: 40%;
}

/* Dark mode comparison table */
[data-bs-theme="dark"] .comparison-card {
  background: #2a2a2a;
}

[data-bs-theme="dark"] .comparison-table {
  background-color: transparent;
}

[data-bs-theme="dark"] .comparison-table thead {
  background-color: #3a3a3a;
  color: #f5e6e8;
}

[data-bs-theme="dark"] .comparison-table tbody td {
  border-color: #444;
  color: #f5e6e8;
}

[data-bs-theme="dark"] .comparison-table tbody td:first-child {
  background-color: rgba(221, 0, 0, 0.1);
}

[data-bs-theme="dark"] .comparison-table tbody td:nth-child(2) {
  background-color: rgba(0, 200, 83, 0.1);
}

[data-bs-theme="dark"] .comparison-table tbody td:last-child {
  background-color: rgba(221, 0, 0, 0.05);
}

/* Dark mode choose section */
[data-bs-theme="dark"] .choose-icon {
  background: linear-gradient(135deg, rgba(221, 0, 0, 0.15), rgba(221, 0, 0, 0.25));
  color: #ff9999;
}

[data-bs-theme="dark"] .choose-item:hover .choose-icon {
  background: linear-gradient(135deg, rgba(221, 0, 0, 0.25), rgba(221, 0, 0, 0.35));
}

[data-bs-theme="dark"] .choose-title {
  color: #f5e6e8;
}

[data-bs-theme="dark"] .choose-text {
  color: #c9c9c9;
}


.social-links a:hover {
  color: #ffcccc;
}

/* Animated link underlines */
a:not(.btn):not(.navbar-brand):not(.nav-link) {
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:not(.btn):not(.navbar-brand):not(.nav-link):hover {
  border-bottom-color: currentColor;
}

/* Smooth underline animation for footer links */
.footer-main a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.footer-main a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-main a:hover::after {
  width: 100%;
}

/* Social icon hover effect */
.social-links a {
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px) scale(1.1);
}

[data-bs-theme="dark"] .footer-main {
  background-color: #990000;
}
}
