/* ============================================
   Beijing ZKGX Institute - English Website
   Main Stylesheet
   Colors: #2a3d75 (Primary), #ffffff, #c8a45c (Accent)
   Fonts: Inter (body), Poppins (headings)
   Icons: Remix Icon (Apache 2.0)
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #2a3d75;
  --primary-light: #3d5299;
  --primary-dark: #1e2d58;
  --primary-rgb: 42, 61, 117;
  --accent: #c8a45c;
  --accent-light: #d4b878;
  --accent-dark: #b08d42;
  --blue-light: #4a90d9;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #f0f2f7;
  --medium-gray: #e0e4ea;
  --dark-gray: #6b7280;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* --- Top Info Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}

.top-bar-left a:hover {
  color: var(--accent);
}

.top-bar-left i {
  font-size: 1rem;
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  transition: var(--transition);
}

.top-bar-right a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.top-bar-right .cert-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: rgba(200,164,92,0.15);
  border-radius: 3px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Navigation --- */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo .logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.nav-logo .logo-text .tagline {
  font-size: 0.6875rem;
  color: var(--dark-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary);
  background: var(--off-white);
}

.nav-menu li a i {
  font-size: 0.75rem;
  transition: var(--transition);
}

.nav-menu li:hover a i {
  transform: rotate(180deg);
}

/* Dropdown menu */
.nav-menu .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

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

.nav-menu .dropdown a {
  padding: 10px 20px;
  font-size: 0.875rem;
  border-radius: 0;
}

.nav-menu .dropdown a:hover {
  background: var(--off-white);
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-search-btn:hover {
  background: var(--off-white);
  color: var(--primary);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><path fill="rgba(255,255,255,0.03)" d="M0,300 C360,100 720,500 1440,200 L1440,900 L0,900 Z"/></svg>') no-repeat center;
  background-size: cover;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(200,164,92,0.3);
  border-radius: 50%;
  animation: float-particle 8s infinite ease-in-out;
}

.hero-particles .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles .particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
.hero-particles .particle:nth-child(3) { left: 35%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.hero-particles .particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 0.5s; animation-duration: 8s; }
.hero-particles .particle:nth-child(5) { left: 65%; top: 40%; animation-delay: 1.5s; animation-duration: 10s; }
.hero-particles .particle:nth-child(6) { left: 80%; top: 20%; animation-delay: 3s; animation-duration: 7s; }
.hero-particles .particle:nth-child(7) { left: 90%; top: 60%; animation-delay: 2.5s; animation-duration: 9s; }
.hero-particles .particle:nth-child(8) { left: 45%; top: 80%; animation-delay: 1s; animation-duration: 6s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 120px;
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(200,164,92,0.15);
  border: 1px solid rgba(200,164,92,0.3);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero .hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  position: relative;
  width: 460px;
  height: 460px;
}

.hero-graphic .circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite;
}

.hero-graphic .circle-inner {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(200,164,92,0.2);
  border-radius: 50%;
  animation: rotate-slow 20s linear infinite reverse;
}

.hero-graphic .center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: rgba(200,164,92,0.1);
  border: 2px solid rgba(200,164,92,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic .center-icon i {
  font-size: 3.5rem;
  color: var(--accent);
}

.hero-graphic .float-item {
  position: absolute;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-item 4s ease-in-out infinite;
}

.hero-graphic .float-item i {
  font-size: 1.5rem;
  color: var(--accent);
}

.hero-graphic .float-item:nth-child(4) { top: 5%; left: 45%; animation-delay: 0s; }
.hero-graphic .float-item:nth-child(5) { top: 35%; right: 2%; animation-delay: 0.5s; }
.hero-graphic .float-item:nth-child(6) { bottom: 15%; right: 10%; animation-delay: 1s; }
.hero-graphic .float-item:nth-child(7) { bottom: 5%; left: 35%; animation-delay: 1.5s; }
.hero-graphic .float-item:nth-child(8) { top: 35%; left: 0; animation-delay: 2s; }
.hero-graphic .float-item:nth-child(9) { top: 10%; left: 10%; animation-delay: 2.5s; }

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float-item {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.5); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); }
}

/* --- Stats Section --- */
.stats-section {
  background: var(--white);
  padding: 60px 0;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 50px 40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .counter-suffix {
  font-size: 1.75rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- About Section --- */
.about-section {
  background: var(--off-white);
}

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

.about-image {
  position: relative;
}

.about-image .img-main {
  width: 100%;
  height: 480px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 4rem;
  overflow: hidden;
}

.about-image .img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-image .img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-image .img-float .float-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.about-image .img-float .float-text strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.about-image .img-float .float-text span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.about-content .subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content .about-text {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.about-feature-item i {
  color: var(--accent);
  font-size: 1.25rem;
}

/* --- Services Section --- */
.services-section {
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h4 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-link i {
  font-size: 0.875rem;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* --- Laboratories Section --- */
.labs-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.labs-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(200,164,92,0.05) 100%);
}

.labs-section .section-header .subtitle {
  color: var(--accent);
}

.labs-section .section-header h2 {
  color: var(--white);
}

.labs-section .section-header .section-desc {
  color: rgba(255,255,255,0.7);
}

.labs-section .section-divider {
  background: var(--accent);
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.lab-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lab-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(200,164,92,0.3);
  transform: translateY(-6px);
}

.lab-icon {
  width: 72px;
  height: 72px;
  background: rgba(200,164,92,0.12);
  border: 1px solid rgba(200,164,92,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.lab-card:hover .lab-icon {
  background: rgba(200,164,92,0.2);
  border-color: rgba(200,164,92,0.4);
}

.lab-icon i {
  font-size: 1.75rem;
  color: var(--accent);
}

.lab-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.lab-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Industries Section --- */
.industries-section {
  background: var(--off-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  group: true;
}

.industry-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transition: var(--transition);
}

.industry-card:hover .card-bg {
  transform: scale(1.05);
}

.industry-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(30,45,88,0.9), rgba(30,45,88,0.3));
  transition: var(--transition);
}

.industry-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(42,61,117,0.95), rgba(42,61,117,0.5));
}

.industry-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 1;
}

.industry-card .card-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,164,92,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.industry-card:hover .card-icon {
  background: var(--accent);
}

.industry-card .card-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.industry-card:hover .card-icon i {
  color: var(--white);
}

.industry-card h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.industry-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.industry-card:hover p {
  max-height: 100px;
  margin-bottom: 0;
}

/* --- Certifications Section --- */
.certifications-section {
  background: var(--white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
}

.cert-item {
  text-align: center;
  padding: 30px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.cert-icon {
  width: 64px;
  height: 64px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.cert-item:hover .cert-icon {
  background: var(--primary);
}

.cert-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.cert-item:hover .cert-icon i {
  color: var(--white);
}

.cert-item h5 {
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cert-item span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* --- Why Choose Us Section --- */
.why-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42,61,117,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.why-card .why-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-card:hover .why-number {
  color: rgba(42,61,117,0.1);
}

.why-card h4 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- News Section --- */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.news-card .news-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
  overflow: hidden;
}

.news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .news-body {
  padding: 28px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-meta i {
  color: var(--accent);
  font-size: 0.875rem;
}

.news-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 12px;
  line-height: 1.5;
  transition: var(--transition);
}

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

.news-card .news-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.news-card .news-link i {
  transition: var(--transition);
}

.news-card:hover .news-link {
  color: var(--accent);
}

.news-card:hover .news-link i {
  transform: translateX(4px);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 400"><path fill="rgba(255,255,255,0.03)" d="M0,200 C480,50 960,350 1440,150 L1440,400 L0,400 Z"/></svg>') no-repeat center;
  background-size: cover;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about .footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
}

.footer-about .footer-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer h5 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-links li a i {
  font-size: 0.75rem;
  color: var(--accent);
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact li i {
  font-size: 1.125rem;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: rgba(255,255,255,0.6);
}

.footer-contact li a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* --- Breadcrumb --- */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.breadcrumb-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(200,164,92,0.05));
}

.breadcrumb-content {
  position: relative;
  z-index: 1;
}

.breadcrumb-content h1 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
}

.breadcrumb-nav a {
  color: rgba(255,255,255,0.7);
}

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

.breadcrumb-nav .separator {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.breadcrumb-nav .current {
  color: var(--accent);
}

/* --- List Page --- */
.list-page {
  padding: 60px 0;
}

.list-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.list-main .list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

.list-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.list-header .result-count {
  font-size: 0.875rem;
  color: var(--text-light);
}

.list-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.list-item:hover {
  background: var(--off-white);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: var(--radius-md);
  margin-left: -16px;
  margin-right: -16px;
}

.list-item .item-image {
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 2.5rem;
}

.list-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-item .item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-item .item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.list-item .item-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.list-item .item-meta i {
  color: var(--accent);
}

.list-item h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.list-item:hover h4 {
  color: var(--primary);
}

.list-item .item-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  padding-top: 30px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* --- Sidebar --- */
.sidebar .widget {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar .widget-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar .widget-title i {
  color: var(--accent);
}

.sidebar .category-list li {
  margin-bottom: 8px;
}

.sidebar .category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.sidebar .category-list li a:hover {
  background: var(--off-white);
  color: var(--primary);
  padding-left: 18px;
}

.sidebar .category-list li a .count {
  background: var(--off-white);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.sidebar .recent-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar .recent-list li:last-child {
  border-bottom: none;
}

.sidebar .recent-list li a {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.5;
  transition: var(--transition);
}

.sidebar .recent-list li a:hover {
  color: var(--primary);
}

.sidebar .recent-list li .date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

.sidebar .contact-widget {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border: none;
  color: var(--white);
}

.sidebar .contact-widget .widget-title {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.sidebar .contact-widget .widget-title i {
  color: var(--accent);
}

.sidebar .contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.sidebar .contact-info li i {
  color: var(--accent);
  font-size: 1.125rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.sidebar .contact-widget .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* --- Content Page --- */
.content-page {
  padding: 60px 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.article-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
  font-size: 1.875rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta i {
  color: var(--accent);
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 16px;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.article-content ul li, .article-content ol li {
  margin-bottom: 8px;
  list-style: disc;
  color: var(--text-secondary);
}

.article-content ol li {
  list-style: decimal;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  background: var(--off-white);
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-tags {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-tags .tag-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.article-tags .tag-label i {
  color: var(--accent);
}

.article-tags a {
  padding: 6px 14px;
  background: var(--off-white);
  border-radius: 50px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.article-tags a:hover {
  background: var(--primary);
  color: var(--white);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.article-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: var(--transition);
  max-width: 48%;
}

.article-nav a:hover {
  color: var(--primary);
}

.article-nav .next {
  margin-left: auto;
  text-align: right;
}

/* Related articles */
.related-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.related-section h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.related-card .card-image {
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  overflow: hidden;
}

.related-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card .card-body {
  padding: 16px;
}

.related-card h5 {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0;
  transition: var(--transition);
}

.related-card:hover h5 {
  color: var(--primary);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30,45,88,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.search-overlay .search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-overlay .search-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.search-box {
  text-align: center;
  max-width: 600px;
  width: 90%;
}

.search-box h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 30px;
}

.search-input-wrap {
  display: flex;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.search-input-wrap:focus-within {
  border-color: var(--accent);
}

.search-input-wrap input {
  flex: 1;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.125rem;
  font-family: var(--font-body);
  outline: none;
}

.search-input-wrap input::placeholder {
  color: rgba(255,255,255,0.5);
}

.search-input-wrap button {
  padding: 18px 28px;
  background: var(--accent);
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-input-wrap button:hover {
  background: var(--accent-dark);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large Desktop */
@media (min-width: 1400px) {
  .container, .container-wide {
    max-width: 1320px;
  }
  .hero h1 {
    font-size: 4rem;
  }
}

/* Desktop */
@media (max-width: 1199px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero-graphic {
    width: 380px;
    height: 380px;
  }
  .labs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section-padding { padding: 70px 0; }

  .top-bar { display: none; }

  .navbar .container { height: 68px; }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 0;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }

  .nav-menu li.dropdown-open .dropdown {
    display: block;
  }

  .nav-cta .btn { display: none; }
  .mobile-toggle { display: block; }

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .hero h1 { font-size: 2.5rem; }
  .hero .hero-desc { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 30px;
  }

  .stat-item:nth-child(2)::after { display: none; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image .img-float {
    right: 20px;
    bottom: -20px;
  }

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

  .labs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .list-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .section-padding { padding: 50px 0; }
  .section-header { margin-bottom: 40px; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .hero .hero-desc { font-size: 1rem; }
  .hero-scroll { display: none; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 20px;
  }

  .stat-number { font-size: 2rem; }
  .stat-item::after { display: none; }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image .img-main { height: 320px; }
  .about-image .img-float {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
    display: inline-flex;
  }

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

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

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

  .industry-card { height: 260px; }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

  .cta-content h2 { font-size: 1.75rem; }
  .cta-btns { flex-direction: column; align-items: center; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .list-item {
    flex-direction: column;
  }

  .list-item .item-image {
    width: 100%;
    height: 200px;
  }

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

  .article-main {
    padding: 24px;
  }

  .article-header h1 {
    font-size: 1.5rem;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav a {
    max-width: 100%;
  }

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

  .breadcrumb-content h1 {
    font-size: 1.75rem;
  }
}

/* Small Mobile */
@media (max-width: 479px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.625rem; }
  .btn { padding: 12px 24px; font-size: 0.875rem; }
  .btn-lg { padding: 14px 32px; }

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

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

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn { width: 100%; justify-content: center; }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-light { background-color: var(--off-white) !important; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Page loading animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print styles */
@media print {
  .navbar, .top-bar, .back-to-top, .search-overlay, .hero-scroll, .sidebar { display: none; }
  body { color: #000; background: #fff; }
  .hero { min-height: auto; padding: 40px 0; background: #f5f5f5; }
  .hero h1 { color: #000; font-size: 2rem; }
}
