/*
 * ============================================================
 *   - Corporate Frontend Theme
 *  Premium Cybersecurity Website Styles
 *  Version 6.0 | Bootstrap 5.3 + Custom
 * ============================================================
 */

:root {
  --primary: #0099FF;
  --primary-dark: #007ACC;
  --primary-light: #33ADFF;
  --primary-rgb: 0, 153, 255;
  --dark-deep: #0a0f1a;
  --dark: #0f1729;
  --dark-mid: #162033;
  --dark-light: #1a2332;
  --text-dark: #0f1729;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --off-white: #f8f9fa;
  --white: #ffffff;
  /* Font thống nhất toàn site: Be Vietnam Pro — chuyên nghiệp, sang trọng, hỗ trợ tiếng Việt */
  --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 10px;

  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
  --shadow-gold: 0 8px 30px rgba(0, 153, 255, 0.28);
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-mid);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 16px;
  line-height: 1.7;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.text-primary {
  color: var(--primary) !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-white {
  color: var(--white) !important;
}

.highlight {
  color: var(--primary);
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  color: var(--dark);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-badge i {
  font-size: 14px;
}

.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}


/* ========== HEADER ========== */
.header-area {
  z-index: 1030;
  transition: var(--transition);
}

.header-area.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.top-header-area {
  background: rgba(15, 23, 41, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.header-content-left {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 0;
}

.header-content-left li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.5);
}

.header-content-left li a {
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-content-left li a:hover {
  color: var(--primary);
}

.header-content-left li i {
  color: var(--primary);
  font-size: 14px;
}

.header-content-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.header-content-right li a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: var(--transition);
}

.header-content-right li a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.main-nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
  transition: var(--transition);
}

.main-nav .navbar-nav .nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 28px 18px;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav .navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 3px 3px 0 0;
  transition: var(--transition);
}

.main-nav .navbar-nav .nav-item .nav-link:hover,
.main-nav .navbar-nav .nav-item.active .nav-link {
  color: var(--primary);
}

.main-nav .navbar-nav .nav-item .nav-link:hover::after,
.main-nav .navbar-nav .nav-item.active .nav-link::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
  margin: 0 auto;
}

.navbar-toggler .icon-bar+.icon-bar {
  margin-top: 5px;
}

.others-option {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}

.others-option .default-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.others-option .default-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--dark);
}


/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark-deep) 0%, var(--dark) 40%, var(--dark-mid) 100%);
  overflow: hidden;
  padding-top: 120px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 16px;
}

.hero-title_1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title_1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc_1 {
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  color: var(--dark);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-visual-circle {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.05) 50%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-circle::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  animation: pulse-ring 3s ease-in-out infinite;
}

.hero-visual-circle::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  animation: pulse-ring 3s ease-in-out infinite 1s;
}

@keyframes pulse-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}

.hero-visual-inner {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.15);
}

.hero-float-card {
  position: absolute;
  background: rgba(15, 23, 41, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 15%;
  right: 5%;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 20%;
  left: 0%;
  animation-delay: 2s;
}

.hero-float-card.card-3 {
  bottom: 35%;
  right: 0%;
  animation-delay: 4s;
}

.hero-float-card i {
  font-size: 28px;
  color: var(--primary);
}

.hero-float-card .float-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.hero-float-card .float-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}


/* ========== STATS BAR ========== */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.stats-bar .stat-item {
  text-align: center;
  padding: 10px;
  position: relative;
  z-index: 1;
}

.stats-bar .stat-number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stats-bar .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 23, 41, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ========== SERVICES ========== */
.services-section {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  height: 100%;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.service-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition-slow);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.service-link:hover {
  gap: 14px;
  color: var(--primary-dark);
}

/* ========== ABOUT ========== */
.about-section {
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
}

.about-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ========== CTA ========== */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-deep) 100%);
  padding: 100px 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-title .highlight {
  color: var(--primary);
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}


/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-deep) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero h1 .highlight {
  color: var(--primary);
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ========== BREADCRUMB ========== */
.breadcrumb-nav {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb-nav .breadcrumb {
  margin: 0;
  font-size: 13px;
}

.breadcrumb-nav .breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb-nav .breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-nav .breadcrumb-item.active {
  color: var(--text-mid);
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 100px 0;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-info-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.contact-info-card>p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  position: relative;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.contact-info-item .info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-item a:hover {
  color: var(--primary);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  position: relative;
}

.contact-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form-card>p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.contact-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form select.form-control {
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
  background: var(--off-white);
}

.contact-form .form-control:focus,
.contact-form select.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
  background: var(--white);
  outline: none;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: var(--radius-pill);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.map-section {
  background: var(--off-white);
  padding: 0;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-direction: column;
  gap: 12px;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
}


/* ========== NEWS ========== */
.news-section {
  padding: 100px 0;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: var(--transition-slow);
  margin-bottom: 24px;
}

.news-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.news-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.news-title a:hover {
  color: var(--primary);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.news-read-more:hover {
  gap: 14px;
  color: var(--primary-dark);
}

/* ========== NEWS DETAIL PAGE (DARK PREMIUM) ========== */
.news-detail-page {
  background: linear-gradient(135deg, var(--dark-deep) 0%, var(--dark) 100%);
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .news-article-shift {
    transform: translateX(-30px);
  }
}

.news-detail-hero {
  position: relative;
  padding: 220px 0 100px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.news-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 26, 0.95) 0%, rgba(10, 15, 26, 0.85) 50%, var(--dark-deep) 100%);
}

.news-detail-hero .container {
  position: relative;
  z-index: 2;
}

.news-detail-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto 24px;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.news-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.news-detail-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-detail-meta-row i {
  color: var(--primary);
  font-size: 1.1rem;
}

.news-detail-cat-badge {
  background: rgba(var(--primary-rgb), 0.15);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--primary) !important;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.news-article-panel {
  background: rgba(22, 32, 51, 0.6);
  padding: clamp(20px, 4vw, 50px);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.news-feature-image {
  margin: calc(clamp(20px, 4vw, 50px) * -1) calc(clamp(20px, 4vw, 50px) * -1) 40px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  position: relative;
}

.news-feature-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-feature-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 12px 20px;
  text-align: center;
}

.news-article-body {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.news-article-body p {
  margin-bottom: 24px;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
  color: #fff;
  margin: 40px 0 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.news-article-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.news-article-body h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.news-article-body img {
  border-radius: 16px;
  margin: 32px 0;
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-article-body blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  padding: 30px;
  margin: 40px 0;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 20px rgba(var(--primary-rgb), 0.02);
}

.badge-custom {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 8px 8px 0;
  transition: 0.3s ease;
  text-decoration: none;
}

.badge-custom:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.card-3d-effect {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.card-3d-effect:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sidebar-card {
  background: rgba(22, 32, 51, 0.6);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 3px;
}

.sidebar-search-form {
  display: flex;
  position: relative;
}

.sidebar-search-form input {
  width: 100%;
  padding: 15px 50px 15px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  outline: none;
  transition: 0.3s;
  color: #fff;
}

.sidebar-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.sidebar-search-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.sidebar-search-form button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 44px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: var(--dark);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.sidebar-search-form button:hover {
  background: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.popular-post-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  text-decoration: none;
  align-items: center;
}

.popular-post-item:last-child {
  margin-bottom: 0;
}

.popular-post-thumb {
  width: 85px;
  height: 85px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popular-post-item:hover .popular-post-thumb img {
  transform: scale(1.15) rotate(3deg);
}

.popular-post-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popular-post-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular-post-info strong {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  transition: 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-post-item:hover .popular-post-info strong {
  color: var(--primary);
}

.archive-list li {
  margin-bottom: 14px;
}

.archive-list li:last-child {
  margin-bottom: 0;
}

.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  transition: 0.3s ease;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid transparent;
}

.archive-list a:hover {
  background: rgba(var(--primary-rgb), 0.05);
  border-color: rgba(var(--primary-rgb), 0.2);
  color: #fff;
  transform: translateX(5px);
}

.archive-list a span i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 0.9rem;
}

.archive-list a em {
  background: rgba(0, 0, 0, 0.3);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  transition: 0.3s ease;
}

.archive-list a:hover em {
  background: var(--primary);
  color: var(--dark);
}

@media (max-width: 991.98px) {
  .news-detail-hero {
    padding: 180px 0 80px;
  }
}

@media (max-width: 767.98px) {
  .news-detail-hero {
    padding: 140px 0 60px;
  }

  .news-detail-meta-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========== ENTERPRISE FOOTER ========== */
.main-footer {
  background: #1a1d29 !important;
  color: #adb5bd;
}

.footer-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer .row {
  row-gap: 12px;
}

.main-footer .text-muted,
.footer-desc {
  color: #adb5bd !important;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.main-footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a,
.footer-bottom-links a {
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom-links a:hover {
  color: #0088ee;
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #adb5bd;
  line-height: 1.6;
}

.footer-contact i {
  color: #0088ee;
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #adb5bd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.footer-social a:hover {
  background: #0088ee;
  border-color: #0088ee;
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.14);
}

.footer-bottom .copyright {
  color: #adb5bd;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-links span {
  color: rgba(173, 181, 189, 0.45);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199.98px) {
  .hero-visual-circle {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 70px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 160px 0 80px;
  }

  .hero-visual {
    margin-top: 60px;
  }

  .hero-visual-circle {
    width: 300px;
    height: 300px;
  }

  .hero-visual-inner {
    width: 140px;
    height: 140px;
    font-size: 3rem;
  }

  .hero-float-card {
    display: none;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .footer-main {
    padding: 32px 0 24px;
  }

  .footer-col {
    margin-bottom: 24px;
  }

  .contact-info-card {
    margin-bottom: 24px;
  }

  .others-option {
    margin-left: 0;
    padding: 12px 0;
  }

  .footer-main .row {
    row-gap: 16px;
  }
}

@media (max-width: 767.98px) {
  .footer-main .row {
    row-gap: 24px;
  }

  .section {
    padding: 50px 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
    justify-content: center;
  }

  .service-card {
    padding: 30px 24px;
  }

  .contact-info-card {
    padding: 32px 24px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 12px;
  }

  .footer-bottom .copyright {
    text-align: center;
  }

  .page-hero {
    padding: 60px 0 40px;
  }
}

@media (max-width: 575.98px) {
  .stats-bar .stat-number {
    font-size: 1.6rem;
  }

  .map-placeholder {
    height: 280px;
  }
}



/* =========================================
   HEADER 3D HOLOGRAPHIC (CYBER SECURITY)
   ========================================= */

/* Trạng thái mặc định: Cấu trúc 3D & Trong suốt */
.header-holo-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: transparent;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 1px solid rgba(0, 153, 255, 0.1);
  perspective: 1000px;
  /* Bật không gian 3D */
}

/* Thanh Top Header (Đã đổi màu xanh đặc thành kính mờ sang trọng) */
.header-holo-3d .top-header-area {
  background: rgba(10, 30, 60, 0.2);
  /* Kính mờ thay vì xanh đặc */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: slideDown3D 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: top;
}

/* Keyframe thả 3D cho Top Bar */
@keyframes slideDown3D {
  0% {
    opacity: 0;
    transform: rotateX(45deg) translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}

/* Trạng thái cuộn trang (Scrolled) - Kính nổi 3D */
.header-holo-3d.scrolled {
  background: rgba(8, 14, 28, 0.4);
  /* Tối hơn để nổi bật chữ */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 153, 255, 0.15),
    inset 0 -1px 0 rgba(0, 153, 255, 0.3);
  border-bottom: none;
  transform: translateZ(20px);
  /* Nổi lên phía người dùng */
}

/* Ẩn mượt mà Top Bar khi cuộn */
.header-holo-3d.scrolled .top-header-area {
  max-height: 0;
  padding: 0;
  opacity: 0;
  border: none;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Danh sách Text bên trái */
.header-holo-3d .header-content-left a,
.header-holo-3d .header-content-left li {
  color: #B0C4DE !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.header-holo-3d .header-content-left a:hover {
  color: #0099FF !important;
  text-shadow: 0 0 10px rgba(0, 153, 255, 0.6);
  transform: translateY(-2px);
  /* Nhấc lên nhẹ */
}

/* Mạng xã hội 3D bên phải */
.header-holo-3d .header-content-right a {
  color: #ffffff;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.header-holo-3d .header-content-right a:hover {
  background: #0099FF;
  color: #080e1c !important;
  border-color: #0099FF;
  transform: translateY(-5px) translateZ(10px) rotateY(15deg);
  /* Hiệu ứng xoay và nổi 3D */
  box-shadow: 0 8px 20px rgba(0, 153, 255, 0.5);
}

/* Định dạng Menu Chính */
.header-holo-3d .navbar-area {
  background: transparent !important;
}

.header-holo-3d .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  padding: 15px 15px !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Menu Chính - Hiệu ứng Hologram Glow */
.header-holo-3d .nav-link:hover,
.header-holo-3d .nav-link.active {
  color: #0099FF !important;
  text-shadow: 0 0 12px rgba(0, 153, 255, 0.8);
  transform: translateY(-3px) scale(1.05);
  /* Hiệu ứng phình to và nhấc lên */
}

/* DROPDOWN MENU - MỞ RA KIỂU 3D LẬT GẤP */
.header-holo-3d .nav-item.dropdown {
  perspective: 1200px;
  /* Bắt buộc để thẻ con lật 3D */
}

.header-holo-3d .dropdown-menu {
  display: block;
  /* Ghi đè JS của bootstrap để dùng CSS */
  background: rgba(13, 21, 38, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 153, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 153, 255, 0.05);
  padding: 15px 0;
  min-width: 280px;

  /* Animation 3D */
  transform-origin: top center;
  transform: rotateX(-45deg) translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.header-holo-3d .nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: rotateX(0deg) translateY(0);
  pointer-events: auto;
}

/* Item trong Dropdown */
.header-holo-3d .dropdown-item,
.header-holo-3d .dropdown-submenu {
  color: #B0C4DE;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Hover item trong dropdown (Vạch sáng chạy ngang) */
.header-holo-3d .dropdown-item:hover,
.header-holo-3d .dropdown-submenu:hover {
  color: #0099FF;
  background: rgba(0, 153, 255, 0.08);
  padding-left: 32px;
  /* Thụt lề tạo chiều sâu */
}

.header-holo-3d .dropdown-item:hover::before,
.header-holo-3d .dropdown-submenu:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #0099FF;
  box-shadow: 0 0 10px #0099FF;
}

/* NÚT BẤM LIÊN HỆ 3D */
.btn-demo-3d {
  background: linear-gradient(135deg, #E60050 0%, #b3003e 100%);
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  border: none;
  box-shadow: 0 6px 0 #8c0030, 0 10px 20px rgba(230, 0, 80, 0.4);
  transition: all 0.2s ease;
  transform: translateY(0);
}

.btn-demo-3d:hover {
  background: linear-gradient(135deg, #ff1a66 0%, #cc0047 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #8c0030, 0 15px 25px rgba(230, 0, 80, 0.5);
}

.btn-demo-3d:active {
  transform: translateY(6px);
  /* Hiệu ứng lún nút 3D khi click */
  box-shadow: 0 0px 0 #8c0030, 0 5px 10px rgba(230, 0, 80, 0.4);
}

/* ==============================================
   Danh sách Text bên trái (Email, Địa chỉ, SĐT)
   Đã sửa lỗi lệch trục dọc & làm đẹp icon
   ============================================== */
.header-holo-3d .header-content-left {
  padding: 0;
  margin: 0;
}

/* ==============================================
   BẢO VỆ LAYOUT ROW CHO TOP HEADER
   ============================================== */
.header-top-row {
  display: flex !important;
  flex-direction: row !important;
  /* Ép buộc 2 cột trái/phải luôn nằm ngang */
  flex-wrap: wrap !important;
  gap: 0 !important;
  /* Khử lỗi bị rỗng ở giữa do global css "gap" gây ra */
  margin-left: -15px !important;
  margin-right: -15px !important;
  width: 100%;
}

/* Đảm bảo danh sách nội dung bên trái và phải được căn chỉnh chuẩn xác */
.header-top-row .header-content-left {
  align-items: center;
}

.header-top-row .header-content-right {
  align-items: center;
}

/* Ép các thẻ li (địa chỉ) cùng nằm trên 1 hàng ngang thẳng tắp */
.header-holo-3d .header-content-left li {
  display: flex;
  align-items: center;
  /* Căn giữa theo trục dọc */
  color: #B0C4DE !important;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  /* Dãn chữ nhẹ để dễ đọc hơn */
}

/* Ép các thẻ a (email, phone) cùng nằm trên 1 hàng ngang */
.header-holo-3d .header-content-left a {
  display: flex;
  align-items: center;
  /* Căn giữa theo trục dọc */
  color: #B0C4DE !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Tách riêng thẻ Icon để canh lề và đổi màu nổi bật */
.header-holo-3d .header-content-left i {
  font-size: 17px;
  color: #0099FF;
  /* Đổi màu icon sang xanh Cyan chuẩn Cyber */
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 8px rgba(0, 153, 255, 0.4);
  /* Thêm viền sáng mờ cho icon */
}

/* Hiệu ứng Hover cho text liên hệ */
.header-holo-3d .header-content-left a:hover {
  color: #0099FF !important;
  text-shadow: 0 0 10px rgba(0, 153, 255, 0.6);
  transform: translateY(-1px);
}




/* add header */
/* =========================================
   TỔNG QUAN HEADER - GLASSMORPHISM 3D
========================================= */
.header-holo-3d {
  background: rgba(15, 23, 42, 0.75);
  /* Tông nền tối không gian mạng */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 153, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease-in-out;
}

/* =========================================
   TOP HEADER (THÔNG TIN LIÊN HỆ & MẠNG XÃ HỘI)
========================================= */
.top-header-area {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.top-header-area a,
.top-header-area span {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-header-area a:hover,
.header-content-left i,
.header-content-right a:hover i {
  color: #0099FF;
  /* Xanh Cyan */
  text-shadow: 0 0 8px rgba(0, 153, 255, 0.5);
}

/* =========================================
   MENU NAVBAR & NEON GLOW ACCENT
========================================= */
.navbar-light .navbar-nav .nav-link {
  color: #e2e8f0;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #0099FF;
}

/* Hiệu ứng gạch chân phát sáng Neon */
.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0099FF;
  box-shadow: 0 0 10px #0099FF;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 70%;
}

/* Dropdown Menu Mờ */
.dropdown-menu {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 153, 255, 0.2);
}

.dropdown-item {
  color: #cbd5e1;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background: rgba(0, 153, 255, 0.1);
  color: #0099FF;
}

/* =========================================
   NÚT REQUEST DEMO (VÀNG GOLD)
========================================= */
.btn-demo-3d {
  background: transparent;
  color: #0099FF;
  border: 1px solid #0099FF;
  box-shadow: 0 0 10px rgba(0, 153, 255, 0.2);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-demo-3d:hover {
  background: #0099FF;
  color: #0f172a;
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.6);
}

/* =========================================
   NÚT GẠT NGÔN NGỮ (TOGGLE SWITCH)
========================================= */
.language-switcher {
  position: relative;
  width: 64px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  cursor: pointer;
  outline: none;
}

.language-switcher .lang-option {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.language-switcher .lang-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  background: #0099FF;
  border-radius: 50%;
  /* Hiệu ứng đàn hồi */
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 153, 255, 0.8);
}

/* Trạng thái đã ấn */
.language-switcher[aria-pressed="true"] .lang-thumb {
  transform: translateX(32px);
}

/* =========================================
   TỐI ƯU MENU MOBILE & SỬA LỖI DROPDOWN
========================================= */
@media (max-width: 991px) {

  /* Căn chỉnh lại toàn bộ danh sách menu */
  .navbar-nav {
    padding-top: 10px;
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Bỏ border cho item cuối cùng */
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  /* Đảm bảo link menu bấm dễ dàng trên cảm ứng */
  .navbar-nav .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 !important;
    width: 100%;
  }

  /* =========================================
       SỬA LỖI DROPDOWN "SERVICES"
    ========================================= */
  .dropdown-menu {
    background: transparent !important;
    /* Xóa nền mờ để đồng bộ khối menu */
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 10px 1.5rem !important;
    /* Thụt lề đầu dòng cho menu con */
    margin-top: 0;

    /* ĐÂY LÀ DÒNG QUAN TRỌNG NHẤT: Bắt buộc đẩy nội dung bên dưới xuống */
    position: static !important;
    float: none;
  }

  .dropdown-item {
    padding: 10px 0;
    color: #94a3b8;
    font-size: 0.95rem;
    white-space: normal;
    /* Chống tràn chữ nếu màn hình quá nhỏ */
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background: transparent;
    color: #0099FF;
    padding-left: 5px;
    /* Hiệu ứng nhích nhẹ sang phải khi chạm */
  }

  /* =========================================
       CĂN CHỈNH NÚT DEMO VÀ NGÔN NGỮ
    ========================================= */
  .get-quote {
    margin-left: 0 !important;
    margin-top: 20px !important;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 153, 255, 0.2);
    width: 100%;
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
  }
}

/* =========================================
   SỬA LỖI DROPDOWN MENU TRÊN MOBILE
========================================= */
@media (max-width: 991px) {

  /* 1. Đảm bảo Dropdown đẩy nội dung bên dưới xuống, không đè lên (Accordion effect) */
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    background-color: transparent !important;
    /* Trong suốt để hòa vào nền menu cha */
    border: none !important;
    box-shadow: none !important;
    padding-left: 1.5rem;
    /* Thụt lề trái để tạo phân cấp menu con */
    padding-top: 0;
    padding-bottom: 0.5rem;
  }

  /* 2. Ép buộc ẩn menu con đi, CHỈ HIỂN THỊ khi click (khi Bootstrap cấp class .show) */
  .navbar-nav .dropdown-menu:not(.show) {
    display: none !important;
  }

  /* 3. Tinh chỉnh các mục bên trong menu con cho mượt mà, sang trọng */
  .navbar-nav .dropdown-item {
    padding: 8px 10px;
    color: #94a3b8 !important;
    /* Xám sáng, tối hơn menu cha 1 chút để dễ phân biệt */
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
  }

  /* 4. Hiệu ứng hover chạm trên điện thoại */
  .navbar-nav .dropdown-item:hover,
  .navbar-nav .dropdown-item:focus {
    background: rgba(0, 153, 255, 0.1) !important;
    color: #0099FF !important;
    /* Đổi sang màu xanh Cyan */
    transform: translateX(5px);
    /* Trượt nhẹ sang phải */
  }
}




/* banner */
/* =========================================
   HERO BANNER - PREMIUM CYBER SECURITY
   ========================================= */
/* =========================================
   1. KHỐI HERO BAO PHỦ TOÀN MÀN HÌNH (FULL HD)
========================================= */
.hero-section {
  position: relative;
  width: 100%;
  /* Sử dụng 100svh (Small Viewport Height) giúp hero section bao phủ 
       vừa vặn 100% màn hình trên mobile mà không bị thanh địa chỉ che mất */
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0f172a;
  /* Màu nền dự phòng khi video chưa tải kịp */
}

/* =========================================
   2. XỬ LÝ VIDEO BAO PHỦ GỌN GÀNG, SẮC NÉT
========================================= */
.hero-bg-slider,
.carousel-inner,
.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-item video {
  width: 100%;
  height: 100%;
  /* Lệnh THẦN THÁNH giúp video luôn phủ đầy khối mà không bị méo tỷ lệ */
  object-fit: cover;
  object-position: center;
  /* Giữ trọng tâm video luôn ở giữa */
  filter: contrast(1.1) saturate(1.2);
  /* Tăng nhẹ độ nét và màu sắc cho sang trọng */
}

/* Lớp phủ làm tối video, giúp chữ nổi bật và dễ đọc */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

/* =========================================
   3. ĐỊNH DẠNG NỘI DUNG (MẶC ĐỊNH CHO MÁY TÍNH)
========================================= */
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  /* Tạo khoảng trống nếu có Header cố định (Fixed Header) */
}

.cyber-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 153, 255, 0.1);
  border: 1px solid rgba(0, 153, 255, 0.3);
  border-radius: 30px;
  color: #0099FF;
  /* Xanh Cyan đặc trưng */
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title_1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  /* Đổ bóng tăng chiều sâu 3D */
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #0099FF, #0088ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc_1 {
  color: #cbd5e1;
  /* Xám bạc sáng */
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 90%;
}

/* =========================================
   4. TỐI ƯU HIỂN THỊ TRÊN ĐIỆN THOẠI (GỌN GÀNG, CUỐN HÚT)
========================================= */
@media (max-width: 991px) {
  .hero-title_1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    /* Căn giữa toàn bộ nội dung trên mobile tạo sự cân đối */
  }

  .hero-content .row {
    justify-content: center;
  }

  .hero-desc_1 {
    max-width: 100%;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title_1 {
    font-size: 2.1rem;
    /* Thu nhỏ tiêu đề vừa vặn khung hình điện thoại */
    line-height: 1.35;
  }

  .cyber-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* Tinh chỉnh cụm nút bấm: Xếp dọc và chiếm 100% chiều rộng để dễ bấm bằng ngón tay */
  .hero-content .d-flex {
    flex-direction: column;
    gap: 12px !important;
    align-items: stretch;
    /* Kéo dãn nút */
    margin-top: 2rem !important;
  }

  .hero-content .btn {
    width: 100%;
    justify-content: center;
    /* Căn giữa chữ trong nút */
    padding: 12px 0;
  }
}






.hero-section {
  position: relative;
  min-height: 90vh;
  /* Tràn màn hình, sang trọng hơn */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* --- Phần Nền Chuyển Động --- */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slider .carousel-item {
  height: 100%;
  transition: opacity 1.5s ease-in-out;
  /* Hiệu ứng mờ dần (Fade) siêu mượt */
}

/* Ép ảnh và video luôn Full HD, không bị méo */
.hero-bg-slider img,
.hero-bg-slider video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Lớp Phủ (Overlay) --- */
/* Phủ một lớp màu Xanh Navy mờ lên trên video/ảnh để chữ trắng nổi bật 100% */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(10, 50, 104, 0.45) 0%,
      rgba(79, 132, 207, 0.55) 20%);
  z-index: 2;
}

/* --- Phần Nội Dung (Text & Nút bấm) --- */
.hero-content {
  position: relative;
  z-index: 3;
  /* Nổi lên trên cùng */
  padding-top: 80px;
  /* Đẩy xuống một chút để tránh dính Header */
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: capitalize;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  /* Đổ bóng chữ */
}

.hero-desc {
  font-size: 1.1rem;
  color: #E2E8F0;
  margin-bottom: 35px;
  max-width: 650px;
  line-height: 1.6;
}

/* Hiệu ứng Nút Play phát sáng (Pulse) */
.play-btn-wrapper {
  position: relative;
  display: inline-flex;
}

.play-btn-wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--cyber-red, #1bb635);
  border-radius: 50%;
  animation: pulse 2s infinite;
  opacity: 0;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}



/* tại sao chọn chúng tôi */
/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } */

:root {
  --cyan: #0099FF;
  --cyan-dim: rgba(0, 153, 255, 0.15);
  --cyan-glow: rgba(0, 153, 255, 0.28);
  --teal: #33adff;
  --dark: #080e1c;
  --surface: #0d1526;
  --surface2: #111d33;
  --border: rgba(0, 153, 255, 0.14);
  --border-hi: rgba(0, 153, 255, 0.42);
  --text-hi: #ffffff;
  --text-mid: rgba(255, 255, 255, 0.80);
  --text-low: rgba(255, 255, 255, 0.52);
  --glow-sm: 0 0 16px rgba(0, 153, 255, 0.22);
  --glow-md: 0 0 28px rgba(0, 153, 255, 0.32);
  /* Font thống nhất toàn site: Be Vietnam Pro (đồng bộ với :root chính) */
  --font-display: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


body {
  background: var(--dark);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── GRID BACKGROUND ── */
.page-wrap {
  position: relative;
  background:
    linear-gradient(rgba(0, 153, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 255, 0.035) 1px, transparent 1px),
    var(--dark);
  background-size: 56px 56px;
}

/* ── PARTICLES ── */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 8s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 5%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 13%;
  animation-delay: 1.2s;
  animation-duration: 9s;
}

.particle:nth-child(3) {
  left: 22%;
  animation-delay: 2.5s;
  animation-duration: 6.5s;
}

.particle:nth-child(4) {
  left: 35%;
  animation-delay: 0.7s;
  animation-duration: 8.5s;
}

.particle:nth-child(5) {
  left: 48%;
  animation-delay: 3.1s;
  animation-duration: 7.5s;
}

.particle:nth-child(6) {
  left: 60%;
  animation-delay: 1.8s;
  animation-duration: 10s;
}

.particle:nth-child(7) {
  left: 72%;
  animation-delay: 0.3s;
  animation-duration: 6.5s;
}

.particle:nth-child(8) {
  left: 83%;
  animation-delay: 2.9s;
  animation-duration: 9.5s;
}

.particle:nth-child(9) {
  left: 91%;
  animation-delay: 1.5s;
  animation-duration: 8s;
}

.particle:nth-child(10) {
  left: 97%;
  animation-delay: 4s;
  animation-duration: 7s;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.7;
  }

  90% {
    opacity: 0.25;
  }

  100% {
    transform: translateY(-60px) scale(1.4);
    opacity: 0;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── WHY US ── */
.why-us-section {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

/* ── SECTION HEADING ── */
.section-heading {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.section-heading h5 {
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s 0.2s forwards;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--text-hi);
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s 0.38s forwards;
  text-shadow: 0 0 40px rgba(0, 153, 255, 0.18);
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  border-radius: 2px;
  animation: pulseBar 2.5s ease-in-out infinite;
}

@keyframes pulseBar {

  0%,
  100% {
    width: 56px;
    opacity: 0.7
  }

  50% {
    width: 100px;
    opacity: 1
  }
}

/* ── TWO-COLUMN ROW ── */
.why-us-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.col-cards {
  flex: 1 1 460px;
}

.col-visual {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

/* ── ACCORDION ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  opacity: 0;
  transform: translateX(-32px) rotateY(-6deg);
  animation: slideInCard 0.55s forwards;
  perspective: 800px;
  transform-style: preserve-3d;
}

.accordion-item:nth-child(1) {
  animation-delay: 0.30s;
}

.accordion-item:nth-child(2) {
  animation-delay: 0.46s;
}

.accordion-item:nth-child(3) {
  animation-delay: 0.62s;
}

.accordion-item:nth-child(4) {
  animation-delay: 0.78s;
}

@keyframes slideInCard {
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

/* left accent bar */
.accordion-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0, 153, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* top-right corner bracket */
.accordion-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  border-radius: 0 10px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.accordion-item:hover,
.accordion-item.active {
  background: var(--surface2);
  border-color: var(--border-hi);
  box-shadow: var(--glow-sm), inset 0 0 32px rgba(0, 153, 255, 0.03);
}

.accordion-item:hover::before,
.accordion-item.active::before,
.accordion-item:hover::after,
.accordion-item.active::after {
  opacity: 1;
}

/* ─ button ─ */
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s;
}

.accordion-btn span:first-child {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--text-hi);
  transition: color 0.25s;
}

.accordion-btn:hover span:first-child,
.accordion-item.active .accordion-btn span:first-child {
  color: var(--cyan);
}

.btn-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}

.btn-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--cyan);
  transition: transform 0.35s;
}

.accordion-item.active .btn-icon {
  background: var(--cyan);
  border-color: var(--cyan);
}

.accordion-item.active .btn-icon svg {
  stroke: #04111d;
  transform: rotate(45deg);
}

/* ─ body ─ */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 22px 0 25px;
}

.accordion-item.active .accordion-body {
  max-height: 160px;
  padding-bottom: 20px;
}

.accordion-body p {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.78;
  color: var(--text-mid);
  padding-left: 16px;
  border-left: 2px solid rgba(0, 153, 255, 0.35);
  margin-top: 2px;
}

/* ── HOLOGRAPHIC FRAME ── */
.collage-wrapper {
  perspective: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.orbit-ring {
  position: absolute;
  width: 108%;
  height: 108%;
  top: -4%;
  left: -4%;
  border: 1px dashed rgba(0, 153, 255, 0.18);
  border-radius: 50%;
  animation: orbit 22s linear infinite;
  pointer-events: none;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  top: -3.5px;
  left: calc(50% - 3.5px);
  box-shadow: 0 0 8px var(--cyan);
}

.holo-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4/5;
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
  border-radius: 16px;
}

@keyframes float3d {

  0%,
  100% {
    transform: rotateY(-5deg) rotateX(3deg) translateY(0);
  }

  50% {
    transform: rotateY(5deg) rotateX(-3deg) translateY(-10px);
  }
}

.holo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  z-index: 1;
  filter: brightness(0.82) contrast(1.08) saturate(0.9);
}

.holo-scan {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 153, 255, 0.025) 3px, rgba(0, 153, 255, 0.025) 4px);
}

.holo-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 153, 255, 0.1), transparent);
  animation: scanBeam 4.5s linear infinite;
}

@keyframes scanBeam {
  0% {
    top: -72px
  }

  100% {
    top: 100%
  }
}

.holo-border {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--cyan), rgba(0, 188, 212, 0.4), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: borderPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 4;
}

@keyframes borderPulse {
  from {
    opacity: 0.5
  }

  to {
    opacity: 1;
    box-shadow: 0 0 28px rgba(0, 153, 255, 0.38)
  }
}

.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 5;
  pointer-events: none;
}

.hud-corner.tl {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.hud-corner.tr {
  top: 10px;
  right: 10px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.hud-corner.bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.hud-corner.br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.hud-tag {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(4, 12, 26, 0.82);
  border: 1px solid var(--border-hi);
  border-radius: 6px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--cyan);
  white-space: nowrap;
  z-index: 6;
  animation: tagBlink 2.5s ease-in-out infinite;
}

@keyframes tagBlink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.45
  }
}

/* ── STATS SECTION ── */
.stats-section {
  padding: 10px 0 10px;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}

/* top glow line */
.stats-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
}

.stat-box {
  padding: 44px 24px 40px;
  text-align: center;
  position: relative;
  border-right: 1px solid var(--border);
  transition: background 0.35s, transform 0.35s;
  cursor: default;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.55s forwards;
}

.stat-box:nth-child(1) {
  animation-delay: 0.2s;
}

.stat-box:nth-child(2) {
  animation-delay: 0.38s;
}

.stat-box:nth-child(3) {
  animation-delay: 0.56s;
}

.stat-box:nth-child(4) {
  animation-delay: 0.74s;
  border-right: none;
}

/* bottom accent line */
.stat-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.38s;
  border-radius: 2px;
}

/* radial glow */
.stat-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.14) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.45s;
  pointer-events: none;
}

.stat-box:hover {
  background: var(--surface2);
  transform: translateY(-3px);
}

.stat-box:hover::before {
  transform: scaleX(1);
}

.stat-box:hover::after {
  transform: translate(-50%, -50%) scale(2.2);
}

/* icon */
.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(0, 153, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.stat-box:hover .stat-icon {
  border-color: var(--border-hi);
  background: rgba(0, 153, 255, 0.1);
  box-shadow: var(--glow-sm);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--cyan);
}

/* number */
.stat-box h3 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.3s, text-shadow 0.3s;
}

.stat-box:hover h3 {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 153, 255, 0.45);
}

/* description */
.stat-box p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-low);
  max-width: 148px;
  margin: 0 auto;
}

/* lift text readability on hover */
.stat-box:hover p {
  color: rgba(255, 255, 255, 0.68);
}

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  .row {
    gap: 40px;
  }

  .col-cards,
  .col-visual {
    flex: 1 1 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .stat-box:nth-child(3) {
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }

  .stat-box:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 20px;
  }

  .why-us-section {
    padding: 72px 0 56px;
  }

  .accordion-btn span:first-child {
    font-size: 14px;
    letter-spacing: 0.8px;
  }

  .accordion-btn {
    padding: 16px 16px 16px 18px;
  }

  .stat-box {
    padding: 32px 16px 28px;
  }

  .stat-box h3 {
    font-size: 32px;
  }
}

/* =========================================
   NÂNG CẤP HIỂN THỊ NỘI DUNG HERO BANNER
   ========================================= */

/* 1. Nhãn (Badge) phía trên tiêu đề */
.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 153, 255, 0.1);
  border: 1px solid rgba(0, 153, 255, 0.3);
  border-radius: 50px;
  color: #0099FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.15);
}

/* 2. Tiêu đề chính (H1) */
.hero-title_1 {
  font-family: var(--font-display);
  /* Font thống nhất toàn site */

  font-size: clamp(2.5rem, 5vw, 4rem);
  /* Tự động to nhỏ mượt mà theo màn hình */
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

/* Hiệu ứng màu gradient siêu mượt cho chữ nhấn mạnh */
.text-gradient-cyan {
  background: linear-gradient(90deg, #0099FF 0%, #0077FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  /* Bỏ viền đen để màu gradient sáng rực lên */
}

/* 3. Đoạn văn bản mô tả (p) */
.hero-desc_1 {
  font-size: 1.15rem;
  color: #B0C4DE;
  /* Xanh xám nhạt cao cấp thay vì trắng tinh */
  line-height: 1.8;
  max-width: 90%;
  margin-bottom: 0;
  font-weight: 400;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* 4. Nâng cấp 2 nút bấm (Buttons) */
/* Nút chính: Phủ gradient, phát sáng (Neon Glow) */
.btn-cyber-glow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0099FF 0%, #0077FF 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-cyber-glow:hover {
  box-shadow: 0 12px 30px rgba(0, 153, 255, 0.6);
  transform: translateY(-4px);
  /* Nhấc nút lên nhẹ khi di chuột */
}

/* Nút phụ: Trong suốt viền sáng (Glassmorphism) */
.btn-cyber-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.btn-cyber-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #0099FF;
  /* Đổi viền sang xanh khi hover */
  color: #0099FF !important;
  transform: translateY(-4px);
}

/* 5. HIỆU ỨNG HOẠT ẢNH (ANIMATION) ĐẲNG CẤP */
/* Ẩn các phần tử lúc ban đầu và chuẩn bị hiệu ứng */
.animate-item {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpHero 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Cài đặt độ trễ để các dòng chữ xuất hiện lần lượt */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.5s;
}

.delay-4 {
  animation-delay: 0.7s;
}

/* Animation lướt từ dưới lên và mờ dần sang rõ */
@keyframes fadeUpHero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* đối tác */
.partner-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.partner-track {
  display: flex;
  /* Sẽ được JS xử lý transition để trượt mượt mà */
  will-change: transform;
}

.partner-item {
  /* Mặc định hiển thị 4 đối tác trên màn hình lớn */
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
  box-sizing: border-box;
}

.partner-card {
  background: #fff;
  border: 1px solid #f4f7f6;
  /* Kế thừa màu nền hệ thống */
  border-radius: 12px;
  /* Bo góc hệ thống */
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  /* Chiều cao cố định cho khung */
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.partner-card:hover {
  border-color: #0088ee;
  /* Màu primary */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  max-width: 100%;
  max-height: 80px;
  /* Giới hạn chiều cao tối đa của logo */
  width: auto;
  object-fit: contain;
  /* Ép ảnh nằm gọn, không bị méo */
  /* Đã xóa hiệu ứng grayscale để logo hiển thị full màu mặc định */
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
  /* Giữ lại hiệu ứng phóng to nhẹ khi hover cho sinh động */
  transform: scale(1.05);
}

.partner-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* KHUNG SECTION GỘP CHỨA ẢNH NỀN */
.partner-merged-section {
  position: relative;
  padding: 80px 0;
  /* Tạo không gian thở cho trên/dưới */
  overflow: hidden;

  /* === CẤU HÌNH ẢNH NỀN FULL HD === */
  /* THAY LINK ẢNH CỦA BẠN VÀO ĐÂY */
  background-image: url('/assets/web/img/partner-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; Bỏ comment dòng này nếu muốn ảnh đứng im khi cuộn chuột (Parallax 3D) */

  /* BỘ LỌC ÉP NÉT ẢNH BẰNG GPU */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* LỚP PHỦ OVERLAY LÀM DỊU ẢNH NỀN (GIÚP CHỮ KHÔNG BỊ CHÌM) */
.partner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Màu Gradient đen xanh mờ - Chuẩn Cyber Security */
  background: linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(22, 32, 51, 0.7) 100%);
  z-index: 0;
}

/* ĐẨY NỘI DUNG NỔI LÊN TRÊN LỚP PHỦ */
.partner-merged-section .container {
  position: relative;
  z-index: 2;
}

/* TÙY CHỈNH MÀU SẮC TIÊU ĐỀ CHO HỢP VỚI NỀN TỐI */
.partner-heading-title {
  color: #0099FF;
  /* Màu xanh lơ phát sáng */
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
  margin-bottom: 10px;
}

.partner-heading-desc {
  color: #cbd5e1;
  /* Màu xám trắng */
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive Breakpoints - Hiển thị đẹp trên mọi thiết bị */

@media (max-width: 991.98px) {

  /* Tablet: Hiển thị 3 đối tác thay vì 2 để tránh khoảng trống quá lớn */
  .partner-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (max-width: 767.98px) {

  /* Điện thoại ngang / Tablet nhỏ: Hiển thị 2 đối tác */
  .partner-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {

  /* Điện thoại dọc (Mobile): Hiển thị 2 đối tác song song nhưng thu gọn khung lại cho tinh tế */
  .partner-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
    /* Giảm khoảng cách giữa 2 thẻ trên mobile */
  }

  .partner-card {
    height: 100px;
    /* Giảm chiều cao thẻ để cân đối với màn hình nhỏ */
    padding: 15px;
  }

  .partner-logo {
    max-height: 60px;
    /* Thu nhỏ logo lại một chút */
  }
}

/* ============================================================
   POST CONTENT — Frontend Rich Text Styling
   Applied to TinyMCE output on article/service detail pages
   ============================================================ */

.post-content,
.service-content,
.article-content {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-mid);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Images */
.post-content img,
.service-content img,
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 24px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.post-content figure,
.service-content figure,
.article-content figure {
  margin: 32px 0;
  text-align: center;
}

.post-content figure img,
.service-content figure img,
.article-content figure img {
  margin: 0 auto;
}

.post-content figcaption,
.service-content figcaption,
.article-content figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Paragraphs */
.post-content p,
.service-content p,
.article-content p {
  margin-bottom: 18px;
  line-height: 1.85;
}

.post-content p:last-child,
.service-content p:last-child,
.article-content p:last-child {
  margin-bottom: 0;
}

/* Headings */
.post-content h2,
.service-content h2,
.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 18px;
  line-height: 1.35;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.post-content h3,
.service-content h3,
.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 32px 0 14px;
  line-height: 1.4;
}

.post-content h4,
.service-content h4,
.article-content h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 12px;
  line-height: 1.45;
}

/* Lists */
.post-content ul,
.post-content ol,
.service-content ul,
.service-content ol,
.article-content ul,
.article-content ol {
  padding-left: 28px;
  margin: 18px 0 24px;
}

.post-content ul li,
.service-content ul li,
.article-content ul li {
  list-style-type: disc;
  margin-bottom: 8px;
  line-height: 1.75;
  padding-left: 4px;
}

.post-content ol li,
.service-content ol li,
.article-content ol li {
  list-style-type: decimal;
  margin-bottom: 8px;
  line-height: 1.75;
  padding-left: 4px;
}

.post-content li ul,
.post-content li ol,
.service-content li ul,
.service-content li ol,
.article-content li ul,
.article-content li ol {
  margin: 8px 0 4px;
}

/* Links */
.post-content a,
.service-content a,
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(var(--primary-rgb), 0.35);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.post-content a:hover,
.service-content a:hover,
.article-content a:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}

/* Blockquote */
.post-content blockquote,
.service-content blockquote,
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
  padding: 18px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1.8;
}

.post-content blockquote p:last-child,
.service-content blockquote p:last-child,
.article-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Tables */
.post-content table,
.service-content table,
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-content table th,
.service-content table th,
.article-content table th {
  background: var(--dark-light);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.post-content table td,
.service-content table td,
.article-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.post-content table tr:last-child td,
.service-content table tr:last-child td,
.article-content table tr:last-child td {
  border-bottom: none;
}

.post-content table tr:hover td,
.service-content table tr:hover td,
.article-content table tr:hover td {
  background: rgba(var(--primary-rgb), 0.03);
}

/* Code */
.post-content code,
.service-content code,
.article-content code {
  background: #f1f5f9;
  color: #e74c3c;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.post-content pre,
.service-content pre,
.article-content pre {
  background: var(--dark-deep);
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.65;
}

.post-content pre code,
.service-content pre code,
.article-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

/* Horizontal rule */
.post-content hr,
.service-content hr,
.article-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 40px 0;
}

/* Text alignment helpers */
.post-content .text-center,
.service-content .text-center,
.article-content .text-center {
  text-align: center;
}

.post-content .text-right,
.service-content .text-right,
.article-content .text-right {
  text-align: right;
}

/* Responsive */
@media (max-width: 767.98px) {

  .post-content,
  .service-content,
  .article-content {
    font-size: 16px;
    line-height: 1.8;
  }

  .post-content h2,
  .service-content h2,
  .article-content h2 {
    font-size: 22px;
    margin: 32px 0 14px;
  }

  .post-content h3,
  .service-content h3,
  .article-content h3 {
    font-size: 19px;
    margin: 26px 0 12px;
  }

  .post-content img,
  .service-content img,
  .article-content img {
    margin: 18px auto;
    border-radius: 6px;
  }

  .post-content table,
  .service-content table,
  .article-content table {
    font-size: 13px;
  }

  .post-content table th,
  .post-content table td,
  .service-content table th,
  .service-content table td,
  .article-content table th,
  .article-content table td {
    padding: 8px 10px;
  }

  .post-content blockquote,
  .service-content blockquote,
  .article-content blockquote {
    padding: 14px 18px;
    font-size: 16px;
  }
}






/* tin tức mới nhất  */

.gaolut-news-section {
  padding: 60px 0;
  /* background: linear-gradient(135deg, #f4f7f6 0%, #ffffff 100%); */
  position: relative;
  overflow: hidden;
}

/* TIÊU ĐỀ CỘT SANG TRỌNG VÀ CHUYÊN NGHIỆP */
.gaolut-section-title {
  font-size: 1.4rem;
  /* Tăng kích thước lên một chút cho bề thế */
  font-weight: 600;
  text-transform: uppercase;

  /* Hiệu ứng chữ Gradient sang trọng */
  background: linear-gradient(90deg, #162033 0%, #0088ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  margin-bottom: 35px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  letter-spacing: 1.5px;
  /* Giãn chữ tạo cảm giác không gian thoáng */
}

/* Thanh gạch chân Gradient phát sáng */
.gaolut-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 50px;
  background: linear-gradient(90deg, #0088ee, #0099FF);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 8px rgba(0, 153, 255, 0.4);
}

/* Dấu chấm công nghệ (Tech-dot) điểm xuyết ở cuối thanh */
.gaolut-section-title::before {
  content: '';
  position: absolute;
  left: 55px;
  bottom: -1px;
  height: 6px;
  width: 6px;
  background: #0099FF;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 10px #0099FF;
}

/* Hiệu ứng trượt thanh và dấu chấm khi hover toàn bộ khối */
.gaolut-news-col:hover .gaolut-section-title::after {
  width: calc(100% - 15px);
}

.gaolut-news-col:hover .gaolut-section-title::before {
  left: 100%;
  background: #0088ee;
  box-shadow: 0 0 10px #0088ee;
}

/* HỆ THỐNG LƯỚI BẢO VỆ CHỐNG XUNG ĐỘT */
.gaolut-news-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 40px;
  width: 100%;
}

.gaolut-news-col {
  flex: 0 0 calc(50% - 20px) !important;
  width: calc(50% - 20px) !important;
  box-sizing: border-box;
}

/* THẺ BÀI VIẾT - HIỆU ỨNG GLASSMORPHISM & 3D */
.gaolut-news-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px;
  text-decoration: none;
  padding: 16px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);

  /* Cấu hình 3D Transition */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

/* HOVER - NỔI 3D SANG TRỌNG */
.gaolut-news-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(52, 152, 219, 0.12), 0 5px 10px rgba(0, 0, 0, 0.05);
  border-color: rgba(52, 152, 219, 0.3);
  /* Ánh viền xanh primary */
  background: rgba(255, 255, 255, 0.95);
}

/* KHUNG ẢNH CỐ ĐỊNH, BO GÓC TRÒN MỀM MẠI */
.gaolut-news-img-wrap {
  flex: 0 0 120px !important;
  width: 120px !important;
  height: 90px !important;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.gaolut-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform 0.6s ease;
}

.gaolut-news-item:hover .gaolut-news-img {
  transform: scale(1.1) rotate(1deg);
  /* Zoom nhẹ ảnh khi hover */
}

/* NỘI DUNG CHỮ */
.gaolut-news-content {
  flex: 1 !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TIÊU ĐỀ BÀI VIẾT BÊN TRONG THẺ */
.gaolut-news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #162033;
  /* Dùng mã màu tối sâu hơn (Dark Mid) cho chữ sắc nét */
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* Cấu hình transition cho cả màu và vị trí */
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gaolut-news-item:hover .gaolut-news-title {
  color: #0088ee;
  /* Chữ tự động trượt nhẹ sang phải 4px khi người dùng đưa chuột vào */
  transform: translateX(4px);
}

.gaolut-news-meta {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.gaolut-news-meta i {
  color: #0088ee;
  font-size: 1rem;
}

/* RESPONSIVE TRÊN ĐIỆN THOẠI */
@media (max-width: 991px) {
  .gaolut-news-row {
    gap: 30px;
  }

  .gaolut-news-img-wrap {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 80px !important;
  }
}

@media (max-width: 768px) {
  .gaolut-news-row {
    flex-direction: column !important;
    gap: 40px;
  }

  .gaolut-news-col {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}

/* ============================================================
 *  SERVICE DETAIL & NEWS DETAIL PAGES
 *   Enterprise — 2026
 * ============================================================ */

/* ========== SERVICE DETAIL ========== */

/* Sidebar */
.service-sidebar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.service-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f1729;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0099FF;
}

.service-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.service-sidebar-nav li {
  margin-bottom: 4px;
}

.service-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.service-sidebar-nav li a:hover,
.service-sidebar-nav li a.active {
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(0, 153, 255, 0.05));
  color: #0099FF;
}

.service-sidebar-nav li a i {
  font-size: 18px;
}

/* Sidebar CTA block */
.service-sidebar-cta {
  background: linear-gradient(135deg, #0f1729, #162033);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.service-sidebar-cta h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-sidebar-cta .small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-bottom: 12px;
}

/* Service detail content area */
.service-detail-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.service-detail-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1729;
  margin: 1.8em 0 0.6em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #0099FF;
}

.service-detail-body h2:first-child {
  margin-top: 0;
}

.service-detail-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f1729;
  margin: 1.4em 0 0.5em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #e5e7eb;
}

.service-detail-body p {
  margin-bottom: 1em;
}

.service-detail-intro {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.5em;
}

.service-detail-body ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.2em;
}

.service-detail-body ul li {
  position: relative;
  padding: 5px 0 5px 26px;
  line-height: 1.7;
}

.service-detail-body ul li::before {
  content: '\f26b';
  font-family: 'boxicons' !important;
  position: absolute;
  left: 0;
  top: 7px;
  color: #00b894;
  font-size: 14px;
}

.service-detail-body ul li i.bx-check-shield {
  position: absolute;
  left: 0;
  top: 7px;
  color: #00b894;
  font-size: 16px;
}

.service-detail-body strong {
  color: #0f1729;
}

/* Service highlight box */
.service-highlight-box {
  margin: 2em 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.service-highlight-box h5 {
  font-weight: 700;
  color: #0f1729;
  margin-bottom: 12px;
}

.service-highlight-box ul {
  margin: 0;
}

.service-highlight-box ul li {
  padding: 3px 0 3px 22px;
}

.service-highlight-box ul li::before {
  top: 5px;
  font-size: 12px;
}

/* Service detail actions */
.service-detail-actions .btn {
  margin-right: 10px;
}


/* ========== NEWS DETAIL ========== */

/* Header */
.news-detail-header {
  background: linear-gradient(135deg, #0a0f1a 0%, #0f1729 40%, #162033 100%);
  padding: 70px 0 50px;
  text-align: center;
}

.news-detail-header .breadcrumb {
  background: transparent;
  justify-content: center;
}

.news-detail-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.5);
}

.news-detail-header .breadcrumb-item a:hover {
  color: #0099FF;
}

.news-detail-header .breadcrumb-item.active {
  color: #0099FF;
}

.news-detail-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.2);
}

.news-detail-title {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 16px 0 20px;
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.news-detail-meta i {
  color: #0099FF;
  margin-right: 4px;
}

/* Body */
.news-detail-body {
  background: #fafbfc;
}

.news-article-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.news-detail-figure {
  margin: 0 -40px 32px;
  text-align: center;
}

.news-detail-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* Article text */
.news-article-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.news-article-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1729;
  margin: 2em 0 0.8em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #0099FF;
}

.news-article-text h2:first-child {
  margin-top: 0;
}

.news-article-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1729;
  margin: 1.5em 0 0.6em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #e5e7eb;
}

.news-article-text p {
  margin-bottom: 1.2em;
}

.news-article-text ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.2em;
}

.news-article-text ul li {
  position: relative;
  padding: 6px 0 6px 28px;
  line-height: 1.7;
}

.news-article-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0099FF;
}

.news-article-text strong {
  color: #0f1729;
}

/* Blockquote — elegant magazine style */
.news-article-text blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 4px solid var(--primary, #0099FF);
  background: #f8f9fa;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-article-text blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  color: #0f1729;
  font-size: 0.9rem;
}

/* Figure / images inside article */
.news-article-text figure {
  margin: 2em auto;
  text-align: center;
  max-width: 100%;
}

.news-article-text figure img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
}

.news-article-text figure figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #9ca3af;
  font-style: italic;
}

/* Tags */
.news-tags h6 {
  display: inline;
  font-weight: 600;
  margin-right: 10px;
}

.news-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  margin: 4px 4px 4px 0;
  transition: all 0.2s ease;
}

.news-tag:hover {
  background: #0099FF;
  color: #0f1729;
}

/* Social share */
.news-share h6 {
  display: inline;
  font-weight: 600;
  margin-right: 10px;
  vertical-align: middle;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin: 0 3px;
  color: #fff;
  font-size: 16px;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.share-facebook {
  background: #1877f2;
}

.share-twitter {
  background: #1da1f2;
}

.share-linkedin {
  background: #0077b5;
}

.share-email {
  background: #6b7280;
}

/* Related posts */
.related-posts-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f1729;
  margin-bottom: 20px;
}

.related-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.related-card-img {
  display: block;
  height: 140px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover .related-card-img img {
  transform: scale(1.06);
}

.related-card-body {
  padding: 16px;
}

.related-card-body h6 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.related-card-body h6 a {
  color: #0f1729;
}

.related-card-body h6 a:hover {
  color: #0099FF;
}

.related-card-body p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}


/* ========== CTA BANNER (shared) ========== */

.cta-banner {
  margin: 2.5em 0;
  padding: 36px;
  background: linear-gradient(135deg, #0f1729 0%, #162033 50%, #0d1a2d 100%);
  border-radius: 16px;
  text-align: center;
  color: #fff;
}

.cta-banner h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #0099FF, #0097a7);
  color: #0f1729;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 153, 255, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 153, 255, 0.45);
}


/* ========== RESPONSIVE ========== */

@media (max-width: 991px) {
  .service-sidebar {
    position: static;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .news-article-content {
    padding: 24px;
  }

  .news-detail-figure {
    margin: 0 -24px 24px;
  }

  .news-detail-title {
    font-size: 1.4rem;
  }

  .news-detail-meta {
    gap: 12px;
    font-size: 12px;
  }

  .cta-banner {
    padding: 24px;
  }

  .cta-banner h4 {
    font-size: 1.15rem;
  }
}


/* ============================================================
 *  POST CONTENT STYLES (for TinyMCE HTML output)
 * ============================================================ */

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f1729;
  margin: 1.8em 0 0.6em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #0099FF;
}

.post-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1729;
  margin: 1.5em 0 0.5em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #e5e7eb;
}

.post-content p {
  margin-bottom: 1.2em;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.2em;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post-content blockquote {
  border-left: 4px solid #0099FF;
  background: #f0f9ff;
  padding: 24px 28px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.75;
}

.post-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.9rem;
  color: #33adff;
  font-weight: 600;
}

.post-content figure {
  margin: 28px 0;
  text-align: center;
}

.post-content figure img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.post-content figure figcaption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}

.post-content a {
  color: #0099FF;
  text-decoration: underline;
}

.post-content a:hover {
  color: #33adff;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.post-content table th,
.post-content table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.post-content table th {
  background: #f8f9fa;
  font-weight: 700;
  color: #0f1729;
}

.post-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-content code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #0099FF;
}

/* ============================================================
   WHITE THEME OVERRIDE — appended 2026-07-07
   Chuyển toàn bộ frontend từ nền tối sang nền trắng.
   Để revert: xóa toàn bộ block này (từ marker WHITE THEME OVERRIDE tới hết file).
   ============================================================ */

/* --- Base body + wrapper --- */
body,
.page-wrap {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* --- Sections có nền tối → nền trắng/xám nhạt --- */
.hero-section,
.hero-visual-inner,
.hero-float-card,
.about-image-placeholder,
.cta-section,
.page-hero,
.contact-info-card,
.news-detail-page,
.news-article-panel,
.sidebar-card,
.accordion-item,
.stats-grid,
.gaolut-section-title,
.service-sidebar-cta,
.news-detail-header,
.cta-banner {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* Alternate sections: xám rất nhạt để phân biệt vùng */
.cta-section,
.stats-grid,
.gaolut-section-title,
.cta-banner {
    background: #f8f9fa !important;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}


/* --- Chữ sáng (trắng) → chữ tối, để đọc được trên nền trắng --- */
.text-white,
.hero-title, .hero-title_1, .hero-desc_1,
.cta-title, .cta-desc,
.page-hero h1, .page-hero p,
.section-heading h2,
.contact-info-card, .contact-info-card h2, .contact-info-card > p,
.contact-info-item p, .contact-info-item a,
.news-detail-title, .news-detail-meta, .news-detail-meta-row,
.news-article-body,
.news-article-body h2, .news-article-body h3, .news-article-body h4,
.sidebar-title,
.popular-post-info strong,
.footer-title,
.stat-box h3,
.accordion-btn span:first-child,
.service-sidebar-cta h6, .service-sidebar-cta .small,
.cta-banner, .cta-banner p {
    color: #1f2937 !important;
}

/* Chữ phụ / muted trên nền trắng */
.hero-float-card .float-sub,
.contact-info-item p,
.news-detail-meta,
.footer-desc {
    color: #6b7280 !important;
}

/* Link giữ màu nhấn (primary) trên nền trắng */
.contact-info-item a,
.archive-list a,
.news-detail-header .breadcrumb-item a {
    color: #007acc !important;
}


/* --- Header: top bar + navbar nền trắng --- */
.header-holo-3d,
.header-holo-3d.scrolled,
.header-area {
    background: rgba(224, 242, 254, 0.02) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    border-bottom: 1px solid rgba(125, 211, 252, 0.55) !important;
    box-shadow: 0 4px 18px rgba(14, 165, 233, 0.08) !important;
}

/* Keep child layers transparent so the light-blue tint is not stacked. */
.header-holo-3d .top-header-area,
.top-header-area,
.header-holo-3d .nav-area {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.header-holo-3d .top-header-area,
.header-holo-3d .header-content-right a,
.header-holo-3d .nav-link,
.header-content-left li,
.header-content-left li a,
.header-content-right li a {
    color: #374151 !important;
}

.navbar-nav .nav-link,
.dropdown-item {
    color: #1f2937 !important;
}
.dropdown-item:hover,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007acc !important;
    background: transparent !important;
}

/* Dropdown panel nền trắng */
.dropdown-menu,
.header-holo-3d .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

/* --- Footer nền trắng, chữ tối --- */
.main-footer {
    background: #f8f9fa !important;
    color: #374151 !important;
    border-top: 1px solid #e5e7eb;
}
.main-footer .text-muted,
.footer-desc,
.main-footer a,
.footer-contact li,
.footer-bottom .copyright {
    color: #6b7280 !important;
}
.footer-title { color: #1f2937 !important; }
.footer-social a {
    background: #ffffff !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
}
.footer-bottom { background: rgba(0,0,0,0.03) !important; }

/* --- Card/panel còn nền tối riêng lẻ → trắng --- */
.hero-float-card,
.hero-visual-inner,
.about-image-placeholder,
.contact-info-card,
.news-detail-page,
.news-article-panel,
.sidebar-card,
.accordion-item,
.stats-grid,
.service-sidebar-cta,
.news-detail-header,
.cta-banner {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
}


/* ============================================================
   WHITE THEME — CORRECTIONS (fix gradient text + overlays)
   ============================================================ */

/* .gaolut-section-title là CHỮ GRADIENT (background-clip:text).
   Không được ép nền lên nó -> khôi phục chữ, đổi sang gradient tối đọc được trên nền trắng. */
.gaolut-section-title {
    background: linear-gradient(90deg, #0f1729 0%, #007acc 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #0f1729 !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Lớp phủ tối trên hero/partner -> trong suốt để nền trắng hiện ra */
.hero-overlay,
.partner-overlay,
.news-detail-hero::before {
    background: transparent !important;
}

/* Hero: bỏ min-height full màn hình kiểu dark, nền trắng gọn gàng */
.hero-section {
    background: #ffffff !important;
}
.hero-section::before,
.hero-section::after,
.page-hero::before {
    opacity: 0.35 !important;
}

/* Đảm bảo chữ trong hero/CTA/partner đọc được trên nền trắng */
.hero-content, .hero-content *,
.partner-content, .partner-content *,
.cta-content, .cta-content * {
    color: #1f2937;
}
.hero-title .highlight,
.hero-title_1 .highlight {
    -webkit-text-fill-color: transparent;
}

/* Nút primary vẫn giữ nền vàng + chữ tối (không bị override làm mất) */
.hero-btn-primary,
.btn-demo-3d {
    color: #0f1729 !important;
}


/* ============================================================
   TYPOGRAPHY COLOR SYSTEM — appended 2026-07-08
   Hệ màu chữ chuyên nghiệp cho nền trắng.
   Heading: #111827 | Body: #374151 | Muted: #6b7280 | Accent: #0099FF
   Revert: xóa từ marker "TYPOGRAPHY COLOR SYSTEM" tới hết file.
   ============================================================ */

/* Remap biến chữ về tông tối, đọc rõ trên nền trắng */
:root {
    --text-hi: #111827 !important;
    --text-mid: #374151 !important;
    --text-low: #6b7280 !important;
    --text-dark: #111827 !important;
    --text-light: #6b7280 !important;
}

/* Nền tảng: body + đoạn văn */
body,
.page-wrap,
p, li, span, td, th, dd, dt, label,
.text-body, .content, .article-content, .post-content, .service-content {
    color: #374151;
}

/* Tất cả tiêu đề → gần đen, sang trọng */
h1, h2, h3, h4, h5, h6,
.section-header h2, .section-heading h2,
.hero-title, .hero-title_1,
.cta-title, .page-hero h1,
.contact-info-card h2, .contact-form-card h3,
.news-title, .news-title a,
.news-detail-title, .sidebar-title, .footer-title,
.stat-box h3, .service-card h3, .about-feature h4,
.related-posts-title, .service-sidebar-title,
.news-article-body h2, .news-article-body h3, .news-article-body h4 {
    color: #111827;
}


/* --- Chữ phụ / meta / muted → xám vừa, không gắt --- */
.text-muted, .text-light, small, .small,
.hero-desc_1, .cta-desc, .page-hero p,
.news-detail-meta, .news-detail-meta-row,
.post-meta, .news-meta, .card-meta,
.footer-desc, .breadcrumb, .breadcrumb-item,
.sidebar-subtitle, .section-subtitle,
.partner-heading-desc, .contact-info-item p {
    color: #6b7280 !important;
}

/* --- Link / accent: vàng đậm hợp brand, đủ tương phản trên nền trắng --- */
a { color: #374151; }
a:hover { color: #0099FF; }
.news-title a:hover,
.related-card-body h6 a:hover,
.gaolut-news-item:hover .gaolut-news-title,
.contact-info-item a,
.archive-list a,
.footer-links a:hover, .footer-contact a:hover,
.news-detail-header .breadcrumb-item a {
    color: #0099FF !important;
}

/* --- Sửa tiêu đề đang dùng cyan / trắng (tương phản kém) --- */
.section-heading h2, .stat-box h3,
.news-detail-title, .sidebar-title,
.service-sidebar-cta h6,
.news-article-body h2, .news-article-body h3, .news-article-body h4 {
    color: #111827 !important;
}
.partner-heading-title { color: #111827 !important; }
.section-heading h5, .stat-box:hover h3,
.stat-box:hover p, .related-card-body h6 a:hover {
    color: #0099FF !important;
}


/* --- FOOTER: footer có class bootstrap .bg-dark .text-light -> ép nền sáng + chữ tối --- */
.main-footer.bg-dark,
footer.bg-dark,
.enterprise-footer {
    background: #f8f9fa !important;
    color: #374151 !important;
}
.main-footer.text-light,
.main-footer .text-light,
.enterprise-footer .text-light,
.main-footer .text-muted,
.footer-desc,
.main-footer a,
.footer-contact li,
.footer-bottom .copyright,
.footer-bottom-links span {
    color: #6b7280 !important;
}
.footer-title,
.enterprise-footer h1, .enterprise-footer h2,
.enterprise-footer h3, .enterprise-footer h4, .enterprise-footer h5 {
    color: #111827 !important;
}
.main-footer a:hover,
.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom-links a:hover {
    color: #0099FF !important;
}
.footer-contact i { color: #0099FF !important; }
.footer-social a {
    background: #ffffff !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
}
.footer-social a:hover {
    background: #0099FF !important;
    color: #ffffff !important;
    border-color: #0099FF !important;
}

/* --- HEADER NAV: chữ tối, hover/active vàng brand --- */
.navbar-nav .nav-link,
.dropdown-item,
.header-holo-3d .nav-link,
.header-content-left li, .header-content-left li a,
.header-content-right li a,
.header-holo-3d .header-content-right a {
    color: #1f2937 !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.dropdown-item:hover,
.header-holo-3d .nav-link:hover {
    color: #0099FF !important;
}


/* --- TYPOGRAPHY: fix low-contrast edge cases on white --- */

/* Nút outline có nền gần trắng -> chữ tối + viền vàng brand để nhìn rõ, sang trọng */
.btn-cyber-outline,
.hero-btn-outline,
.btn-outline-custom {
    background: #ffffff !important;
    color: #0099FF !important;
    border: 1.5px solid #0099FF !important;
}
.btn-cyber-outline:hover,
.hero-btn-outline:hover,
.btn-outline-custom:hover {
    background: #0099FF !important;
    color: #ffffff !important;
    border-color: #0099FF !important;
}

/* Cyan hover trên nav dropdown (specificity 0,3,0) -> vàng brand cho khớp tông */
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus,
.header-holo-3d .header-content-left a:hover,
.header-holo-3d .nav-link:hover,
.header-holo-3d .nav-link:focus {
    color: #0099FF !important;
    background: transparent !important;
}

/* Link cyan trong nội dung bài viết -> vàng brand */
.related-card-body h6 a:hover,
.news-title a:hover,
.gaolut-news-item:hover .gaolut-news-title {
    color: #0099FF !important;
}


/* ============================================================
   CORE SERVICES SECTION — home page (4 cards)
   ============================================================ */
.core-services-section {
    padding: 90px 0;
    background: #ffffff;
}
.core-services-section .section-heading {
    text-align: center;
    margin-bottom: 56px;
}
.core-services-section .section-heading h5 {
    color: #0099FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.core-services-section .section-heading h2 {
    color: #111827;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.core-service {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25,1,0.5,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.core-service::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0099FF, #0099FF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.core-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    border-color: rgba(184,134,11,0.35);
}
.core-service:hover::before { transform: scaleX(1); }
.core-service-icon {
    width: 62px; height: 62px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    color: #0099FF;
    background: linear-gradient(135deg, rgba(240,180,41,0.14), rgba(184,134,11,0.08));
    margin-bottom: 22px;
    transition: all 0.4s ease;
}
.core-service:hover .core-service-icon {
    background: linear-gradient(135deg, #0099FF, #0099FF);
    color: #ffffff;
    transform: scale(1.06);
}
.core-service h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.35;
}
.core-service .core-service-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0099FF;
    margin-bottom: 12px;
    display: block;
}
.core-service p {
    font-size: 0.94rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ============================================================
   GALAXY 3D BACKGROUND — tông xanh #0099FF / trắng
   Fixed layer phủ toàn site, nằm sau nội dung, mượt & nhẹ
   ============================================================ */
#galaxy-bg{
  position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(0,153,255,0.20) 0%, transparent 55%),
    radial-gradient(1000px 700px at 85% 20%, rgba(0,153,255,0.16) 0%, transparent 55%),
    radial-gradient(900px 900px at 50% 100%, rgba(0,153,255,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #f4faff 0%, #e6f2ff 45%, #d9ecff 100%);
}
#galaxy-bg::before,
#galaxy-bg::after{
  content:''; position:absolute; border-radius:50%; filter:blur(55px);
  opacity:0.72; will-change:transform;
}
#galaxy-bg::before{
  width:46vw; height:46vw; left:-8vw; top:-6vw;
  background:radial-gradient(circle, rgba(0,153,255,0.28) 0%, rgba(0,153,255,0) 70%);
  animation:nebulaDrift1 26s ease-in-out infinite alternate;
}
#galaxy-bg::after{
  width:52vw; height:52vw; right:-12vw; bottom:-14vw;
  background:radial-gradient(circle, rgba(51,173,255,0.22) 0%, rgba(51,173,255,0) 70%);
  animation:nebulaDrift2 32s ease-in-out infinite alternate;
}
#galaxy-canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }

@keyframes nebulaDrift1{
  0%{ transform:translate3d(0,0,0) scale(1); }
  100%{ transform:translate3d(6vw,4vh,0) scale(1.15); }
}
@keyframes nebulaDrift2{
  0%{ transform:translate3d(0,0,0) scale(1.05); }
  100%{ transform:translate3d(-5vw,-4vh,0) scale(1.2); }
}

/* Bảo đảm nội dung nổi trên nền galaxy */
body{ position:relative; z-index:0; background:transparent !important; }
.main-content, .page-wrap, main{ position:relative; z-index:1; }

/* Tôn trọng người dùng tắt hiệu ứng chuyển động */
@media (prefers-reduced-motion: reduce){
  #galaxy-bg::before, #galaxy-bg::after{ animation:none; }
}
/* Mobile: giảm tải, tắt blur nặng để mượt & tiết kiệm pin */
@media (max-width:768px){
  #galaxy-bg::before, #galaxy-bg::after{ filter:blur(40px); opacity:0.4; animation-duration:40s; }
}


/* Galaxy nebula layers (3 lớp lệch pha, tông xanh #0099FF) */
.galaxy-nebula{
  position:absolute; border-radius:50%; filter:blur(70px);
  will-change:transform,opacity; pointer-events:none;
}
.galaxy-nebula.nebula-1{
  width:46vw; height:46vw; left:-6vw; top:-4vw; opacity:0.75;
  background:radial-gradient(circle, rgba(0,153,255,0.50) 0%, rgba(0,153,255,0) 70%);
  animation:nebulaDrift1 24s ease-in-out infinite alternate;
}
.galaxy-nebula.nebula-2{
  width:54vw; height:54vw; right:-10vw; bottom:-12vw; opacity:0.68;
  background:radial-gradient(circle, rgba(51,173,255,0.46) 0%, rgba(51,173,255,0) 70%);
  animation:nebulaDrift2 30s ease-in-out infinite alternate;
}
.galaxy-nebula.nebula-3{
  width:40vw; height:40vw; left:38%; top:26%; opacity:0.55;
  background:radial-gradient(circle, rgba(120,200,255,0.40) 0%, rgba(120,200,255,0) 70%);
  animation:nebulaDrift3 36s ease-in-out infinite alternate;
}
@keyframes nebulaDrift3{
  0%{ transform:translate3d(0,0,0) scale(1); }
  100%{ transform:translate3d(-5vw,-4vh,0) scale(1.2); }
}
@media (prefers-reduced-motion: reduce){
  .galaxy-nebula, #galaxy-bg::before, #galaxy-bg::after{ animation:none !important; }
}


/* ============================================================
   LANGUAGE SWITCH — nút gạt EN/VI, tông xanh #0099FF
   ============================================================ */
.lang-switch{
  position:relative; display:inline-flex; align-items:center;
  width:82px; height:34px; padding:3px; border:none; cursor:pointer;
  border-radius:50px; background:rgba(0,153,255,0.10);
  box-shadow:inset 0 0 0 1px rgba(0,153,255,0.35);
  transition:box-shadow .3s ease, background .3s ease;
  overflow:hidden; -webkit-tap-highlight-color:transparent;
}
.lang-switch:hover{ box-shadow:inset 0 0 0 1px rgba(0,153,255,0.6), 0 4px 14px rgba(0,153,255,0.25); }
.lang-switch .lang-opt{
  flex:1 1 50%; z-index:2; text-align:center; font-size:12px; font-weight:800;
  letter-spacing:.06em; color:#0099FF; transition:color .3s ease; user-select:none;
}
.lang-switch .lang-thumb{
  position:absolute; top:3px; left:3px; z-index:1;
  width:calc(50% - 3px); height:calc(100% - 6px); border-radius:50px;
  background:linear-gradient(135deg,#0099FF 0%,#0077cc 100%);
  box-shadow:0 3px 10px rgba(0,153,255,0.45);
  transition:transform .35s cubic-bezier(.4,0,.2,1);
}
/* default = VI (thumb trái, VI trắng) */
.lang-switch .lang-opt[data-lang="vi"]{ color:#fff; }
.lang-switch[data-active="en"] .lang-thumb{ transform:translateX(100%); }
.lang-switch[data-active="en"] .lang-opt[data-lang="vi"]{ color:#0099FF; }
.lang-switch[data-active="en"] .lang-opt[data-lang="en"]{ color:#fff; }
@media (max-width:575.98px){
  .lang-switch{ width:74px; height:30px; }
  .lang-switch .lang-opt{ font-size:11px; }
}


/* ============================================================
   GALAXY SYNC — đồng bộ nền galaxy xuyên suốt mọi trang
   Làm các section nền đặc/tối cũ thành trong suốt hoặc kính mờ
   xanh-trắng, để lớp #galaxy-bg hiện xuyên qua đồng nhất.
   ============================================================ */
/* Các wrapper nền đặc -> trong suốt để galaxy xuyên qua */
.page-wrap, .main-content, .why-us-section, .stats-section,
.partner-merged-section, .core-services-section{
  background: transparent !important;
}

/* HERO các trang trong: nền tối cũ -> gradient xanh-trắng kính mờ */
.page-hero{
  background: linear-gradient(135deg, rgba(0,153,255,0.12) 0%, rgba(255,255,255,0.04) 100%) !important;
}
.page-hero h1, .page-hero p{ color:#0f2540 !important; }
.page-hero h1 .highlight{ color:#0099FF !important; -webkit-text-fill-color:#0099FF; }

/* Section about/news/gaolut: nền đặc -> kính mờ trắng translucent */
.about-section, .gaolut-news-section, .news-detail-page{
  background: linear-gradient(135deg, rgba(255,255,255,0.72) 0%, rgba(240,248,255,0.66) 100%) !important;
}

/* Contact section (đã dark cũ) -> kính mờ xanh nhạt để galaxy hiện */
.contact-section, .cyber-contact-section{
  background: linear-gradient(135deg, rgba(0,153,255,0.10) 0%, rgba(255,255,255,0.05) 100%) !important;
}

/* Card/panel trên nền galaxy: kính mờ (glassmorphism) tông xanh-trắng
   -> đồng bộ chất liệu 3D giữa mọi trang */
.core-service, .service-card, .contact-info-card, .contact-form-card,
.about-feature, .stat-box, .accordion-item, .news-card, .gaolut-news-item,
.sidebar-card, .cyber-form-card{
  background: rgba(255,255,255,0.78) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,153,255,0.16) !important;
  box-shadow: 0 8px 30px rgba(0,153,255,0.10) !important;
}

/* Mobile: tắt backdrop-blur trên card (nặng) để giữ mượt */
@media (max-width:768px){
  .core-service, .service-card, .contact-info-card, .contact-form-card,
  .about-feature, .stat-box, .accordion-item, .news-card, .gaolut-news-item,
  .sidebar-card, .cyber-form-card{
    backdrop-filter:none; -webkit-backdrop-filter:none;
    background: rgba(255,255,255,0.92) !important;
  }
}


/* ===== FIX: page-hero title trên nền sáng galaxy (tránh chữ trắng vô hình) ===== */
.page-hero h1{ color:#0f2540 !important; -webkit-text-fill-color:#0f2540; }
.page-hero h1 .highlight{ color:#0099FF !important; -webkit-text-fill-color:#0099FF; }
.page-hero p{ color:#0f2540 !important; }


/* ============================================================
   TYPOGRAPHY BOOST — chữ nổi bật hơn trên nền galaxy xanh-trắng
   (append cuối file, thắng cascade)
   ============================================================ */

/* Body/paragraph — đậm hơn, đọc rõ trên nền sáng-động */
body, p, li, td, .text-body, .lead {
    color:#0f2540 !important;
    font-weight:450 !important;
    letter-spacing:0.005em !important;
}
.lead, p.lead { font-weight:500 !important; color:#1a3556 !important; }

/* Muted / meta — giữ nhạt hơn nhưng vẫn đủ tương phản */
.text-muted, .text-secondary, small, .meta, .date, .breadcrumb-item, .breadcrumb-item a {
    color:#4b5563 !important;
    font-weight:450 !important;
}

/* Heading — đậm, tối, có nhấn nhẹ để nổi trên nền chuyển động */
h1, h2, h3, h4, h5, h6,
.section-title, .section-heading h2, .section-heading h5,
.svc-section-title, .core-service h3,
.hero-title, .hero-title_1, .page-title,
.blog-hero-title, .ab-section-title, .ab-intro__title, .ab-hero__title{
    color:#0a1e3a !important;
    font-weight:800 !important;
    letter-spacing:-0.015em !important;
    text-shadow:0 1px 2px rgba(0,50,120,0.06);
}
h1, .hero-title, .hero-title_1, .page-title, .blog-hero-title, .ab-hero__title{
    font-weight:900 !important;
    text-shadow:0 2px 24px rgba(0,153,255,0.16), 0 1px 2px rgba(0,50,120,0.10);
}

/* Section eyebrow / tag (chữ nhỏ phía trên tiêu đề) — xanh brand đậm */
.section-eyebrow, .core-service-tagline, .ab-section-tag, .ab-intro__tag,
.svc-section-eyebrow, .svc-cta-eyebrow, .svc-hero-badge,
.blog-hero-eyebrow, .ab-hero__badge{
    color:#0077cc !important;
    font-weight:700 !important;
    letter-spacing:0.14em !important;
    text-transform:uppercase !important;
}

/* Link — xanh brand, hover đậm */
a{ color:#0077cc; font-weight:500; }
a:hover, a:focus{ color:#005c99 !important; }

/* Card title/lead — đậm hơn */
.card-title, .service-card h3, .core-service h3,
.svc-card-title, .ab-val-card__title, .ab-svc-card__title,
.blog-card-title, .news-title{
    color:#0a1e3a !important;
    font-weight:800 !important;
}

/* Chống lỗi chữ trắng còn sót (không phải nút màu) */
:not([class*="btn"]):not([class*="badge"]):not(.text-white):not(footer *):not(.contact-info-card *):not(.news-article-panel *) > .text-white{
    color:#0a1e3a !important;
}


/* ============================================================
   DARK CARD SYNC — chuyển các card/panel nền tối còn sót
   sang kính mờ trắng, đồng bộ với galaxy sáng (chống dark-on-dark)
   ============================================================ */
.hero-float-card,
.contact-info-card,
.news-article-panel,
.sidebar-card,
.service-sidebar-cta,
.cta-banner,
.cta-section{
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    border: 1px solid rgba(0,153,255,0.16) !important;
    box-shadow: 0 12px 34px rgba(0,50,120,0.09) !important;
}

/* Chữ bên trong các card vừa chuyển sáng -> tối, đọc rõ */
.hero-float-card, .hero-float-card *,
.contact-info-card, .contact-info-card *,
.news-article-panel, .news-article-panel *,
.sidebar-card, .sidebar-card *,
.service-sidebar-cta, .service-sidebar-cta *,
.cta-banner, .cta-banner *,
.cta-section, .cta-section *{
    color:#0f2540 !important;
    -webkit-text-fill-color:#0f2540 !important;
}
/* Ngoại lệ: giữ icon/nút màu brand + chữ trên nút màu */
.contact-info-card .btn, .cta-banner .btn, .cta-section .btn,
.sidebar-card .btn, .service-sidebar-cta .btn,
.contact-info-card i, .cta-banner i, .cta-section i,
.sidebar-card i, .service-sidebar-cta i{
    color:#0099FF !important;
    -webkit-text-fill-color:#0099FF !important;
}
.btn-primary, .btn-primary *, .btn-cyber-glow, .btn-cyber-glow *,
.hero-btn-primary, .hero-btn-primary *{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}
/* Meta/muted trong card -> xám vừa */
.contact-info-card .text-muted, .sidebar-card .text-muted,
.news-article-panel .text-muted, .cta-banner .text-muted{
    color:#4b5563 !important; -webkit-text-fill-color:#4b5563 !important;
}

/* Mobile: bỏ blur nặng */
@media (max-width:768px){
  .hero-float-card, .contact-info-card, .news-article-panel, .sidebar-card,
  .service-sidebar-cta, .cta-banner, .cta-section{
    backdrop-filter:none; -webkit-backdrop-filter:none;
    background: rgba(255,255,255,0.95) !important;
  }
}


/* ============================================================
   RESPONSIVE MASTER LAYER — 2026-07-14
   Cân đối mọi trang (Home, Về chúng tôi, Services, Sản phẩm,
   Tin tức, Contact) trên ĐIỆN THOẠI & TABLET.
   NGUYÊN TẮC: chỉ tác động ở màn hình <= 991.98px.
   Desktop (>= 992px) GIỮ NGUYÊN 100%, không có rule nào bên ngoài
   media query này chạm tới desktop.
   Revert: xóa từ marker "RESPONSIVE MASTER LAYER" tới hết file.
   ============================================================ */

/* ===== Nền tảng chống tràn ngang & ảnh co giãn (mọi thiết bị nhỏ) ===== */
@media (max-width: 991.98px){
  html, body{ overflow-x: hidden; max-width: 100%; }
  img, video, canvas, iframe, table{ max-width: 100%; }

  /* Container padding thoáng, cân đối trên tablet */
  .container, .container-fluid{
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* Section padding vừa phải trên tablet */
  .section, .core-services-section, .why-us-section,
  .showcase-section, .gaolut-news-section, .partner-merged-section,
  .contact-section, .cyber-contact-section, .news-section{
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  /* Khoảng cách tiêu đề -> nội dung gọn hơn */
  .section-heading{ margin-bottom: 36px !important; }

  /* Tránh section-heading h2 giãn chữ quá rộng gây tràn trên tablet/mobile */
  .section-heading h2{ letter-spacing: 3px !important; word-break: break-word; }
}

/* ===== TABLET (768px - 991.98px) ===== */
@media (min-width: 768px) and (max-width: 991.98px){
  /* Core services: 2 cột cân đối */
  .core-photo-grid{ grid-template-columns: repeat(2, 1fr) !important; gap: 20px; }

  /* Showcase bento: 2 cột */
  .showcase-grid{ grid-template-columns: repeat(2, 1fr) !important; }

  /* Bố cục Why-us xếp dọc, ảnh holo canh giữa */
  .why-us-section .row{ gap: 40px; }
  .col-cards, .col-visual{ flex: 1 1 100% !important; }

  /* Contact 2 cột -> 1 cột (info trên, form dưới) đã có .row col mặc định,
     đảm bảo card không dính nhau */
  .contact-info-card{ margin-bottom: 24px; }
}

/* ===== ĐIỆN THOẠI (<= 767.98px) ===== */
@media (max-width: 767.98px){
  /* Container sát mép hơn 1 chút để tận dụng bề ngang nhỏ */
  .container, .container-fluid{
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Section padding gọn cho mobile */
  .section, .core-services-section, .why-us-section,
  .showcase-section, .gaolut-news-section, .partner-merged-section,
  .contact-section, .cyber-contact-section, .news-section, .stats-section{
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Tiêu đề section: giảm giãn chữ, canh giữa, cỡ hợp lý */
  .section-heading{ margin-bottom: 28px !important; }
  .section-heading h2{ letter-spacing: 1.5px !important; font-size: clamp(26px, 7vw, 34px) !important; }
  .section-heading h5{ font-size: 15px !important; letter-spacing: 2px !important; }

  /* HOME — Core services & showcase: 1 cột full width */
  .core-photo-grid{ grid-template-columns: 1fr !important; gap: 18px; }
  .showcase-grid{ grid-template-columns: 1fr !important; }
  .showcase-item, .showcase-item.tall, .showcase-item.wide{
    grid-column: auto !important; grid-row: auto !important; height: 220px !important;
  }

  /* HOME — Stats: 2 cột cho gọn (đã có rule 920px, đảm bảo padding nhỏ) */
  .stats-grid{ grid-template-columns: repeat(2, 1fr) !important; }
  .stat-box{ padding: 28px 14px 24px !important; }
  .stat-box h3{ font-size: 30px !important; }

  /* HOME — Why us: xếp dọc, ảnh holo thu nhỏ canh giữa */
  .why-us-section .row{ gap: 32px !important; }
  .col-cards, .col-visual{ flex: 1 1 100% !important; width: 100%; }
  .holo-frame{ max-width: 280px; margin: 0 auto; }

  /* TIN TỨC — 2 cột -> 1 cột (đã có ở 768px), đảm bảo thẻ tin gọn */
  .gaolut-news-item{ padding: 12px !important; gap: 14px; }
  .gaolut-news-img-wrap{
    flex: 0 0 96px !important; width: 96px !important; height: 74px !important;
  }
  .gaolut-news-title{ font-size: 1rem !important; }

  /* NEWS grid card (news-section) -> 1 cột */
  .news-section .row > [class*="col-"]{ width: 100%; }

  /* CONTACT — card padding gọn, xếp dọc */
  .contact-info-card, .contact-form-card{ padding: 26px 20px !important; }
  .contact-info-card{ margin-bottom: 20px; }

  /* SERVICE / NEWS DETAIL — sidebar xuống dưới, nội dung full */
  .service-sidebar{ position: static !important; margin-bottom: 20px; }

  /* PAGE HERO trang con: padding gọn, chữ vừa màn hình */
  .page-hero{ padding: 90px 0 40px !important; }
  .page-hero h1{ font-size: clamp(1.6rem, 7vw, 2.1rem) !important; }
  .page-hero p{ font-size: 0.98rem !important; }

  /* Bảng trong nội dung: cho cuộn ngang thay vì vỡ layout */
  .post-content, .service-content, .article-content,
  .news-article-body, .service-detail-body{ overflow-x: auto; }

  /* Nút bấm: dễ chạm, không quá rộng gây tràn */
  .btn-cyber-glow, .btn-cyber-outline,
  .hero-btn-primary, .hero-btn-outline{
    padding-left: 26px; padding-right: 26px;
  }

  /* Cụm nút hero xếp dọc & full-width để dễ chạm ngón tay */
  .hero-buttons{ flex-direction: column; }
  .hero-buttons .btn,
  .hero-buttons .btn-cyber-glow,
  .hero-buttons .btn-cyber-outline{ width: 100%; justify-content: center; }

  /* Grid Bootstrap chung: mọi cột về full trên mobile để không bị bóp méo */
  .row.g-4 > [class*="col-"]{ margin-bottom: 4px; }
}

/* ===== ĐIỆN THOẠI NHỎ (<= 575.98px) ===== */
@media (max-width: 575.98px){
  .container, .container-fluid{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Stats: 1 cột trên máy rất nhỏ để số liệu không bị chật */
  .stats-grid{ grid-template-columns: 1fr !important; }
  .stats-grid .stat-box{ border-right: none !important; border-top: 1px solid var(--border); }
  .stats-grid .stat-box:first-child{ border-top: none; }

  /* Tiêu đề nhỏ gọn thêm */
  .section-heading h2{ font-size: clamp(23px, 8vw, 30px) !important; }

  /* Thẻ tin: xếp ảnh trên - chữ dưới cho thoáng khi màn quá hẹp */
  .gaolut-news-item{ flex-direction: column !important; align-items: stretch !important; }
  .gaolut-news-img-wrap{
    flex: 0 0 auto !important; width: 100% !important; height: 160px !important;
  }

  /* Logo đối tác & thẻ gọn hơn */
  .partner-card{ height: 92px; padding: 12px; }
  .partner-logo{ max-height: 54px; }

  /* Page hero chữ vừa màn nhỏ */
  .page-hero h1{ font-size: clamp(1.4rem, 8vw, 1.8rem) !important; }
}


