/* ==========================================================================
   LẠC HỒNG DIGITAL - VIỆN NGHIÊN CỨU CHIẾN LƯỢC VÀ PHÁT TRIỂN LẠC HỒNG
   Main Stylesheet
   Theme: Imperial Deep Red (#5d0201), Warm Gold (#d4af37), Sleek Dark (#18181b), Pearl White (#f8fafc)
   Inspiration: Kiến Lạc Color Palette & Visual Elegance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&family=Montserrat:wght@400;500;600;700;800;900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --primary: #5d0201;
  --primary-light: #7e0c0b;
  --primary-dark: #3e0100;
  --primary-subtle: #fbf2f2;
  --gold: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #997300;
  --dark: #18181b;
  --dark-surface: #27272a;
  --dark-elevated: #222226;
  --text-main: #212121;
  --text-muted: #555555;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(93, 2, 1, 0.08);
  --shadow-lg: 0 10px 30px rgba(93, 2, 1, 0.15);
  --shadow-xl: 0 20px 45px rgba(0, 0, 0, 0.2);
  --gold-gradient: linear-gradient(135deg, #fae29c 0%, #d4af37 50%, #aa820a 100%);
  --red-gradient: linear-gradient(135deg, #7e0c0b 0%, #5d0201 50%, #3e0100 100%);
  --hero-gradient: linear-gradient(135deg, rgba(62, 1, 0, 0.94) 0%, rgba(93, 2, 1, 0.88) 60%, rgba(24, 24, 27, 0.96) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Lato', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Lato', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   TOP BAR (Phong cách KienLac)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #2b0201 0%, #3e0100 50%, #1f0100 100%);
  color: #f1f5f9;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-badge {
  background: var(--gold-gradient);
  color: #18181b;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  font-weight: 500;
}

.top-bar-item i {
  color: var(--gold-light);
}

.top-bar-item a:hover {
  color: var(--gold-light);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-switch a {
  color: #cbd5e1;
}

.lang-switch a.active {
  color: var(--gold-light);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 25px rgba(93, 2, 1, 0.12);
  background: #ffffff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-brand img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 7px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 3px 10px rgba(93, 2, 1, 0.15);
  transition: var(--transition);
}

.site-brand:hover img {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
}

.brand-digital {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: 3px;
  line-height: 1;
  white-space: nowrap;
  align-self: flex-end;
}

.footer-brand-img {
  height: 72px;
  width: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.25rem;
}

/* Main Navigation Menu */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #2b2b2b;
  padding: 1.5rem 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.nav-link i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  color: var(--gold-dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-item:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(93, 2, 1, 0.15);
  border-top: 3.5px solid var(--primary);
  border-bottom: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  padding: 0.5rem 0;
}

.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333333;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-search {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--primary);
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-search:hover {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.btn-primary-gradient {
  background: var(--red-gradient);
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(93, 2, 1, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #8f100f 0%, #6e0302 50%, #4a0201 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(93, 2, 1, 0.38);
  border-color: var(--gold-light);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light) !important;
  border: 1.5px solid var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #18181b !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background-color: var(--primary-dark);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 5rem 0 6rem 0;
  color: #ffffff;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title span {
  color: var(--gold-light);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--gold);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  width: 32px;
  border-radius: 12px;
}

/* Hero Bottom Key Metrics Strip (Phong cách KienLac) */
.hero-stats-strip {
  background: rgba(30, 2, 2, 0.9);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.stat-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 1rem;
}

.stat-card-top:last-child {
  border-right: none;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-info .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.stat-info .stat-number span {
  color: var(--gold-light);
}

.stat-info .stat-label {
  font-size: 0.825rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   COMMON SECTION STYLES
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-muted {
  background-color: #f1f5f9;
}

.section-dark {
  background: linear-gradient(135deg, #18181b 0%, #250404 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.3rem 0.9rem;
  background: var(--primary-subtle);
  border: 1px solid rgba(93, 2, 1, 0.2);
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.section-dark .section-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.4);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  position: relative;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3.5px;
  background: var(--gold-gradient);
  margin: 0.8rem auto 0 auto;
  border-radius: 2px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: #cbd5e1;
}

/* ==========================================================================
   ABOUT / WELCOME SECTION (Tận tâm vì giá trị bền vững)
   ========================================================================== */
.about-welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-experience-card {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--red-gradient);
  color: #ffffff;
  padding: 1.5rem 1.8rem;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 12px 30px rgba(93, 2, 1, 0.35);
  max-width: 240px;
}

.about-experience-card .exp-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.about-experience-card .exp-text {
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.35rem;
  line-height: 1.3;
}

.about-content-right h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.about-content-right p {
  color: #4b5563;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* 3 Pillars of Excellence (Uy Tín - Chất Lượng - Hiệu Quả) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pillar-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3.5px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-item:hover {
  transform: translateY(-5px);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.pillar-item .icon {
  font-size: 1.6rem;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}

.pillar-item h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.pillar-item p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   CORE BUSINESS / LĨNH VỰC HOẠT ĐỘNG
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0.8;
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::before {
  height: 6px;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--primary-subtle);
  border: 1px solid rgba(93, 2, 1, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--red-gradient);
  color: var(--gold-light);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.service-card .service-features li {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-card .service-features li i {
  color: var(--gold-dark);
  font-size: 0.75rem;
}

.service-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  color: var(--gold-dark);
  gap: 0.7rem;
}

/* ==========================================================================
   FEATURED PROJECTS / DỰ ÁN & ĐỀ TÀI TIÊU BIỂU
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #4b5563;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red-gradient);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(93, 2, 1, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #18181b;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--red-gradient);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--gold);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-body {
  padding: 1.5rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.project-meta i {
  color: var(--gold-dark);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.project-card:hover .project-title {
  color: var(--primary);
}

.project-desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-status {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.project-status.in-progress {
  color: #d97706;
}

/* ==========================================================================
   ACHIEVEMENT COUNTERS (Công trình, Chi nhánh, Viện thành viên)
   ========================================================================== */
.counter-section {
  background: var(--red-gradient);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.counter-card {
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.counter-card:last-child {
  border-right: none;
}

.counter-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.counter-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.counter-number span {
  color: var(--gold-light);
}

.counter-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #f1f5f9;
}

/* ==========================================================================
   MEMBER UNITS & CENTERS (Cơ cấu Đơn vị thành viên)
   ========================================================================== */
.member-units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.unit-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.unit-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(93, 2, 1, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.unit-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.unit-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.unit-features {
  list-style: none;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 1.25rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

.unit-features li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.unit-features li i {
  color: var(--gold-dark);
  font-size: 0.75rem;
}

/* ==========================================================================
   NEWS & EVENTS (Tin tức - Sự kiện)
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.08);
}

.news-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--gold-gradient);
  color: #18181b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.news-body {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.news-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.news-card:hover .news-title {
  color: var(--primary);
}

.news-excerpt {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   GIÁ TRỊ CỐT LÕI (Core Values) - Cây Giá Trị Cốt Lõi Lạc Hồng
   ========================================================================== */
.core-values-section {
  background: linear-gradient(165deg, #070708 0%, #111114 45%, #09090b 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem; /* Thu nhỏ padding còn 75% */
  position: relative;
  overflow: hidden;
}

.core-values-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 700px 350px at 50% 12%, rgba(220, 38, 38, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 550px 550px at 50% 75%, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

/* Subtle starry dust */
.core-values-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,0.14), transparent),
    radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 50% 12%, rgba(255,255,255,0.12), transparent),
    radial-gradient(1px 1px at 72% 50%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 88% 28%, rgba(255,255,255,0.1), transparent),
    radial-gradient(1px 1px at 15% 82%, rgba(255,255,255,0.09), transparent),
    radial-gradient(1.5px 1.5px at 60% 88%, rgba(255,215,0,0.12), transparent),
    radial-gradient(1px 1px at 40% 40%, rgba(255,255,255,0.06), transparent),
    radial-gradient(1px 1px at 95% 70%, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

/* ── TIÊU ĐỀ NẰM BÊN NGOÀI, PHÍA TRÊN BÔNG HOA (MÀU HOÀNG KIM ĐỒNG ĐIỆU VỚI THÂN CÂY) ── */
.cv-top-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 1.6rem;
  position: relative;
  z-index: 5;
}

.cv-golden-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.35rem; /* Thu nhỏ 75% */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 0.5rem;
  /* Màu hoàng kim rực rỡ giống thân cây */
  background: linear-gradient(135deg, #fff7b8 0%, #ffd700 25%, #d4af37 55%, #b45309 80%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(212, 175, 55, 0.55));
  transition: all 0.35s ease;
}

.cv-golden-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 0.96rem; /* Thu nhỏ 75% */
  font-weight: 500;
  /* Màu chữ hoàng kim đồng điệu hoàn hảo với thân cây */
  color: #e5c378;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Container Cây Giá Trị (Thu nhỏ 75%) ── */
.cv-tree-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1040px; /* Thu nhỏ còn 75% */
  margin: 0 auto;
  position: relative;
  z-index: 2;
  min-height: 615px; /* Thu nhỏ từ 820px còn 615px */
}

/* Cột Trái & Phải */
.cv-tree-side {
  flex: 1;
  position: relative;
  height: 615px; /* Thu nhỏ 75% */
  box-sizing: border-box;
}

.cv-side-left {
  align-items: flex-end;
}

.cv-side-right {
  align-items: flex-start;
}

/* Từng dòng giá trị (Item) */
.cv-value-item {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.cv-side-left .cv-value-item {
  justify-content: flex-end;
  text-align: right;
  right: 0;
}

.cv-side-right .cv-value-item {
  justify-content: flex-start;
  text-align: left;
  left: 0;
}

/* Dây nối từ cành cây đến dòng chữ */
.cv-tree-connector {
  width: 32px; /* Thu nhỏ 75% */
  height: 2px;
  flex-shrink: 0;
}

.cv-tree-connector.left {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.85));
}

.cv-tree-connector.right {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.15));
}

/* ── DÒNG CHỮ GIÁ TRỊ CỐT LÕI (HOÀN TOÀN KHÔNG CÓ NỀN VÀNG) ── */
.cv-tree-text {
  position: relative;
  cursor: pointer;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  max-width: 275px; /* Thu nhỏ 75% */
}

.cv-tree-text span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.94rem; /* Thu nhỏ 75% */
  font-weight: 700;
  color: #ef4444; /* Màu đỏ ban đầu */
  line-height: 1.5;
  display: inline-block;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* KHI DI CHUYỂN VÀO DÒNG CHỮ: SÁNG LÊN HÀO QUANG ĐỎ KIM (KHÔNG CÓ NỀN VÀNG) */
.cv-tree-text:hover span,
.cv-tree-text.is-active span {
  color: #ff3333;
  text-shadow:
    0 0 10px rgba(255, 51, 51, 0.95),
    0 0 24px rgba(255, 51, 51, 0.85),
    0 0 40px rgba(255, 100, 100, 0.65),
    0 0 60px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px) scale(1.04);
}

.cv-tree-text:hover,
.cv-tree-text.is-active {
  background: transparent !important;
  box-shadow: none !important;
}

/* ── CỘT GIỮA: THÂN CÂY HOÀNG KIM NGHỆ THUẬT (Thu nhỏ 75%) ── */
.cv-tree-center {
  position: relative;
  width: 460px; /* Thu nhỏ từ 610px còn 460px */
  height: 615px; /* Thu nhỏ từ 820px còn 615px */
  flex-shrink: 0;
  margin: 0 10px;
}

.cv-tree-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cv-golden-tree-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.3));
}

/* ── LỚP HIỆU ỨNG LẤP LÁNH KHI RÊ CHUỘT VÀO THÂN CÂY ── */
.cv-tree-sparkles-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.cv-tree-sparkle {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
}

@keyframes cvTreeSparkleAnim {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4) rotate(45deg);
  }
  70% {
    opacity: 0.85;
    transform: translate(calc(-50% + var(--dx, 0px)), -75%) scale(1.1) rotate(90deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), -110%) scale(0.2) rotate(180deg);
  }
}

/* ── 1. NỤ HOA ĐANG CHỚM NỞ TẠI ĐỈNH NGỌN CÂY (BUDDING FLOWER) ── */
.cv-grand-bud {
  position: absolute;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  cursor: default;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.cv-bud-svg {
  width: 70px;
  height: 70px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.5));
}

/* ── DÒNG PHỤ ĐỀ NẰM BÊN DƯỚI GỐC CÂY ── */
.cv-bottom-caption {
  text-align: center;
  margin-top: 1.6rem; /* Thu nhỏ 75% */
  position: relative;
  z-index: 5;
}

/* ── 6 BÔNG HOA NẰM TRÊN 6 NHÁNH CÂY (TĂNG KÍCH THƯỚC LỚN HƠN) ── */
.cv-tree-flower {
  position: absolute;
  width: 84px; /* Tăng kích thước bông hoa nổi bật hơn */
  height: 84px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-flower {
  width: 80px; /* Bông hoa to đẹp, nở rộ */
  height: 80px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.55));
  transition: filter 0.35s ease, transform 0.35s ease;
}

/* BÔNG HOA SÁNG LÊN VÀ PHÁT HÀO QUANG NHẤP NHÁY LIÊN TỤC KHI HOVER */
.cv-tree-flower:hover,
.cv-tree-flower.is-active {
  transform: translate(-50%, -50%) scale(1.18);
}

.cv-tree-flower:hover .cv-flower,
.cv-tree-flower.is-active .cv-flower {
  filter:
    drop-shadow(0 0 16px rgba(255, 60, 60, 0.95))
    drop-shadow(0 0 35px rgba(255, 60, 60, 0.75))
    drop-shadow(0 0 55px rgba(255, 215, 0, 0.7))
    brightness(1.4);
  animation: cvFlowerPulseGlow 1.2s ease-in-out infinite alternate;
}

@keyframes cvFlowerPulseGlow {
  0% {
    filter:
      drop-shadow(0 0 14px rgba(255, 50, 50, 0.95))
      drop-shadow(0 0 28px rgba(255, 215, 0, 0.75))
      drop-shadow(0 0 45px rgba(255, 60, 60, 0.5))
      brightness(1.3);
    transform: rotate(0deg) scale(1.02);
  }
  100% {
    filter:
      drop-shadow(0 0 24px rgba(255, 70, 70, 1))
      drop-shadow(0 0 45px rgba(255, 225, 0, 0.95))
      drop-shadow(0 0 65px rgba(255, 100, 100, 0.75))
      brightness(1.5);
    transform: rotate(12deg) scale(1.14);
  }
}

/* ── HIỆU ỨNG PHÁO HOA (Chung cho Bông Hoa & Dòng Chữ) ── */
.cv-firework-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
  overflow: visible;
}

.cv-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  animation: cvFirework 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes cvFirework {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.15);
  }
}

.cv-particle.spark {
  animation: cvSpark 0.6s ease-out forwards;
}

@keyframes cvSpark {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

.cv-particle.comet {
  border-radius: 40%;
  animation: cvComet 0.7s ease-out forwards;
}

@keyframes cvComet {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.1) rotate(180deg);
  }
}

/* ── Responsive Mobile & Tablet ── */
@media (max-width: 1200px) {
  .cv-tree-center {
    width: 520px;
    height: 700px;
  }
  .cv-tree-side {
    height: 700px;
  }
  .cv-tree-container {
    min-height: 700px;
  }
  .cv-tree-text span {
    font-size: 1.02rem;
  }
}

@media (max-width: 992px) {
  .cv-tree-container {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }
  .cv-golden-title {
    font-size: 2.6rem;
  }
  .cv-golden-subtitle {
    font-size: 1.05rem;
  }
  .cv-tree-center {
    width: 440px;
    height: 590px;
    order: 1;
    margin: 0 auto 2rem;
  }
  .cv-grand-bud {
    width: 90px;
    height: 90px;
  }
  .cv-bud-svg {
    width: 82px;
    height: 82px;
  }
  .cv-tree-side {
    height: auto;
    width: 100%;
    max-width: 560px;
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
  }
  .cv-value-item {
    position: static;
    transform: none;
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
  }
  .cv-tree-connector {
    display: none;
  }
}

@media (max-width: 576px) {
  .cv-golden-title {
    font-size: 2rem;
  }
  .cv-golden-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  .cv-tree-center {
    width: 330px;
    height: 440px;
    margin-bottom: 1.5rem;
  }
  .cv-grand-bud {
    width: 74px;
    height: 74px;
  }
  .cv-bud-svg {
    width: 68px;
    height: 68px;
  }
  .cv-tree-flower {
    width: 54px;
    height: 54px;
  }
  .cv-flower {
    width: 50px;
    height: 50px;
  }
  .cv-tree-text span {
    font-size: 0.94rem;
  }
}

/* ==========================================================================

/* ==========================================================================
   PHILOSOPHY & INTERNAL SPIRIT SECTION
   ========================================================================== */
.philosophy-section {
  background: linear-gradient(135deg, #2b0100 0%, #4a0201 50%, #200000 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.philosophy-badge {
  display: inline-block;
  margin-bottom: 2rem;
}

.philosophy-badge span {
  display: inline-block;
  padding: 0.55rem 1.75rem;
  border-radius: 50px;
  border: 1.5px solid var(--gold);
  background: rgba(212, 175, 55, 0.12);
  color: #f59e0b;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.philosophy-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.95;
  color: #f8fafc;
  margin: 0 auto 3rem;
  max-width: 960px;
  text-align: center;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.2);
}

.philosophy-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 2.1rem;
  transition: transform 0.3s ease;
}

.philosophy-card:hover .philosophy-icon {
  transform: scale(1.15);
  color: #fef08a;
}

.philosophy-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.philosophy-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

@media (max-width: 860px) {
  .philosophy-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .philosophy-quote {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

/* ==========================================================================
   PARTNERS & COOPERATION
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.partner-logo-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.partner-logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(93, 2, 1, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.partner-logo-item:hover::before {
  opacity: 1;
}

.partner-img-box {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.partner-img-box img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.partner-logo-item:hover .partner-img-box img {
  transform: scale(1.06);
}

.partner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}

.partner-code {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.partner-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   CONSULTATION / CTA SECTION (KienLac Connect Box)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #3e0100 0%, #5d0201 50%, #1f0303 100%);
  border-radius: 16px;
  padding: 4rem 3.5rem;
  color: #ffffff;
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta-quick-contacts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.9rem;
}

.cta-contact-pill i {
  color: var(--gold-light);
}

.cta-form-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.4);
}

.form-input::placeholder {
  color: #94a3b8;
}

/* ==========================================================================
   FOOTER (Chân trang cao cấp theo phong cách KienLac)
   ========================================================================== */
.site-footer {
  background: #140101;
  color: #cbd5e1;
  padding-top: 5rem;
  border-top: 3px solid var(--gold);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-brand .company-sub {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.6;
}

.footer-contact-list li i {
  color: var(--gold-light);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.branch-line {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.branch-line strong {
  color: var(--gold-light);
}

/* Branch Cards (Network Section) */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.branch-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red-gradient);
}

.branch-card.is-hq::before {
  background: var(--gold-gradient);
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.branch-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.branch-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.branch-card.is-hq .branch-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
}

.branch-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.branch-card.is-hq .branch-badge {
  color: var(--gold-dark);
}

.branch-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.branch-address {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.branch-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.branch-card:hover .branch-action {
  color: var(--gold-dark);
  transform: translateX(3px);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--gold-gradient);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 0.65rem;
  color: var(--gold-dark);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 0.35rem;
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.newsletter-box {
  display: flex;
  margin-bottom: 1.25rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px 0 0 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-btn {
  background: var(--gold-gradient);
  color: #18181b;
  border: none;
  padding: 0 1.2rem;
  font-weight: 700;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gold);
  color: #18181b;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--gold-light);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PAGE BANNER (For Subpages: Giới thiệu, Lĩnh vực, Dự án, Tin tức, Liên hệ)
   ========================================================================== */
.page-banner {
  background: var(--hero-gradient);
  position: relative;
  padding: 4.5rem 0;
  color: #ffffff;
  border-bottom: 2px solid var(--gold);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.page-breadcrumb a {
  color: var(--gold-light);
}

.page-breadcrumb i {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* ==========================================================================
   MODAL & BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-gradient);
  border: 1.5px solid var(--gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
  color: #18181b;
  transform: translateY(-4px);
}

/* Search Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 2, 2, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-search-box {
  background: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 650px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #64748b;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--primary);
}

.search-input-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.search-input-group input {
  flex-grow: 1;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.search-input-group input:focus {
  border-color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.825rem;
  }
  .services-grid,
  .projects-grid,
  .news-grid,
  .member-units-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-inner {
    height: 75px;
  }
  .site-brand img {
    height: 48px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--primary);
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-link {
    padding: 0.85rem 0;
    width: 100%;
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    background: #f8fafc;
    display: none;
    padding-left: 0.5rem;
  }
  .nav-item.dropdown-open > .dropdown-menu {
    display: block;
  }
  .btn-primary-gradient.desktop-only {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-welcome {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .counter-card:nth-child(2) {
    border-right: none;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .top-bar-left, .top-bar-right {
    justify-content: center;
    width: 100%;
  }
  .top-bar {
    text-align: center;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .stats-grid,
  .services-grid,
  .projects-grid,
  .news-grid,
  .member-units-grid,
  .pillars-grid,
  .counter-grid,
  .partners-grid,
  .branches-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stat-card-top,
  .counter-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }
  .cta-banner {
    padding: 1.75rem 1.25rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.65rem;
  }
}
