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

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --primary: #dc2626;
  --primary-light: #ef4444;
  --primary-dark: #b91c1c;
  --primary-deeper: #991b1b;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-mid: #334155;
  --gold: #dc2626;
  --gold-light: #ef4444;
  --gold-dark: #b91c1c;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --border: #e2e8f0;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.15);
  --shadow-gold: 0 0 30px rgba(220, 38, 38, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1240px;
  --navbar-height: 90px;
  --gradient-hero: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --gradient-hero-radial: radial-gradient(ellipse at 30% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
  --gradient-text: linear-gradient(135deg, #dc2626 0%, #0f172a 100%);
  --gradient-gold: linear-gradient(135deg, #dc2626, #b91c1c);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg-strong: rgba(255, 255, 255, 0.1);
  --accent-gradient: linear-gradient(135deg, #dc2626, #b91c1c);
  --accent-gradient-light: linear-gradient(135deg, rgba(220,38,38,0.08), rgba(220,38,38,0.04));
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.0625rem;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Scroll Progress Bar
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-gray {
  padding: 100px 0;
  background: var(--gray-50);
}

.section-alt {
  padding: 100px 0;
  background: var(--gray-50);
}

.text-center {
  text-align: center;
}

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

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

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-red {
  color: #dc2626 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #dc2626 !important;
  background-clip: unset !important;
}

/* ============================================
   Wave Dividers
   ============================================ */
.wave-divider,
.wave-divider-top {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider {
  bottom: -1px;
}

.wave-divider-top {
  top: -1px;
  transform: rotate(180deg);
}

.wave-divider svg,
.wave-divider-top svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.shape-fill {
  fill: var(--white);
}

/* ============================================
   Navbar — Clean Asana-Style SaaS Header
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

/* ---- Inner Bar ---- */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--navbar-height);
  padding: 0 24px;
}

/* ---- Logo ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-top: 20px;
  margin-left: -109px;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
  height: 200px;
  width: auto;
  max-height: 200px;
  object-fit: contain;
  margin: -50px 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
}

/* Mobile action buttons — hidden on desktop */
.nav-mobile-mail { display: none; }

/* Footer Quick Contact — mobile only */
.footer-quick-contact { display: none; }
.fqc-title {
  text-align: center; color: #fff; font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700; margin-bottom: 16px;
}
.fqc-buttons {
  display: flex; justify-content: center; gap: 20px;
}
.fqc-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: #fff;
  transition: transform 0.25s ease;
}
.fqc-btn:active { transform: scale(0.92); }
.fqc-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fqc-btn:hover .fqc-icon { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.fqc-whatsapp .fqc-icon { background: linear-gradient(135deg, #25D366, #128C7E); }
.fqc-phone .fqc-icon { background: linear-gradient(135deg, #1a237e, #283593); }
.fqc-email .fqc-icon { background: linear-gradient(135deg, #e53935, #c62828); }
.fqc-label {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  opacity: 0.85;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(-5deg) scale(1.06);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.nav-logo-text span {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Center Nav Menu ---- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu-link:hover {
  color: var(--text);
  background: var(--gray-50);
}

.nav-menu-link.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--gray-50);
  border-radius: 8px;
}

/* ---- Services Dropdown ---- */
.nav-menu-dropdown {
  position: relative;
}

.nav-menu-trigger {
  gap: 5px;
}

.nav-menu-trigger svg {
  transition: transform 0.25s ease;
  opacity: 0.5;
}

.nav-menu-dropdown:hover .nav-menu-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 20px 60px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

/* Invisible bridge so hover doesn't break between trigger and panel */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-menu-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav-drop-item:hover {
  background: var(--gray-50);
}

.nav-drop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--gray-100);
  color: var(--gray-500);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drop-item:hover .nav-drop-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.nav-drop-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.nav-drop-item span {
  display: block;
  font-size: 0.6875rem;
  color: var(--gray-400);
  line-height: 1.3;
  margin-top: 2px;
}

/* ---- Right Actions ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: none;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-icon-btn:hover {
  color: var(--text);
  background: var(--gray-50);
}

.nav-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-secondary);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-btn-outline:hover {
  background: var(--gray-50);
  color: var(--text);
  border-color: var(--gray-300);
}

.nav-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}

.nav-btn-solid:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.25);
  color: var(--white);
}

/* ---- Hamburger (hidden on desktop) ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  z-index: 1001;
  transition: background 0.2s ease;
}

.nav-hamburger:hover {
  background: var(--gray-50);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Legacy support — hide old elements */
.navbar-gradient-line { display: none; }
.navbar-brand { display: none; }
.nav-cta-btn { display: none; }
.cta-sparkle { display: none; }
.nav-search-toggle, .nav-whatsapp { display: none; }
.navbar-toggle { display: none; }
.header-banner { display: none; }

/* Footer brand reuse */
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: var(--white); }
.brand-accent { background: linear-gradient(135deg, #dc2626, #b91c1c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.brand-tagline { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 0.18em; text-transform: uppercase; }
.nav-brand-icon { position: relative; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-brand-letter { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 900; color: var(--white); position: relative; z-index: 2; line-height: 1; }
.nav-brand-ring { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(135deg, #dc2626, #b91c1c); }

/* ============================================
   Hero Layout — Text Left + Panda Right
   ============================================ */
.hero-row {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-panda {
  flex: 1 1 50%;
  max-width: 600px;
  position: relative;
  z-index: 2;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-panda > img {
  width: 100%;
  max-width: 420px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4)) drop-shadow(0 0 80px rgba(59, 130, 246, 0.15));
  animation: pandaFloat 6s ease-in-out infinite;
}

/* Subtle orbit ring behind panda */
.hero-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.12);
  z-index: 1;
  animation: orbitSpin 30s linear infinite;
}
.hero-orbit-ring::after {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
}

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

@keyframes orbitSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mini photo gallery around panda */
.hero-mini-gallery,
.hero-gallery-left {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-mini-photo {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
  animation: miniPhotoFloat 7s ease-in-out infinite;
  pointer-events: auto;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.hero-mini-photo.hero-photo-lg {
  width: 140px;
  height: 140px;
}

.hero-mini-photo:nth-child(2) { animation-delay: -2s; }
.hero-mini-photo:nth-child(3) { animation-delay: -3.5s; }

.hero-mini-photo:hover {
  transform: scale(1.2) translateY(-4px);
  border-color: rgba(220, 38, 38, 0.6);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(220, 38, 38, 0.2);
  z-index: 10;
}

.hero-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes miniPhotoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.15); }
}

/* hero-mini-gallery, hero-row, hero-panda mobile rules moved to main 768px/480px blocks */

/* ============================================
   Search Overlay - Full screen glass
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0) scale(1);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.2);
}

.search-box-icon {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  animation: searchIconBounce 2s ease-in-out infinite;
}

@keyframes searchIconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--white);
  font-weight: 500;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.search-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.search-results {
  margin-top: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.search-result-item {
  display: block;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  font-size: 0.9375rem;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.search-result-item small {
  display: block;
  color: rgba(168, 85, 247, 0.7);
  font-size: 0.75rem;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   Panda Mascot - Floating Animated
   ============================================ */
/* ============================================
   Panda Character — Floating Sourcing Assistant
   ============================================ */
.panda-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 997;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  animation: pandaFloat 3s ease-in-out infinite;
}

@keyframes pandaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.panda-float-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.panda-float:hover .panda-float-img {
  transform: scale(1.12) rotate(-5deg);
}

/* Speech Bubble */
.panda-float-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 14px 16px;
  width: 210px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.panda-float:hover .panda-float-bubble,
.panda-float-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.panda-float-bubble p {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 10px;
}

.panda-float-link {
  display: block;
  text-align: center;
  padding: 8px 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.panda-float-link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
  color: var(--white);
}

/* Legacy mobile toggle — hidden */

/* Nav Overlay (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ============================================
   Hero Section
   ============================================ */
/* ============================================
   Hero — Modern 2026 Centered
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #020817 0%, #0a1628 12%, #0c2554 35%, #143a7a 55%, #0e2d66 75%, #060e24 100%);
  padding: calc(var(--navbar-height) + 20px) 0 40px;
  overflow: visible;
}

/* Desktop hero uses wider container */
@media (min-width: 769px) {
  .hero > .container {
    max-width: 1400px;
    padding: 0 48px;
  }
}

/* Multi-layer luxury glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 35%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 25% 75%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    radial-gradient(circle 350px at 85% 15%, rgba(99, 102, 241, 0.15) 0%, transparent 65%),
    radial-gradient(circle 250px at 5% 40%, rgba(147, 197, 253, 0.08) 0%, transparent 55%),
    radial-gradient(circle 180px at 50% 90%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle dot grid pattern for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
}

/* Floating orb accent */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.15);
  top: 10%;
  right: 15%;
}

.hero-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(99, 102, 241, 0.1);
  bottom: 15%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes orbFloat {
  from { transform: translateY(0px) scale(1); }
  to { transform: translateY(-30px) scale(1.08); }
}

/* Hide old elements */
.hero-mesh, .hero-grid-bg, .hero-glow { display: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: none;
  margin: 0;
  flex: 1 1 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  font-style: italic;
  margin: 0 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  line-height: 1.6;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin: 0 0 28px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

/* Glass outline button for dark hero */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

/* Hero Stats — hidden from hero, kept for other pages */
.hero-stats { display: none; }

/* Hero Glow Orbs — hidden */
.hero-glow { display: none; }

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.1);
  top: -10%;
  left: -5%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(236, 72, 153, 0.06);
  bottom: -10%;
  right: -5%;
}

/* ============================================
   Motivational Banner
   ============================================ */
.motivational-banner {
  padding: 0;
  overflow: hidden;
  height: 36px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.motivational-banner p {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin: 0;
  opacity: 0.9;
  text-align: center;
  padding: 0 16px;
}

.banner-short {
  display: none;
}

/* ============================================
   Inner Page Hero
   ============================================ */
.hero-inner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: calc(var(--navbar-height) + 40px) 0 48px;
  text-align: center;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-radial);
  pointer-events: none;
}

.hero-inner h1 {
  color: var(--white);
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.hero-inner p {
  color: var(--gray-400);
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-size: 1.125rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  position: relative;
  z-index: 2;
}

.breadcrumbs a {
  color: var(--gray-400);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  color: var(--gray-500);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3), 0 4px 16px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4), 0 8px 24px rgba(220, 38, 38, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--gray-50);
  color: var(--text);
  border-color: var(--gray-300);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--glass-bg-strong);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  color: var(--navy);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
  border-radius: var(--radius-md);
}

.btn-pulse {
  animation: btn-pulse-anim 2.5s infinite;
}

@keyframes btn-pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}

/* ============================================
   Service Cards
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.15);
}

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

.service-card:hover .icon {
  background: linear-gradient(145deg, var(--primary), #b91c1c);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.25);
  transform: scale(1.08);
}

.service-card .icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #0e2348, #143a7a);
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(14, 35, 72, 0.2);
  transition: all 0.3s ease;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

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

/* ============================================
   Process Steps
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: var(--border);
}

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

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 2;
  transition: all var(--transition-medium);
}

.step-item:hover .step-number {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
   Industry Grid
   ============================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  color: var(--text);
}

.industry-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-icon {
  font-size: 2rem;
  line-height: 1;
}

.industry-item span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ============================================
   Articles / Blog
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-medium);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.article-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-image {
  transform: scale(1.03);
}

.article-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.article-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

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

.article-excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

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

.read-more:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* Blog article cards grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 24px);
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-medium);
}

.sidebar-widget:hover {
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

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

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
}

.page-link:hover,
.page-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-medium);
}

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

.quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-100);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  padding: 48px 32px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-2px);
}

/* .pricing-badge handles the label via HTML, so no ::before needed */

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-header p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-tertiary);
}

.pricing-features {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.pricing-cta {
  margin-top: 8px;
}

.pricing-cta .btn {
  width: 100%;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--text);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--gray-300);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: transform var(--transition-medium);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   About Page — Photo Grid & Team
   ============================================ */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 20px;
}

.team-member-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-member-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--gray-100);
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-member-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-member-role {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-member-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-team-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.about-team-collage-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-team-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-photo-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.about-photo-item:hover img {
  transform: scale(1.05);
}

.about-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 24px 16px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ============================================
   Work Gallery (About Us)
   ============================================ */
.work-gallery-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.work-gallery-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.gallery-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.gallery-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.gallery-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.gallery-nav-indicator {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 40px;
  text-align: center;
}

.about-team-roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-role-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.about-role-card:hover {
  box-shadow: var(--shadow-md);
}

.about-role-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-role-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  color: var(--text);
}

.about-role-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-process-step {
  text-align: center;
  padding: 24px 16px;
}

.about-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.about-process-step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.about-process-step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Forms
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  outline: none;
  transition: all var(--transition);
  line-height: 1.5;
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

/* Contact Info Card */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: box-shadow var(--transition);
}

.contact-info-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.contact-info-card .info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--border);
}

.contact-info-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 2px;
  line-height: 1.5;
}

.contact-info-card p:last-child {
  margin-bottom: 0;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-radial);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray-400);
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.125rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy);
  padding: 80px 0 0;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.footer-brand-link:hover {
  transform: translateX(4px);
}

.footer-brand-panda {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-full);
  filter: drop-shadow(0 4px 12px rgba(99,102,241,0.3));
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-size: 1rem;
  transition: all var(--transition);
}

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

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

.footer-bottom a {
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gray-300);
}

/* ============================================
   Gradient Border Utility
   ============================================ */
.gradient-border {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.gradient-border > * {
  background: var(--white);
  border-radius: calc(var(--radius-xl) - 1px);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

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

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================
   Missing Template Classes
   ============================================ */

/* Generic card */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-medium);
}

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

/* Content blocks */
.content-block {
  max-width: 860px;
}

.content-block h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

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

.content-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.content-text {
  flex: 1;
  min-width: 0;
}

.content-image {
  flex: 1;
  min-width: 0;
}

.content-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Section title & subtitle (non-centered) */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

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

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-medium);
}

.benefit-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.benefit-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.benefit-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Languages grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.language-item {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.language-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.language-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Stats section */
.stats-section {
  background: var(--navy);
  padding: 64px 0;
}

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

.stat-item {
  color: var(--white);
}

.stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Service detail blocks */
.service-detail-block {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.service-detail-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.service-detail-icon {
  flex-shrink: 0;
}

.service-detail-text {
  flex: 1;
}

.service-detail-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-detail-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.service-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Icon circle */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
}

.icon-circle.icon-lg {
  width: 56px;
  height: 56px;
  font-size: 1rem;
}

/* Industries detail grid */
.industries-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.industry-card {
  padding: 32px;
}

.industry-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.card-icon {
  margin-bottom: 16px;
}

.market-category {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* Table responsive */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.data-table td {
  color: var(--text-secondary);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

/* Button block */
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Pricing extras */
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.pricing-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* FAQ toggle (used in templates as faq-toggle) */
.faq-toggle {
  font-size: 1.25rem;
  color: var(--text-tertiary);
  transition: transform var(--transition-medium);
  flex-shrink: 0;
  font-weight: 600;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

/* Blog layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

/* Blog card body */
.article-card-body {
  padding: 28px;
}

.article-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.article-card-body h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card-body h3 a:hover {
  color: var(--primary);
}

.article-card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-category-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--accent-gradient-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.article-date,
.article-read-time {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* Sidebar */
.sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
  letter-spacing: -0.01em;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  border-bottom: 1px solid var(--gray-100);
}

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

.sidebar-list a {
  display: block;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

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

.sidebar-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-articles li {
  border-bottom: 1px solid var(--gray-100);
}

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

.sidebar-articles a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  text-decoration: none;
  transition: color var(--transition);
}

.sidebar-articles a:hover .sidebar-article-title {
  color: var(--primary);
}

.sidebar-article-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.sidebar-article-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.sidebar-article-image {
  width: 100%;
  max-height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.sidebar-cta {
  background: var(--gradient-hero);
  color: var(--white);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-cta h3 {
  font-family: var(--font-heading);
  color: var(--white);
  position: relative;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  position: relative;
}

/* Pagination */
.pagination-numbers {
  display: flex;
  gap: 6px;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}

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

/* Article layout (single article page) */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 24px);
}

.article-header {
  margin-bottom: 36px;
}

.article-header .article-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-featured-image {
  margin-bottom: 32px;
}

.article-featured-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* article-content styles moved to enhanced section above */

.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tags-label,
.share-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition);
}

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

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.share-link:hover {
  text-decoration: underline;
}

/* ============================================
   Reading Progress Bar
   ============================================ */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-gradient);
  z-index: 10001;
  transition: width 0.15s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
}

/* Back to Blog Link */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 20px 0 0;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.back-to-blog:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ============================================
   Blog Filter Pills
   ============================================ */
.blog-filter-section {
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  background: var(--accent-gradient-light);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
  font-weight: 600;
}

/* ============================================
   Blog Featured Card
   ============================================ */
.blog-featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 40px;
  margin-bottom: 36px;
  border-left: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.blog-featured-card::before {
  content: 'FEATURED';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--accent-gradient);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.blog-featured-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.blog-featured-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.blog-featured-body h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.blog-featured-body h2 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-featured-body h2 a:hover {
  color: var(--primary);
}

.blog-featured-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================
   Blog Card Enhancements
   ============================================ */
.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220, 38, 38, 0.2);
}

.article-card:hover::after {
  opacity: 1;
}

.article-card[data-category="sourcing-basics"]::after { background: linear-gradient(90deg, #dc2626, #ef4444); }
.article-card[data-category="markets-guides"]::after { background: linear-gradient(90deg, #0f172a, #334155); }
.article-card[data-category="quality-control"]::after { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.article-card[data-category="shipping-logistics"]::after { background: linear-gradient(90deg, #1e293b, #475569); }
.article-card[data-category="manufacturing"]::after { background: linear-gradient(90deg, #dc2626, #ef4444); }
.article-card[data-category="business-tips"]::after { background: linear-gradient(90deg, #334155, #475569); }
.article-card[data-category="compliance"]::after { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.article-card[data-category="industry-guides"]::after { background: linear-gradient(90deg, #0f172a, #1e293b); }

/* ============================================
   Article Page - Enhanced Header
   ============================================ */
.article-section {
  padding-top: 16px;
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-read-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.article-meta-row .article-date,
.article-meta-row .article-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ============================================
   Article Content - Enhanced Typography
   ============================================ */
.article-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 720px;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 52px 0 18px;
  padding-left: 18px;
  border-left: 3px solid;
  border-image: var(--accent-gradient) 1;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}

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

.article-content > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  margin: 0.05em 0.14em 0 0;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--accent-gradient);
  border-radius: 50%;
}

.article-content ol {
  counter-reset: list-counter;
}

.article-content ol li {
  counter-increment: list-counter;
}

.article-content ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent-gradient);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(168,85,247,0.04));
  border-left: 3px solid;
  border-image: var(--accent-gradient) 1;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--text);
}

.article-content blockquote p {
  margin-bottom: 0;
}

.article-content code {
  font-size: 0.875em;
  background: rgba(220, 38, 38, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--primary-dark);
}

.article-content pre {
  margin: 24px 0;
  padding: 24px;
  background: var(--navy);
  color: var(--gray-200);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.65;
  box-shadow: var(--shadow-lg);
}

.article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.article-content strong {
  color: var(--text);
  font-weight: 700;
}

/* ============================================
   Share Buttons - Icon Style
   ============================================ */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
}

.share-linkedin {
  color: #0077b5;
  background: rgba(0, 119, 181, 0.08);
}

.share-linkedin:hover {
  background: #0077b5;
  color: var(--white);
}

.share-twitter {
  color: var(--text);
  background: var(--gray-100);
}

.share-twitter:hover {
  background: var(--text);
  color: var(--white);
}

.share-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.08);
}

.share-whatsapp:hover {
  background: #25d366;
  color: var(--white);
}

/* ============================================
   Table of Contents (Sidebar)
   ============================================ */
.sidebar-toc {
  display: none;
}

.sidebar-toc.has-items {
  display: block;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toc-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid var(--gray-200);
  transition: all var(--transition);
  line-height: 1.4;
}

.toc-link:hover,
.toc-link.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--accent-gradient-light);
}

/* ============================================
   Related Articles Cards (Bottom)
   ============================================ */
.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

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

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.15);
}

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

.related-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.related-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* 404 page */
.section-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-page {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-page h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.error-page p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.error-suggestions {
  text-align: left;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.error-suggestions h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.error-suggestions ul {
  list-style: none;
  padding: 0;
}

.error-suggestions li {
  margin-bottom: 8px;
}

.error-suggestions a {
  color: var(--primary);
  text-decoration: none;
}

.error-suggestions a:hover {
  text-decoration: underline;
}

/* Steps (generic process steps used in service pages) */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.steps-detailed {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 860px;
}

.step-detailed {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step-detailed:last-child {
  border-bottom: none;
}

.step-detailed .step-number {
  margin: 0;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.step-content ul {
  margin: 12px 0;
  padding-left: 20px;
}

.step-content li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 0;
}

.empty-state h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-secondary);
}

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

.footer-bottom-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Author info in testimonials */
.author-info h4,
.author-info strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.author-info p,
.author-info span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

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

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

/* Stagger delays for grid children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   Desktop-only — lock hero layout (>768px)
   ============================================ */
@media (min-width: 769px) {
  .hero {
    min-height: 100vh !important;
    overflow: visible !important;
  }
  .hero > .container {
    max-width: 1400px !important;
    padding: 0 48px !important;
  }
  .hero-panda {
    flex: 1 1 50% !important;
    max-width: 600px !important;
    min-height: 500px !important;
    overflow: visible !important;
  }
  .hero-panda > img {
    width: 100% !important;
    max-width: 420px !important;
  }
  .hero-content {
    flex: 1 1 50% !important;
  }
  .hero-mini-gallery,
  .hero-gallery-left {
    position: absolute !important;
    inset: 0 !important;
  }
  .hero-mini-photo {
    position: absolute !important;
  }
  .hero-orbit-ring {
    display: block !important;
  }
}

/* ============================================
   Responsive — Tablet (<= 1024px)
   ============================================ */
@media (max-width: 1024px) {
  /* --- Layout --- */
  .container { padding: 0 20px; }
  .section, .section-gray, .section-alt { padding: 72px 0; }

  /* --- Nav --- */
  .nav-logo-img { height: 170px; max-height: 170px; margin: -42px 0; }

  /* --- Grids → 2 cols --- */
  .services-grid,
  .testimonials-grid,
  .articles-grid,
  .values-grid,
  .benefits-grid,
  .industries-detail-grid,
  .team-members-grid,
  .about-team-roles,
  .about-photo-grid,
  .about-team-collage,
  .about-process,
  .home-team-grid,
  .stats-grid,
  .related-cards-grid,
  .pricing-grid,
  .process-steps,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .auto-steps-track { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .languages-grid { grid-template-columns: 1fr; }
  .about-office-grid { grid-template-columns: 1fr !important; }

  /* --- Single col layouts --- */
  .blog-layout, .article-layout, .blog-grid { grid-template-columns: 1fr; }
  .article-sidebar, .blog-sidebar { position: static; }

  /* --- Pricing --- */
  .pricing-grid { gap: 20px; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-2px); }
  .pricing-card:last-child { grid-column: 1 / -1; max-width: 400px; justify-self: center; }

  /* --- Steps --- */
  .process-steps { gap: 28px; }
  .process-steps::before { display: none; }

  /* --- Content --- */
  .content-two-col { gap: 40px; }
  .blog-filter-pills { gap: 6px; }
  .footer-grid { gap: 40px; }
  .hero-stats { gap: 16px; }
  .hero-stat { padding: 20px 28px; min-width: 140px; }

  /* --- Hero gallery smaller on tablet --- */
  .hero-mini-photo { width: 96px; height: 96px; }

  /* --- Carousel 2 slides --- */
  .carousel-slide { min-width: 50%; }
}

/* ============================================
   Responsive — Mobile (<768px)
   ============================================ */
/* ============================================
   Responsive — Mobile (<= 768px)
   ALL mobile rules in ONE block, properly ordered.
   ============================================ */
@media (max-width: 768px) {
  /* === GLOBAL OVERFLOW FIX === */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  body { font-size: 15px; }
  .container { padding: 0 16px; }

  /* === NAVBAR === */
  .nav-bar {
    height: 70px; padding: 0 12px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav-bar { padding: 0 8px 0 0; }
  .nav-logo { flex: 1; text-align: left; margin-top: 15px; margin-left: -30px; }
  .nav-logo-img {
    width: 300px;
    max-width: 65vw;
    height: auto;
    max-height: none;
    margin: 0;
    object-fit: contain;
  }
  /* Footer Quick Contact */
  .footer-quick-contact {
    display: block;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 10px;
  }

  /* Hamburger inline in navbar */
  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,242,248,0.9));
    border: 1px solid rgba(200,205,220,0.5);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    gap: 5px;
    flex-shrink: 0;
    transition: all 0.25s ease;
  }
  .nav-hamburger:active {
    transform: scale(0.93);
  }
  .nav-hamburger span {
    width: 22px; height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
  }
  .nav-hamburger span:nth-child(2) {
    width: 16px;
  }
  .nav-right { display: none; }
  .nav-icon-btn { display: none; }

  /* Hide orbit ring on mobile */
  .hero-orbit-ring { display: none; }
  .hero-photo-lg { width: 90px !important; height: 90px !important; }

  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px; max-width: 80vw;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 70px 16px 24px;
    transform: translateX(100%); visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: -8px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .nav-menu.active { transform: translateX(0); visibility: visible; }

  .nav-menu-link {
    font-size: 0.875rem; color: var(--text);
    padding: 10px 12px; border-radius: 8px;
    width: 100%; justify-content: space-between;
  }
  .nav-menu-link:hover { background: var(--gray-50); color: var(--text); }
  .nav-menu-link.active { color: var(--primary); background: var(--gray-50); }

  .nav-menu-dropdown { width: 100%; }
  .nav-menu-dropdown { position: static !important; }
  .nav-dropdown-panel {
    position: static !important;
    transform: none !important;
    left: auto !important;
    min-width: auto !important;
    width: 100% !important;
    background: var(--gray-50);
    border: none !important;
    box-shadow: none !important;
    border-radius: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    display: none;
    margin: 2px 0 6px 0;
    padding: 4px 4px 4px 12px;
  }
  .nav-dropdown-panel::before { display: none !important; }
  .nav-menu-dropdown:hover .nav-dropdown-panel { display: none; }
  .nav-menu-dropdown.active .nav-dropdown-panel { display: block !important; }
  .nav-menu-trigger svg {
    transition: transform 0.2s ease;
  }
  .nav-menu-dropdown.active .nav-menu-trigger svg {
    transform: rotate(180deg);
  }
  .nav-drop-item {
    padding: 8px 12px;
    gap: 8px;
  }
  .nav-drop-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
  }
  .nav-drop-icon svg {
    width: 14px; height: 14px;
  }
  .nav-drop-item strong {
    font-size: 0.8125rem;
    font-weight: 500;
  }
  .nav-drop-item span { display: none; }

  .nav-menu .nav-mobile-cta {
    display: block; margin-top: 16px; padding: 12px;
    text-align: center; background: var(--primary);
    color: var(--white); font-weight: 700;
    border-radius: 10px; text-decoration: none;
  }

  /* === HERO === */
  .hero { min-height: auto; padding: 120px 12px 40px; }
  .hero-row { flex-direction: column-reverse; gap: 16px; text-align: center; align-items: center; }
  .hero-content { text-align: center !important; align-items: center; display: flex; flex-direction: column; }
  .hero-title { font-size: clamp(1.5rem, 6vw, 2.25rem); text-align: center; }
  .hero-tagline { font-size: 1rem; margin: 0 auto 12px; text-align: center; border-left: none; border-bottom: 2px solid var(--primary); padding: 0 0 8px; display: inline-block; }
  .hero-subtitle { font-size: 0.9375rem; max-width: 100%; margin: 0 auto 20px; text-align: center; }
  .hero-badge { font-size: 0.6875rem; padding: 6px 12px; margin: 0 auto 16px; }
  .hero-panda {
    flex: none; max-width: 100%; width: 100%;
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 10px; min-height: auto;
  }
  .hero-panda > img { width: 150px; height: auto; flex-shrink: 0; order: 2; }

  /* Gallery — thumbnails flanking the panda on mobile */
  .hero-gallery-left,
  .hero-mini-gallery {
    display: flex !important;
    position: static;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    pointer-events: auto;
  }
  .hero-gallery-left { order: 1; }
  .hero-mini-gallery { order: 3; }
  .hero-mini-photo {
    position: static !important;
    width: 90px !important;
    height: 90px !important;
    flex-shrink: 0;
    animation: none;
    top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
  }
  .hero-mini-photo:hover { transform: scale(1.1); }

  .hero-tags {
    justify-content: center; gap: 8px; margin-bottom: 20px;
  }
  .hero-tag { font-size: 0.75rem; padding: 5px 12px; }
  .hero-buttons {
    flex-direction: column; align-items: center;
    gap: 12px; margin-bottom: 20px;
  }
  .hero-buttons .btn {
    width: 100%; max-width: 280px;
    text-align: center; justify-content: center;
  }

  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-stat { padding: 14px 12px; min-width: auto; }
  .stat-number { font-size: 1.25rem; }

  /* === SECTIONS === */
  .section, .section-gray, .section-alt { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 1rem; }

  /* === MOTIVATIONAL BANNER === */
  .motivational-banner { height: 28px; }
  .motivational-banner p { font-size: 0.625rem; letter-spacing: 0.03em; }
  .banner-full { display: none; }
  .banner-short { display: inline; }

  /* === INNER HERO === */
  .hero-inner { min-height: 180px; padding: 140px 0 32px; }

  /* === ALL GRIDS → 1 COL === */
  .services-grid,
  .testimonials-grid,
  .articles-grid,
  .values-grid,
  .benefits-grid,
  .industries-detail-grid,
  .stats-grid,
  .related-cards-grid,
  .pricing-grid,
  .process-steps,
  .blog-layout,
  .article-layout,
  .contact-grid,
  .content-two-col,
  .footer-grid,
  .languages-grid { grid-template-columns: 1fr; }

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

  /* === ABOUT PAGE === */
  .about-photo-grid,
  .about-team-collage { grid-template-columns: 1fr 1fr; gap: 8px; }
  .team-members-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about-team-roles { grid-template-columns: 1fr; }
  .about-process { grid-template-columns: 1fr; gap: 16px; }
  .about-office-grid { grid-template-columns: 1fr !important; }
  .about-director-flex { gap: 24px !important; }

  /* === WORK GALLERY — 2x2 grid slider on mobile === */
  .work-gallery-wrapper { overflow: hidden; }
  .work-gallery-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
  }
  .work-gallery-item { display: none; }
  .work-gallery-item.gallery-visible { display: block !important; }
  .work-gallery-item { aspect-ratio: 4/3; border-radius: var(--radius-sm); }
  .about-director-flex > div:first-child img { width: 160px !important; height: 200px !important; }

  /* === SERVICE CARDS === */
  .service-card { padding: 24px 20px; }
  .service-card .icon { width: 44px; height: 44px; }
  .service-card h3 { font-size: 1rem; }

  /* === TESTIMONIALS === */
  .testimonial-card { padding: 24px 20px; }
  .testimonial-text { font-size: 0.9375rem; }
  .testimonials-grid .testimonial-card:nth-child(n+5) { display: none; }

  /* === PRICING === */
  .pricing-card.featured { transform: none; }
  .pricing-card:last-child { grid-column: auto; max-width: none; }

  /* === BLOG === */
  .blog-filter-pills {
    overflow-x: auto; flex-wrap: nowrap;
    padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  }
  .blog-featured-card { padding: 24px; }
  .blog-featured-body h2 { font-size: 1.25rem; }
  .article-content { font-size: 1.0625rem; }
  .article-content > p:first-of-type::first-letter { font-size: 2.6em; }

  /* === POSTS CAROUSEL — one item + next button === */
  .posts-carousel { gap: 0; position: relative; }
  .carousel-slide { min-width: 100% !important; padding: 0 4px; box-sizing: border-box; }
  .carousel-slide .article-body { padding: 20px 16px; }
  .carousel-slide .article-card { min-height: 200px; }
  .carousel-btn {
    display: flex !important; position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; z-index: 5;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .carousel-btn-prev { left: 4px; }
  .carousel-btn-next { right: 4px; }
  .carousel-track-wrapper { overflow: hidden !important; }
  .carousel-track { transform: translateX(0); transition: transform 0.4s ease; }
  .carousel-slide a { pointer-events: auto; }

  /* === HOME TEAM GRID — designed scroller === */
  .team-scroller-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .team-scroll-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
  }
  .team-scroll-btn:active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }
  .home-team-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    flex: 1;
  }
  .home-team-grid::-webkit-scrollbar { display: none; }
  .home-team-member {
    min-width: 140px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  .home-team-member img { width: 110px; height: 110px; }
  .team-scroll-dots {
    display: flex !important;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }
  .team-scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .team-scroll-dot.active {
    background: var(--primary);
    transform: scale(1.3);
  }

  /* === MOBILE CAROUSEL NAV (Latest Insights) === */
  .mobile-carousel-nav {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
  }
  .mobile-carousel-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }
  .mobile-carousel-btn:active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }
  .mobile-carousel-indicator {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: center;
  }
  /* Hide the default side carousel buttons on mobile */
  .carousel-btn { display: none !important; }

  /* === HOW IT WORKS AUTO-STEPS — swipe carousel === */
  .auto-steps { position: relative; overflow: hidden; }
  .auto-steps-track {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
  }
  .auto-steps-track::-webkit-scrollbar { display: none; }
  .auto-step {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 24px 20px;
    box-sizing: border-box;
  }
  .auto-step-dot { display: none; }
  .auto-step-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .auto-step-content h3 { font-size: 1.1rem; }
  .auto-step-content p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
  .auto-step-num { flex-shrink: 0; margin-bottom: 8px; }
  .auto-steps-progress { display: none; }
  /* Dots + loading bar for steps carousel */
  .auto-steps-nav { display: block; margin-top: 24px; }
  .auto-steps-dots {
    display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 12px;
  }
  .auto-steps-dot-item {
    cursor: pointer; padding: 4px;
  }
  .auto-steps-dot-item span {
    display: block; width: 12px; height: 12px; border-radius: 50%;
    background: var(--gray-200); transition: all 0.3s;
  }
  .auto-steps-dot-item.active span {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
    animation: dotPulse 1.5s ease-in-out infinite;
  }
  @keyframes dotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(220, 38, 38, 0.4); }
    50% { transform: scale(1.25); box-shadow: 0 0 14px rgba(220, 38, 38, 0.6); }
  }
  /* Full-width loading bar */
  .auto-steps-bar {
    width: 80%; max-width: 260px; height: 4px; margin: 0 auto;
    background: var(--gray-200); border-radius: 4px; overflow: hidden;
  }
  .auto-steps-bar-fill {
    height: 100%; width: 0%; border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), #ef4444);
    transition: none;
  }
  .auto-steps-bar-fill.animating {
    animation: barFill 4s linear forwards;
  }
  @keyframes barFill {
    0% { width: 0%; }
    100% { width: 100%; }
  }

  /* === FORMS === */
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* === TABLES === */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table th, .comparison-table td { padding: 12px 8px; font-size: 0.8125rem; }

  /* === SERVICE DETAIL === */
  .service-detail-content { flex-direction: column; }
  .steps-detailed .step-detailed { flex-direction: column; }

  /* === CTA === */
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 0.9375rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  /* === FOOTER === */
  .footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .footer-brand p { font-size: 0.875rem; max-width: 100%; }
  .footer-logo-img { height: 120px !important; }

  /* === SEARCH === */
  .search-overlay-inner { padding-top: 0; }
  .search-box input { font-size: 1rem; }

  /* === MISC === */
  .error-actions { flex-direction: column; }
  .header-banner-panda { display: none; }
  .header-banner-text { font-size: 0.6875rem; }
  .header-banner-cta { font-size: 0.6875rem; padding: 5px 10px; }
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }

  /* === PANDA FLOAT === */
  .panda-float { bottom: 16px; right: 16px; }
  .panda-float-img { width: 56px; height: 56px; }
  .panda-float-bubble { width: 180px; }

  /* === OVERFLOW GUARDS === */
  .hero-content, .section-header, .footer-brand {
    word-wrap: break-word; overflow-wrap: break-word;
  }
  .article-content img { max-width: 100%; height: auto; }

  /* === TEAM DESCRIPTION TEXT === */
  .fade-in[style*="max-width:780px"] { max-width: 100% !important; padding: 0 4px; }
  .fade-in[style*="max-width:780px"] p { font-size: 0.9rem; }
}

/* ============================================
   Responsive — Small Mobile (<= 480px)
   Fine-tune sizes for very small screens.
   ============================================ */
@media (max-width: 480px) {
  /* === NAV === */
  .nav-bar { height: 60px; padding: 0 8px; }
  .nav-logo-img { width: 180px; max-width: 55vw; }
  .nav-mobile-mail { width: 38px; height: 38px; border-radius: 10px; }
  .nav-mobile-mail svg { width: 18px; height: 18px; }
  .fqc-icon { width: 50px; height: 50px; }
  .fqc-buttons { gap: 16px; }
  .nav-hamburger { width: 42px; height: 42px; border-radius: 10px; }
  .nav-hamburger span { width: 20px; height: 2px; }
  .nav-hamburger span:nth-child(2) { width: 14px; }

  /* === LAYOUT === */
  .container { padding: 0 14px; }
  .section, .section-gray, .section-alt { padding: 32px 0; }

  /* === HERO === */
  .hero { padding: 110px 8px 30px; }
  .hero-row { gap: 12px; }
  .hero-title { font-size: clamp(1.35rem, 5.5vw, 1.85rem); text-align: center; }
  .hero-subtitle { font-size: 0.875rem; line-height: 1.6; text-align: center; }
  .hero-panda > img { width: 110px; }
  .hero-panda { gap: 6px; max-width: 100%; }
  .hero-badge { font-size: 0.625rem; padding: 5px 10px; }
  .hero-buttons .btn { font-size: 0.875rem; padding: 12px 20px; }
  .hero-mini-photo { width: 72px !important; height: 72px !important; }
  .hero-mini-gallery,
  .hero-gallery-left { gap: 5px; }
  /* Hide one photo on very small screens to save space */
  .hero-mini-gallery .hero-mini-photo:nth-child(3) { display: none; }

  /* === BANNER HIDDEN === */
  .motivational-banner { display: none !important; }

  /* === SECTION HEADERS === */
  .section-header { margin-bottom: 24px; }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.875rem; }

  /* === SERVICE CARDS === */
  .service-card { padding: 20px 16px; }
  .service-card h3 { font-size: 0.9375rem; }
  .service-card p { font-size: 0.8125rem; }

  /* === INDUSTRY GRID === */
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .industry-item { padding: 16px 10px; }
  .industry-item h4 { font-size: 0.75rem; }

  /* === STATS === */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item .stat-number { font-size: 1.5rem; }

  /* === TESTIMONIALS — max 3 === */
  .testimonials-grid .testimonial-card:nth-child(n+4) { display: none; }
  .testimonial-card { padding: 18px 14px; }
  .testimonial-text { font-size: 0.85rem; line-height: 1.55; }
  .quote-mark { font-size: 2.5rem; }

  /* === TEAM === */
  .team-scroll-btn { width: 32px; height: 32px; }
  .home-team-member { min-width: 120px; }
  .home-team-member img { width: 90px; height: 90px; }
  .home-team-member h4 { font-size: 0.875rem; }
  .home-team-member span { font-size: 0.75rem; }

  /* === AUTO-STEPS === */
  .auto-step-num { width: 40px; height: 40px; font-size: 1rem; }

  /* === CTA === */
  .cta-section h2 { font-size: 1.25rem; }
  .cta-section p { font-size: 0.85rem; }

  /* === FOOTER === */
  .footer { padding: 36px 0 0; }
  .footer-grid { gap: 24px; }
  .footer-logo-img { height: 100px !important; }
  .footer-col h4 { font-size: 0.9375rem; }
  .footer-col ul li a, .footer-col ul li span { font-size: 0.8125rem; }

  /* === CAROUSEL === */
  .carousel-dot { width: 8px; height: 8px; }

  /* === MISC === */
  .back-to-top { width: 36px; height: 36px; font-size: 0.75rem; }
}

/* ============================================
   Selection & Focus Styles
   ============================================ */
::selection {
  background: rgba(220, 38, 38, 0.15);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================
   Posts Carousel
   ============================================ */
.posts-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
}

.carousel-slide .article-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-slide .article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.carousel-slide .article-excerpt {
  flex: 1;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ============================================
   Scrollbar (WebKit)
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ============================================
   Home Page Team Grid
   ============================================ */
.home-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.home-team-member img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--gray-200);
  transition: all 0.3s ease;
}

.home-team-member:hover img {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.home-team-member h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.home-team-member span {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
}

.team-dots { display: none; }

/* Team Scroller Wrapper (desktop: no buttons, just pass-through) */
.team-scroller-wrap {
  position: relative;
}
.team-scroll-btn { display: none; }
.team-scroll-dots { display: none; }

/* Mobile Carousel Nav (hidden on desktop) */
.mobile-carousel-nav { display: none; }

/* ============================================
   Animated How It Works Steps
   ============================================ */
.auto-steps {
  position: relative;
  padding-top: 16px;
}

.auto-steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.auto-step {
  text-align: center;
  position: relative;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: stepPulse 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

@keyframes stepPulse {
  0%, 20% {
    opacity: 0.35;
    transform: translateY(8px);
  }
  5%, 15% {
    opacity: 1;
    transform: translateY(0);
  }
  25%, 100% {
    opacity: 0.35;
    transform: translateY(8px);
  }
}

.auto-step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gray-300);
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
  animation: dotPulse 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

@keyframes dotPulse {
  0%, 20% {
    background: var(--gray-300);
    box-shadow: none;
    transform: scale(1);
  }
  5%, 15% {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    transform: scale(1.3);
  }
  25%, 100% {
    background: var(--gray-300);
    box-shadow: none;
    transform: scale(1);
  }
}

.auto-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  transition: all 0.5s ease;
  animation: numPulse 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

@keyframes numPulse {
  0%, 20% {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-secondary);
  }
  5%, 15% {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
  }
  25%, 100% {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-secondary);
  }
}

.auto-step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.auto-step-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Progress bar under steps */
.auto-steps-progress {
  margin-top: 32px;
  height: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.auto-steps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #ef4444);
  border-radius: 4px;
  animation: progressSweep 8s ease-in-out infinite;
}

@keyframes progressSweep {
  0%   { width: 0%; }
  25%  { width: 25%; }
  50%  { width: 50%; }
  75%  { width: 75%; }
  100% { width: 100%; }
}

/* Hide dots on desktop */
.auto-steps-nav { display: none; }

/* Hover override — keep active on hover */
.auto-step:hover {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.auto-step:hover .auto-step-dot {
  background: var(--primary) !important;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4) !important;
  transform: scale(1.3) !important;
}

.auto-step:hover .auto-step-num {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}


/* ============================================
   Print Styles
   ============================================ */
@media print {
  .navbar,
  .back-to-top,
  .scroll-progress,
  .hero-particles,
  .hero-glow {
    display: none !important;
  }

  .hero,
  .hero-inner {
    min-height: auto;
    padding: 40px 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ============================================
   Slide Verification Box
   ============================================ */
.verify-box {
  margin: 28px 0 12px;
  user-select: none;
  -webkit-user-select: none;
}
.verify-box-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gray-50, #f8fafc);
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.verify-box.verified .verify-box-inner {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}
.verify-box.has-error .verify-box-inner {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}
.verify-shield {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  color: #94a3b8;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.verify-box.verified .verify-shield {
  color: #22c55e;
  border-color: #bbf7d0;
  background: #dcfce7;
}
.verify-slider-wrap {
  flex: 1;
  min-width: 0;
}
.verify-track {
  position: relative;
  height: 44px;
  background: #f1f5f9;
  border-radius: 22px;
  overflow: hidden;
}
.verify-box.verified .verify-track {
  background: #dcfce7;
}
.verify-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(220,38,38,0.06), rgba(220,38,38,0.12));
  border-radius: 22px;
  pointer-events: none;
}
.verify-box.verified .verify-fill {
  background: linear-gradient(90deg, rgba(34,197,94,0.15), rgba(34,197,94,0.25));
}
.verify-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s, color 0.3s;
  letter-spacing: 0.3px;
}
.verify-box.verified .verify-label {
  color: #16a34a;
  font-weight: 600;
}
.verify-handle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  z-index: 2;
  outline: none;
  transition: box-shadow 0.2s, background 0.2s, transform 0.15s;
}
.verify-handle:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.06);
  transform: scale(1.06);
}
.verify-handle:active {
  cursor: grabbing;
  transform: scale(1);
}
.verify-handle .verify-arrow {
  color: #64748b;
  display: block;
}
.verify-handle .verify-check {
  display: none;
  color: white;
}
.verify-box.verified .verify-handle {
  background: #22c55e;
  cursor: default;
  box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}
.verify-box.verified .verify-handle .verify-arrow { display: none; }
.verify-box.verified .verify-handle .verify-check { display: block; }
.verify-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin: 8px 0 0;
  display: none;
  font-weight: 500;
}
.verify-box.has-error .verify-error {
  display: block;
}
@media (max-width: 480px) {
  .verify-box-inner { padding: 12px 14px; gap: 10px; }
  .verify-shield { width: 34px; height: 34px; }
  .verify-shield svg { width: 16px; height: 16px; }
  .verify-track { height: 40px; }
  .verify-handle { width: 34px; height: 34px; }
}
