/* =============================================
   BIZBA INDIA — Premium B2B Export Website
   Global Design System & Styles
   ============================================= */

/* Fonts loaded via <link> in header.php for performance */

picture { display: block; }

/* Screen-reader only (accessible hiding) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .hero-bg { will-change: auto !important; }
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Color Palette */
  --bg: #FAFAF7;
  --bg-section: #F4EFE8;
  --white: #FFFFFF;
  --primary: #1A1814;
  --primary-mid: #2D2926;
  --accent: #B8872A;
  --accent-hover: #D4A843;
  --accent-light: #F0E4C8;
  --text: #2D2926;
  --text-muted: #7A6347;
  --text-light: #7A6B5A;
  --border: #E8E2D9;
  --border-dark: #C8C0B0;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --header-h: 80px;
  --section-py: 100px;
  --section-px: 24px;

  /* Radii */
  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(26, 24, 20, 0.05);
  --shadow-sm: 0 2px 16px rgba(26, 24, 20, 0.07);
  --shadow: 0 4px 28px rgba(26, 24, 20, 0.10);
  --shadow-md: 0 8px 48px rgba(26, 24, 20, 0.13);
  --shadow-lg: 0 16px 72px rgba(26, 24, 20, 0.17);

  /* Transitions */
  --tr: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
}

/* Offset for fixed header when using anchor links */
html {
    scroll-padding-top: 110px;
}

body {
  width: 100%;
  font-family: popins, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

p {
  font-family: 'Inter', sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--primary);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  transition: var(--tr);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(184, 135, 42, 0.38);
}

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

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

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

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

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

.btn-dark:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 24, 20, 0.25);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 0.95rem;
}

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

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

/* ===== TOP HEADER BAR ===== */
/* Adjust floating sticky button position */
.sticky-quote-btn {
  bottom: 24px;
  right: 24px;
}

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

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

.top-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.top-search-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 5px 12px;
  padding-right: 32px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  width: 220px;
  transition: var(--tr);
}

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

.top-search-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  width: 260px;
}

.top-search-form button {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.top-bar-link {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: var(--tr);
}

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

.top-bar-link svg {
  fill: currentColor;
  width: 15px;
  height: 15px;
}

/* Floating Sticky Button */
.sticky-quote-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(184, 135, 42, 0.45);
  z-index: 999;
  transition: var(--tr);
  text-decoration: none;
}

.sticky-quote-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-4px);
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.nav-logo-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: var(--tr);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(184, 135, 42, 0.45);
}

.nav-cta::after {
  display: none !important;
}

#header.scrolled .nav-cta {
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr);
}

.mobile-toggle {
  touch-action: manipulation;
  cursor: pointer;
}

#header.scrolled .mobile-toggle span {
  background: var(--primary);
}

/* ===== MOBILE MENU ===== */
/* Mobile Menu Panel – slide from LEFT */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -320px;
  /* hidden off-screen to the left */
  width: 280px;
  height: 100vh;
  background: #1e1e2f;
  color: #fff;
  z-index: 1100;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.25);
  /* shadow on the right side of the panel */
}

.mobile-menu.active {
  left: 0;
  /* slide in from left */
}

/* Close button – keep it top-right inside the panel */
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.mobile-close svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Menu links styling (unchanged) */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-link {
  color: #ddd;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Optional overlay */
body.menu-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1050;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 20px;
  /* header top margin */
  padding-bottom: 200px;
  /* clear the stats bar at bottom */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg,
      rgba(26, 24, 20, .88) 0%,
      rgba(26, 24, 20, .62) 55%,
      rgba(26, 24, 20, .30) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-top: 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(184, 135, 42, 0.18);
  border: 1px solid rgba(184, 135, 42, 0.38);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin: 28px 0;
  backdrop-filter: blur(12px);
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent-hover);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.6);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-hover);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-stats-inner {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r);
  overflow: hidden;
  backdrop-filter: blur(16px);
  background: rgba(26, 24, 20, 0.45);
  max-width: 640px;
}

.hero-stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent-hover);
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--primary);
  padding: 28px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(184, 135, 42, 0.18);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-hover);
}

.trust-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.trust-text small {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.48);
}

.trust-div {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ===== CATEGORY SECTION ===== */
.categories {
  background: var(--bg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: var(--tr);
}

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

.category-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img {
  transform: scale(1.09);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 24, 20, 0.88) 0%, rgba(26, 24, 20, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
  transition: var(--tr);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(26, 24, 20, 0.92) 0%, rgba(26, 24, 20, 0.4) 70%, transparent 100%);
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
}

.cat-link {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.category-card:hover .cat-link {
  gap: 9px;
}

.cat-link svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-hover);
}

/* ===== WHY CHOOSE ===== */
.why-choose {
  background: var(--bg-section);
}

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

.why-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.why-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  border-radius: var(--r);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  min-width: 170px;
}

.why-badge-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.why-badge-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.why-feature {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: var(--tr);
}

.why-feature:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.feat-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.why-feature h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary);
}

.why-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== B2B SYSTEM SECTION ===== */
.b2b-system {
  background: var(--bg);
}

.b2b-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 56px;
}

.b2b-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 26px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.b2b-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.b2b-card:hover {
  border-color: rgba(184, 135, 42, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.b2b-card:hover::after {
  transform: scaleX(1);
}

.b2b-card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--tr);
}

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

.b2b-card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent);
  transition: var(--tr);
}

.b2b-card:hover .b2b-card-icon svg {
  fill: var(--white);
}

.b2b-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.b2b-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.b2b-cta {
  text-align: center;
  padding-top: 8px;
}

.b2b-cta-sub {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== CUSTOMIZATION ===== */

.customization {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.customization::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(184, 135, 42, 0.17) 0%, transparent 55%),
    radial-gradient(circle at 85% 50%, rgba(184, 135, 42, 0.09) 0%, transparent 55%);
}

.customization .container {
  position: relative;
  z-index: 1;
}

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

.customization .section-label {
  color: var(--accent-hover);
}

.customization .section-title {
  color: var(--white);
}

.customization .section-subtitle {
  color: rgba(255, 255, 255, 0.68);
}

.custom-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}

.custom-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
}

.custom-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-hover);
  border-radius: 50%;
  flex-shrink: 0;
}

.custom-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

/* ===== EXPORT SNAPSHOT ===== */
.export-snapshot {
  background: var(--bg);
}

.export-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.export-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 28px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.export-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

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

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

.export-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.export-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

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

.export-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ===== INQUIRY SECTION ===== */
.inquiry {
  background: var(--bg-section);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.inquiry-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.inquiry-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.inquiry-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inq-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text);
}

.inq-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inq-detail-icon svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
}

/* ===== FORM STYLES ===== */
.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--primary);
}

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

.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: var(--tr);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 135, 42, 0.14);
}

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

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238B7355'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
  cursor: pointer;
}

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

.form-msg {
  display: none;
  padding: 13px 18px;
  border-radius: var(--r-sm);
  font-size: 0.87rem;
  font-weight: 600;
  margin-top: 16px;
}

.form-msg.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-msg.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ===== PAGE HEADER ===== */
/* Override any old rules – header always fixed at top, always light */
#header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000;
  background: #ffffff !important;
  /* pure white */
  box-shadow: none !important;
  border-bottom: 1px solid var(--border) !important;
  transition: none !important;
}

#header.scrolled {
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Ensure the whole second row (nav links) is also white */
.nav {
  background: #ffffff !important;
}

/* Remove any leftover pseudo-elements that cause gaps */
#header::before,
#header.scrolled::before {
  display: none !important;
}

.page-header {
  padding: 152px 0 76px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, #1A1814 0%, #2D2510 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 60%, rgba(184, 135, 42, 0.22) 0%, transparent 55%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 14px;
}

.page-header .page-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.bc-item {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
}

.bc-item.current {
  color: var(--accent-hover);
}

.bc-sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

/* ===== PRODUCT FILTER ===== */
.product-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  box-shadow: var(--shadow-xs);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 9px 22px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--tr);
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ===== PRODUCT GRID ===== */
.products-section {
  background: var(--bg);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--tr);
  animation: fadeInUp 0.4s ease both;
}

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

.prod-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .prod-img img {
  transform: scale(1.07);
}

.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.prod-body {
  padding: 20px 20px 16px;
}

.prod-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.prod-price {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 14px;
}

.prod-footer {
  padding: 0 20px 20px;
}

/* ===== OEM PAGE ===== */
.oem-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.oem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 26px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.oem-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.oem-card:hover::after {
  transform: scaleX(1);
}

.oem-card:hover {
  box-shadow: var(--shadow);
}

.oem-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.oem-card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent);
}

.oem-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.oem-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
}

.ps-num {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--tr);
}

.process-step:hover .ps-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.ps-body {
  padding-top: 10px;
}

.ps-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--primary);
}

.ps-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== ABOUT PAGE ===== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 22px;
  text-align: center;
  transition: var(--tr);
}

.cap-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: var(--accent-light);
}

.cap-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cap-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.cap-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.cap-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Export Process Timeline */
.exp-timeline {
  display: flex;
  position: relative;
  gap: 0;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
}

.exp-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 64px;
}

.exp-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-hover);
  z-index: 1;
  transition: var(--tr);
}

.exp-step:hover .exp-num {
  background: var(--accent);
}

.exp-step h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.exp-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0 10px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  transition: var(--tr);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-light);
}

.ci-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.ci-body h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.ci-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--accent-light);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.2s;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-ico {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, fill 0.2s;
}

.faq-item.open .faq-ico {
  transform: rotate(45deg);
  fill: var(--accent);
}

.faq-a {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.42s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 24px 20px;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--primary);
  padding: 80px 0 0;
}

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

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}

.footer-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: block;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.78;
  margin-bottom: 24px;
}

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

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

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

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: rgba(255, 255, 255, 0.65);
}

.footer-social:hover svg {
  fill: var(--white);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--tr);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-link:hover {
  color: var(--accent-hover);
  padding-left: 3px;
}

.footer-link::before {
  content: '→';
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

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

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 4px 18px rgba(184, 135, 42, 0.42);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ===== UTILITY ===== */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.w-full {
  width: 100%;
}

/* ===== DARK SECTION OVERRIDES ===== */
.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-label {
  color: var(--accent-hover);
}

.pro-facility i {
  margin-left: 1rem;
}

/* White card on the right side of page-header */
.pro-toggle-menu {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  width: 264px;
  /* fixed width for the card */
  max-width: 100%;
  text-align: left;
  height: 20rem;
}

.pro-toggle-menu h1,
.pro-toggle-menu h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  margin: 20px 0;
  line-height: 1.3;
}

.pro-toggle-menu p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.pro-toggle-menu .btn {
  width: 100%;
  justify-content: center;
}

.pro-facility i {
  margin-left: 0;
  margin-right: 0.5rem;
}

/* Feature badges (Handmade / Export Quality) */
.ali-features {
  display: flex;
  gap: 12px;
  margin: 10px 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.ali-feat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(184, 135, 42, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.ali-feat-item i {
  font-size: 0.85rem;
}

/* Button icons – ensure spacing and colour override */
.btn-add-enquiry i,
.btn-add-enquiry .fa-solid {
  color: inherit;
  /* keeps outline colour until hover */
  font-size: 0.9rem;
}

.btn-add-enquiry.success i {
  color: var(--accent);
  /* highlight check when added */
}

.btn-primary i {
  color: inherit;
  font-size: 0.9rem;
}

/* Remove old disclaimer (fallback if any leftover) */
.ali-disclaimer {
  display: none;
}

.pro-facility {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  /* reduced horizontal gap between features */
}

.pro-facility span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.pro-facility-item {
  display: inline-flex;
  align-items: center;
  /* icon and text vertically centered */
  gap: 5px;
  /* space between icon and text */
  font-size: 0.85rem;
  /* slightly smaller for better fit */
  line-height: 1.25;
  /* tighter line spacing between the two wrapped lines */
  white-space: nowrap;
  /* keep text from wrapping further */
  flex-shrink: 0;
}

.pro-facility-item i {
  font-size: 0.9rem;
  /* icon slightly smaller */
  margin: 0;
  flex-shrink: 0;
}

.pro-facility-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pro-pagination button {
  padding: 15px 23px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(184, 135, 42, 1);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--tr);
  color: #fff;
}

.pro-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 70px;
}

/* --- Service guarantees bar (bottom of product list) --- */
.serv-mean {
  height: auto;
  /* let it expand with content */
  min-height: 4rem;
  /* keep a decent minimum */
  background: rgba(184, 135, 42, 0.08);
  padding: 10px 16px;
  margin-top: 20px;
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  /* align items to top so multi‑line text doesn’t look off */
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.7rem;
  color: var(--text);
}

.serv-mean span {
  flex: 1 1 0;
  /* keep columns equal width */
  min-width: 0;
  /* allow shrinking */
  text-align: center;
}

/* Make the icon and heading sit side‑by‑side */
.serv-mean i {
  font-size: 0.85rem;
  display: inline-flex;
  /* or inline-block */
  vertical-align: middle;
  margin-right: 4px;
}

.serv-mean h2 {
  display: inline;
  /* now it stays on the same line as the icon */
  font-size: 0.8rem;
  /* adjust as you like */
  font-weight: 700;
  margin: 0;
  vertical-align: middle;
  color: inherit;
  /* inherit accent colour */
}

.serv-mean p {
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 0.7rem;
  line-height: 1.3;
  color: inherit;
  opacity: 0.8;
}

.alibaba-layout {
  margin-bottom: 45px;
  margin-right: 25px;
  margin-left: 25px;
}

.file-upload-wrapper {
    border: 1px dashed var(--border);
    border-radius: var(--r-sm);
    padding: 12px;
    text-align: center;
    background: var(--bg-light);
}
.file-upload-wrapper label {
    cursor: pointer;
    font-weight: 600;
}

/* User info bar at footer */
.footer-user-info {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  margin: 24px 0 16px;
}
.user-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r);
  padding: 16px 24px;
}
.user-avatar {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  text-transform: uppercase;
}
.user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.user-details strong {
  font-size: 1rem;
  color: var(--white);
}
.user-details span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 600px) {
  .user-info-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .user-details {
    align-items: center;
  }
}

/* User Welcome Bar - appears below header on all devices when logged in */
.user-welcome-bar {
  background: var(--accent-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 99;
}
.welcome-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.welcome-text i {
  color: var(--accent);
  margin-right: 8px;
}
.welcome-text strong {
  color: var(--primary);
}
.welcome-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.welcome-actions {
  display: flex;
  gap: 16px;
}
.welcome-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.welcome-link:hover {
  color: var(--accent);
}
.logout-link {
  color: #dc2626;
}
.logout-link:hover {
  color: #b91c1c;
}
@media (max-width: 768px) {
  .welcome-bar-content {
    flex-direction: column;
    text-align: center;
  }
  .welcome-actions {
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .map-container {
    width: 85% !important;
  }

  .form-card {
    width: 84%;
  }
}

/* Popup two‑column layout for quantity on the right */
.popup-details-row {
  display: flex;
  gap: 20px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}
.popup-left-col {
  flex: 2;
}
.popup-right-col {
  flex: 1;
  min-width: 140px;
}
.popup-right-col .popup-quantity-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
}
.popup-quantity-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.875rem;
}
.popup-product-moq {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}
/* Keep requirements full width */
.popup-requirements-label {
  display: block;
  margin: 12px 0 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
}
@media (max-width: 550px) {
  .popup-details-row {
    flex-direction: column;
    gap: 12px;
  }
  .popup-right-col {
    width: 100%;
  }
}

/* Two‑column layout for quantity on the right */
.popup-details-row {
    display: flex;
    gap: 20px;
    margin: 12px 0 16px;
    flex-wrap: wrap;
}
.popup-left-col {
    flex: 2;
}
.popup-right-col {
    flex: 1;
    min-width: 140px;
}
.popup-right-col .popup-quantity-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
}
.popup-quantity-display {
    padding: 8px 12px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1f2937;
}
.popup-product-moq {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0;
}
.popup-requirements-label {
    display: block;
    margin: 12px 0 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
}
.popup-requirements-display {
    padding: 8px 12px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1f2937;
    white-space: pre-wrap;
    min-height: 80px;
}
@media (max-width: 550px) {
    .popup-details-row {
        flex-direction: column;
        gap: 12px;
    }
    .popup-right-col {
        width: 100%;
    }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .btn-sm {
    padding: 10px 18px;
  }
}

@media (max-width: 992px) {
  :root {
    --section-py: 72px;
  }

  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .why-grid,
  .custom-grid,
  .inquiry-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-image {
    max-height: 420px;
  }

  .export-cards,
  .oem-features {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .exp-timeline {
    flex-direction: column;
    gap: 28px;
  }

  .exp-timeline::before {
    display: none;
  }

  .exp-step {
    padding-top: 0;
    padding-left: 72px;
    text-align: left;
  }

  .exp-num {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 777px) {
  :root {
    --section-py: 60px;
    --header-h: 68px;
  }

  #header {
    top: 0;
    padding-top: env(safe-area-inset-top);
  }

  #header {
    z-index: 1100 !important;
  }

  .mobile-toggle {
    z-index: 1200;
    position: relative;
  }

  #header.scrolled {
    top: 6px;
  }

  #header.scrolled::before {
    top: -6px;
    height: 6px;
  }

  .hero {
    min-height: 0;
    padding-bottom: 60px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-stats {
    display: none;
  }

  .trust-items {
    gap: 14px;
    justify-content: center;
  }

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

  .trust-div {
    display: none;
  }

  .export-cards,
  .oem-features,
  .b2b-cards {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-card {
    padding: 28px 22px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .fade-in.visible {
    width: 100%;
  }

  .btn-sm {
    padding: 10px 6.5%;
  }

  .alibaba-sidebar {
    display: none;
  }

  .filter-toggle-btn {
    padding: 10px 20px;
    background-color: var(--accent);
    border-radius: 10px;
  }

  .how-it-work-sec {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .private-lable-sec {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .company-intro-sec {
    display: grid;
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 40px;
  }

  .hero-content {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-sub {
    font-size: 0.88rem;
    margin-bottom: 28px;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
    margin: 16px 0;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .hero-cta .btn-lg {
    padding: 14px 28px;
    font-size: 0.85rem;
  }

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

  .trust-items {
    gap: 12px;
  }

  .trust-item {
    width: 100%;
  }

  .b2b-card {
    padding: 24px 20px;
  }

  .why-feature {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .why-feature .feat-icon {
    margin: 0 auto;
  }

  .inquiry-grid {
    gap: 32px;
  }

  .form-card {
    padding: 24px 16px;
  }

  .welcome-bar-content {
    display: none;
  }
}

/* ===== ADD THESE RESPONSIVE RULES TO style.css ===== */

/* ---------- 1200px ---------- */
@media (max-width: 1200px) {
  /* Reduce large gaps on mid-size screens */
  .company-intro-sec,
  .quality-control-sec {
    gap: 48px !important;
  }

  /* Export cards: 3 → 2 columns */
  .export-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ---------- 992px ---------- */
@media (max-width: 992px) {
  .company-intro-sec,
  .quality-control-sec {
    gap: 36px !important;
  }

  /* Stats grid inside company intro: keep 2 columns */
  .company-intro-sec > div > div[style*="grid-template-columns: 1fr 1fr"] {
    gap: 12px !important;
  }

  /* Export cards remain 2 columns but with tighter gap */
  .export-cards-grid {
    gap: 16px !important;
    margin-bottom: 40px !important;
  }

  /* Reduce section padding */
  .section {
    padding: 60px 0;
  }

  /* Capabilities grid: 4 → 2 columns */
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ---------- 777px ---------- */
@media (max-width: 777px) {
  /* Stack two-column layouts */
  .company-intro-sec,
  .quality-control-sec {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Stats: keep 2 columns for compact number cards */
  .company-intro-sec > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Export cards: stack to 1 column */
  .export-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 32px !important;
  }

  /* Capabilities: 2 → 1 column */
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Capability cards: left-align text on mobile */
  .cap-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
  }

  .cap-card .cap-icon {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  .cap-card .cap-icon svg {
    width: 22px;
    height: 22px;
  }

  .cap-card h4 {
    margin-bottom: 4px;
  }

  /* Timeline: already handled by existing CSS */
  /* Reduce page header padding */
  .page-header {
    padding: 120px 0 48px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .page-header .page-sub {
    font-size: 0.9rem;
  }

  /* CTA section padding */
  .section .btn-lg {
    padding: 14px 28px;
    font-size: 0.88rem;
  }
  
  .serv-mean {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .section {
    padding: 100px 0;
  }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
  .company-intro-sec,
  .quality-control-sec {
    gap: 24px !important;
  }

  /* Stats: could go 1 column on very small screens if cards feel cramped */
  .company-intro-sec > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Smaller stat numbers */
  .company-intro-sec [style*="font-size:2rem"] {
    font-size: 1.5rem !important;
  }

  /* Export packaging card: reduce padding */
  .quality-control-sec [style*="padding: 40px"] {
    padding: 24px !important;
  }

  /* Section header adjustments */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  /* Breadcrumb */
  .breadcrumb {
    flex-wrap: wrap;
    gap: 4px;
  }

  .bc-item {
    font-size: 0.75rem;
  }

  .strong-cta {
    padding: 28px 16px !important;
  }

  .strong-cta h2 {
    font-size: 1.3rem !important;
  }

  .strong-cta p {
    font-size: 0.88rem !important;
  }

  .customization .custom-grid {
    gap: 40px;
  }

  .custom-list {
    gap: 10px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* ---------- 360px (very small screens like iPhone SE) ---------- */
@media (max-width: 360px) {
  :root {
    --section-px: 16px;
    --section-py: 48px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 5px 12px;
    margin: 12px 0;
  }

  .hero-sub {
    font-size: 0.82rem;
    margin-bottom: 24px;
  }

  .hero-cta .btn-lg {
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .strong-cta {
    padding: 24px 14px !important;
  }

  .strong-cta h2 {
    font-size: 1.1rem !important;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.83rem;
  }

  .form-card {
    padding: 20px 14px;
  }

  .b2b-card {
    padding: 20px 16px;
  }

  .export-card {
    padding: 24px 18px;
  }

  .why-feature {
    padding: 14px;
  }

  .category-card {
    aspect-ratio: 2/3;
  }

  .customization .custom-grid {
    gap: 28px;
  }

  .inquiry-grid {
    gap: 24px;
  }
}