/* ==========================================================================
   TRƯỜNG AN COMCONS.,JSC - OFFICIAL LOGO BRAND DESIGN SYSTEM & STYLESHEET
   Brand Colors from Official Logo:
   - Primary Blue: #004B93 (Vòng tròn xanh dương)
   - Primary Blue Dark: #00366B
   - Accent Red: #E30613 (Chữ T màu đỏ)
   - Accent Yellow: #FFC700 (Chữ A màu vàng)
   - Off-White / Light Slate: #F8FAFC / #F1F5F9
   - Border Gray: #E2E8F0
   - Text Dark: #0F172A
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #004B93;
  --primary-blue-dark: #00366B;
  --primary-blue-light: #0063C6;

  --accent-red: #E30613;
  --accent-red-hover: #C2040F;
  --accent-red-glow: rgba(227, 6, 19, 0.3);

  --accent-yellow: #FFC700;
  --accent-yellow-light: #FFF8D6;
  --accent-yellow-dark: #E5B200;

  /* Aliases for components */
  --primary-navy: #004B93;
  --primary-navy-light: #00366B;
  --secondary-slate: #002D5A;
  --dark-bg: #001F3F;
  
  --accent-orange: #E30613;
  --accent-orange-hover: #C2040F;
  --accent-orange-glow: rgba(227, 6, 19, 0.3);

  --light-bg: #F8FAFC;
  --light-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.15);
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #FFFFFF;
  --text-dim: #94A3B8;

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 6px rgba(0, 75, 147, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 75, 147, 0.12), 0 8px 10px -6px rgba(0, 75, 147, 0.06);
  --shadow-lg: 0 20px 35px -10px rgba(0, 75, 147, 0.22), 0 10px 15px -5px rgba(0, 75, 147, 0.1);
  --shadow-red: 0 8px 25px rgba(227, 6, 19, 0.35);
  --shadow-yellow: 0 8px 25px rgba(255, 199, 0, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
  text-wrap: balance; /* Tự động cân bằng tiêu đề, chống rớt chữ đơn lẻ */
  word-break: keep-all; /* Giữ nguyên từ tiếng Việt không ngắt giữa chừng */
}

p, span, li, a {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

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

/* Device Tester Mode Bar (Top Floating Switcher) */
.device-tester-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #050B14;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 10000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  font-family: var(--font-heading);
}

.device-tester-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.device-tester-info .badge {
  background: var(--accent-orange);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.device-tester-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.device-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.device-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.device-btn.active {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
}

/* Main Site Wrapper */
.site-wrapper {
  margin-top: 0;
  width: 100%;
  transition: all 0.4s ease;
}

.site-wrapper.device-frame-desktop {
  max-width: 1440px;
  margin: 20px auto 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #1E293B;
}

.site-wrapper.device-frame-tablet {
  max-width: 820px;
  margin: 20px auto 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  overflow: hidden;
  border: 8px solid #1E293B;
}

.site-wrapper.device-frame-mobile {
  max-width: 412px;
  margin: 20px auto 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border-radius: 36px;
  overflow: hidden;
  border: 10px solid #1E293B;
}

/* Header & Top Bar */
.header-topbar {
  background: var(--primary-navy);
  color: var(--text-dim);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-dim);
}

.topbar-item.hover-link:hover {
  color: #38BDF8;
}

.topbar-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 12px;
  border-radius: 20px;
  color: #38BDF8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.lang-selector {
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

/* Header Navbar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 8px 30px rgba(0, 75, 147, 0.12);
  border-bottom-color: rgba(227, 6, 19, 0.2);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled .navbar-content {
  height: 66px;
}

/* Logo Brand Emblem */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-emblem svg,
.logo-img {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 75, 147, 0.2));
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-emblem svg,
.brand-logo:hover .logo-img {
  transform: scale(1.06);
}

.logo-text {
  display: none !important;
}

.company-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  color: var(--primary-blue);
  line-height: 1.15;
}

.company-subname {
  font-size: 0.65rem;
  color: var(--primary-blue-dark);
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Navigation Links Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.05vw, 1.2rem);
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Animated active indicator line */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-red);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -2px 8px rgba(227, 6, 19, 0.5);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
}

.nav-item.active::after,
.nav-item:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-link {
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 0.88vw, 0.86rem);
  font-weight: 700;
  padding: 0.75rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

/* Premium Segmented Language Switcher Control */
.lang-switcher-segmented {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  margin-left: 0.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-segmented-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.lang-segmented-btn.active {
  background: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 75, 147, 0.3);
}

.lang-segmented-btn:hover:not(.active) {
  background: rgba(0, 75, 147, 0.1);
  color: var(--primary-blue);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--accent-red);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent-orange);
}

.chevron-icon {
  transition: transform 0.25s ease, color 0.25s ease;
  opacity: 0.75;
}

.nav-item:hover .chevron-icon {
  transform: rotate(180deg);
  color: var(--accent-orange);
  opacity: 1;
}

/* Dropdown Menu (Glassmorphism) */
.dropdown-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: -10px;
  min-width: 275px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1100;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  color: #CBD5E1;
  font-size: 0.84rem;
  font-weight: 500;
  position: relative;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--accent-orange);
  border-radius: 0 2px 2px 0;
  transition: transform 0.2s ease;
}

.dropdown-item:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.dropdown-item:hover {
  background: rgba(255, 107, 0, 0.12);
  color: white;
  padding-left: 1.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent-red);
  color: white;
  box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.btn-accent:hover {
  background: #C4000B;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.5);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.08);
}

.btn-outline-dark {
  border: 1.5px solid var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--primary-navy);
  color: white;
}

.hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Animated Hero Section with Ken Burns Backdrop */
@keyframes kenburnsHero {
  0% {
    transform: scale(1.0) translateY(0);
    filter: brightness(100%);
  }
  50% {
    transform: scale(1.08) translateY(-12px);
    filter: brightness(108%);
  }
  100% {
    transform: scale(1.0) translateY(0);
    filter: brightness(100%);
  }
}

@keyframes gridSlide {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

@keyframes fadeInUpSmooth {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDownSmooth {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBadgeGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 199, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 199, 0, 0.65);
  }
}

.hero-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  color: white;
  background: #0A1628;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: url('images/hero_banner_hd.png') center/cover no-repeat;
  animation: kenburnsHero 24s ease-in-out infinite alternate;
  z-index: 0;
  image-rendering: -webkit-optimize-contrast;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 75% 25%, rgba(255, 199, 0, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 20% 75%, rgba(0, 75, 147, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, rgba(0, 35, 80, 0.68) 0%, rgba(10, 22, 40, 0.88) 100%);
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridSlide 20s linear infinite;
  z-index: 2;
}

.hero-badge {
  animation: fadeInDownSmooth 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, pulseBadgeGlow 3s infinite;
}

.hero-title {
  animation: fadeInUpSmooth 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.hero-desc {
  animation: fadeInUpSmooth 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-cta-group {
  animation: fadeInUpSmooth 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
}

.hero-stats-row {
  animation: fadeInUpSmooth 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: #FF8A3D;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95);
}

.hero-title .highlight-red {
  color: var(--accent-red);
  text-shadow: 0 0 20px rgba(227, 6, 19, 0.5);
}

.hero-title .highlight-yellow {
  color: var(--accent-yellow);
  text-shadow: 0 0 20px rgba(255, 199, 0, 0.5);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: #F8FAFC !important;
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 2rem;
  font-weight: 400;
  background: rgba(10, 22, 40, 0.65);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent-yellow);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual-card {
  position: relative;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-img-box img {
  transform: scale(1.05);
}

.floating-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(10, 22, 40, 0.95);
  border: 1px solid rgba(255, 107, 0, 0.5);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.floating-stat-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-stat-info h5 {
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}

.floating-stat-info p {
  color: #94A3B8;
  font-size: 0.75rem;
}

/* Fast Stats Bar */
.stats-bar-section {
  background: var(--secondary-slate);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0;
  color: white;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

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

.stat-item {
  position: relative;
  padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #CBD5E1;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  display: inline-block;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title.light {
  color: white;
}

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

.section-desc.light {
  color: #94A3B8;
}

/* Core Services Section */
.services-section {
  padding: 6rem 0;
  background: #F8FAFC;
}

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

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

@media (max-width: 992px) {
  .services-grid-7 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid-7 {
    grid-template-columns: 1fr;
  }
}

.service-card-full {
  grid-column: 1 / -1 !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

@media (max-width: 768px) {
  .service-card-full {
    flex-direction: column;
    align-items: flex-start;
  }
}

.service-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-orange);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(10, 22, 40, 0.04);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--accent-orange);
  color: white;
  transform: scale(1.05);
}

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

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-dark);
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-orange);
  margin-top: auto;
  cursor: pointer;
}

.service-link svg {
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* Featured Projects Section */
.projects-section {
  padding: 6rem 0;
  background: var(--primary-navy);
  color: white;
}

.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
  background: var(--accent-orange);
  color: white;
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-orange);
}

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

.project-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 16px 36px rgba(0, 75, 147, 0.15);
}

.project-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 75, 147, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.project-body h3,
.project-body h4 {
  color: var(--primary-blue);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.project-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.8125rem;
  color: #94A3B8;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.project-btn:hover {
  background: var(--accent-orange);
}

/* About Us Overview Section */
.about-section {
  padding: 6rem 0;
  background: white;
}

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

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

.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-main-img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-sub-badge {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--primary-navy);
  color: white;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-orange);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}

.about-sub-badge h4 {
  color: var(--accent-orange);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.about-sub-badge p {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 4px;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.value-box {
  background: var(--light-bg);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-orange);
}

.value-box h5 {
  font-size: 1rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.value-box p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Workflow Section (5 Steps) */
.workflow-section {
  padding: 6rem 0;
  background: var(--light-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.step-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-orange);
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--accent-orange);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.step-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Partners Marquee Section */
.partners-section {
  padding: 4rem 0;
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 3rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-width: 100%;
  gap: 3rem;
  animation: scroll-marquee 25s linear infinite;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.partner-logo-item {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-fast);
  padding: 0 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-navy);
}

.partner-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  color: var(--accent-orange);
}

/* Quick Estimate Calculator & Contact Form Section */
.contact-section {
  padding: 6rem 0;
  background: var(--primary-navy);
  color: white;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-box h2 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contact-info-box p {
  color: #94A3B8;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(30, 41, 59, 0.6);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 107, 0, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.contact-card-text h5 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-card-text p {
  color: #CBD5E1;
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Calculator & Form UI */
.quote-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.quote-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
}

.quote-form-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 6px;
  color: var(--primary-navy);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-orange);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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

.calculator-result-box {
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calculator-result-text {
  font-size: 0.8125rem;
  color: var(--primary-navy);
  font-weight: 600;
}

.calculator-result-amount {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-orange);
}

/* Footer Section */
.main-footer {
  background: #050B14;
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-column h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-branch-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.footer-branch-card h6 {
  color: white;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

/* Modals & Full Sitemap Pages (Dynamic Views) */
.page-view {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.page-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Subpage Hero Banner with High Contrast & Entrance Animations */
.subpage-hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: white;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-yellow);
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: heroBgZoom 25s ease-in-out infinite alternate;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 75, 147, 0.88) 0%, rgba(5, 11, 20, 0.94) 100%);
  z-index: 2;
}

.subpage-hero .container {
  position: relative;
  z-index: 3;
}

.subpage-hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  animation: heroTitleSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: heroBreadcrumbFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.subpage-breadcrumb a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.subpage-breadcrumb a:hover {
  color: var(--accent-yellow);
}

.subpage-breadcrumb .crumb-sep {
  color: var(--accent-yellow);
  font-weight: 700;
}

.subpage-breadcrumb span:last-child {
  color: var(--accent-yellow);
  font-weight: 700;
}

@keyframes heroTitleSlide {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBreadcrumbFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.subpage-content {
  padding: 5rem 0;
}

/* Modal Popup System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-box {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-orange);
  color: white;
}

/* Mobile Drawer Overlay Menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 11, 20, 0.6);
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-nav-close:hover {
  background: var(--accent-orange);
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-item a {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-item a:hover,
.mobile-nav-item.active > a {
  color: var(--accent-orange);
}

/* Mobile Accordion Submenu */
.mobile-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-accordion-header a {
  flex: 1;
}

.accordion-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-accordion.open .accordion-toggle-btn {
  transform: rotate(180deg);
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.75rem;
  margin-top: 0;
}

.mobile-accordion.open .mobile-submenu {
  max-height: 500px;
  padding-top: 0.6rem;
  padding-bottom: 0.4rem;
}

.mobile-submenu a {
  font-size: 0.925rem !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  padding: 0.4rem 0.75rem !important;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease !important;
}

.mobile-submenu a:hover {
  color: var(--accent-orange) !important;
  border-left-color: var(--accent-orange);
  background: rgba(255, 107, 0, 0.08);
  border-radius: 0 6px 6px 0;
}

.mobile-nav-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 11, 20, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-call-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #38BDF8;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px;
  transition: color 0.2s ease;
}

.mobile-call-link:hover {
  color: white;
}

/* Responsive Overrides & Anti-Text-Dropping Rules */

/* Global Anti-Text-Dropping Utility Rules */
.hero-title,
.section-header h2,
.service-card h3,
.project-body h4,
.cert-card h4,
.org-subnode h5,
.personnel-card h4,
.equipment-info h4 {
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

.btn,
.badge,
.topbar-badge,
.stat-number,
.filter-btn,
.mobile-bar-btn,
.company-name,
.company-subname {
  white-space: nowrap;
  word-break: keep-all;
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE STYLES (Applies to Screen Viewports & Tester Frames)
   ========================================================================== */

/* Hide desktop menu & address on screens <= 1100px or inside Tester Frames */
@media (max-width: 1100px) {
  .nav-menu {
    display: none;
  }

  .nav-menu.mobile-active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0A1628 !important; /* 100% Opaque Solid Dark Navy Background */
    opacity: 1 !important;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem !important;
    gap: 0 !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95) !important;
    border-bottom: 3px solid var(--accent-yellow);
    z-index: 99999 !important;
    max-height: 85vh;
    overflow-y: auto;
    animation: fadeInDown 0.25s ease-out forwards;
  }

  .nav-menu.mobile-active .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.5rem 0 !important;
    position: relative;
  }

  .nav-menu.mobile-active .nav-item::after,
  .nav-menu.mobile-active .nav-item.active::after,
  .nav-menu.mobile-active .nav-item:hover::after {
    display: none !important;
    content: none !important;
  }

  .nav-menu.mobile-active .nav-item.active {
    background: rgba(227, 6, 19, 0.15) !important;
    border-left: 4px solid var(--accent-red) !important;
    border-radius: 6px;
    padding-left: 10px !important;
  }

  .nav-menu.mobile-active .nav-link {
    color: #FFFFFF !important;
    font-size: 0.98rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 4px 0;
    border-bottom: none !important;
  }

  .nav-menu.mobile-active .nav-link::after {
    display: none !important;
    content: none !important;
  }

  .nav-menu.mobile-active .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.5rem 0.75rem !important;
    margin: 0.5rem 0 0.25rem !important;
    border-radius: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-menu.mobile-active .nav-item.dropdown-open .dropdown-menu {
    display: flex !important;
  }

  .nav-menu.mobile-active .dropdown-item {
    color: #E2E8F0 !important;
    padding: 8px 10px !important;
    font-size: 0.88rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    width: 100% !important;
    display: block !important;
  }

  .nav-menu.mobile-active .lang-switcher-segmented {
    margin-top: 0.75rem;
    align-self: flex-start;
  }

  .hamburger-btn {
    display: flex !important;
    background: #004B93 !important;
    color: #FFFFFF !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 75, 147, 0.3) !important;
    z-index: 100000 !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
  }

  .hamburger-bar {
    display: block !important;
    width: 20px !important;
    height: 2.5px !important;
    background-color: #FFFFFF !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

  .header-actions .btn {
    display: none !important;
  }

  .topbar-address,
  .topbar-meta {
    display: none !important;
  }

  .topbar-content {
    justify-content: center !important;
    text-align: center !important;
  }

  .topbar-contact {
    justify-content: center !important;
    width: 100% !important;
  }
}

.site-wrapper.device-frame-tablet .nav-menu,
.site-wrapper.device-frame-mobile .nav-menu,
.site-wrapper.device-frame-tablet .topbar-address,
.site-wrapper.device-frame-mobile .topbar-address,
.site-wrapper.device-frame-tablet .topbar-meta,
.site-wrapper.device-frame-mobile .topbar-meta {
  display: none !important;
}

.site-wrapper.device-frame-tablet .hamburger-btn,
.site-wrapper.device-frame-mobile .hamburger-btn {
  display: flex !important;
}

.site-wrapper.device-frame-tablet .topbar-content,
.site-wrapper.device-frame-mobile .topbar-content {
  justify-content: center !important;
}

/* Tablet (max-width: 1024px) & Tablet Frame */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    line-height: 1.25;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    font-size: 1rem;
  }

  .hero-cta-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.site-wrapper.device-frame-tablet .services-grid,
.site-wrapper.device-frame-tablet .projects-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.25rem !important;
}

.site-wrapper.device-frame-tablet .about-grid,
.site-wrapper.device-frame-tablet .contact-grid {
  grid-template-columns: 1fr !important;
}

/* Mobile (max-width: 767px) & Mobile Frame */
@media (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .topbar-contact {
    justify-content: center;
  }

  .hero-section {
    padding: 3.25rem 0 2.75rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 2.15rem);
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem auto 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.875rem;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .stat-label {
    font-size: 0.75rem;
    white-space: normal;
    word-break: keep-all;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .quote-form-card {
    padding: 1.25rem;
  }

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

/* Explicit Overrides for Mobile Tester Frame */
.site-wrapper.device-frame-mobile .container {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.site-wrapper.device-frame-mobile .hero-section {
  padding: 3rem 0 2.5rem !important;
}

.site-wrapper.device-frame-mobile .hero-title {
  font-size: 1.6rem !important;
  line-height: 1.3 !important;
}

.site-wrapper.device-frame-mobile .hero-subtitle {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
}

.site-wrapper.device-frame-mobile .hero-cta-group {
  flex-direction: column !important;
  width: 100% !important;
}

.site-wrapper.device-frame-mobile .hero-cta-group .btn {
  width: 100% !important;
  min-height: 48px !important;
}

.site-wrapper.device-frame-mobile .stats-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
}

.site-wrapper.device-frame-mobile .stat-number {
  font-size: 1.5rem !important;
}

.site-wrapper.device-frame-mobile .services-grid,
.site-wrapper.device-frame-mobile .projects-grid,
.site-wrapper.device-frame-mobile .about-grid,
.site-wrapper.device-frame-mobile .contact-grid,
.site-wrapper.device-frame-mobile .footer-grid,
.site-wrapper.device-frame-mobile .vm-grid,
.site-wrapper.device-frame-mobile .personnel-grid,
.site-wrapper.device-frame-mobile .cert-grid,
.site-wrapper.device-frame-mobile .process-timeline,
.site-wrapper.device-frame-mobile .gallery-grid,
.site-wrapper.device-frame-mobile .project-meta-grid,
.site-wrapper.device-frame-mobile .equipment-grid {
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

.site-wrapper.device-frame-mobile .mobile-sticky-bar {
  display: flex !important;
}

/* Breakpoint 4: 380px (Extra Small Mobile) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.45rem;
  }

  .company-name {
    font-size: 1.05rem;
  }

  .company-subname {
    font-size: 0.55rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   EXTENSIONS FOR 10 FULL PAGES & ADVANCED COMPONENTS
   ========================================================================== */

/* 1. Organizational Chart (Sơ đồ tổ chức) */
.org-chart-container {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  overflow-x: auto;
}

.org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  min-width: 680px;
}

.org-node {
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-slate));
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-orange);
}

.org-node.director {
  font-size: 1.15rem;
  min-width: 280px;
}

.org-branch-level {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.org-subnode {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-orange);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: var(--transition-fast);
}

.org-subnode:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-orange);
}

.org-subnode h5 {
  color: var(--primary-navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.org-subnode p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* 2. Vision Mission Core Values (Tầm nhìn - Sứ mệnh - Giá trị) */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.vm-card {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition-normal);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-color);
  transition: var(--transition-normal);
}

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

.vm-card:hover::before {
  background: var(--accent-orange);
}

.vm-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* 3. Key Personnel Cards */
.personnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.personnel-card {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

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

.personnel-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* 4. Certifications Gallery */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cert-card {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.cert-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--primary-navy-light);
}

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

.cert-card:hover .cert-img-wrap img {
  transform: scale(1.05);
}

/* 5. Process Step Cards */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
  position: relative;
}

.process-step-item {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: var(--transition-normal);
}

.process-step-item:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  width: 36px;
  height: 36px;
  background: var(--primary-navy);
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.process-step-item:hover .step-num-badge {
  background: var(--accent-orange);
  color: white;
}

/* 6. Construction Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* 7. Sample Project Detail Layout */
.project-detail-box {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  border: 1px solid var(--border-color);
}

.meta-item-cell strong {
  display: block;
  color: var(--primary-navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.meta-item-cell span {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1rem;
}

/* 8. Equipment & Machinery Grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.equipment-card {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

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

.equipment-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.equipment-info {
  padding: 1.25rem;
}

.equipment-qty {
  display: inline-block;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* 9. Mobile Floating Bottom Bar for Call & Zalo */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--primary-navy);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  padding: 8px 12px;
  gap: 10px;
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  text-decoration: none;
}

.btn-sticky-call {
  background: linear-gradient(135deg, #FF6B00, #E05E00);
}

.btn-sticky-zalo {
  background: linear-gradient(135deg, #0088FF, #0066CC);
}

/* Map frame */
.map-frame-box {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   ADVANCED ANIMATIONS & SCROLL-TRIGGERED REVEAL SYSTEM
   ========================================================================== */

/* 1. Header Entrance & Scroll Shadow */
@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-anim-entry {
  animation: slideDownHeader 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.main-header.header-scrolled {
  box-shadow: 0 10px 30px rgba(0, 75, 147, 0.15);
  background: rgba(255, 255, 255, 0.98) !important;
}

/* 2. Ken Burns Slow Background Zoom */
@keyframes kenBurnsZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.kenburns-bg {
  animation: kenBurnsZoom 22s ease-in-out infinite alternate;
}

/* 3. Text Highlight Gold Gradient */
.highlight-text-gold {
  background: linear-gradient(90deg, #FFC700 0%, #FFE680 50%, #FFC700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGold 4s linear infinite;
}

@keyframes shineGold {
  to { background-position: 200% center; }
}

/* 4. Pulse CTA Glow Animation */
@keyframes pulseGlowRed {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(227, 6, 19, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
  }
}

.pulse-btn {
  animation: pulseGlowRed 2.2s infinite;
}

/* 5. Scroll-Triggered Reveal Animations ([data-reveal]) */
[data-reveal] {
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-reveal="fadeInUp"] {
  transform: translateY(35px);
}

[data-reveal="fadeInLeft"] {
  transform: translateX(-40px);
}

[data-reveal="fadeInRight"] {
  transform: translateX(40px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger Delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* 6. Card Hover Lift & Glow */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -10px rgba(0, 75, 147, 0.25);
}

/* 7. Image Hover Zoom */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-hover-zoom:hover img {
  transform: scale(1.08);
}

/* 8. Why Choose Us Grid */
.why-us-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.why-card {
  background: var(--light-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.why-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* 9. Workflow Progress Line Animation */
.workflow-section {
  padding: 5rem 0;
  background: white;
}

.process-timeline {
  position: relative;
}

.workflow-line-progress {
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: #E2E8F0;
  z-index: 1;
}

.workflow-line-active {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-yellow), var(--primary-blue));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-timeline.revealed .workflow-line-active {
  width: 100%;
}

.process-step-item {
  position: relative;
  z-index: 2;
}

/* 10. Infinite Partner Marquee Loop */
.partners-section {
  padding: 4rem 0;
  background: white;
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-blue-dark);
  letter-spacing: 1px;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.partner-logo-card:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* 11. Testimonial Slider Styling */
.testimonials-section {
  padding: 5rem 0;
  background: var(--primary-blue-dark);
  color: white;
}

.testimonials-section .section-header h2 {
  color: white;
}

.testimonial-slider-box {
  max-width: 860px;
  margin: 3rem auto 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.testimonial-quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-yellow);
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #E2E8F0;
  margin: 1rem 0 2rem;
  font-style: italic;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-info img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-yellow);
}

.testimonial-controls {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  gap: 0.5rem;
}

.testimonial-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-nav-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .workflow-line-progress {
    display: none;
  }
}

/* Comprehensive Responsive Table & Element Rules */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: 12px;
}

@media (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .subpage-hero h1 {
    font-size: 1.6rem !important;
  }
  
  .subpage-hero {
    padding: 3rem 1rem !important;
  }
}

