/* Jinjiang Wanwei Import & Export Co., Ltd. (WIDEWAY GROUP) - Main Style System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  /* ==========================================================================
     WIDEWAY OFFICIAL BRAND RED VISUAL SYSTEM (From logo.png)
     ========================================================================== */
  --brand-red: #e50408;           /* Core Athletic Racing Red (Pantone 186 C) */
  --brand-red-hover: #c70306;     /* High-energy hover red */
  --brand-red-dark: #a80205;      /* Deep rich crimson for active states */
  --brand-red-light: #fff1f1;     /* Soft red tint for badges and cards */
  --brand-red-border: #ffc9c9;    /* Light red border */
  --brand-red-light-text: #ff8a8c;/* High-contrast coral red for dark backgrounds */
  --brand-red-glow: rgba(229, 4, 8, 0.25);
  --brand-red-gradient: linear-gradient(135deg, #e50408 0%, #b30205 100%);

  /* Primary Brand Color: WIDEWAY Red */
  --primary-color: #e50408;
  --primary-hover: #c70306;
  --primary-dark: #a80205;
  --primary-light: #fff1f1;
  --primary-glow: rgba(229, 4, 8, 0.25);

  /* Secondary & Accent Mapping */
  --secondary-color: #00b4d8;
  --secondary-dark: #0077b6;
  --accent-color: #e50408;
  --accent-hover: #c70306;
  --accent-glow: rgba(229, 4, 8, 0.25);

  /* Deep Structural Dark (Obsidian / Navy Slate for Contrast & Text) */
  --dark-navy: #0b1e36;
  --dark-slate: #0f172a;
  --text-heading: #0b1e36;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #e50408;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 4px rgba(11, 30, 54, 0.05);
  --shadow-md: 0 8px 16px rgba(11, 30, 54, 0.08);
  --shadow-lg: 0 16px 32px rgba(11, 30, 54, 0.12);
  --shadow-glow: 0 0 20px rgba(229, 4, 8, 0.25);
  --shadow-red: 0 4px 15px rgba(229, 4, 8, 0.22);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container-width: 1240px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Layout Utilities --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-light);
}

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

.grid {
  display: grid;
  gap: 30px;
}

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
}

/* --- Section Headings --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--brand-red-gradient);
  border-radius: 2px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(229, 4, 8, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 4, 8, 0.35);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

.btn-accent {
  background: var(--brand-red-gradient);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(229, 4, 8, 0.25);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #c70306 0%, #990204 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 4, 8, 0.35);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* --- Interactive Compass Navigation --- */
.compass-nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1003;
}

/* Compass Trigger Button - Pill Shape Layout */
.compass-trigger {
  height: 40px;
  padding: 0 16px 0 6px;
  border-radius: 20px;
  background: var(--bg-white);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(15, 76, 129, 0.15);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1005;
  outline: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}

.compass-trigger:hover,
.compass-trigger:focus-visible {
  box-shadow: 0 0 16px rgba(15, 76, 129, 0.2);
  border-color: var(--secondary-dark);
}

.compass-trigger:hover .sitemap-text,
.compass-trigger:hover .sitemap-arrow {
  color: var(--secondary-dark);
}

.sitemap-text {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-color);
  transition: color 0.3s;
}

.sitemap-arrow {
  font-size: 0.8rem;
  color: var(--primary-color);
  display: inline-block;
  transition: transform 0.25s ease, color 0.3s;
}

/* Dial and Needle Styling */
.compass-dial {
  width: 28px;
  height: 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-dial-ring {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px dashed rgba(15, 76, 129, 0.4);
  border-radius: 50%;
  animation: compassRotate 20s linear infinite;
}

.compass-needle {
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, #e50408 50%, var(--dark-navy) 50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform: rotate(45deg); /* Default north-east tilt */
}

.compass-center {
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  position: absolute;
  z-index: 2;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

/* Dynamic Needle Animations */
.compass-nav-container.active .compass-needle,
.compass-nav-container:hover .compass-needle {
  transform: rotate(225deg); /* Flips needle pointing to menu when active/hovered */
}

/* Responsive Toggle Helpers */
.pc-only {
  display: flex !important;
}
.mobile-only {
  display: none !important;
}

/* Hamburger Menu Icon */
.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

/* Hamburger transform to X when active */
.compass-nav-container.active .hamburger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--secondary-dark);
}
.compass-nav-container.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.compass-nav-container.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--secondary-dark);
}

/* ==========================================================================
   SITEMAP Navigation Mega-Menu (Stable Grid Layout & Anti-Flapping)
   ========================================================================== */

/* Arrow flip on active or hover */
.compass-nav-container.active .sitemap-arrow,
.compass-nav-container:hover .sitemap-arrow {
  transform: rotate(180deg);
}

/* Mega-Menu Dropdown Panel */
.compass-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 540px;
  max-width: min(540px, 94vw);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 16px 45px rgba(15, 43, 72, 0.18);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1005;
}

/* Invisible bridge extending above menu to button bottom so mouse never leaves container */
.compass-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -10px;
  right: -10px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

/* Active & Hover States: Keep menu 100% stable & visible */
.compass-nav-container.active .compass-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .compass-nav-container:hover .compass-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

/* Individual Navigation Cards */
.compass-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  text-decoration: none;
  color: #0f2b48;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.compass-item:hover {
  background: #0f2b48;
  border-color: #0f2b48;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 43, 72, 0.15);
}

.compass-item:hover .item-label {
  color: #ffffff !important;
}

.compass-item:hover .item-icon {
  transform: scale(1.1);
}

.compass-item.active {
  background: #fff1f1;
  border-color: #e50408;
}

.compass-item.active .item-label {
  color: #e50408;
  font-weight: 700;
}

.compass-item .item-icon {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.compass-item .item-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Backdrop Overlay: Darkens page on mobile/pad when menu is open */
.compass-backdrop {
  display: none;
}

/* ==========================================================================
   TABLET & PAD NAVIGATION (769px to 1024px)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .compass-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9998;
  }

  .compass-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .pc-only {
    display: flex !important;
  }
  .mobile-only {
    display: none !important;
  }

  .compass-trigger {
    height: 40px !important;
    padding: 0 16px 0 8px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 2px solid #0f2b48 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* Fixed Centered Modal Dropdown for Pad/Tablet */
  .compass-menu {
    position: fixed !important;
    top: 68px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) translateY(-10px) !important;
    width: 660px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 84px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    padding: 16px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 24px 50px rgba(15, 43, 72, 0.25) !important;
    z-index: 10005 !important;
  }

  .compass-nav-container.active .compass-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
  }

  .compass-item {
    padding: 12px 6px !important;
    gap: 6px !important;
    min-height: 70px !important;
    border-radius: 12px !important;
  }

  .compass-item .item-icon {
    font-size: 1.45rem !important;
  }

  .compass-item .item-label {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
}

/* ==========================================================================
   MOBILE PHONE NAVIGATION (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .compass-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9998;
  }

  .compass-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .pc-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
  
  .compass-trigger {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 2px solid #0f2b48 !important;
    box-shadow: 0 4px 14px rgba(15, 43, 72, 0.15) !important;
  }

  /* Fixed Centered Modal for Mobile: Perfectly 50% centered, 12px screen padding, NO left-shift clipping */
  .compass-menu {
    position: fixed !important;
    top: 64px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) translateY(-10px) !important;
    width: calc(100vw - 24px) !important;
    max-width: 440px !important;
    max-height: calc(100vh - 78px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 20px 48px rgba(15, 43, 72, 0.25) !important;
    z-index: 10005 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Active state MUST preserve translateX(-50%) to remain centered on screen */
  .compass-nav-container.active .compass-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
  }

  .compass-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 4px !important;
    gap: 4px !important;
    min-height: 66px !important;
    min-width: 0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    box-sizing: border-box !important;
  }

  .compass-item .item-icon {
    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  .compass-item .item-label {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    word-break: break-word !important;
    color: #334155 !important;
  }

  .compass-item.active {
    background: #fff1f1 !important;
    border-color: #e50408 !important;
  }

  .compass-item.active .item-label {
    color: #e50408 !important;
    font-weight: 700 !important;
  }
}

/* Very narrow smartphones (< 360px, e.g. iPhone SE 1st gen) */
@media (max-width: 359px) {
  .compass-menu {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 10px !important;
  }
  .compass-item {
    min-height: 56px !important;
    padding: 6px 2px !important;
  }
  .compass-item .item-label {
    font-size: 0.72rem !important;
  }
}

/* Global Header adaptation */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  margin: 0 auto;
}

.header-center-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Ensure zero gap above sticky header */
body {
  padding-top: 0 !important;
  margin: 0 !important;
}


/* --- Hero Banner with Video Background --- */
.hero {
  position: relative;
  min-height: 640px;
  background: #0f2b48 url('../images/banner.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  overflow: hidden;
  padding: 80px 0 70px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 43, 72, 0.88) 0%, rgba(15, 43, 72, 0.65) 55%, rgba(15, 43, 72, 0.42) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(229, 4, 8, 0.95);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(229, 4, 8, 0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  color: #fff;
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(229, 4, 8, 0.25);
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}

.hero-actions .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: #fff;
}

.hero-video-toggle {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 10;
  background: rgba(15, 43, 72, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  font-size: 1.1rem;
}

.hero-video-toggle:hover {
  background: #e50408;
  border-color: #e50408;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero {
    min-height: 520px;
    padding: 60px 0 50px 0;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- Key Statistics Widget --- */
.stats-banner {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  text-align: center;
  gap: 20px;
}

.stat-item h3 {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* --- Features / Core Strengths --- */
.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

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

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(140, 219, 179, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* --- Certificates Section --- */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.cert-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 180px;
  transition: var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--secondary-color);
}

.cert-badge {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: rgba(15, 76, 129, 0.05);
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  border: 2px dashed var(--secondary-color);
}

.cert-card h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.cert-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

/* --- Product Categories Tabs & Cards --- */
.tabs-container {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 Aspect Ratio */
  background-color: var(--bg-light);
  overflow: hidden;
}

.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: 700;
}

.product-card .btn {
  width: 100%;
}

/* --- Specifications Tables --- */
.table-responsive {
  overflow-x: auto;
  margin-top: 30px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: var(--bg-white);
}

.spec-table th, 
.spec-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  background-color: rgba(15, 76, 129, 0.05);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

.spec-table tr:hover {
  background-color: rgba(140, 219, 179, 0.05);
}

/* --- About & History timeline --- */
.history-section {
  position: relative;
  padding-left: 30px;
  margin-left: 10px;
  border-left: 2px solid var(--border-color);
}

.history-item {
  position: relative;
  margin-bottom: 40px;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  border: 3px solid var(--bg-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.history-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.history-item p {
  color: var(--text-muted);
}

/* --- OEM/ODM Pipeline Process --- */
.pipeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.pipeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 3px;
  background-color: var(--border-color);
  z-index: 1;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  width: 16%;
  text-align: center;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 3px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.pipeline-step:hover .step-num {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
  transform: scale(1.1);
}

.pipeline-step h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .pipeline {
    flex-direction: column;
    gap: 40px;
  }
  .pipeline::before {
    display: none;
  }
  .pipeline-step {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }
  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* --- Accordion FAQ --- */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--bg-white);
}

.faq-header {
  padding: 20px;
  background-color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-header:hover {
  background-color: rgba(140, 219, 179, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.faq-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  color: var(--text-muted);
}

.faq-item.active .faq-body {
  padding: 0 20px 20px 20px;
  max-height: 200px;
}

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

/* --- Contact Form & Info --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(15, 76, 129, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-text p {
  color: var(--text-muted);
}

.contact-form {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

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

.map-container {
  margin-top: 40px;
  height: 350px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(140, 219, 179, 0.1), rgba(15, 76, 129, 0.05));
  text-align: center;
  padding: 20px;
}

.map-placeholder h3 {
  margin-bottom: 10px;
}

/* --- Footer (High-Contrast Black Text on Clean Light Background) --- */
footer {
  background-color: #f8fafc;
  color: #1e293b;
  padding: 70px 0 24px 0;
  border-top: 1px solid #e2e8f0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  color: #0f2b48;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f2b48;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-size: 1rem;
}

.social-link:hover {
  background-color: #0f2b48;
  color: #ffffff;
  border-color: #0f2b48;
  transform: translateY(-2px);
}

.footer-portal-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  height: auto !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.footer-portal-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after,
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: #e50408;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #f1f5f9 !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #ff3b30 !important;
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
  color: #f1f5f9;
  padding: 0;
}

.footer-contact-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
  color: #cbd5e1 !important;
}

.footer-contact-list strong {
  color: #f59e0b !important;
  font-weight: 700;
}

.footer-contact-list li::before {
  position: absolute;
  left: 0;
  font-size: 1rem;
}

.footer-contact-list .loc::before { content: '📍'; }
.footer-contact-list .tel::before { content: '📞'; }
.footer-contact-list .eml::before { content: '✉️'; }
.footer-contact-list .wa::before { content: '💬'; }

.footer-partner-strip {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  margin-top: 36px;
  color: #475569;
}

.footer-partner-strip a {
  color: #475569 !important;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-partner-strip a:hover {
  color: #e50408 !important;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: #475569;
}

.footer-bottom p {
  color: #475569 !important;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- Scroll Animation Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Success Feedback Popup --- */
.toast-msg {
  position: fixed;
  bottom: -100px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 2000;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 5px solid var(--secondary-color);
}

.toast-msg.show {
  bottom: 20px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- B2B News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .articles-list {
    grid-template-columns: 1fr;
  }
}
.news-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.news-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: var(--bg-light);
}
.news-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-widget {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
}
.sidebar-widget h4 {
  font-size: 1.15rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 8px;
  display: inline-block;
}
.recent-post-link {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 500;
}
.recent-post-link:hover {
  color: var(--primary-color);
}
.recent-post-date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* --- Editorial Detail Page --- */
.editorial-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}
@media (max-width: 992px) {
  .editorial-container {
    grid-template-columns: 1fr;
  }
}
.article-header {
  margin-bottom: 30px;
}
.article-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
}
.article-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}
.article-featured-img img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
}
.article-body h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 35px 0 15px 0;
}
.article-body p {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}
.article-body ul {
  margin-bottom: 25px;
  padding-left: 20px;
}
.article-body li {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.sidebar-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-inquiry-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.sidebar-inquiry-form .form-control {
  padding: 10px;
  font-size: 0.9rem;
}

/* --- Case Studies Layout --- */
.case-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.case-block {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}
.case-block:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}
@media (max-width: 992px) {
  .case-block {
    grid-template-columns: 1fr;
  }
}
.case-visual {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  padding: 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.case-metric {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.case-metric-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 20px;
}
.case-details h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.case-details h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 20px 0 10px 0;
}
.case-details p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* --- Floating B2B Chat Widget --- */
.b2b-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-width: 60px;
  height: 60px;
}

.b2b-chat-widget:hover {
  max-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  padding: 8px 16px 8px 8px;
}

.chat-trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
  transition: transform 0.3s, background-color 0.3s;
}

.b2b-chat-widget:hover .chat-trigger {
  transform: rotate(90deg);
  background-color: var(--secondary-color);
}

.chat-options {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.b2b-chat-widget:hover .chat-options {
  opacity: 1;
  transform: translateX(0);
}

.chat-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.chat-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.chat-btn.whatsapp {
  background-color: #25D366;
}

.chat-btn.wechat {
  background-color: #07C160;
  position: relative;
}

.chat-btn.phone {
  background-color: #0f4c81;
}

.wechat-popup {
  position: absolute;
  bottom: 130%;
  right: -50px;
  background-color: #fff;
  color: #333;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  border: 1px solid #eee;
  width: 200px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10000;
}

.wechat-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.chat-btn.wechat:hover .wechat-popup {
  visibility: visible;
  opacity: 1;
}

.wechat-popup p {
  margin: 0 0 5px 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
}

.wechat-popup strong {
  font-size: 0.95rem;
  color: #07C160;
}

/* Floating B2B Social Share Bar */
.b2b-social-share-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
}

.b2b-social-share-bar .share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}

.b2b-social-share-bar .share-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.b2b-social-share-bar .share-btn.fb { background: #1877f2; }
.b2b-social-share-bar .share-btn.ln { background: #0a66c2; }
.b2b-social-share-bar .share-btn.wa { background: #25d366; }
.b2b-social-share-bar .share-btn.wx { background: #07c160; }

/* Floating B2B Social & AI Follow Sidebar (Left Margin) */
.b2b-social-follow-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
}

.b2b-social-follow-sidebar .follow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
}

.b2b-social-follow-sidebar .follow-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.b2b-social-follow-sidebar .follow-btn.ln { background: #0a66c2; }
.b2b-social-follow-sidebar .follow-btn.fb { background: #1877f2; }
.b2b-social-follow-sidebar .follow-btn.yt { background: #ff0000; }
.b2b-social-follow-sidebar .follow-btn.ig { background: #e1306c; }
.b2b-social-follow-sidebar .follow-btn.tt { background: #000000; }
.b2b-social-follow-sidebar .follow-btn.gemini { background: linear-gradient(135deg, #1a73e8, #4285f4); }
.b2b-social-follow-sidebar .follow-btn.chatgpt { background: #10a37f; }





/* ==========================================================================
   WIDEWAY GROUP Footwear Manufacturing Portal
   12 Official Certifications & 24 Global Trusted Brands Framework
   ========================================================================== */

/* ================= Certifications & Partners (12 Official Compliance Badges) ================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px -6px rgba(0, 149, 232, 0.22);
  color: inherit;
}

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

.cert-logo-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 14px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.cert-card:hover .cert-logo-container {
  background: #f0f9ff;
  border-color: rgba(0, 149, 232, 0.25);
}

.cert-card-img {
  max-height: 56px;
  max-width: 88%;
  object-fit: contain;
  filter: contrast(1.05);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cert-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.cert-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

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

.cert-card-org {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  align-self: center;
}

.cert-card-scope {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cert-verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(0, 149, 232, 0.25);
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  margin-top: auto;
}

.cert-card:hover .cert-verify-btn {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 149, 232, 0.3);
}

.cert-verify-btn .ext-icon {
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

.cert-card:hover .cert-verify-btn .ext-icon {
  transform: translate(2px, -2px);
}

.partner-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.partner-pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
}

.partner-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* ================= 2026 RAG FAQ Section ================= */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-brand);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 26px;
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 450px;
  padding-bottom: 24px;
}

/* ================= Floating B2B Contact Dock ================= */
.b2b-floating-dock {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.dock-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(7, 38, 71, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dock-btn:hover {
  transform: scale(1.12);
  box-shadow: var(--shadow-hover);
}

.dock-btn.whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
}

.dock-btn.wechat {
  background: #07c160;
  color: #fff;
  border: none;
}

.dock-btn.quote {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
}

.wechat-tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  display: none;
  box-shadow: var(--shadow-md);
}

.dock-btn.wechat:hover .wechat-tooltip {
  display: block;
}



@media (max-width: 1240px) {
  .nav-links {
    gap: 8px;
  }
  .nav-link {
    font-size: 0.86rem;
    padding: 6px 7px;
  }
  .compass-trigger {
    padding: 6px 11px;
    font-size: 0.78rem;
  }
  .header-cta .btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1200px) {
  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-grand-grid {
    grid-template-columns: 1fr;
  }
  .counter-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 640px) {
  .hero-grand {
    padding: 60px 0 80px;
    min-height: auto;
  }
  .hero-grand-content h1 {
    font-size: 2.2rem;
  }
  .counter-strip {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }
  .strength-grid,
  .category-cards-grid,
  .workflow-grid,
  .cert-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .top-bar-left {
    display: none;
  }
}

/* Authority Link Styling for Global Partners & Registries */
.authority-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  border-bottom: 1px dashed rgba(0, 149, 232, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.authority-link:hover {
  color: #0077b6;
  border-bottom-color: #0077b6;
  text-decoration: none;
}
.authority-link svg {
  display: inline-block;
  vertical-align: middle;
  width: 11px;
  height: 11px;
  opacity: 0.65;
  margin-left: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.authority-link:hover svg {
  transform: translate(1px, -1px);
  opacity: 1;
}

/* GEO Fast Facts Highlight Card */
.geo-fast-facts {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1px solid #bae6fd;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: 0 4px 12px rgba(0, 149, 232, 0.06);
}
.geo-fast-facts-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.geo-fast-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  font-size: 0.92rem;
  color: #334155;
}
.geo-fact-item {
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.geo-fact-item strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 2px;
}

/* ================= Trusted by Leading Brands & Supermarkets Section (对标 fjnewyifa.com) ================= */
.trusted-brands-section {
  background: #ffffff;
  padding: 80px 0 85px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.trusted-brands-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.trusted-brands-header h2 {
  font-size: 2.35rem;
  color: var(--text-dark);
  font-weight: 900;
  margin-top: 12px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.trusted-brands-header p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
}

.trusted-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.trusted-filter-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.trusted-filter-btn:hover,
.trusted-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 149, 232, 0.35);
}

.trusted-carousel-outer {
  position: relative;
  width: 100%;
  padding: 10px 0 20px;
}

.trusted-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 20px 25px;
  mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
}

.trusted-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.trusted-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.4s ease;
}

.brand-client-card {
  width: 240px;
  height: 165px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.brand-client-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 149, 232, 0.18);
}

.brand-card-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}

.brand-region-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 6px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-portal-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.72rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-client-card:hover .brand-portal-link {
  opacity: 1;
  transform: translateX(0);
}

.brand-logo-wrap {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wrap img {
  max-height: 52px;
  max-width: 170px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-client-card:hover .brand-logo-wrap img {
  transform: scale(1.08);
}

.brand-card-info {
  text-align: center;
  width: 100%;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.brand-card-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.brand-card-cat {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.trusted-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.trusted-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.trusted-arrow.prev {
  left: 8px;
}

.trusted-arrow.next {
  right: 8px;
}

.trusted-assurance-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed #e2e8f0;
}

.trusted-assurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  font-size: 0.84rem;
  color: #475569;
  font-weight: 600;
}

.trusted-assurance-item .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trusted-brands-header h2 {
    font-size: 1.8rem;
  }
  .brand-client-card {
    width: 200px;
    height: 155px;
    padding: 14px 12px;
  }
  .brand-logo-wrap img {
    max-height: 44px;
    max-width: 140px;
  }
}

/* ================= Trusted by Leading Brands & Supermarkets Section (对标 fjnewyifa.com) ================= */
.trusted-brands-section {
  background: #ffffff;
  padding: 80px 0 85px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.trusted-brands-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.trusted-brands-header h2 {
  font-size: 2.35rem;
  color: var(--text-dark);
  font-weight: 900;
  margin-top: 12px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.trusted-brands-header p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
}

.trusted-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.trusted-filter-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.trusted-filter-btn:hover,
.trusted-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 149, 232, 0.35);
}

.trusted-carousel-outer {
  position: relative;
  width: 100%;
  padding: 10px 0 20px;
}

.trusted-carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 20px 25px;
  mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent);
}

.trusted-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.trusted-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.4s ease;
}

.brand-client-card {
  width: 240px;
  height: 165px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.brand-client-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 149, 232, 0.18);
}

.brand-card-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}

.brand-region-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 6px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-portal-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.72rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-client-card:hover .brand-portal-link {
  opacity: 1;
  transform: translateX(0);
}

.brand-logo-wrap {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wrap img {
  max-height: 52px;
  max-width: 170px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-client-card:hover .brand-logo-wrap img {
  transform: scale(1.08);
}

.brand-card-info {
  text-align: center;
  width: 100%;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.brand-card-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.brand-card-cat {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.trusted-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.trusted-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.trusted-arrow.prev {
  left: 8px;
}

.trusted-arrow.next {
  right: 8px;
}

.trusted-assurance-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed #e2e8f0;
}

.trusted-assurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  font-size: 0.84rem;
  color: #475569;
  font-weight: 600;
}

.trusted-assurance-item .icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trusted-brands-header h2 {
    font-size: 1.8rem;
  }
  .brand-client-card {
    width: 200px;
    height: 155px;
    padding: 14px 12px;
  }
  .brand-logo-wrap img {
    max-height: 44px;
    max-width: 140px;
  }
}

/* ================= Defensive Global Header & Nav Guardrails ================= */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.header-center-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .header-container {
    padding: 8px 16px !important;
  }
  .header-center-block {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 !important;
  }
  .header-center-block .logo img {
    height: 34px !important;
  }
  .header-center-block .logo span {
    font-size: 1.05rem !important;
  }
}

/* Fallback: If legacy nav-links list is ever rendered */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  gap: 18px !important;
}

.nav-links li, .nav-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a, .nav-link {
  text-decoration: none !important;
  color: var(--text-dark, #1e293b) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  transition: color 0.2s ease !important;
  white-space: nowrap !important;
}

.nav-links a:hover, .nav-link:hover {
  color: var(--primary-color, #0284c7) !important;
}


/* Number Counter / Jump Animation Styling */
.stat-number, .counter, [data-counter], .hero-stat strong, .stat-val, .metric-value, .stat-digit {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  will-change: transform;
}

/* ==========================================================================
   2026 CUTTING-EDGE B2B DESIGN SYSTEM & CORE WEB VITALS OPTIMIZATIONS
   ========================================================================== */

/* Accessibility: High-Contrast Focus Visible Ring (WCAG 2.2 AA) */
:focus-visible {
  outline: 2px solid #e50408 !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* Skip to Content for Screen Readers */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: #0f2b48;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 99999;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
}

/* BLUF (Bottom Line Up Front) Generative Engine Optimization (GEO) Box */
.geo-bluf-box {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border-left: 4px solid #e50408;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 25px 0 35px 0;
  box-shadow: 0 4px 15px rgba(15, 43, 72, 0.04);
}
.geo-bluf-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0f2b48;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.geo-bluf-content {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}
.geo-bluf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.82rem;
  color: #64748b;
}
.geo-bluf-meta strong {
  color: #0f2b48;
}

/* ==========================================================================
   BENTO GRID MANUFACTURING & LAB CAPABILITIES ARCHITECTURE
   ========================================================================== */
.bento-section {
  padding: 65px 0;
  background: #ffffff;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 35px;
}
.bento-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(15, 43, 72, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 43, 72, 0.12);
  border-color: #cbd5e1;
}

/* Bento Sizing Hierarchy */
.bento-col-8 {
  grid-column: span 8;
}
.bento-col-4 {
  grid-column: span 4;
}
.bento-col-6 {
  grid-column: span 6;
}
.bento-col-12 {
  grid-column: span 12;
}

/* Bento Card Variants */
.bento-hero-card {
  background: linear-gradient(145deg, #0f2b48 0%, #173b61 100%);
  color: #ffffff;
  border: none;
}
.bento-hero-card:hover {
  box-shadow: 0 20px 45px rgba(15, 43, 72, 0.3);
}
.bento-hero-card h3, .bento-hero-card p {
  color: #ffffff !important;
}
.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}
.badge-amber {
  background: rgba(255, 138, 140, 0.18);
  color: #ff8a8c;
  border: 1px solid rgba(255, 138, 140, 0.3);
}
.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.badge-green {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.badge-orange {
  background: #fff1f1;
  color: #e50408;
  border: 1px solid #ffedd5;
}

.bento-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}
.bento-metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f2b48;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 10px 0 4px 0;
}
.bento-metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

/* ==========================================================================
   INTERACTIVE B2B FOOTWEAR SOURCING & LOGISTICS ESTIMATOR
   ========================================================================== */
.calc-wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(15, 43, 72, 0.05);
  margin: 40px 0;
}
.calc-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px auto;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  align-items: stretch;
}
.calc-form-pane {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.calc-field-group {
  margin-bottom: 20px;
}
.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f2b48;
  margin-bottom: 8px;
}
.calc-select, .calc-range {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.95rem;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-select:focus {
  border-color: #e50408;
  box-shadow: 0 0 0 3px rgba(229, 4, 8, 0.15);
  outline: none;
}
.calc-results-pane {
  background: linear-gradient(145deg, #091b2e 0%, #0f2b48 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(15, 43, 72, 0.25);
  position: relative;
  overflow: hidden;
}
.calc-results-pane::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(229, 4, 8, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.calc-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.calc-metric-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}
.calc-metric-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.calc-metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ff8a8c;
}
.calc-sync-cta {
  background: linear-gradient(135deg, #e50408 0%, #c70306 100%);
  color: #ffffff;
  border: none;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(229, 4, 8, 0.35);
  width: 100%;
}
.calc-sync-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(229, 4, 8, 0.45);
}

/* ==========================================================================
   B2B FAQ ACCORDION SECTION (CAPTURING GOOGLE RICH SNIPPETS & AI OVERVIEWS)
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.faq-accordion-container {
  max-width: 920px;
  margin: 30px auto 0 auto;
}
.faq-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 43, 72, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item-card:hover {
  border-color: #cbd5e1;
}
.faq-item-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f2b48;
  gap: 15px;
}
.faq-item-header .faq-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #e50408;
}
.faq-item-card.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item-card.active .faq-item-body {
  max-height: 450px;
  padding: 0 24px 22px 24px;
}

/* ==========================================================================
   MOBILE STICKY BOTTOM ACTION DOCK (CONVERSION OPTIMIZATION)
   ========================================================================== */
.mobile-sticky-dock {
  display: none;
}
@media (max-width: 768px) {
  .b2b-chat-widget {
    display: none !important;
  }
  .mobile-sticky-dock {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1.3fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(15, 43, 72, 0.12);
    z-index: 9990;
    padding: 8px 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    gap: 8px;
    box-sizing: border-box;
  }
  .dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.2s ease;
  }
  .dock-btn svg {
    margin-bottom: 3px;
  }
  .dock-whatsapp {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
  }
  .dock-phone {
    background: #f8fafc;
    color: #0f2b48;
    border: 1px solid #e2e8f0;
  }
  .dock-quote {
    background: linear-gradient(135deg, #e50408, #c70306);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(229, 4, 8, 0.35);
  }

  /* Add padding to page bottom so footer isn't covered by sticky dock */
  body {
    padding-bottom: 72px;
  }
}

/* Responsive Bento Grid Breakpoints */
@media (max-width: 1024px) {
  .bento-col-8 { grid-column: span 12; }
  .bento-col-4 { grid-column: span 6; }
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento-col-4 { grid-column: span 12; }
  .bento-col-6 { grid-column: span 12; }
  .calc-metric-grid { grid-template-columns: 1fr; }
  .calc-wrapper { padding: 22px; }
}

/* --- 2026 B2B Quick Quote Modal Drawer & Conversion Engine --- */
.rfq-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 54, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.rfq-modal-backdrop.active {
  display: flex;
  opacity: 1;
}
.rfq-modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(11, 30, 54, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 28px;
  box-sizing: border-box;
}
.rfq-modal-backdrop.active .rfq-modal-card {
  transform: scale(1) translateY(0);
}
.rfq-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rfq-modal-close:hover {
  background: #e2e8f0;
  color: #0b1e36;
  transform: rotate(90deg);
}
.rfq-modal-header {
  margin-bottom: 22px;
  padding-right: 32px;
}
.rfq-modal-badge {
  display: inline-block;
  background: #fff1f1;
  color: #c70306;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  border: 1px solid #ffc9c9;
}
.rfq-modal-title {
  font-size: 1.5rem;
  color: #0b1e36;
  margin: 0 0 6px 0;
  font-weight: 700;
}
.rfq-modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.rfq-input-group {
  margin-bottom: 16px;
}
.rfq-input-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.rfq-input-group input,
.rfq-input-group select,
.rfq-input-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #f8fafc;
  color: #0f172a;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.rfq-input-group input:focus,
.rfq-input-group select:focus,
.rfq-input-group textarea:focus {
  outline: none;
  border-color: #e50408;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 4, 8, 0.15);
}
.rfq-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) {
  .rfq-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.rfq-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #e50408, #c70306);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(229, 4, 8, 0.3);
  transition: all 0.2s ease;
}
.rfq-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 4, 8, 0.4);
}
.rfq-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.rfq-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #64748b;
}

/* --- Interactive Accordion for 2026 FAQ GEO & SEO --- */
.faq-accordion {
  margin: 35px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.active {
  border-color: #e50408;
  box-shadow: 0 4px 15px rgba(229, 4, 8, 0.08);
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1e36;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0b1e36;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 14px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: #e50408;
  color: #ffffff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 22px 20px 22px;
  transition: max-height 0.35s ease-in-out;
}

/* Trusted Combat Footwear Engineering Partner Cards */
.partner-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  cursor: pointer;
}
.partner-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(11, 30, 54, 0.10) !important;
  border-color: #cbd5e1 !important;
}
.partner-card:hover .partner-card-badge {
  filter: brightness(0.95);
}

