/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Custom Properties / Design System */
:root {
  /* Brand Palette */
  --primary-navy: #0b2545;
  --primary-navy-rgb: 11, 37, 69;
  --secondary-navy: #134074;
  --accent-green: #8cc63f;
  --accent-cyan: #00aeef;
  --accent-cyan-rgb: 0, 174, 239;

  /* Neutral Palette */
  --bg-light: #f4f7fa;
  --bg-dark: #07172b;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-green) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.45) 100%);
  --gradient-glow: 0 0 20px rgba(0, 174, 239, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-rajdhani: 'Rajdhani', sans-serif;
  --font-roboto: 'Roboto', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(11, 37, 69, 0.12);
  --shadow-hover: 0 25px 50px -12px rgba(11, 37, 69, 0.2);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 50%;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes draw-dna {
  0% {
    stroke-dashoffset: 100;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
}

body {
  overflow-x: clip;
  width: 100%;
  background-color: var(--bg-light);
  margin-bottom: 0;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: var(--scroll-y, 0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

h1+p,
h2+p,
h3+p,
h4+p,
h5+p,
h6+p {
  margin-top: 12px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  animation: revealFallback 0.8s 1.6s forwards ease;
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none !important;
}

@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Layout Components */

/* 1. Header Area */
.top-bar {
  background-color: var(--primary-navy);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts {
  display: flex;
  gap: 24px;
}

.top-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

.top-contacts a:hover {
  opacity: 1;
  color: var(--accent-cyan);
}

.top-links {
  display: flex;
  gap: 20px;
}

.top-links a {
  opacity: 0.85;
}

.top-links a:hover {
  opacity: 1;
  color: var(--accent-green);
}

/* Main Navigation */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-normal);
}

.main-header.shrink {
  padding: 5px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 98px;
  transition: height 0.3s ease;
}

.shrink .nav-container {
  height: 75px;
}

.logo img {
  height: 52px;
  width: auto;
  transition: var(--transition-normal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
}

.nav-item {
  position: relative;
  font-weight: 500;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--primary-navy);
  padding: 10px 0;
  transition: color var(--transition-fast);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--accent-cyan);
}

/* ════ NIKE STYLE SEARCH BAR (DEFAULT PILL & INTERACTION) ════ */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1002;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search .search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search .search-input {
  width: 190px;
  height: 40px;
  padding: 0 36px 0 42px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background-color: #f1f5f9;
  color: var(--primary-navy, #071c35);
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search .search-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.header-search .search-input:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.header-search .search-submit,
.header-search .search-submit-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.header-search .search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #cbd5e1;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: #475569;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 5;
}

.header-search .search-clear-btn:hover {
  background: #94a3b8;
  color: #ffffff;
}

.header-search.has-text .search-clear-btn {
  display: flex;
}

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE & GLOBAL SEARCH BAR STYLING
   ────────────────────────────────────────────────────────────────────────── */

/* Desktop defaults: Hide mobile search components */
@media (min-width: 1024px) {
  .mobile-search-toggle {
    display: none !important;
  }
  .mobile-search-bar {
    display: none !important;
  }
}

/* Mobile & Tablet Header Search Styling (<= 1023px) */
@media (max-width: 1023px) {
  .nav-container {
    height: 64px !important;
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 16px !important;
    gap: 8px !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
  }

  .logo img {
    height: 36px !important;
  }

  /* Compact Nike Search Pill in Mobile Header */
  .header-search {
    display: flex !important;
    flex: 1 !important;
    max-width: 210px !important;
    margin: 0 6px 0 auto !important;
    position: relative !important;
    z-index: 1002 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .header-search .search-form {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
  }

  .header-search .search-input {
    width: 100% !important;
    height: 36px !important;
    padding: 0 30px 0 34px !important;
    font-size: 13px !important;
    border-radius: 9999px !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: var(--primary-navy, #071c35) !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
  }

  .header-search .search-submit,
  .header-search .search-submit-icon {
    left: 11px !important;
    font-size: 13px !important;
    color: #64748b !important;
  }

  .header-search .search-clear-btn {
    right: 8px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
  }

  /* Full-width Nike Search Expansion on Mobile when focused/active */
  .main-header.search-active .header-search,
  .header-search:focus-within {
    position: absolute !important;
    left: 12px !important;
    right: 56px !important;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 10005 !important;
  }

  .main-header.search-active .header-search .search-input,
  .header-search:focus-within .search-input {
    background-color: #ffffff !important;
    border-color: #00aeef !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    height: 40px !important;
    font-size: 14px !important;
  }

  .main-header.search-active .logo {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 480px) {
  .header-search {
    max-width: 155px !important;
  }
  .header-search .search-input::placeholder {
    font-size: 12px !important;
  }
}

  .mobile-search-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
  }

  .mobile-search-form {
    display: flex;
    align-items: center;
    position: relative;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    padding: 4px 6px 4px 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
  }

  .mobile-search-form:focus-within {
    background: #ffffff;
    border-color: var(--accent-cyan, #00aeef);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
  }

  .mobile-search-input-icon {
    color: #64748b;
    font-size: 15px;
    margin-right: 8px;
    flex-shrink: 0;
  }

  .mobile-search-form:focus-within .mobile-search-input-icon {
    color: var(--accent-cyan, #00aeef);
  }

  .mobile-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #0f172a;
    outline: none !important;
    padding: 8px 4px;
    font-family: inherit;
    min-width: 0;
    box-shadow: none !important;
  }

  .mobile-search-input::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
  }

  .mobile-search-submit-btn {
    background: var(--gradient-accent, linear-gradient(135deg, #00aeef, #0077b6));
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    flex-shrink: 0;
    transition: all 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 174, 239, 0.3);
  }

  .mobile-search-submit-btn:hover,
  .mobile-search-submit-btn:active {
    opacity: 0.92;
    transform: scale(0.98);
  }

  .mobile-search-close-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 8px;
    margin-left: 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .mobile-search-close-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
  }
}

/* Autocomplete Suggestions Dropdown (Desktop & Mobile Nike Style) */
.search-form, .mobile-search-form {
  position: relative !important;
  overflow: visible !important;
}

.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px -10px rgba(7, 28, 53, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  z-index: 100005 !important;
  margin-top: 2px;
  text-align: left;
  padding: 10px !important;
  -webkit-overflow-scrolling: touch;
}

.search-suggestion-item {
  padding: 10px 14px !important;
  cursor: pointer;
  font-size: 13.5px;
  color: #0f172a;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 10px !important;
  border-bottom: none !important;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 174, 239, 0.1);
}

.search-suggestion-item:hover,
.search-suggestion-item:active,
.search-suggestion-item.focused {
  background: #f0f9ff !important;
  color: #00aeef !important;
}

.search-suggestion-item i {
  color: #94a3b8;
  font-size: 13px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.search-suggestion-item:hover i,
.search-suggestion-item:active i {
  color: #00aeef;
}

.search-suggestion-text {
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.4 !important;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  color: #1e293b;
}

.search-suggestion-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  background: #e0f2fe;
  color: #0284c7;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Dropdown and Submenu Navigation System */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  margin-top: 5px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1100;
}

/* Invisible hover bridge to prevent premature closing of dropdown */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
  text-decoration: none;
}

.dropdown-menu a:hover {
  color: var(--accent-cyan);
  background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-menu a i {
  font-size: 11px;
  opacity: 0.7;
}

/* Submenu/Flyout Styles (Second Level) */
.dropdown-submenu .submenu-list {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--primary-navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  margin-left: 5px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1101;
}

/* Hover bridge for submenu flyout */
.dropdown-submenu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 10px;
  height: 100%;
}

.dropdown-submenu:hover .submenu-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-list a {
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.submenu-list a:hover {
  color: var(--accent-green);
}

/* Third Level Nested Submenu (Flyout to the right) */
.submenu-list .dropdown-submenu-nested {
  position: relative;
}

.submenu-list .dropdown-submenu-nested .submenu-nested-list {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--primary-navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  margin-left: 5px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1102;
}

.submenu-list .dropdown-submenu-nested:hover .submenu-nested-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ──────────────────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS (Nav & Off-Canvas Drawer)
   ────────────────────────────────────────────────────────────────────────── */

/* Laptop 1024px - 1439px */
@media (max-width: 1439px) and (min-width: 1024px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-item {
    font-size: 14px;
  }
  .mega-menu-grid {
    gap: 16px;
  }
  .mega-menu-link-list li a {
    font-size: 12px;
  }
}

/* Off-canvas mobile/tablet drawer base styles */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(11, 37, 69, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Tablet & Mobile (<=1023px) Drawer & Hamburger Rules */
@media (max-width: 1023px) {
  .nav-menu:not(.open):not(.active) {
    display: none !important;
  }
  .nav-menu.open,
  .nav-menu.active {
    display: flex !important;
  }
  .hamburger {
    display: flex !important;
  }
  
  .mega-menu-panel {
    display: none !important;
  }

  .mobile-drawer-overlay {
    display: block;
  }
  .mobile-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 85%;
    height: 100vh;
    background-color: var(--primary-navy);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .mobile-drawer-overlay.is-active .mobile-drawer {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .drawer-logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
  }
  .drawer-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    min-height: 44px;
    min-width: 44px;
  }

  .drawer-search-box {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .drawer-search-form {
    position: relative;
    width: 100%;
  }
  .drawer-search-form input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 14px;
    outline: none;
    min-height: 44px;
  }
  .drawer-search-form i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
  }

  .drawer-nav-list {
    list-style: none;
    padding: 16px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .drawer-nav-item {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 44px;
  }
  
  /* Collapsible Accordions for Products in Drawer */
  .accordion-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
  }
  .accordion-trigger i {
    transition: transform 0.25s ease;
  }
  .accordion-trigger.is-open i {
    transform: rotate(180deg);
  }

  .accordion-content {
    display: none;
    padding: 8px 0 12px 16px;
    flex-direction: column;
    gap: 12px;
  }
  .accordion-trigger.is-open + .accordion-content {
    display: flex;
  }

  .drawer-category-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .drawer-category-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-cyan);
    text-decoration: none;
    padding: 6px 0;
    display: block;
  }
  .drawer-sub-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 4px 0 4px 10px;
    display: block;
  }

  .drawer-cta-wrap {
    padding: 24px;
    margin-top: auto;
  }
  .drawer-cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px;
    font-size: 15px;
    min-height: 44px;
  }
}

/* Phone <480px */
@media (max-width: 479px) {
  .mobile-drawer {
    width: 100%;
    max-width: 100%;
  }
}

/* User Area & Contact CTA Buttons */
.cta-button {
  background-color: var(--primary-navy);
  background-image: var(--gradient-brand);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.cta-button:hover::before {
  left: 150%;
}

.cta-button i,
.cta-outline i {
  transition: transform var(--transition-normal), color var(--transition-normal);
}

.cta-button:hover {
  background-color: #0b1c3f !important;
  background-image: none !important;
  color: var(--white) !important;
  border-color: #31e0ff !important;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(49, 224, 255, 0.35);
}

.cta-button:hover i,
.cta-outline:hover i {
  color: #31e0ff !important;
  transform: translate(3px, -1px) scale(1.15);
}

/* Highlight main navigation header Contact Us button */
.main-header .cta-button {
  padding: 10px 22px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-navy);
  background-image: var(--gradient-brand);
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.main-header .cta-button::after {
  display: none !important;
}

.main-header .cta-button:hover {
  background-color: #0b1c3f !important;
  background-image: none !important;
  border-color: #31e0ff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(49, 224, 255, 0.5) !important;
  transform: translateY(-2px);
}

.cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cta-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.cta-outline:hover::before {
  left: 150%;
}

.cta-outline:hover {
  background-color: #0b1c3f !important;
  color: var(--white) !important;
  border-color: #31e0ff !important;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(49, 224, 255, 0.35);
}

/* Hero Learn More button — same design as nav Request Quote */
.hero-learn-btn {
  border: 2px solid #31e0ff !important;
  box-shadow: 0 0 18px rgba(49, 224, 255, 0.5);
  padding: 14px 30px;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-learn-btn:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 22px rgba(49, 224, 255, 0.7) !important;
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  z-index: 10001 !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  pointer-events: none;
  transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* 2. Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, rgba(0, 174, 239, 0.15), transparent 40%),
    radial-gradient(circle at bottom left, rgba(140, 198, 63, 0.1), transparent 40%),
    var(--white);
  padding: 120px 0 100px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  background: rgba(0, 174, 239, 0.1);
  color: var(--accent-cyan);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Image & Animation Elements */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition-slow);
}

.hero-img-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.hero-shape-1 {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--gradient-accent);
  opacity: 0.15;
  border-radius: var(--radius-round);
  filter: blur(20px);
  animation: pulse-glow 8s infinite ease-in-out;
}

.hero-shape-2 {
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--accent-cyan);
  opacity: 0.2;
  border-radius: var(--radius-round);
  filter: blur(15px);
  animation: pulse-glow 6s infinite ease-in-out;
  animation-delay: 2s;
}

/* DNA Helix Graphic Component */
.dna-helix {
  position: absolute;
  width: 150px;
  height: 300px;
  opacity: 0.08;
  right: 10%;
  top: 15%;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

/* 3. "Our Journey" Values Section */
.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.section-title-wrap {
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-navy);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.journey-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.journey-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.journey-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.journey-card:hover::before {
  transform: scaleX(1);
}

.journey-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.2);
}

.journey-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(0, 174, 239, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--accent-cyan);
}

.journey-card:hover .journey-icon {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.05);
}

.journey-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.journey-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* 4. Product Catalog / Categories (Canvax Reference Layout) */
.catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

/* Left Sidebar Filters */
.catalog-sidebar {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  align-self: start;
}

.sidebar-title {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  position: relative;
  margin-bottom: 24px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-filter-item:hover,
.category-filter-item.active {
  background-color: rgba(0, 174, 239, 0.08);
  color: var(--accent-cyan);
}

.category-filter-item .count {
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.category-filter-item:hover .count,
.category-filter-item.active .count {
  background-color: var(--accent-cyan);
  color: var(--white);
}

/* Right Cards Grid */
.products-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-info-text {
  font-size: 15px;
  color: var(--text-muted);
}

.catalog-info-text strong {
  color: var(--primary-navy);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 174, 239, 0.15);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-light);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.category-card:hover .card-body h3 {
  color: var(--accent-cyan);
}

.card-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.card-btn i {
  transition: var(--transition-fast);
}

.category-card:hover .card-btn i {
  transform: translateX(4px);
  color: var(--accent-green);
}

/* 5. Statistics Counter Row */
.stats-section {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-accent);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  display: inline-block;
}

.stat-title {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 6. Testimonials Slider */
.testimonials {
  background-color: var(--white);
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.testimonial-slide {
  display: none;
  text-align: center;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(0, 174, 239, 0.15);
  position: absolute;
  top: -40px;
  left: -20px;
}

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  overflow: hidden;
  border: 2px solid var(--accent-cyan);
}

.author-info h4 {
  font-size: 16px;
  color: var(--primary-navy);
}

.author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--accent-cyan);
  transform: scale(1.25);
}

/* 7. Call Back / Contact Section */
.callback-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.callback-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.callback-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.callback-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 16px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background: rgba(0, 174, 239, 0.1);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.contact-card-detail span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-card-detail strong {
  font-size: 16px;
  color: var(--primary-navy);
}

/* Callback Form Styles */
.form-wrapper {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-wrapper h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-fast);
  background-color: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* 8. Footer Area */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--accent-green);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--white);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--gradient-accent);
  transform: translateY(-3px);
}

.footer-column h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-cyan);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

.footer-address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-address li {
  display: flex;
  gap: 10px;
}

.footer-address i {
  color: var(--accent-cyan);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* Back to Top button */
#totop {
  position: fixed;
  bottom: 25px;
  right: -60px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-navy);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 998;
  transition: var(--transition-normal);
}

#totop.show {
  right: 30px;
}

#totop:hover {
  background-color: var(--accent-cyan);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #totop {
    bottom: 84px !important;
    right: -60px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
    z-index: 998 !important;
  }
  #totop.show {
    right: 23px !important;
  }
}

/* 9. Inner Pages Styles */
.page-hero {
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dark contrast overlay */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.85) 0%, rgba(19, 64, 116, 0.7) 100%);
  z-index: 2;
}

/* Animated Ken Burns Background */
.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1);
  animation: kenBurnsEffect 24s infinite alternate ease-in-out;
}

/* Ensure text is on top of overlay and background */
.page-hero .container {
  position: relative;
  z-index: 3;
}

/* Ken Burns Keyframes */
@keyframes kenBurnsEffect {
  0% {
    transform: scale(1);
    background-position: center center;
  }

  100% {
    transform: scale(1.15);
    background-position: center 60%;
  }
}

.page-hero h1 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 12px;
}

.breadcrumb {
  display: none !important;
  font-size: 14px;
  opacity: 0.8;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

/* Page Specific Hero Backgrounds (using local downloaded assets) */
.about-hero .page-hero-bg {
  background-image: url('../assets/about-hero-bg.webp');
}

.services-hero .page-hero-bg {
  background-image: url('../assets/inner-hero-bg-1.webp');
}

.products-hero .page-hero-bg {
  background-image: url('../assets/products-hero-bg.webp');
}

.oem-hero .page-hero-bg {
  background-image: url('../assets/inner-hero-bg-1.webp');
}

.contact-hero .page-hero-bg {
  background-image: url('../assets/inner-hero-bg-1.webp');
}

/* About Us Inner Page Elements */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-intro-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-bullets {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}

.bullet-item i {
  color: var(--accent-green);
  font-size: 18px;
}

.about-img-box {
  position: relative;
}

.about-img-box img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--accent-cyan);
  color: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  text-align: center;
}

.about-badge h3 {
  color: var(--white);
  font-size: 32px;
  font-weight: 800;
}

.about-badge p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Quality Certifications Grid */
.certifications-section {
  background-color: var(--white);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cert-card {
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-normal);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.2);
}

.cert-icon {
  font-size: 40px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.cert-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.cert-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-round);
  background: rgba(0, 174, 239, 0.1);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-details p,
.contact-details a {
  color: var(--text-muted);
  font-size: 15px;
}

.contact-details a:hover {
  color: var(--accent-cyan);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .top-bar {
    display: none;
  }

  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 10001 !important;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background-color: var(--primary-navy);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000 !important;
  }

  .nav-menu.open,
  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu .nav-item {
    color: var(--white) !important;
    width: 100%;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu .nav-item:hover,
  .nav-menu .nav-item.active {
    color: var(--accent-cyan) !important;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-item-dropdown .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    color: var(--white);
  }

  /* Level 1 Submenu - Collapsible Inline Accordion */
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    display: none;
    padding: 5px 0 5px 12px !important;
    margin-top: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .nav-item-dropdown.open > .dropdown-menu {
    display: block !important;
  }

  /* Level 2 Submenu - Collapsible Inline Accordion */
  .dropdown-submenu {
    width: 100%;
  }

  .dropdown-submenu > a {
    justify-content: space-between;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
  }

  .dropdown-submenu .submenu-list {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    display: none;
    padding: 5px 0 5px 12px !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .dropdown-submenu.open > .submenu-list {
    display: block !important;
  }

  /* Level 3 Nested Submenu - Collapsible Inline Accordion */
  .dropdown-submenu-nested {
    width: 100%;
  }

  .dropdown-submenu-nested > a {
    justify-content: space-between;
    padding: 8px 0;
  }

  .dropdown-submenu-nested .submenu-nested-list {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    display: none;
    padding: 5px 0 5px 12px !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .dropdown-submenu-nested.open > .submenu-nested-list {
    display: block !important;
  }

  /* Chevron Rotation Transitions */
  .nav-item-dropdown .dropdown-toggle i,
  .dropdown-submenu > a i,
  .dropdown-submenu-nested > a i {
    transition: transform var(--transition-fast);
  }

  .nav-item-dropdown.open > .dropdown-toggle i,
  .dropdown-submenu.open > a i,
  .dropdown-submenu-nested.open > a i {
    transform: rotate(180deg);
  }

  .nav-menu .nav-item:hover,
  .nav-menu .nav-item.active {
    color: var(--accent-cyan) !important;
  }

  .nav-menu .header-search {
    width: 100%;
    max-width: 280px;
    margin: 10px auto 15px auto;
  }

  .nav-menu .header-search .search-input {
    width: 100% !important;
  }

  .nav-menu .cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px;
    padding: 14px 28px !important;
    font-size: 16px;
    margin: 20px auto 10px auto;
    text-align: center;
    box-sizing: border-box;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .callback-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom a {
    margin: 0 10px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-bullets {
    grid-template-columns: 1fr;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .journey-grid-2col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   4. NEW HERO SECTION AND TABS (https://bioarthalabs.com/ MATCH)
   ========================================================================== */

/* Google Fonts usage */
.dark-hero h1,
.dark-hero .hero-tagline,
.cta-button-cyan,
.hero-service-card .card-title {
  font-family: var(--font-rajdhani), 'Outfit', sans-serif !important;
}

/* Transparent Header styles */
.transparent-header {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  position: absolute !important;
  top: auto !important;
  /* Flows after the top-bar */
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001 !important;
}

.transparent-header .nav-item {
  color: var(--white) !important;
}

.transparent-header .nav-item:hover,
.transparent-header .nav-item.active {
  color: #31e0ff !important;
}

.transparent-header .nav-item::after {
  background: #31e0ff !important;
}

.transparent-header .cta-outline {
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.transparent-header .cta-outline:hover {
  background-color: var(--white) !important;
  color: var(--primary-navy) !important;
  border-color: var(--white) !important;
}

.transparent-header .hamburger span {
  background-color: var(--white) !important;
}

/* Scrolled/Shrunk header on home page */
.transparent-header.shrink {
  position: sticky !important;
  top: 0 !important;
  background-color: rgba(11, 37, 69, 0.98) !important;
  /* Rich Dark Blue */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Dark Hero Container */
.dark-hero {
  position: relative;
  background-color: #0c0c26;
  /* Fallback dark navy */
  min-height: 80vh;
  padding: 180px 0 160px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Full Bleed Local Video Background */
.video-background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  background-color: #0c0c26;
  /* Dark navy base */
  pointer-events: none;
}

.video-bg-native {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fill and crop aspect ratios automatically */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Dark Blue Overlay over Video - acts as interactive shield */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(12, 12, 38, 0.9) 0%, rgba(12, 12, 38, 0.5) 100%);
  z-index: 1;
}

/* Left Social Sidebar */
.social-sidebar {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 10;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 20px;
}

.social-sidebar::after {
  content: '';
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
}

.social-sidebar-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  transition: var(--transition-fast);
}

.social-sidebar-link:hover {
  color: #31e0ff;
  transform: scale(1.2);
}

/* Hero Content alignment */
.dark-hero .hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.dark-hero .hero-content {
  max-width: 800px;
  text-align: left;
  margin-left: 20px;
  /* offset to clear social sidebar */
}

/* Eyebrow / Tagline */
.dark-hero .hero-tagline {
  background: transparent;
  color: var(--white);
  padding: 0;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dark-hero .hero-tagline .tag-caret {
  color: #31e0ff;
  font-size: 12px;
}

/* Main Header Heading */
.dark-hero h1 {
  font-size: 72px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.dark-hero h1 span {
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--white);
}

.dark-hero .hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 680px;
  font-family: var(--font-body);
}

/* Cyan Button Style */
.cta-button-cyan {
  background-color: #31e0ff;
  color: #0c0c26;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(49, 224, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button-cyan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.cta-button-cyan:hover::before {
  left: 150%;
}

.cta-button-cyan i {
  transition: transform var(--transition-normal), color var(--transition-normal);
}

.cta-button-cyan:hover {
  background-color: #0b1c3f !important;
  color: var(--white) !important;
  border-color: #31e0ff !important;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(49, 224, 255, 0.35);
}

.cta-button-cyan:hover i {
  color: #31e0ff !important;
  transform: translate(3px, -1px) scale(1.15);
}

/* ==========================================
   5. OVERLAPPING SERVICE CARDS
   ========================================== */
.hero-cards-section {
  position: relative;
  z-index: 20;
  margin-top: -80px;
  /* Overlap effect */
  padding-bottom: 40px;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background-color: #1a2754;
  /* Unified dark blue border wrapper */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-service-card {
  background-color: #212c5b;
  /* Card base color */
  padding: 35px 28px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-service-card:last-child {
  border-right: none;
}

.hero-service-card .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
}

.hero-service-card .card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-service-card .card-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.hero-service-card .card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.hero-service-card .card-link-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.05);
  color: #31e0ff;
  font-size: 13px;
  transition: all var(--transition-normal);
}

.hero-service-card .card-icon-img {
  height: 48px;
  width: auto;
  opacity: 0.75;
  transition: all var(--transition-normal);
  filter: brightness(0) invert(1);
  /* Ensure it's clean white outline */
}

/* Card Hover Animations */
.hero-service-card:hover {
  background-color: #0b1c3f;
  /* Deep brand focus */
  transform: translateY(-8px);
  z-index: 5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.hero-service-card:hover .card-link-arrow {
  background-color: #31e0ff;
  color: #0c0c26;
  transform: rotate(45deg);
}

.hero-service-card:hover .card-icon-img {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(49, 224, 255, 0.5)) brightness(0) invert(1);
}

/* ==========================================
   6. HERO RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 1023px) {
  .dark-hero h1 {
    font-size: 56px;
  }

  .hero-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-service-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-service-card:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 1024px) {
  .social-sidebar {
    display: none;
  }

  .dark-hero .hero-content {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .dark-hero {
    padding: 140px 0 100px 0;
    min-height: auto;
  }

  .dark-hero h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .dark-hero .hero-desc {
    font-size: 15px;
  }

  .hero-cards-section {
    margin-top: -40px;
  }

  .hero-cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-service-card {
    border-right: none;
    min-height: auto;
    padding: 24px 20px;
  }

  .transparent-header .nav-menu {
    background-color: rgba(11, 37, 69, 0.98) !important;
  }
}

/* ==========================================================================
   5. PREMIUM HERO ANIMATIONS (Interactive Glow & Text Masks)
   ========================================================================== */

/* Spotlight mouse glow element */
.interactive-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(0, 174, 239, 0.15),
      transparent 80%);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: background 0.15s ease;
}

/* Split-Text Line Reveal Animations */
.reveal-title {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.line-wrapper {
  display: block;
  overflow: hidden;
  margin-bottom: 5px;
}

.line-text {
  display: block;
  transform: translateY(110%);
  animation: slideUpReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-title .line-wrapper:nth-child(1) .line-text {
  animation-delay: 0.2s;
}

.reveal-title .line-wrapper:nth-child(2) .line-text {
  animation-delay: 0.4s;
}

/* Metallic gradient accent for text */
.reveal-title .highlight {
  background: linear-gradient(90deg, #31e0ff 0%, #8cc63f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Eyebrow Tagline slide-in */
.reveal-tagline {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

/* Desc and Actions fade-in */
.reveal-desc {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.reveal-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

/* Staggered card load spring */
.stagger-card {
  opacity: 0;
  transform: translateY(60px);
  animation: fadeInUpSpring 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stagger-card:nth-child(1) {
  animation-delay: 0.9s;
}

.stagger-card:nth-child(2) {
  animation-delay: 1.0s;
}

.stagger-card:nth-child(3) {
  animation-delay: 1.1s;
}

.stagger-card:nth-child(4) {
  animation-delay: 1.2s;
}

.stagger-card:nth-child(5) {
  animation-delay: 1.3s;
}

/* Sweep shine effect on cards */
.hero-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0.08) 70%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 1;
}

.hero-service-card:hover::before {
  animation: shineSweep 1.2s ease-in-out forwards;
}

/* Animation Keyframes */
@keyframes slideUpReveal {
  to {
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUpReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpSpring {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shineSweep {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

/* ==========================================================================
   6. HOMEPAGE ABOUT SECTION & PROGRESS CIRCLES
   ========================================================================= */
.homepage-about-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.homepage-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text-content .about-lead {
  font-size: 20px;
  color: var(--primary-navy);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.about-text-content .about-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-cta-container {
  margin-top: 30px;
  margin-bottom: 25px;
}

.about-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 82, 136, 0.2), rgba(0, 82, 136, 0.05));
  margin: 30px 0;
}

.homepage-about-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.homepage-about-image-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 82, 136, 0.05), rgba(0, 180, 216, 0.03));
  pointer-events: none;
}

.homepage-about-image-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.homepage-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px;
}

/* Stats Circle grid */
.about-stats-circles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
  align-items: center;
}

.stat-circle-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.circle-svg-wrapper {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-ring {
  transform: rotate(-90deg);
  /* Start progress at top center */
}

.progress-ring-bg {
  stroke: #f1f5f9;
}

.progress-ring-bar {
  stroke-dasharray: 339.29;
  stroke-dashoffset: 339.29;
  /* Circ = 2 * Math.PI * 54 = 339.29 */
}

.stat-circle-number {
  position: absolute;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-navy);
  font-family: var(--font-heading);
  display: flex;
  align-items: baseline;
}

.stat-circle-number sup {
  font-size: 14px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.stat-circle-title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

/* Responsiveness for Homepage About Section */
@media (max-width: 1024px) {
  .homepage-about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .about-stats-circles {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   7. PREMIUM ABOUT US PAGE REDESIGN STYLES
   ========================================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text-col .section-title-left {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-body-lead {
  font-size: 18px;
  color: var(--secondary-navy);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  transition: var(--transition-slow);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.about-image-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* 2. Missions Grid */
.about-missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.mission-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  text-align: center;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.2);
}

.mission-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(0, 174, 239, 0.08);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px auto;
  font-size: 28px;
  transition: var(--transition-normal);
}

.mission-card:hover .mission-icon {
  background: var(--gradient-accent);
  color: var(--white);
}

.mission-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary-navy);
}

.mission-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 4. Core Infrastructure Overview */
.infrastructure-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.infra-overview-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.infra-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(140, 198, 63, 0.2);
}

.infra-icon {
  font-size: 24px;
  color: var(--accent-green);
  background: rgba(140, 198, 63, 0.08);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.infra-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.infra-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 6. Equipment Accordion */
.equipment-accordion-container {
  margin-top: 60px;
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.accordion-section-title {
  font-size: 22px;
  color: var(--primary-navy);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-item.active {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
  transition: var(--transition-fast);
}

.accordion-header:hover {
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, 0.02);
}

.accordion-icon-toggle {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon-toggle {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-content-inner {
  padding: 0 24px 24px 24px;
  border-top: 1px solid #f8fafc;
}

.accordion-bullets {
  padding-left: 20px;
  list-style-type: disc;
}

.accordion-bullets li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.accordion-bullets li strong {
  color: var(--primary-navy);
}

.accordion-bullets ul {
  padding-left: 20px;
  list-style-type: circle;
  margin-top: 8px;
}

/* 7. Maintenance & Support Grid */
.maintenance-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.support-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.2);
}

.support-icon {
  font-size: 24px;
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, 0.08);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.support-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.support-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 9. Key Strengths Grid */
.about-strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.strength-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-normal);
}

.strength-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(140, 198, 63, 0.2);
}

.strength-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(140, 198, 63, 0.08);
  color: var(--accent-green);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px auto;
  font-size: 28px;
  transition: var(--transition-normal);
}

.strength-card:hover .strength-icon {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  color: var(--white);
}

.strength-card h3 {
  font-size: 19px;
  margin-bottom: 16px;
  color: var(--primary-navy);
}

.strength-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 10. Global Reach Section Banner */
.global-reach-section {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(19, 64, 116, 0.95) 100%),
    url('../assets/hero.png') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.global-reach-body {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 24px auto;
  line-height: 1.8;
  opacity: 0.95;
}

/* 11. Quality Certifications */
.quality-certified-tagline {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-navy);
  margin-top: 16px;
}

.about-certs-flex {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cert-display-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cert-img-frame {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  width: 180px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cert-img-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-display-card:hover .cert-img-frame {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.cert-display-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
}

/* Responsiveness for Redesigned About page */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid.reverse-mobile {
    direction: ltr;
  }

  .about-grid.reverse-mobile .about-visual-col {
    order: 2;
  }

  .about-grid.reverse-mobile .about-text-col {
    order: 1;
  }
}

@media (max-width: 900px) {

  .about-missions-grid,
  .about-strengths-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .infrastructure-overview-grid,
  .maintenance-support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-certs-flex {
    gap: 40px;
  }
}

/* ==========================================================================
   12. Services Page Redesign Styles
   ========================================================================== */

/* Services Hero & Breadcrumb overrides if needed */
.services-hero .page-hero-bg {
  background-image: url('../assets/inner-hero-bg-1.webp');
}

/* Services Intro Section */
.services-intro-section {
  background-color: var(--white);
  padding: 80px 0 60px 0;
  text-align: center;
}

.services-intro-content {
  max-width: 850px;
  margin: 0 auto;
}

.services-intro-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 24px;
}

/* Services Categories Section (Zigzag Layout) */
.services-categories-section {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 80px 0;
}

.services-zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 60px;
}

.services-zigzag-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

/* Alternate order for even rows */
.services-zigzag-row.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.services-zigzag-row.reverse .zigzag-text-col {
  order: 2;
}

.services-zigzag-row.reverse .zigzag-img-col {
  order: 1;
}

.zigzag-text-col {
  position: relative;
}

.zigzag-num {
  font-size: 86px;
  font-weight: 800;
  color: rgba(0, 174, 239, 0.07);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: -10px;
  display: block;
}

.zigzag-text-col h3 {
  font-size: 32px;
  color: var(--primary-navy);
  margin-bottom: 24px;
}

.zigzag-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zigzag-bullets li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.zigzag-bullets li i {
  color: var(--accent-cyan);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.zigzag-img-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.zigzag-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  width: 100%;
  aspect-ratio: 1.25 / 1;
  transition: var(--transition-slow);
}

.zigzag-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.zigzag-img-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.25);
}

.zigzag-img-wrapper:hover img {
  transform: scale(1.04);
}

/* Custom horizontal glow line decorative element */
.zigzag-text-col::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Scroll reveal left/right custom classes */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  animation: revealFallback 0.8s 1.6s forwards ease;
}

.reveal-left.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
  animation: none !important;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  animation: revealFallback 0.8s 1.6s forwards ease;
}

.reveal-right.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
  animation: none !important;
}

/* Word-splitting text animations for zigzag headings */
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-text {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active .word-text {
  transform: translateY(0);
}

/* Staggered list items and button reveals inside active zigzag columns */
.zigzag-text-col .zigzag-bullets li {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active .zigzag-bullets li {
  opacity: 1;
  transform: translateY(0);
}

.reveal.active .zigzag-bullets li:nth-child(1) {
  transition-delay: 0.25s;
}

.reveal.active .zigzag-bullets li:nth-child(2) {
  transition-delay: 0.35s;
}

.reveal.active .zigzag-bullets li:nth-child(3) {
  transition-delay: 0.45s;
}

@keyframes revealFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zigzag-text-col .cta-button {
  opacity: 0;
  transform: translateY(15px);
}

.reveal.active .zigzag-text-col .cta-button {
  animation: revealFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Why Choose Section */
.why-choose-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 80px 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.why-choose-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.2);
}

.why-choose-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 174, 239, 0.04) 50%);
  transition: var(--transition-normal);
}

.why-choose-card:hover::after {
  background: linear-gradient(135deg, transparent 50%, rgba(140, 198, 63, 0.1) 50%);
}

.why-choose-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: rgba(0, 174, 239, 0.08);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.why-choose-card:hover .why-choose-icon {
  background: var(--gradient-accent);
  color: var(--white);
}

.why-choose-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--primary-navy);
}

.why-choose-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Services Call to Action Banner */
.services-cta-banner {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(19, 64, 116, 0.9) 100%),
    url('../assets/inner-hero-bg-1.webp') center/cover no-repeat;
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.services-cta-banner .cta-button {
  border: 2px solid #31e0ff;
  box-shadow: 0 0 15px rgba(49, 224, 255, 0.45);
}

.services-cta-banner .cta-button:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(49, 224, 255, 0.6) !important;
}

.services-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 174, 239, 0.15), transparent 45%),
    radial-gradient(circle at bottom left, rgba(140, 198, 63, 0.1), transparent 45%);
  pointer-events: none;
}

.cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner-content p {
  font-size: 16px;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.8;
}

/* Responsiveness for Services page */
@media (max-width: 1024px) {
  .services-zigzag-container {
    gap: 80px;
  }

  /* Use flexbox column layouts to consistently position images on top on mobile/tablet widths */
  .services-zigzag-row {
    display: flex;
    flex-direction: column-reverse;
    /* Reverses DOM order: puts zigzag-img-col (2nd) on top of zigzag-text-col (1st) */
    gap: 40px;
  }

  .services-zigzag-row.reverse {
    display: flex;
    flex-direction: column;
    /* Normal DOM order: puts zigzag-img-col (1st) on top of zigzag-text-col (2nd) */
    gap: 40px;
  }

  .zigzag-text-col,
  .zigzag-img-col {
    width: 100%;
  }

  .services-zigzag-row.reverse .zigzag-text-col,
  .services-zigzag-row.reverse .zigzag-img-col {
    order: unset;
  }

  .zigzag-text-col h3 {
    font-size: 26px;
  }

  .zigzag-num {
    font-size: 70px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .services-zigzag-container {
    gap: 60px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-banner-content h2 {
    font-size: 30px;
  }

  .services-intro-section,
  .services-categories-section,
  .why-choose-section,
  .services-cta-banner {
    padding: 60px 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   Dynamic Product Cards & Category Tabs
   ═══════════════════════════════════════════════════════════ */
.product-tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 40px auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  border: 1px solid var(--border-color);
  max-width: fit-content;
  box-shadow: var(--shadow-sm);
}

.product-tab {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-tab:hover {
  color: var(--primary-navy);
}

.product-tab.active {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.2);
}

@media (max-width: 768px) {
  .product-tabs-container {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    scrollbar-width: none !important;
    padding: 8px 12px !important;
    border-radius: 24px !important;
    gap: 8px !important;
  }

  .product-tabs-container::-webkit-scrollbar {
    display: none !important;
  }

  .product-tab {
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

.dynamic-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.dynamic-product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.dynamic-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.3);
}

.dpc-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #ffffff; /* White background for clean product containment */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.dpc-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain; /* Prevent cutoff of bottle/label shapes */
  transition: transform 0.4s ease;
}

.dynamic-product-card:hover .dpc-img-wrap img {
  transform: scale(1.06);
}

.dpc-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dpc-catalog {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.dpc-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.dpc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.dpc-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.dpc-specs {
  border-top: 1px solid var(--bg-light);
  padding-top: 12px;
  margin-bottom: 14px;
}

.dpc-spec {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  color: var(--text-muted);
}

.dpc-spec span:first-child {
  font-weight: 600;
  color: var(--text-body);
}

.dpc-quote-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
  margin-top: auto;
}

.dpc-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.3);
}

@media (max-width: 992px) {
  .dynamic-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dynamic-product-grid {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
   MOBILE-FIRST PREMIUM OVERLAY SYSTEM
   ────────────────────────────────────────────────────────────────────────── */

/* Mobile Search Icon Button in Header */
.mobile-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--primary-navy, #0b2545);
  font-size: 19px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  z-index: 10001 !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-search-toggle:hover,
.mobile-search-toggle.active {
  color: var(--accent-cyan, #00aeef);
}

@media (max-width: 1023px) {
  .mobile-search-toggle {
    display: flex !important;
    position: relative;
    z-index: 10001 !important;
    order: 1;
  }

  .nav-container {
    height: 64px !important;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px !important;
  }

  .logo {
    position: static !important;
    transform: none !important;
    z-index: 5;
    margin-right: auto !important;
  }

  .logo img {
    height: 40px !important;
  }

  .mobile-right-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 10001 !important;
    order: 2;
  }

  /* Hide off-canvas drawer menu links by default on mobile unless open */
  .nav-menu:not(.open):not(.active) {
    display: none !important;
  }

  .nav-menu.open,
  .nav-menu.active {
    display: flex !important;
  }
}

/* Mobile Search Dropdown Bar */
.mobile-search-bar {
  display: none;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 2px solid var(--accent-cyan, #00aeef);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  padding: 12px 16px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-search-bar.active {
  display: block !important;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-search-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}

.mobile-search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 14px;
  pointer-events: none;
}

.mobile-search-input {
  flex: 1;
  height: 44px;
  padding: 8px 12px 8px 38px;
  border-radius: 22px;
  border: 1.5px solid #cbd5e1;
  background-color: #f8fafc;
  font-size: 14px;
  color: var(--text-dark, #1e293b);
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-search-input:focus {
  background-color: #ffffff;
  border-color: var(--accent-cyan, #00aeef);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.mobile-search-submit-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  border: none;
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-search-submit-btn:hover {
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.3);
}

.mobile-search-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.mobile-search-close-btn:hover {
  background-color: #f1f5f9;
  color: var(--text-dark, #1e293b);
}

/* Search Autocomplete Suggestions Dropdown (Desktop & Mobile) */
.search-form,
.mobile-search-form {
  position: relative !important;
  overflow: visible !important;
}

.mobile-search-bar {
  overflow: visible !important;
}

.mobile-search-container {
  position: relative !important;
  overflow: visible !important;
}



/* Mobile Navigation Panel System */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--white);
}

.mobile-nav-header .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-header .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 18px;
}

.mobile-nav-panels-container {
  flex: 1;
  display: flex;
  position: relative;
  width: 200%;
  /* Two panels side-by-side */
  height: calc(100% - 64px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-panels-container.slide-left {
  transform: translateX(-50%);
}

.mobile-nav-panel {
  width: 50%;
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Panel 1 Level 1 Items */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-navy);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.mobile-nav-item:active {
  background-color: rgba(0, 0, 0, 0.02);
}

.mobile-nav-item i {
  font-size: 16px;
  color: var(--text-muted);
}

.mobile-nav-item.cta-item {
  margin-top: 24px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.2);
}

.mobile-nav-item.cta-item i {
  color: var(--white);
}

/* Panel 2 Level 2 Items (Product Category Cards) */
.panel-title-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.panel-back-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 20px;
}

.category-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-bottom: 40px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.category-card:active {
  transform: scale(0.98);
  box-shadow: none;
}

.category-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1) 0%, rgba(140, 198, 63, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.category-card-info {
  flex: 1;
}

.category-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 16px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card-count {
  font-size: 11px;
  font-weight: 500;
  background-color: var(--bg-light);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 10px;
}

.category-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.category-card-chevron {
  color: var(--accent-cyan);
  font-size: 14px;
}

/* Mobile Search Experience Overlay */
.mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--white);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-search-overlay.active {
  transform: translateY(0);
}

.search-overlay-header {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-color);
}

.search-back-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 5px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 14px;
}

.search-overlay-input {
  width: 100%;
  padding: 10px 36px 10px 36px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 14px;
  background-color: var(--bg-light);
  outline: none;
  transition: border-color 0.2s;
}

.search-overlay-input:focus {
  border-color: var(--accent-cyan);
  background-color: var(--white);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
  display: none;
}

.search-overlay-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.search-section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  margin-top: 20px;
}

.search-section-title:first-child {
  margin-top: 0;
}

/* Recent searches tags */
.recent-searches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.recent-search-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-light);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.2s;
}

.recent-search-chip:active {
  background-color: rgba(0, 0, 0, 0.05);
}

.recent-search-chip i {
  font-size: 10px;
  color: var(--text-muted);
}

/* Category Shortcuts */
.category-shortcuts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.category-shortcut-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-navy);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.category-shortcut-item:active {
  background-color: var(--bg-light);
}

/* Search Suggestions List */
.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s;
}

.suggestion-item:active {
  background-color: var(--bg-light);
}

.suggestion-item i {
  color: var(--text-muted);
  font-size: 14px;
}

.suggestion-item-text {
  flex: 1;
}

.suggestion-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.suggestion-item-category {
  font-size: 11px;
  color: var(--text-muted);
}

/* Quick Access Scrolling Chips */
.quick-access-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
  /* Hide scrollbar for Firefox */
  -webkit-overflow-scrolling: touch;
}

.quick-access-chips::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome/Safari */
}

.quick-access-chip {
  display: inline-block;
  white-space: nowrap;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.quick-access-chip.active {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 174, 239, 0.2);
}

/* Catalog Filter Chips styling */
.filter-section-mobile {
  margin-bottom: 24px;
}

.filter-group-mobile {
  margin-bottom: 16px;
}

.filter-group-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip.active {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: var(--white);
}

.filter-chip:active {
  transform: scale(0.97);
}

/* ──────────────────────────────────────────────────────────────────────────
   ABOUT US PAGE STYLING FOR BROCHURE CONTENT
   ────────────────────────────────────────────────────────────────────────── */

/* 1. Intro Section & Portfolio Bullets */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.portfolio-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-navy);
}

.portfolio-bullet-item i {
  color: var(--accent-cyan);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Three Pillars Card Grid */
.three-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .three-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .three-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.pillar-card-header i {
  font-size: 24px;
  color: var(--accent-cyan);
}

.pillar-card-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 18px;
  margin: 0;
}

.pillar-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-card-bullets li {
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.pillar-card-bullets li i {
  color: var(--accent-green);
  font-size: 12px;
  width: 14px;
  text-align: center;
}

/* Call to Action Banner */
.about-cta-banner {
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

/* Why BioArtha Grid */
.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .why-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-cards-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-green);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(140, 198, 63, 0.1);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-navy);
  font-size: 16px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Certifications & Badges Grid */
.badge-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .badge-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .badge-cards-grid {
    grid-template-columns: 1fr;
  }
}

.badge-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.badge-card-icon-frame {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary-navy);
  margin: 0 auto 16px auto;
  border: 1px solid var(--border-color);
}

.badge-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 15px;
  margin-bottom: 8px;
}

.badge-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Revamped Certs Two-Column Layout */
.certs-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .certs-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.badge-cards-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 576px) {
  .badge-cards-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* Third Level Nested Submenu (Flyout to the right) */
.submenu-list .dropdown-submenu-nested {
  position: relative;
}

.submenu-list .dropdown-submenu-nested .submenu-nested-list {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--primary-navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  margin-left: 5px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1102;
}

/* Adjust third-level nested flyouts on smaller laptop displays by adjusting main header margins so menus do not overflow */
@media (max-width: 1400px) {
  .nav-menu {
    gap: 16px;
  }
  .header-search .search-input {
    width: 130px;
  }
  .nav-container {
    max-width: 95%;
  }
}

.submenu-list .dropdown-submenu-nested:hover .submenu-nested-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-list .dropdown-submenu-nested::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 10px;
  height: 100%;
}

.submenu-nested-list li a {
  padding: 8px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu-nested-list li a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

/* ──────────────────────────────────────────────────────────────────────────
   BIOTECH PRODUCT CATALOG & VARIANT TABLES STYLING
   ────────────────────────────────────────────────────────────────────────── */

/* 1. Subcategory Page: Product Family Grid */
.family-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .family-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .family-grid-container {
    grid-template-columns: 1fr;
  }
}

.family-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.family-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-green);
}

.family-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.family-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.family-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.family-card .variants-count {
  font-size: 12px;
  font-weight: 600;
  background-color: rgba(140, 198, 63, 0.08);
  color: var(--accent-green);
  padding: 4px 12px;
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 20px;
}

.family-card .view-products-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: var(--primary-navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  margin-top: auto;
}

.family-card .view-products-btn:hover {
  background-color: var(--accent-green);
}

/* 2. Product Family Page: Hero & Layout details */
.family-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .family-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.family-detail-text h2 {
  font-size: 36px;
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 20px;
}

.family-detail-visual {
  display: flex;
  justify-content: center;
}

/* 3. Catalog Workspace (Sidebar + Table) */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Filter Sidebar */
.filter-sidebar {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.filter-sidebar-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.clear-filters-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.clear-filters-btn:hover {
  text-decoration: underline;
}

.filter-group-accordion {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
}

.filter-group-accordion:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-header {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 500;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-green);
  cursor: pointer;
}

/* Variant Table Styling */
.variants-table-area {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  overflow-x: auto;
}

.variant-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.variant-table th {
  background-color: var(--bg-light);
  color: var(--primary-navy);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.variant-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-dark);
}

.variant-table tr:last-child td {
  border-bottom: none;
}

.variant-table tr:hover td {
  background-color: rgba(244, 247, 250, 0.5);
}

.cat-no-badge {
  font-family: monospace;
  font-weight: 600;
  background-color: var(--bg-light);
  color: var(--primary-navy);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.desc-col {
  min-width: 220px;
  line-height: 1.4;
  font-weight: 500;
}

.badge-form {
  font-size: 11px;
  font-weight: 600;
  background-color: rgba(0, 174, 239, 0.08);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 10px;
}

.badge-glucose {
  font-size: 11px;
  font-weight: 600;
  background-color: rgba(140, 198, 63, 0.08);
  color: var(--accent-green);
  padding: 3px 8px;
  border-radius: 10px;
}

.additives-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 250px;
}

.badge-additive {
  font-size: 10px;
  font-weight: 500;
  background-color: var(--bg-light);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.variant-table .quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.15);
  white-space: nowrap;
}

.variant-table .quote-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

/* Thermo Fisher-style Technical Tabs Layout */
.tab-container {
  margin-top: 50px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tab-nav {
  display: flex;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-btn {
  padding: 18px 28px;
  background: none;
  border: none;
  border-right: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--primary-navy);
}

.tab-btn.active {
  background-color: var(--white);
  color: var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
  font-weight: 700;
}

.tab-content {
  padding: 35px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tf-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border: 1px solid var(--border-color);
}

.tf-spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-dark);
}

.tf-spec-table tr:last-child td {
  border-bottom: none;
}

.tf-spec-table td.spec-label {
  font-weight: 700;
  color: var(--primary-navy);
  width: 280px;
  background-color: var(--bg-light);
}

.document-download-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.document-item:hover {
  border-color: var(--accent-cyan);
  background-color: var(--white);
}

.document-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.document-info i {
  font-size: 24px;
  color: #e03131;
  /* pdf style red */
}

.document-title {
  font-weight: 600;
  color: var(--primary-navy);
}

.document-size {
  font-size: 12px;
  color: var(--text-muted);
}

.document-download-btn {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.document-download-btn:hover {
  text-decoration: underline;
}

/* Modal Popup Global Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 23, 43, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1200;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-hover);
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Responsive corrections for page-hero and breadcrumb to prevent clumsy wrapping on mobile devices */
@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 !important;
  }

  .page-hero h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .breadcrumb {
    font-size: 12px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 6px !important;
    line-height: 1.5 !important;
  }

  .breadcrumb a,
  .breadcrumb span {
    white-space: nowrap !important;
    display: inline-block !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES — Extracted from inline <style> blocks
   ═══════════════════════════════════════════════════════════════════ */

/* ───── Product Family Detail Page (ep-* classes) ───── */
/* ── Enterprise Hero ── */
.ep-hero {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  padding: 36px 0 0;
}

.ep-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Gallery */
.ep-gallery {
  position: sticky;
  top: 90px;
}

.ep-main-img {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8ecf0;
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.ep-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.ep-main-img:hover img {
  transform: scale(1.7);
}

.ep-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.ep-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid #e8ecf0;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}

.ep-thumb.active {
  border-color: var(--accent-green);
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product info */
.ep-info {
  padding-bottom: 36px;
}

.ep-breadcrumb {
  display: none !important;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.ep-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.ep-breadcrumb a:hover {
  color: var(--accent-green);
}

.ep-cat-label {
  display: inline-block;
  background: rgba(36, 182, 109, .1);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.ep-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ep-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Badges */
.ep-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}

.ep-badge-green {
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
  border-color: rgba(36, 182, 109, .25);
}

.ep-badge-blue {
  background: rgba(0, 174, 239, .08);
  color: #0080b0;
  border-color: rgba(0, 174, 239, .25);
}

.ep-badge-navy {
  background: rgba(7, 23, 43, .06);
  color: #07172b;
  border-color: rgba(7, 23, 43, .18);
}

/* Quick Spec Cards */
.ep-spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.ep-spec-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 13px 14px;
}

.ep-spec-card .sc-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ep-spec-card .sc-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Highlights */
.ep-highlights {
  margin-bottom: 28px;
}

.ep-highlights h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.ep-hl-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-hl-list li {
  font-size: 13.5px;
  color: #4a5568;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.ep-hl-list li i {
  color: var(--accent-green);
  margin-top: 3px;
  flex-shrink: 0;
}

/* CTA Buttons */
.ep-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ep-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
}

.ep-cta-primary:hover {
  background: #1a8c52;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36, 182, 109, .3);
}

.ep-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ep-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-navy);
  border: 1.5px solid #d1d9e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
  text-decoration: none;
}

.ep-cta-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(36, 182, 109, .04);
}

/* ── Sticky Tab Nav ── */
.ep-tab-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 200;
  background: #fff;
  border-bottom: 2px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.ep-tab-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ep-tab-nav::-webkit-scrollbar {
  display: none;
}

.ep-tab-btn {
  padding: 17px 22px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  margin-bottom: -2px;
}

.ep-tab-btn:hover {
  color: var(--primary-navy);
}

.ep-tab-btn.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
  font-weight: 700;
}

/* ── Tab Panels ── */
.ep-tab-panel {
  display: none;
}

.ep-tab-panel.active {
  display: block;
}

/* ── Variants Section ── */
.ep-variants-section {
  background: #ffffff;
}

.ep-variants-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.ep-filter-sidebar {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 130px;
}

.ep-filter-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ep-filter-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ep-clear-btn {
  font-size: 12px;
  color: var(--accent-green);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
}

.ep-filter-group {
  border-bottom: 1px solid #e8ecf0;
}

.ep-filter-group:last-child {
  border-bottom: none;
}

.ep-filter-group-title {
  padding: 13px 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-filter-options {
  padding: 4px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-filter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #4a5568;
  cursor: pointer;
}

.ep-filter-label input {
  accent-color: var(--accent-green);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Variants Table */
.ep-table-wrap {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
}

.ep-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ep-table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.ep-result-count {
  font-size: 13px;
  color: var(--text-muted);
}

.ep-variant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ep-variant-table thead tr {
  background: #ffffff;
}

.ep-variant-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid #e8ecf0;
  white-space: nowrap;
}

.ep-variant-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f4f8;
  color: #334155;
  vertical-align: middle;
}

.ep-variant-table tr:last-child td {
  border-bottom: none;
}

.ep-variant-table tr:hover td {
  background: #f9fbfd;
}

.ep-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, .08);
  padding: 3px 9px;
  border-radius: 5px;
  font-family: monospace;
  letter-spacing: .03em;
}

.ep-form-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}

.ep-form-liquid {
  background: rgba(0, 174, 239, .1);
  color: #0080b0;
}

.ep-form-powder {
  background: rgba(245, 158, 11, .1);
  color: #b45309;
}

.ep-glucose-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
}

.ep-add-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  margin: 1px;
}

.ep-quote-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
}

.ep-quote-row-btn:hover {
  background: #1a8c52;
  transform: translateY(-1px);
}

/* New Order Block Styles (Gibco/Thermo layout) */
.ep-order-block {
  border: 1.5px solid #8b5cf6 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  margin-top: 30px !important;
  margin-bottom: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ep-order-header {
  background: #ffffff !important;
  padding: 18px 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0d2545 !important;
  cursor: pointer !important;
  user-select: none !important;
  border-bottom: 1.5px solid #8b5cf6 !important;
}

.ep-order-toggle {
  font-size: 14px !important;
  color: #0d2545 !important;
}

.ep-order-content {
  padding: 0 !important;
}

.ep-variant-table-new {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

.ep-variant-table-new th,
.ep-variant-table-new td {
  padding: 18px 24px !important;
  border-bottom: 1px solid #e1e1e1 !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

.ep-variant-table-new th {
  background: #ffffff !important;
  font-weight: 700 !important;
  color: #000000 !important;
  border-bottom: 1px solid #cccccc !important;
}

.ep-variant-table-new td {
  color: #000000 !important;
}

.ep-variant-table-new .col-cat {
  font-weight: 600 !important;
  color: #333333 !important;
}

.ep-variant-table-new .col-name {
  color: #005f87 !important;
  font-weight: 600 !important;
}

.ep-variant-table-new .col-name-sub {
  display: block !important;
  color: #0080b0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  text-decoration: none !important;
}

.ep-variant-table-new .col-name-sub:hover {
  text-decoration: underline !important;
}

.ep-variant-table-new .col-size {
  color: #333333 !important;
}

.ep-variant-table-new .col-price {
  font-weight: 600 !important;
  color: #333333 !important;
}

/* Qty Selector */
.ep-qty-selector {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #cccccc !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.ep-qty-btn {
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  background: #f1f5f9 !important;
  color: #333333 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s !important;
}

.ep-qty-btn:hover {
  background: #e2e8f0 !important;
}

.ep-qty-input {
  width: 40px !important;
  height: 32px !important;
  border: none !important;
  border-left: 1px solid #cccccc !important;
  border-right: 1px solid #cccccc !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  outline: none !important;
}

.ep-order-footer {
  padding: 20px 24px !important;
  display: flex !important;
  justify-content: flex-end !important;
  background: #ffffff !important;
}

.ep-add-to-quote-btn {
  background: #d60000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: var(--font-heading) !important;
  transition: background 0.2s !important;
}

.ep-add-to-quote-btn:hover {
  background: #b30000 !important;
}

/* Mobile filter toggle */
.ep-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary-navy);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

/* ── Applications Cards ── */
.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.app-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity .25s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(36, 182, 109, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.app-card-icon i {
  font-size: 22px;
  color: var(--accent-green);
}

.app-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.app-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Tech Spec Table ── */
.ep-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.ep-spec-table th {
  background: #ffffff;
  padding: 12px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid #e8ecf0;
}

.ep-spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f4f8;
  font-size: 13.5px;
  color: #334155;
}

.ep-spec-table tr:last-child td {
  border-bottom: none;
}

.ep-spec-table .spec-prop {
  font-weight: 700;
  color: var(--primary-navy);
  width: 240px;
  background: #fafbfc;
}

/* ── Documents ── */
.ep-doc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.ep-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  transition: all .2s;
}

.ep-doc-item:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(36, 182, 109, .08);
}

.ep-doc-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ep-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ep-doc-icon-pdf {
  background: rgba(220, 38, 38, .08);
  color: #dc2626;
}

.ep-doc-icon-shield {
  background: rgba(36, 182, 109, .08);
  color: var(--accent-green);
}

.ep-doc-icon i {
  font-size: 20px;
}

.ep-doc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
}

.ep-doc-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ep-doc-dl-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(36, 182, 109, .3);
  padding: 8px 16px;
  border-radius: 7px;
  transition: all .2s;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.ep-doc-dl-btn:hover {
  background: var(--accent-green);
  color: #fff;
}

/* ── Certificates ── */
.ep-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.ep-cert-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all .25s;
  background: #fff;
}

.ep-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
  border-color: var(--accent-green);
}

.ep-cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(36, 182, 109, .15), rgba(0, 174, 239, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ep-cert-icon i {
  font-size: 26px;
  color: var(--accent-green);
}

.ep-cert-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.ep-cert-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Related Products ── */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.rp-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
}

.rp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
}

.rp-card-img {
  background: #ffffff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rp-card-img img {
  max-height: 120px;
  max-width: 90%;
  object-fit: contain;
}

.rp-card-body {
  padding: 18px;
}

.rp-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.rp-card-body p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
}

.rp-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rp-view-btn:hover {
  text-decoration: underline;
}

/* ── Support Banner ── */
.ep-support-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2545 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0;
}

.ep-support-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ep-support-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  line-height: 1.7;
  max-width: 520px;
}

.ep-support-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.ep-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
  border: none;
}

.ep-support-btn-primary {
  background: var(--accent-green);
  color: #fff;
}

.ep-support-btn-primary:hover {
  background: #1a8c52;
}

.ep-support-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35) !important;
}

.ep-support-btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}

/* ── FAQ ── */
.ep-faq-item {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ep-faq-q {
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  user-select: none;
}

.ep-faq-q i {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform .25s;
  flex-shrink: 0;
}

.ep-faq-q.open i {
  transform: rotate(45deg);
  color: var(--accent-green);
}

.ep-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #f9fbfd;
}

.ep-faq-a p {
  padding: 16px 22px;
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* ── Tab section headings ── */
.ep-section-intro {
  max-width: 700px;
}

.ep-section-intro .s-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-green);
  display: block;
  margin-bottom: 8px;
}

.ep-section-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.ep-section-intro p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width:1024px) {
  .ep-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ep-gallery {
    position: static;
  }

  .ep-variants-wrap {
    grid-template-columns: 1fr;
  }

  .ep-filter-sidebar {
    position: static;
    display: none;
  }

  .ep-filter-sidebar.open {
    display: block;
  }

  .ep-mobile-filter-btn {
    display: flex;
  }

  .app-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-support-banner {
    flex-direction: column;
    padding: 36px 32px;
  }
}

@media (max-width:640px) {
  .ep-title {
    font-size: 24px;
  }

  .ep-spec-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-cards-grid {
    grid-template-columns: 1fr;
  }

  .ep-cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rp-grid {
    grid-template-columns: 1fr;
  }

  .ep-cta-row {
    grid-template-columns: 1fr;
  }
}

/* ───── Subcategory Listing Page (pf-* classes) ───── */
/* New List Layout for Subcategory Pages (Single column list view, fully responsive) */
.pf-search-wrap {
  margin-bottom: 30px;
  position: relative;
  max-width: 600px;
}

.pf-search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid #d1dae4;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-heading);
  color: var(--primary-navy);
  outline: none;
  transition: all 0.2s;
  background: #ffffff;
}

.pf-search-input:focus {
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.pf-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}

.pf-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pf-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(7, 23, 43, 0.03);
  transition: all 0.25s;
}

.pf-item:hover {
  border-color: #00aeef;
  box-shadow: 0 10px 24px rgba(7, 23, 43, 0.08);
}

.pf-item-main {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: flex-start;
}

.pf-item-left {
  width: 160px;
  height: 160px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  cursor: zoom-in;
}

.pf-item-left:hover .pf-item-img {
  transform: scale(1.6);
}

.pf-item-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pf-item-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pf-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pf-item-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
}

.pf-item-desc {
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* Badges */
.pf-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pf-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}

.badge-green {
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
  border-color: rgba(36, 182, 109, .25);
}

.badge-blue {
  background: rgba(0, 174, 239, .08);
  color: #0080b0;
  border-color: rgba(0, 174, 239, .25);
}

.badge-navy {
  background: rgba(7, 23, 43, .06);
  color: #07172b;
  border-color: rgba(7, 23, 43, .18);
}

/* Dropdown Button */
.pf-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #d1dae4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  width: 100%;
  font-family: var(--font-heading);
  transition: all 0.2s;
  outline: none;
}

.pf-dropdown-btn:hover {
  border-color: #00aeef;
  background: rgba(0, 174, 239, 0.02);
  color: #0080b0;
}

.pf-dropdown-btn .toggle-icon {
  transition: transform 0.25s ease;
}

.pf-dropdown-btn.active .toggle-icon {
  transform: rotate(180deg);
}

/* Variants Table Dropdown */
.pf-variants-dropdown {
  margin-top: 16px;
  border: 1.5px solid #00aeef;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.04);
}

.pf-variant-table-sub {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pf-variant-table-sub th,
.pf-variant-table-sub td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
}

.pf-variant-table-sub th {
  background: #ffffff;
  font-weight: 700;
  color: var(--primary-navy);
  border-bottom: 1.5px solid #e2e8f0;
}

.pf-variant-table-sub td {
  color: #334155;
}

.pf-variant-table-sub tr:last-child td {
  border-bottom: none;
}

.pf-variant-table-sub tr:hover td {
  background: #ffffff;
}

.pf-variant-table-sub .col-cat {
  font-weight: 700;
  color: #0f172a;
}

.pf-variant-table-sub .col-desc {
  font-weight: 500;
  color: #334155;
}

.pf-variant-table-sub .col-pack {
  font-weight: 600;
  color: var(--primary-navy);
}

.pf-quote-btn-sub {
  background: #d60000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-heading);
  transition: background 0.2s;
}

.pf-quote-btn-sub:hover {
  background: #b30000;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .pf-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .pf-item-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }

  .pf-item-left {
    width: 140px;
    height: 140px;
  }

  .pf-item-badges {
    justify-content: center;
  }

  .pf-item-header h3 {
    text-align: center;
    width: 100%;
  }
}

/* Hero */
.sc2-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2545 60%, #122d54 100%);
  color: #fff;
  padding: 50px 0 50px;
}

.sc2-hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.sc2-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 10px;
  display: block;
}

.sc2-hero h1,
.sc2-hero h2 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.15;
  color: #ffffff !important;
}

.sc2-hero-desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 0 24px;
}

.sc2-badges-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.sc2-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

.sc2-badge-inline i {
  color: var(--accent-green);
}

.sc2-hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Grid */
.sc2-section {
  background: #f4f7fa;
  padding: 56px 0 72px;
}

.sc2-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.sc2-grid-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
}

.sc2-grid-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Product Family Card */
.pf-card {
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(7, 23, 43, .12);
  border-color: var(--accent-green);
}

.pf-card-top {
  padding: 22px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.pf-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 182, 109, .12), rgba(0, 174, 239, .08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.pf-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(36, 182, 109, .1);
  color: #1a8c52;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(36, 182, 109, .2);
  white-space: nowrap;
}

.pf-card-body {
  padding: 0 24px 20px;
  flex: 1;
}

.pf-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 10px;
  line-height: 1.2;
}

.pf-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 16px;
}

.pf-apps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pf-apps li {
  font-size: 12.5px;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}

.pf-apps li i {
  color: var(--accent-green);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pf-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f4f8;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pf-btn-view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--accent-green);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: all .2s;
  white-space: nowrap;
  border: none;
}

.pf-btn-view:hover {
  background: #1a8c52;
  transform: translateY(-1px);
  color: #fff;
}

.pf-btn-view i {
  transition: transform .2s;
  font-size: 11px;
}

.pf-card:hover .pf-btn-view i {
  transform: translateX(3px);
}

.pf-btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--primary-navy);
  border: 1.5px solid #d1dae4;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.pf-btn-quote:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* Powder Card Theme Customizations */
.pf-powder-card {
  border: 1px solid #e2e8f0;
  background: radial-gradient(circle at 100% 0%, rgba(0, 174, 239, 0.03) 0%, #ffffff 70%);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.02);
}

.pf-powder-card:hover {
  border-color: #00aeef;
  box-shadow: 0 20px 40px rgba(0, 174, 239, 0.08);
  transform: translateY(-6px);
}

.pf-powder-card .pf-icon {
  background: rgba(0, 174, 239, 0.1);
  color: #0080b0;
}

.pf-powder-card:hover .pf-icon {
  background: #0080b0;
  color: #ffffff;
}

.pf-powder-card .pf-badge {
  background: rgba(0, 174, 239, 0.08);
  color: #0080b0;
  border-color: rgba(0, 174, 239, 0.15);
}

.pf-powder-card .pf-apps li i {
  color: #00aeef;
}

.pf-powder-card .pf-btn-view {
  background: #00aeef;
}

.pf-powder-card .pf-btn-view:hover {
  background: #0080b0;
}

.powder-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #005f87;
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.2);
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.powder-specs-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.ps-badge {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.ps-badge i {
  color: #00aeef;
  font-size: 13px;
}

.pf-btn-view-powder {
  background: #0d2545 !important;
}

.pf-btn-view-powder:hover {
  background: #0080b0 !important;
}

.pf-powder-card .pf-apps li i {
  color: #00aeef;
}

/* No families */
.no-fam-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 72px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.no-fam-msg a {
  color: var(--accent-green);
  font-weight: 600;
}

/* CTA Banner */
.sc2-cta {
  background: linear-gradient(135deg, var(--primary-navy), #0d2545);
  border-radius: 18px;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 48px;
  margin-bottom: 72px;
}

.sc2-cta h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.sc2-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
  margin: 0;
  line-height: 1.65;
  max-width: 500px;
}

.sc2-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.sc2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
  border: none;
  text-decoration: none;
  text-align: center;
}

.sc2-btn-g {
  background: var(--accent-green);
  color: #fff;
}

.sc2-btn-g:hover {
  background: #1a8c52;
}
.sc2-btn-b {
  background: #0080b0;
  color: #fff;
}

.sc2-btn-b:hover {
  background: #0d2545;
}

.sc2-btn-o {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .28) !important;
}

.sc2-btn-o:hover {
  background: rgba(255, 255, 255, .08);
}

/* Responsive */
@media(max-width:1100px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px) {
  .sc2-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sc2-badges-inline {
    justify-content: center;
  }

  .pf-grid {
    grid-template-columns: 1fr;
  }

  .sc2-cta {
    flex-direction: column;
    padding: 32px 24px;
  }

  .sc2-hero h1,
  .sc2-hero h2 {
    font-size: 28px;
  }
}

/* ───── Basal Media Family Page (ep-* classes, simplified) ───── */
/* ── Enterprise Hero ── */
.ep-hero {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  padding: 36px 0 0;
}

.ep-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Gallery */
.ep-gallery {
  position: sticky;
  top: 90px;
}

.ep-main-img {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8ecf0;
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.ep-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.ep-main-img:hover img {
  transform: scale(1.08);
}

.ep-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.ep-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid #e8ecf0;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}

.ep-thumb.active {
  border-color: var(--accent-green);
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product info */
.ep-info {
  padding-bottom: 36px;
}

.ep-breadcrumb {
  display: none !important;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.ep-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.ep-breadcrumb a:hover {
  color: var(--accent-green);
}

.ep-cat-label {
  display: inline-block;
  background: rgba(36, 182, 109, .1);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.ep-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ep-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Badges */
.ep-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}

.ep-badge-green {
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
  border-color: rgba(36, 182, 109, .25);
}

.ep-badge-blue {
  background: rgba(0, 174, 239, .08);
  color: #0080b0;
  border-color: rgba(0, 174, 239, .25);
}

.ep-badge-navy {
  background: rgba(7, 23, 43, .06);
  color: #07172b;
  border-color: rgba(7, 23, 43, .18);
}

/* Quick Spec Cards */
.ep-spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.ep-spec-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 13px 14px;
}

.ep-spec-card .sc-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ep-spec-card .sc-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Highlights */
.ep-highlights {
  margin-bottom: 28px;
}

.ep-highlights h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.ep-hl-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-hl-list li {
  font-size: 13.5px;
  color: #4a5568;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.ep-hl-list li i {
  color: var(--accent-green);
  margin-top: 3px;
  flex-shrink: 0;
}

/* CTA Buttons */
.ep-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ep-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
}

.ep-cta-primary:hover {
  background: #1a8c52;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36, 182, 109, .3);
}

.ep-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ep-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-navy);
  border: 1.5px solid #d1d9e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
  text-decoration: none;
}

.ep-cta-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(36, 182, 109, .04);
}

/* ── Sticky Tab Nav ── */
.ep-tab-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 200;
  background: #fff;
  border-bottom: 2px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.ep-tab-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ep-tab-nav::-webkit-scrollbar {
  display: none;
}

.ep-tab-btn {
  padding: 17px 22px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  margin-bottom: -2px;
}

.ep-tab-btn:hover {
  color: var(--primary-navy);
}

.ep-tab-btn.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
  font-weight: 700;
}

/* ── Tab Panels ── */
.ep-tab-panel {
  display: none;
}

.ep-tab-panel.active {
  display: block;
}

/* ── Variants Section ── */
.ep-variants-section {
  background: #ffffff;
}

.ep-variants-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.ep-filter-sidebar {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 130px;
}

.ep-filter-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ep-filter-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ep-clear-btn {
  font-size: 12px;
  color: var(--accent-green);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
}

.ep-filter-group {
  border-bottom: 1px solid #e8ecf0;
}

.ep-filter-group:last-child {
  border-bottom: none;
}

.ep-filter-group-title {
  padding: 13px 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-filter-options {
  padding: 4px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-filter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #4a5568;
  cursor: pointer;
}

.ep-filter-label input {
  accent-color: var(--accent-green);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Variants Table */
.ep-table-wrap {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
}

.ep-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ep-table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.ep-result-count {
  font-size: 13px;
  color: var(--text-muted);
}

.ep-variant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ep-variant-table thead tr {
  background: #ffffff;
}

.ep-variant-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid #e8ecf0;
  white-space: nowrap;
}

.ep-variant-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f4f8;
  color: #334155;
  vertical-align: middle;
}

.ep-variant-table tr:last-child td {
  border-bottom: none;
}

.ep-variant-table tr:hover td {
  background: #f9fbfd;
}

.ep-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, .08);
  padding: 3px 9px;
  border-radius: 5px;
  font-family: monospace;
  letter-spacing: .03em;
}

.ep-form-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}

.ep-form-liquid {
  background: rgba(0, 174, 239, .1);
  color: #0080b0;
}

.ep-form-powder {
  background: rgba(245, 158, 11, .1);
  color: #b45309;
}

.ep-glucose-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
}

.ep-add-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  margin: 1px;
}

.ep-quote-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
}

.ep-quote-row-btn:hover {
  background: #1a8c52;
  transform: translateY(-1px);
}

/* Mobile filter toggle */
.ep-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary-navy);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

/* ── Applications Cards ── */
.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.app-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity .25s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(36, 182, 109, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.app-card-icon i {
  font-size: 22px;
  color: var(--accent-green);
}

.app-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.app-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Tech Spec Table ── */
.ep-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.ep-spec-table th {
  background: #ffffff;
  padding: 12px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid #e8ecf0;
}

.ep-spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f4f8;
  font-size: 13.5px;
  color: #334155;
}

.ep-spec-table tr:last-child td {
  border-bottom: none;
}

.ep-spec-table .spec-prop {
  font-weight: 700;
  color: var(--primary-navy);
  width: 240px;
  background: #fafbfc;
}

/* ── Documents ── */
.ep-doc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.ep-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  transition: all .2s;
}

.ep-doc-item:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(36, 182, 109, .08);
}

.ep-doc-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ep-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ep-doc-icon-pdf {
  background: rgba(220, 38, 38, .08);
  color: #dc2626;
}

.ep-doc-icon-shield {
  background: rgba(36, 182, 109, .08);
  color: var(--accent-green);
}

.ep-doc-icon i {
  font-size: 20px;
}

.ep-doc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
}

.ep-doc-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ep-doc-dl-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(36, 182, 109, .3);
  padding: 8px 16px;
  border-radius: 7px;
  transition: all .2s;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.ep-doc-dl-btn:hover {
  background: var(--accent-green);
  color: #fff;
}

/* ── Certificates ── */
.ep-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.ep-cert-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all .25s;
  background: #fff;
}

.ep-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
  border-color: var(--accent-green);
}

.ep-cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(36, 182, 109, .15), rgba(0, 174, 239, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ep-cert-icon i {
  font-size: 26px;
  color: var(--accent-green);
}

.ep-cert-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.ep-cert-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Related Products ── */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.rp-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
}

.rp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
}

.rp-card-img {
  background: #ffffff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rp-card-img img {
  max-height: 120px;
  max-width: 90%;
  object-fit: contain;
}

.rp-card-body {
  padding: 18px;
}

.rp-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.rp-card-body p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
}

.rp-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rp-view-btn:hover {
  text-decoration: underline;
}

/* ── Support Banner ── */
.ep-support-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2545 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0;
}

.ep-support-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ep-support-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  line-height: 1.7;
  max-width: 520px;
}

.ep-support-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.ep-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
  border: none;
}

.ep-support-btn-primary {
  background: var(--accent-green);
  color: #fff;
}

.ep-support-btn-primary:hover {
  background: #1a8c52;
}

.ep-support-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35) !important;
}

.ep-support-btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}

/* ── FAQ ── */
.ep-faq-item {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ep-faq-q {
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  user-select: none;
}

.ep-faq-q i {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform .25s;
  flex-shrink: 0;
}

.ep-faq-q.open i {
  transform: rotate(45deg);
  color: var(--accent-green);
}

.ep-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #f9fbfd;
}

.ep-faq-a p {
  padding: 16px 22px;
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* ── Tab section headings ── */
.ep-section-intro {
  max-width: 700px;
}

.ep-section-intro .s-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-green);
  display: block;
  margin-bottom: 8px;
}

.ep-section-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.ep-section-intro p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width:1024px) {
  .ep-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ep-gallery {
    position: static;
  }

  .ep-variants-wrap {
    grid-template-columns: 1fr;
  }

  .ep-filter-sidebar {
    position: static;
    display: none;
  }

  .ep-filter-sidebar.open {
    display: block;
  }

  .ep-mobile-filter-btn {
    display: flex;
  }

  .app-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-support-banner {
    flex-direction: column;
    padding: 36px 32px;
  }
}

@media (max-width:640px) {
  .ep-title {
    font-size: 24px;
  }

  .ep-spec-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-cards-grid {
    grid-template-columns: 1fr;
  }

  .ep-cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rp-grid {
    grid-template-columns: 1fr;
  }

  .ep-cta-row {
    grid-template-columns: 1fr;
  }
}

/* ───── Product Category Landing Pages ───── */
.product-detail-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.product-image-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-height: 500px;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.product-image-wrapper img:hover {
  transform: scale(1.03);
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(0, 174, 239, 0.08);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-title-detail {
  font-size: 32px;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.desc-detail {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.product-highlights {
  margin-bottom: 30px;
}

.product-highlights h4 {
  font-size: 16px;
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.highlights-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}

.highlights-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-size: 13px;
}

.actions-detail {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.specs-title {
  font-size: 22px;
  color: var(--primary-navy);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 14px 20px;
  font-size: 14px;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--primary-navy);
  width: 30%;
  background-color: var(--bg-light);
}

.specs-table td:last-child {
  color: var(--text-muted);
}

/* Related Products Section */
.related-title {
  font-size: 26px;
  color: var(--primary-navy);
  margin-bottom: 30px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.related-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.2);
}

.related-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.related-card h4 {
  font-size: 16px;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.related-card p {
  font-size: 13px;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 15px;
}

.related-card .learn-more {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 23, 43, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-hover);
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlights-list {
    grid-template-columns: 1fr;
  }
}

/* ───── Cell Biology Landing Page ───── */
.product-detail-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.product-image-wrapper {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-height: 500px;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.product-image-wrapper img:hover {
  transform: scale(1.03);
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(0, 174, 239, 0.08);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-title-detail {
  font-size: 32px;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.desc-detail {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.product-highlights {
  margin-bottom: 30px;
}

.product-highlights h4 {
  font-size: 16px;
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.highlights-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}

.highlights-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-size: 13px;
}

.actions-detail {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.specs-title {
  font-size: 22px;
  color: var(--primary-navy);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 60px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.specs-table td {
  padding: 14px 20px;
  font-size: 14px;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--primary-navy);
  width: 30%;
  background-color: var(--bg-light);
}

.specs-table td:last-child {
  color: var(--text-muted);
}

/* Related Products Section */
.related-title {
  font-size: 26px;
  color: var(--primary-navy);
  margin-bottom: 30px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.related-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.2);
}

.related-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.family-card-img {
  margin-top: 20px;
  width: 100%;
  height: 280px;
  object-fit: contain; /* Contain the image to prevent any clipping or cutoff */
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.family-card:hover .family-card-img {
  transform: scale(1.03);
}

.related-card h4 {
  font-size: 16px;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.related-card p {
  font-size: 13px;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 15px;
}

.related-card .learn-more {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 23, 43, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-hover);
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlights-list {
    grid-template-columns: 1fr;
  }
}

/* ───── Basal Media Subcategory Page ───── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.premium-cat-card {
  background: #ffffff;
  border: 1px solid #e4eaf0;
  border-radius: 20px;
  padding: 35px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.premium-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #24b66d 0%, #00aeef 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #24b66d;
}

.premium-cat-card:hover::before {
  opacity: 1;
}

.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.cat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(36, 182, 109, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #24b66d;
  transition: all 0.3s ease;
}

.premium-cat-card:hover .cat-icon-wrapper {
  background: #24b66d;
  color: #ffffff;
  transform: scale(1.1);
}

.cat-badge {
  font-size: 12px;
  font-weight: 700;
  color: #0d2545;
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat-card-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0d2545;
  margin-bottom: 12px;
  font-family: inherit;
}

.cat-card-content p {
  font-size: 14.5px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 25px;
}

.cat-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #4a5568;
}

.cat-features li i {
  color: #24b66d;
  font-size: 14px;
}

.cat-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.cat-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0d2545;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cat-btn-primary:hover {
  background: #24b66d;
  color: #ffffff;
}

.cat-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid #d1d9e0;
  border-radius: 10px;
  color: #4a5568;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-btn-secondary:hover {
  border-color: #24b66d;
  color: #24b66d;
  background: rgba(36, 182, 109, 0.05);
}

/* ───── DMEM Liquid Detail Page ───── */
/* ── Enterprise Hero ── */
.ep-hero {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  padding: 36px 0 48px;
}

.ep-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Gallery */
.ep-gallery {
  position: sticky;
  top: 90px;
}

.ep-main-img {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8ecf0;
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.ep-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.ep-main-img:hover img {
  transform: scale(1.7);
}

.ep-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.ep-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid #e8ecf0;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}

.ep-thumb.active {
  border-color: var(--accent-green);
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product info */
.ep-info {
  padding-bottom: 36px;
}

.ep-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 174, 239, 0.08);
  color: #00aeef;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.ep-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 16px;
  line-height: 1.15;
}

.ep-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0 0 24px;
}

.ep-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}

.ep-badge-green {
  background: rgba(36, 182, 109, 0.08);
  border: 1px solid rgba(36, 182, 109, 0.15);
  color: var(--accent-green);
}

.ep-badge-blue {
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.15);
  color: #00aeef;
}

.ep-badge-navy {
  background: rgba(11, 37, 69, 0.08);
  border: 1px solid rgba(11, 37, 69, 0.15);
  color: var(--primary-navy);
}

/* List Layout for Subcategories */
.pf-search-wrap {
  margin: 40px 0 30px;
  max-width: 600px;
  position: relative;
}

.pf-search-input {
  width: 50%;
  padding: 14px 16px 14px 48px;
  border: 1px solid #d1dae4;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  background: #ffffff;
}

.pf-search-input:focus {
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.pf-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
}

.pf-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.pf-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(7, 23, 43, 0.03);
  transition: all 0.25s;
}

.pf-item:hover {
  border-color: var(--accent-green);
  box-shadow: 0 16px 36px rgba(7, 23, 43, 0.08);
  transform: translateY(-4px);
}

.pf-item-main {
  display: flex;
  gap: 30px;
  align-items: center;
}

.pf-item-left {
  width: 160px;
  height: 160px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  cursor: zoom-in;
}

.pf-item-left:hover .pf-item-img {
  transform: scale(1.6);
}

.pf-item-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pf-item-right {
  flex: 1;
}

.pf-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.pf-item-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
}

.pf-item-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px;
}

.pf-item-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pf-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
}

.badge-green {
  background: rgba(36, 182, 109, 0.08);
  color: var(--accent-green);
}

.badge-blue {
  background: rgba(0, 174, 239, 0.08);
  color: #00aeef;
}

.badge-navy {
  background: rgba(11, 37, 69, 0.08);
  color: var(--primary-navy);
}

/* Tab triggers inside item */
.pf-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pf-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-heading);
  transition: all 0.2s;
  width: auto;
}

.pf-dropdown-btn:hover {
  background: #e2e8f0;
  color: var(--primary-navy);
}

.pf-dropdown-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
}

.pf-dropdown-btn .toggle-icon {
  transition: transform 0.2s;
}

.pf-dropdown-btn.active .toggle-icon {
  transform: rotate(180deg);
}

.pf-table-dl-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
  text-decoration: none;
}

.pf-table-dl-link:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Inner tab headers */
.pf-tab-nav {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.pf-tab-link {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
  font-family: var(--font-heading);
  transition: all 0.2s;
}

.pf-tab-link:hover {
  color: var(--primary-navy);
}

.pf-tab-link.active {
  color: var(--accent-green);
}

.pf-tab-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-green);
}

.pf-tab-pane {
  display: none;
}

.pf-tab-pane.active {
  display: block;
}

/* Expandable variants block */
.pf-variants-dropdown {
  margin-top: 20px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 20px;
}

.pf-variant-table-sub {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pf-variant-table-sub th {
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid #cbd5e1;
}

.pf-variant-table-sub td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.pf-variant-table-sub tr:last-child td {
  border-bottom: none;
}

.col-cat {
  font-weight: 700;
  color: var(--primary-navy);
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12.5px;
}

.col-desc {
  font-weight: 500;
  line-height: 1.5;
}

.col-pack {
  font-weight: 700;
  color: #475569;
  display: block;
  text-align: center;
}

.pf-quote-btn-sub {
  background: var(--accent-green);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-heading);
}

.pf-quote-btn-sub:hover {
  background: #1a8c52;
  transform: translateY(-1px);
}

/* Documents structure list */
.pf-docs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-doc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s;
}

.pf-doc-item:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.pf-doc-icon {
  font-size: 24px;
  color: #ef4444;
  /* PDF color */
}

.pf-doc-info {
  flex: 1;
}

.pf-doc-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.pf-doc-meta {
  font-size: 12px;
  color: #64748b;
}

.pf-doc-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #d1dae4;
  color: #334155;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font-heading);
}

.pf-doc-dl:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(36, 182, 109, 0.02);
}

/* Support Banner */
.ep-support-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2545 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0;
}

.ep-support-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.ep-support-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  line-height: 1.7;
  max-width: 520px;
}

.ep-support-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.ep-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
  border: none;
}

.ep-support-btn-primary {
  background: var(--accent-green);
  color: #fff;
}

.ep-support-btn-primary:hover {
  background: #1a8c52;
}

.ep-support-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35) !important;
}

.ep-support-btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}

@media (max-width: 1024px) {
  .ep-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ep-gallery {
    position: static;
  }

  .ep-support-banner {
    flex-direction: column;
    padding: 36px 32px;
  }
}

@media (max-width: 768px) {
  .pf-item-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pf-item-left {
    width: 140px;
    height: 140px;
  }

  .pf-item-header {
    flex-direction: column;
    gap: 10px;
  }

  .pf-item-badges {
    justify-content: center;
  }
}

/* ───── DMEM Powder Detail Page ───── */
/* ── Enterprise Hero ── */
.ep-hero {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  padding: 36px 0 0;
}

.ep-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Gallery */
.ep-gallery {
  position: sticky;
  top: 90px;
}

.ep-main-img {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8ecf0;
  overflow: hidden;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.ep-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.ep-main-img:hover img {
  transform: scale(1.7);
}

.ep-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.ep-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid #e8ecf0;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}

.ep-thumb.active {
  border-color: var(--accent-green);
}

.ep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product info */
.ep-info {
  padding-bottom: 36px;
}

.ep-breadcrumb {
  display: none !important;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.ep-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.ep-breadcrumb a:hover {
  color: var(--accent-green);
}

.ep-cat-label {
  display: inline-block;
  background: rgba(36, 182, 109, .1);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.ep-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ep-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Badges */
.ep-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}

.ep-badge-green {
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
  border-color: rgba(36, 182, 109, .25);
}

.ep-badge-blue {
  background: rgba(0, 174, 239, .08);
  color: #0080b0;
  border-color: rgba(0, 174, 239, .25);
}

.ep-badge-navy {
  background: rgba(7, 23, 43, .06);
  color: #07172b;
  border-color: rgba(7, 23, 43, .18);
}

/* Quick Spec Cards */
.ep-spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.ep-spec-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 13px 14px;
}

.ep-spec-card .sc-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ep-spec-card .sc-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Highlights */
.ep-highlights {
  margin-bottom: 28px;
}

.ep-highlights h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.ep-hl-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-hl-list li {
  font-size: 13.5px;
  color: #4a5568;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.ep-hl-list li i {
  color: var(--accent-green);
  margin-top: 3px;
  flex-shrink: 0;
}

/* CTA Buttons */
.ep-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ep-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
}

.ep-cta-primary:hover {
  background: #1a8c52;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36, 182, 109, .3);
}

.ep-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ep-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-navy);
  border: 1.5px solid #d1d9e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-heading);
  text-decoration: none;
}

.ep-cta-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(36, 182, 109, .04);
}

/* ── Sticky Tab Nav ── */
.ep-tab-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 200;
  background: #fff;
  border-bottom: 2px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.ep-tab-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ep-tab-nav::-webkit-scrollbar {
  display: none;
}

.ep-tab-btn {
  padding: 17px 22px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  margin-bottom: -2px;
}

.ep-tab-btn:hover {
  color: var(--primary-navy);
}

.ep-tab-btn.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
  font-weight: 700;
}

/* ── Tab Panels ── */
.ep-tab-panel {
  display: none;
}

.ep-tab-panel.active {
  display: block;
}

/* ── Variants Section ── */
.ep-variants-section {
  background: #ffffff;
}

.ep-variants-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.ep-filter-sidebar {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 130px;
}

.ep-filter-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ep-filter-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ep-clear-btn {
  font-size: 12px;
  color: var(--accent-green);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
}

.ep-filter-group {
  border-bottom: 1px solid #e8ecf0;
}

.ep-filter-group:last-child {
  border-bottom: none;
}

.ep-filter-group-title {
  padding: 13px 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-filter-options {
  padding: 4px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ep-filter-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #4a5568;
  cursor: pointer;
}

.ep-filter-label input {
  accent-color: var(--accent-green);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Variants Table */
.ep-table-wrap {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
}

.ep-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ep-table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.ep-result-count {
  font-size: 13px;
  color: var(--text-muted);
}

.ep-variant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ep-variant-table thead tr {
  background: #ffffff;
}

.ep-variant-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid #e8ecf0;
  white-space: nowrap;
}

.ep-variant-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f4f8;
  color: #334155;
  vertical-align: middle;
}

.ep-variant-table tr:last-child td {
  border-bottom: none;
}

.ep-variant-table tr:hover td {
  background: #f9fbfd;
}

.ep-cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, .08);
  padding: 3px 9px;
  border-radius: 5px;
  font-family: monospace;
  letter-spacing: .03em;
}

.ep-form-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
}

.ep-form-liquid {
  background: rgba(0, 174, 239, .1);
  color: #0080b0;
}

.ep-form-powder {
  background: rgba(245, 158, 11, .1);
  color: #b45309;
}

.ep-glucose-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(36, 182, 109, .08);
  color: #1a8c52;
}

.ep-add-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  margin: 1px;
}

.ep-quote-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
}

.ep-quote-row-btn:hover {
  background: #1a8c52;
  transform: translateY(-1px);
}

/* New Order Block Styles (Gibco/Thermo layout) */
.ep-order-block {
  border: 1.5px solid #8b5cf6 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  margin-top: 30px !important;
  margin-bottom: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ep-order-header {
  background: #ffffff !important;
  padding: 18px 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0d2545 !important;
  cursor: pointer !important;
  user-select: none !important;
  border-bottom: 1.5px solid #8b5cf6 !important;
}

.ep-order-toggle {
  font-size: 14px !important;
  color: #0d2545 !important;
}

.ep-order-content {
  padding: 0 !important;
}

.ep-variant-table-new {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: left !important;
}

.ep-variant-table-new th,
.ep-variant-table-new td {
  padding: 18px 24px !important;
  border-bottom: 1px solid #e1e1e1 !important;
  font-size: 14px !important;
  vertical-align: middle !important;
}

.ep-variant-table-new th {
  background: #ffffff !important;
  font-weight: 700 !important;
  color: #000000 !important;
  border-bottom: 1px solid #cccccc !important;
}

.ep-variant-table-new td {
  color: #000000 !important;
}

.ep-variant-table-new .col-cat {
  font-weight: 600 !important;
  color: #333333 !important;
}

.ep-variant-table-new .col-name {
  color: #005f87 !important;
  font-weight: 600 !important;
}

.ep-variant-table-new .col-name-sub {
  display: block !important;
  color: #0080b0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  text-decoration: none !important;
}

.ep-variant-table-new .col-name-sub:hover {
  text-decoration: underline !important;
}

.ep-variant-table-new .col-size {
  color: #333333 !important;
}

.ep-variant-table-new .col-price {
  font-weight: 600 !important;
  color: #333333 !important;
}

/* Qty Selector */
.ep-qty-selector {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #cccccc !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.ep-qty-btn {
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  background: #f1f5f9 !important;
  color: #333333 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s !important;
}

.ep-qty-btn:hover {
  background: #e2e8f0 !important;
}

.ep-qty-input {
  width: 40px !important;
  height: 32px !important;
  border: none !important;
  border-left: 1px solid #cccccc !important;
  border-right: 1px solid #cccccc !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  outline: none !important;
}

.ep-order-footer {
  padding: 20px 24px !important;
  display: flex !important;
  justify-content: flex-end !important;
  background: #ffffff !important;
}

.ep-add-to-quote-btn {
  background: #d60000 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: var(--font-heading) !important;
  transition: background 0.2s !important;
}

.ep-add-to-quote-btn:hover {
  background: #b30000 !important;
}

/* Mobile filter toggle */
.ep-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary-navy);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

/* ── Applications Cards ── */
.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.app-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity .25s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
}

.app-card:hover::before {
  opacity: 1;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(36, 182, 109, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.app-card-icon i {
  font-size: 22px;
  color: var(--accent-green);
}

.app-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.app-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ── Tech Spec Table ── */
.ep-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.ep-spec-table th {
  background: #ffffff;
  padding: 12px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  border-bottom: 1px solid #e8ecf0;
}

.ep-spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f4f8;
  font-size: 13.5px;
  color: #334155;
}

.ep-spec-table tr:last-child td {
  border-bottom: none;
}

.ep-spec-table .spec-prop {
  font-weight: 700;
  color: var(--primary-navy);
  width: 240px;
  background: #fafbfc;
}

/* ── Documents ── */
.ep-doc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.ep-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  transition: all .2s;
}

.ep-doc-item:hover {
  border-color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(36, 182, 109, .08);
}

.ep-doc-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ep-doc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ep-doc-icon-pdf {
  background: rgba(220, 38, 38, .08);
  color: #dc2626;
}

.ep-doc-icon-shield {
  background: rgba(36, 182, 109, .08);
  color: var(--accent-green);
}

.ep-doc-icon i {
  font-size: 20px;
}

.ep-doc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
}

.ep-doc-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ep-doc-dl-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(36, 182, 109, .3);
  padding: 8px 16px;
  border-radius: 7px;
  transition: all .2s;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.ep-doc-dl-btn:hover {
  background: var(--accent-green);
  color: #fff;
}

/* ── Certificates ── */
.ep-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.ep-cert-card {
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all .25s;
  background: #fff;
}

.ep-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
  border-color: var(--accent-green);
}

.ep-cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(36, 182, 109, .15), rgba(0, 174, 239, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ep-cert-icon i {
  font-size: 26px;
  color: var(--accent-green);
}

.ep-cert-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.ep-cert-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Related Products ── */
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.rp-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
}

.rp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(7, 23, 43, .1);
}

.rp-card-img {
  background: #ffffff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rp-card-img img {
  max-height: 120px;
  max-width: 90%;
  object-fit: contain;
}

.rp-card-body {
  padding: 18px;
}

.rp-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.rp-card-body p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 14px;
}

.rp-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rp-view-btn:hover {
  text-decoration: underline;
}

/* ── Support Banner ── */
.ep-support-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2545 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0;
}

.ep-support-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff
}

.ep-support-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
  line-height: 1.7;
  max-width: 520px;
}

.ep-support-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.ep-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: var(--font-heading);
  border: none;
}

.ep-support-btn-primary {
  background: var(--accent-green);
  color: #fff;
}

.ep-support-btn-primary:hover {
  background: #1a8c52;
}

.ep-support-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35) !important;
}

.ep-support-btn-outline:hover {
  background: rgba(255, 255, 255, .1);
}

/* ── FAQ ── */
.ep-faq-item {
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ep-faq-q {
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  user-select: none;
}

.ep-faq-q i {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform .25s;
  flex-shrink: 0;
}

.ep-faq-q.open i {
  transform: rotate(45deg);
  color: var(--accent-green);
}

.ep-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #f9fbfd;
}

.ep-faq-a p {
  padding: 16px 22px;
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* ── Tab section headings ── */
.ep-section-intro {
  max-width: 700px;
}

.ep-section-intro .s-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-green);
  display: block;
  margin-bottom: 8px;
}

.ep-section-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.ep-section-intro p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width:1024px) {
  .ep-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ep-gallery {
    position: static;
  }

  .ep-variants-wrap {
    grid-template-columns: 1fr;
  }

  .ep-filter-sidebar {
    position: static;
    display: none;
  }

  .ep-filter-sidebar.open {
    display: block;
  }

  .ep-mobile-filter-btn {
    display: flex;
  }

  .app-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ep-support-banner {
    flex-direction: column;
    padding: 36px 32px;
  }
}

@media (max-width:640px) {
  .ep-title {
    font-size: 24px;
  }

  .ep-spec-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-cards-grid {
    grid-template-columns: 1fr;
  }

  .ep-cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rp-grid {
    grid-template-columns: 1fr;
  }

  .ep-cta-row {
    grid-template-columns: 1fr;
  }
}

/* ───── Blog Listing Page ───── */
/* Blog Card Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.3);
}

.blog-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-meta i {
  color: var(--accent-cyan);
  font-size: 11px;
}

.blog-card-title {
  font-size: 18px;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.blog-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(49, 224, 255, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.blog-empty-state i {
  font-size: 56px;
  color: rgba(0, 174, 239, 0.3);
  margin-bottom: 20px;
}

.blog-empty-state h3 {
  font-size: 22px;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.blog-empty-state p {
  font-size: 15px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ───── Blog Post Page ───── */
/* Blog Post Layout */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* Article Styles */
.blog-article-header {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-article-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.blog-article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-article-meta i {
  color: var(--accent-cyan);
}

.blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(49, 224, 255, 0.1);
  color: var(--accent-cyan);
  font-weight: 600;
}

.blog-article-img {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.blog-article-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.blog-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  color: var(--primary-navy);
  margin: 28px 0 14px;
}

.blog-article-content h2 {
  font-size: 24px;
}

.blog-article-content h3 {
  font-size: 20px;
}

.blog-article-content h4 {
  font-size: 17px;
}

.blog-article-content p {
  margin-bottom: 18px;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 12px 0 18px 24px;
}

.blog-article-content li {
  margin-bottom: 8px;
}

.blog-article-content img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.blog-article-content blockquote {
  border-left: 4px solid var(--accent-cyan);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--primary-navy);
  font-style: italic;
}

.blog-article-content a {
  color: var(--accent-cyan);
  font-weight: 600;
}

.blog-article-content a:hover {
  text-decoration: underline;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-section h4 {
  font-size: 16px;
  color: var(--primary-navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-cyan);
  display: inline-block;
}

.recent-post-card {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.recent-post-card:last-child {
  border-bottom: none;
}

.recent-post-card:hover {
  padding-left: 8px;
}

.rpc-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 4px;
  line-height: 1.4;
}

.recent-post-card:hover .rpc-title {
  color: var(--accent-cyan);
}

.rpc-date {
  font-size: 12px;
  color: var(--text-muted);
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.back-to-blog:hover {
  gap: 12px;
}

@media (max-width: 768px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

/* ───── Products Catalog Page ───── */
/* Products page category card grid */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 174, 239, 0.3);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-normal);
}

.product-card:hover .product-card-img {
  transform: scale(1.03);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--bg-light);
  padding-top: 16px;
}

.product-footer .learn-link {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.product-footer .learn-link:hover {
  gap: 10px;
}

/* Request Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 23, 43, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-hover);
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ───── 404 Error Page ───── */
.error-section {
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.error-content-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Floating / Pulsing science molecule illustration */
.broken-molecule-illustration {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.molecule-center {
  width: 44px;
  height: 44px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 174, 239, 0.6);
  animation: floatCenter 4s ease-in-out infinite;
  z-index: 5;
}

.molecule-node {
  width: 24px;
  height: 24px;
  background-color: var(--accent-green);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 15px rgba(49, 224, 255, 0.4);
  z-index: 6;
}

.node-1 {
  top: 15px;
  left: 15px;
  animation: floatNode1 5s ease-in-out infinite;
}

.node-2 {
  top: 25px;
  right: 15px;
  animation: floatNode2 6s ease-in-out infinite;
}

.node-3 {
  bottom: 20px;
  left: 60px;
  background-color: var(--primary-navy);
  border: 2px solid var(--accent-cyan);
  animation: floatNode3 5.5s ease-in-out infinite;
}

/* Connection bonds */
.molecule-bond {
  position: absolute;
  background: linear-gradient(90deg, rgba(0, 174, 239, 0.4), rgba(49, 224, 255, 0.1));
  height: 3px;
  transform-origin: left center;
  z-index: 3;
}

.bond-1 {
  width: 70px;
  top: 100px;
  left: 100px;
  transform: rotate(220deg);
  animation: scaleBond1 5s ease-in-out infinite;
}

.bond-2 {
  width: 70px;
  top: 100px;
  left: 100px;
  transform: rotate(-40deg);
  animation: scaleBond2 6s ease-in-out infinite;
}

.bond-3 {
  width: 65px;
  top: 100px;
  left: 100px;
  transform: rotate(70deg);
  animation: scaleBond3 5.5s ease-in-out infinite;
}

/* Red "broken link" warning indicator */
.molecule-split-slash {
  position: absolute;
  width: 4px;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #ef476f 50%, transparent);
  transform: rotate(35deg);
  z-index: 10;
  box-shadow: 0 0 15px rgba(239, 71, 111, 0.8);
  animation: pulseSlash 2.5s ease-in-out infinite;
}

@keyframes floatCenter {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

@keyframes floatNode1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-8px, -15px);
  }
}

@keyframes floatNode2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(12px, -8px);
  }
}

@keyframes floatNode3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(5px, 15px);
  }
}

@keyframes scaleBond1 {

  0%,
  100% {
    transform: rotate(220deg) scaleX(1);
  }

  50% {
    transform: rotate(218deg) scaleX(1.15);
  }
}

@keyframes scaleBond2 {

  0%,
  100% {
    transform: rotate(-40deg) scaleX(1);
  }

  50% {
    transform: rotate(-38deg) scaleX(1.2);
  }
}

@keyframes scaleBond3 {

  0%,
  100% {
    transform: rotate(70deg) scaleX(1);
  }

  50% {
    transform: rotate(72deg) scaleX(1.1);
  }
}

@keyframes pulseSlash {

  0%,
  100% {
    opacity: 0.3;
    transform: rotate(35deg) scaleY(0.9);
  }

  50% {
    opacity: 0.9;
    transform: rotate(38deg) scaleY(1.1);
  }
}

.error-title-huge {
  font-size: 120px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-navy) 20%, var(--accent-cyan) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  letter-spacing: -2px;
}

.error-subtitle {
  font-size: 24px;
  color: var(--primary-navy);
  font-weight: 600;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.error-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-actions .cta-button {
  min-width: 160px;
  justify-content: center;
}

.error-actions .cta-outline {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-normal);
  min-width: 160px;
}

.error-actions .cta-outline:hover {
  background-color: var(--primary-navy);
  color: var(--white);
}

@media (max-width: 576px) {
  .error-title-huge {
    font-size: 90px;
  }

  .error-subtitle {
    font-size: 20px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .error-actions .cta-button,
  .error-actions .cta-outline {
    width: 100%;
    max-width: 280px;
  }
}

/* ═══════════════════════════════════════
   RELATED PRODUCTS SECTION V2 (5 BIG CARDS)
   ═══════════════════════════════════════ */
.rp-section-v2 {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-top: 60px;
}

.rp-header-v2 {
  margin-bottom: 40px;
  text-align: left;
}

.rp-label-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 174, 239, 0.08);
  color: #00aeef;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.rp-title-v2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0 0 8px;
  line-height: 1.2;
}

.rp-subtitle-v2 {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

.rp-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.rp-card-v2 {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.rp-card-v2:hover {
  border-color: #00aeef;
  box-shadow: 0 12px 30px rgba(0, 174, 239, 0.12);
  transform: translateY(-4px);
}

.rp-img-wrap-v2 {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 24px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.rp-img-wrap-v2 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.rp-card-v2:hover .rp-img-wrap-v2 img {
  transform: scale(1.05);
}

.rp-tag-v2 {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #00aeef, #8cc63f);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.rp-body-v2 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rp-name-v2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0 0 6px;
}

.rp-desc-v2 {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px;
  flex-grow: 1;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rp-footer-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #00aeef;
}

.rp-arrow-v2 {
  transition: transform 0.2s ease;
}

.rp-card-v2:hover .rp-arrow-v2 {
  transform: translateX(4px);
}

@media (max-width: 1023px) {
  .rp-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .rp-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rp-title-v2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .rp-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* Custom override to ensure ep-support-banner on detailed product pages matches the boxed, centered sc2-cta style and never stretches edge-to-edge */
.ep-support-banner {
  max-width: 1280px !important;
  width: calc(100% - 48px) !important;
  margin: 60px auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .ep-support-banner {
    width: calc(100% - 32px) !important;
    margin: 40px auto !important;
  }
}

/* Optimize Request Quote Modal for all screens (including small laptops & mobile viewports) */
@media (max-width: 1366px), (max-height: 800px) {
  .modal-content {
    padding: 24px 30px;
    max-width: 550px;
    max-height: 95vh;
    overflow-y: auto;
    border-radius: 12px;
  }
  .modal h3 {
    font-size: 20px;
    margin-bottom: 4px;
  }
  .modal p {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .modal-content .form-group {
    margin-bottom: 12px;
  }
  .modal-content .form-control {
    padding: 8px 12px;
    font-size: 13px;
  }
  .modal-content .form-row {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
    max-width: 90%;
    max-height: 90vh;
  }
}

/* ════ NIKE STYLE SEARCH EXPANSION ════ */
@media (min-width: 769px) {
  .main-header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1001 !important; /* Above overlay */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
  }
  .main-header::before {
    display: none !important;
  }
  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 80px !important;
    padding: 0 40px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }
  .logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    height: auto !important;
    z-index: 10;
  }
  .logo img {
    height: 44px !important;
    transition: height 0.3s ease !important;
  }
  .nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important; /* Extend links throughout the navbar */
    margin: 0 auto 0 40px !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease, width 0.25s ease, gap 0.25s ease, transform 0.25s ease !important;
    opacity: 1;
    visibility: visible;
    z-index: 10;
    height: auto !important;
  }
  .nav-menu .nav-item {
    color: var(--primary-navy, #071c35) !important;
    font-size: 15px !important;
    font-weight: 550 !important;
    padding: 10px 0 !important;
    white-space: nowrap !important;
  }
  .nav-menu .nav-item:hover {
    color: var(--accent-green, #10b981) !important;
  }
  .nav-menu .nav-item::after {
    display: block !important;
  }
  
  .header-search {
    flex-shrink: 0 !important;
    width: 200px !important; /* Sleek default Nike pill */
    max-width: 200px !important;
    margin: 0 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1002 !important;
    position: relative !important;
  }
  .header-search .search-form {
    width: 100% !important;
    position: relative !important;
  }
  .header-search .search-input {
    width: 100% !important;
    height: 40px !important;
    padding: 0 36px 0 42px !important;
    font-size: 13.5px !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f1f5f9 !important; /* Nike soft light grey */
    color: var(--text-dark, #1e293b) !important;
    box-shadow: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .header-search .search-input::placeholder {
    color: #64748b !important;
  }
  .header-search .search-input:hover {
    background-color: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
  }
  .header-search .search-input:focus {
    background-color: #ffffff !important;
    border-color: #00aeef !important;
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.15) !important;
  }
  .header-search .search-submit,
  .header-search .search-submit-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    font-size: 14px !important;
    pointer-events: none !important;
  }
  
  /* Focus / Search Active State (Expand search smoothly towards left, collapse nav links cleanly without horizontal overflow) */
  .nav-menu {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1), gap 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .main-header.search-active .nav-menu,
  .nav-container:has(.header-search:focus-within) .nav-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-width: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    transform: translateX(-20px) !important;
  }
  .main-header.search-active .header-search,
  .header-search:focus-within {
    width: 600px !important;
    max-width: calc(100% - 240px) !important;
    margin-left: auto !important;
    z-index: 1005 !important;
  }
  .main-header.search-active .header-search .search-input,
  .header-search:focus-within .search-input {
    width: 100% !important;
    background-color: #ffffff !important;
    border-color: #00aeef !important;
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.15) !important;
  }
  
  .nav-menu .cta-button {
    position: static !important;
    margin: 0 !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    padding: 0 20px !important;
    font-size: 13.5px !important;
    box-shadow: none !important;
    z-index: 10;
    flex-shrink: 0 !important;
  }
  
  /* Shrink Header on Scroll */
  .shrink .nav-container {
    height: 65px !important;
  }
  .shrink .logo img {
    height: 34px !important;
  }
  
  /* Dim overlay for the page */
  .search-overlay-dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 28, 53, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .search-overlay-dim.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ════ HORIZONTAL SEARCH RESULT ROWS ════ */
.dynamic-product-grid.search-active {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.dynamic-product-grid.search-active .dynamic-product-card {
  flex-direction: row !important;
  align-items: stretch !important;
  padding: 0 !important;
}

.dynamic-product-grid.search-active .dynamic-product-card .dpc-img-wrap {
  width: 180px !important;
  height: 180px !important;
  flex-shrink: 0 !important;
  border-bottom: none !important;
  border-right: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px !important;
}

.dynamic-product-grid.search-active .dynamic-product-card .dpc-img-wrap img {
  max-width: 90% !important;
  max-height: 90% !important;
  object-fit: contain !important;
}

.dynamic-product-grid.search-active .dynamic-product-card .dpc-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 24px !important;
  justify-content: flex-start !important;
}

.dynamic-product-grid.search-active .dynamic-product-card .dpc-body .dpc-name {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}

.dynamic-product-grid.search-active .dynamic-product-card .dpc-body .dpc-desc {
  font-size: 14.5px !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
  flex-grow: 1 !important;
}

.dynamic-product-grid.search-active .dynamic-product-card .dpc-body .dpc-quote-btn {
  margin-top: auto !important;
}

/* ════ PAGINATION MENU ════ */
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #334155;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-btn:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
}

.pagination-btn.active {
  background-color: var(--primary-navy, #071c35);
  border-color: var(--primary-navy, #071c35);
  color: #ffffff;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8fafc;
  border-color: #e2e8f0;
}

.pagination-dots {
  color: #64748b;
  font-size: 14px;
  padding: 0 6px;
}

/* ════ PAGE PRELOADER (DNA HELIX ANIMATION) ════ */
@keyframes preloader-fail-safe {
  0%, 70% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #071c35; /* Primary Navy */
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  animation: preloader-fail-safe 1.6s forwards ease-in-out;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dna-spinner {
  position: relative;
  width: 200px;
  height: 60px;
  display: flex;
  justify-content: space-between;
}

.dna-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #00aeef; /* Primary Cyan */
  border-radius: 50%;
  animation: dna-wave 1.6s ease-in-out infinite;
}

/* Create the double helix structure by alternating colors and delays */
.dna-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #1a8c52; /* Accent Green */
  border-radius: 50%;
  animation: dna-wave-reverse 1.6s ease-in-out infinite;
}

/* Connect the dots with faint lines representing base pairs */
.dna-dot::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 3px;
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  transform-origin: top center;
  animation: dna-line 1.6s ease-in-out infinite;
  z-index: -1;
}

/* Animation delays for the wave effect */
.dna-dot:nth-child(1) { animation-delay: 0s; }
.dna-dot:nth-child(1)::after, .dna-dot:nth-child(1)::before { animation-delay: 0s; }

.dna-dot:nth-child(2) { animation-delay: 0.1s; }
.dna-dot:nth-child(2)::after, .dna-dot:nth-child(2)::before { animation-delay: 0.1s; }

.dna-dot:nth-child(3) { animation-delay: 0.2s; }
.dna-dot:nth-child(3)::after, .dna-dot:nth-child(3)::before { animation-delay: 0.2s; }

.dna-dot:nth-child(4) { animation-delay: 0.3s; }
.dna-dot:nth-child(4)::after, .dna-dot:nth-child(4)::before { animation-delay: 0.3s; }

.dna-dot:nth-child(5) { animation-delay: 0.4s; }
.dna-dot:nth-child(5)::after, .dna-dot:nth-child(5)::before { animation-delay: 0.4s; }

.dna-dot:nth-child(6) { animation-delay: 0.5s; }
.dna-dot:nth-child(6)::after, .dna-dot:nth-child(6)::before { animation-delay: 0.5s; }

.dna-dot:nth-child(7) { animation-delay: 0.6s; }
.dna-dot:nth-child(7)::after, .dna-dot:nth-child(7)::before { animation-delay: 0.6s; }

.dna-dot:nth-child(8) { animation-delay: 0.7s; }
.dna-dot:nth-child(8)::after, .dna-dot:nth-child(8)::before { animation-delay: 0.7s; }

.dna-dot:nth-child(9) { animation-delay: 0.8s; }
.dna-dot:nth-child(9)::after, .dna-dot:nth-child(9)::before { animation-delay: 0.8s; }

.dna-dot:nth-child(10) { animation-delay: 0.9s; }
.dna-dot:nth-child(10)::after, .dna-dot:nth-child(10)::before { animation-delay: 0.9s; }

.dna-dot:nth-child(11) { animation-delay: 1.0s; }
.dna-dot:nth-child(11)::after, .dna-dot:nth-child(11)::before { animation-delay: 1.0s; }

.dna-dot:nth-child(12) { animation-delay: 1.1s; }
.dna-dot:nth-child(12)::after, .dna-dot:nth-child(12)::before { animation-delay: 1.1s; }

.dna-dot:nth-child(13) { animation-delay: 1.2s; }
.dna-dot:nth-child(13)::after, .dna-dot:nth-child(13)::before { animation-delay: 1.2s; }

.dna-dot:nth-child(14) { animation-delay: 1.3s; }
.dna-dot:nth-child(14)::after, .dna-dot:nth-child(14)::before { animation-delay: 1.3s; }

.dna-dot:nth-child(15) { animation-delay: 1.4s; }
.dna-dot:nth-child(15)::after, .dna-dot:nth-child(15)::before { animation-delay: 1.4s; }

.dna-dot:nth-child(16) { animation-delay: 1.5s; }
.dna-dot:nth-child(16)::after, .dna-dot:nth-child(16)::before { animation-delay: 1.5s; }

.preloader-text {
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  animation: preloader-fade 1.5s ease-in-out infinite alternate;
}

@keyframes dna-wave {
  0%, 100% { transform: translateY(0px); z-index: 1; }
  50% { transform: translateY(40px); z-index: -1; }
}

@keyframes dna-wave-reverse {
  0%, 100% { transform: translateY(40px); z-index: -1; }
  50% { transform: translateY(0px); z-index: 1; }
}

@keyframes dna-line {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(-1); }
}

@keyframes preloader-fade {
  from { opacity: 0.5; }
  to { opacity: 1; }
}


