/* ==========================================================================
   Euro Industrial Chemicals - Design System & Modern Stylesheet
   Designed for high performance, modern B2B aesthetics, and SEO optimization
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --primary-950: #050d18;
  --primary-900: #0b1a2e;
  --primary-850: #0f233d;
  --primary-800: #142e50;
  --primary-700: #1c3d69;
  --primary-600: #255088;
  
  --accent-cyan: #00b4d8;
  --accent-blue: #0284c7;
  --accent-sky: #38bdf8;
  --accent-teal: #0d9488;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  /* Neutral Palette */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --white: #ffffff;
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-main);
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 25px rgba(0, 180, 216, 0.25);
  
  --glass-bg: rgba(11, 26, 46, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(12px);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--neutral-800);
  background-color: var(--neutral-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Top Notification / Announcement Bar
   ========================================================================== */
.top-bar {
  background: var(--primary-950);
  color: var(--neutral-400);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  position: relative;
  z-index: 50;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--neutral-300);
}

.top-bar-item a {
  color: var(--neutral-300);
}

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

.top-bar-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.top-bar-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* ==========================================================================
   Site Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  /* Keep the sticky header and its mobile panel above page sections. */
  z-index: 1000;
  --header-height: 69px;
  background: rgba(11, 26, 46, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 18, 33, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(0, 180, 216, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img, .site-logo-img {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 3px 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: block;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neutral-400);
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--neutral-200);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* Mega Dropdown */
.nav-item-dropdown {
  position: relative;
}

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

.mega-menu {
  position: absolute;
  top: 100%;
  left: -120px;
  width: 720px;
  background: var(--primary-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 120;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mega-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mega-menu-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 180, 216, 0.15);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mega-menu-text h4 {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.mega-menu-text p {
  font-size: 0.72rem;
  color: var(--neutral-400);
  line-height: 1.25;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-trigger-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--neutral-300);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  line-height: 1.25;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00b4d8 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.btn-outline-primary:hover {
  background: var(--accent-blue);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  flex: 0 0 auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 60%, var(--primary-800) 100%);
  color: var(--white);
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(2, 132, 199, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: var(--accent-sky);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--neutral-300);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-key-points {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--neutral-300);
}

.hero-point svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Hero Visual / Cards */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 180, 216, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 600ms ease;
}

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

.hero-floating-badge {
  position: absolute;
  bottom: -1.25rem;
  left: 1.5rem;
  background: var(--primary-900);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: var(--glass-blur);
}

.hero-floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}

.hero-floating-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.hero-floating-text p {
  font-size: 0.75rem;
  color: var(--neutral-400);
}

/* ==========================================================================
   Trust & Metrics Bar
   ========================================================================== */
.stats-section {
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.25rem;
  border-right: 1px solid var(--neutral-200);
}

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

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

.stat-number span {
  color: var(--accent-blue);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-700);
}

.stat-subtext {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Section Header Utility
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* Dark section header */
.section-header-dark .section-badge {
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

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

.section-header-dark .section-subtitle {
  color: var(--neutral-300);
}

/* ==========================================================================
   Industry Sectors Grid (12 Core Sectors)
   ========================================================================== */
.sectors-section {
  padding: 5.5rem 0;
  background: var(--neutral-50);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.sector-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.sector-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--neutral-800);
}

.sector-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.sector-card:hover .sector-image-wrap img {
  transform: scale(1.06);
}

.sector-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 26, 46, 0.85);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.sector-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sector-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.6rem;
}

.sector-card:hover .sector-title {
  color: var(--accent-blue);
}

.sector-desc {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

.sector-sample-chemicals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.chem-chip {
  background: var(--neutral-100);
  color: var(--neutral-700);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.sector-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--neutral-100);
  padding-top: 1rem;
  margin-top: auto;
}

.sector-link {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sector-link:hover {
  color: var(--primary-800);
}

/* ==========================================================================
   Interactive Chemical Directory / Catalog Finder
   ========================================================================== */
.catalog-section {
  padding: 5.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}

.catalog-search-bar {
  background: var(--neutral-50);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.search-input-wrapper {
  position: relative;
  flex: 1 1 320px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: var(--white);
  transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-icon-inside {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
}

.category-filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  background: var(--white);
  color: var(--neutral-800);
  cursor: pointer;
  min-width: 220px;
}

.category-filter-select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* Chemical Table / Cards Grid */
.catalog-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.catalog-table th {
  background: var(--primary-900);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.catalog-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  vertical-align: middle;
}

.catalog-table tbody tr {
  transition: background var(--transition-fast);
}

.catalog-table tbody tr:hover {
  background: #f0f9ff;
}

.chem-name-cell {
  font-weight: 700;
  color: var(--primary-900);
  display: flex;
  flex-direction: column;
}

.chem-formula {
  font-size: 0.75rem;
  color: var(--neutral-500);
  font-family: monospace;
}

.cas-badge {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--neutral-700);
  display: inline-block;
}

.grade-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ==========================================================================
   Why Choose Us & Supply Chain Excellence
   ========================================================================== */
.why-us-section {
  padding: 5.5rem 0;
  background: var(--neutral-50);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.why-us-content .section-badge {
  margin-bottom: 0.5rem;
}

.why-us-content .section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.why-us-lead {
  font-size: 1.1rem;
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  line-height: 1.5;
}

.why-us-media {
  position: relative;
}

.why-us-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
}

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

.floating-cert-card {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   African & Global Distribution Map Section
   ========================================================================== */
.locations-section {
  padding: 5.5rem 0;
  background: var(--primary-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.locations-content h3 {
  font-size: 1.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1rem;
}

.locations-content p {
  color: var(--neutral-300);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.countries-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 260px;
  overflow-y: auto;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.country-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--neutral-200);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.country-pill:hover, .country-pill.highlight {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-cyan);
}

/* Logistics Hubs Cards */
.hubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hub-card {
  background: var(--primary-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-normal);
}

.hub-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.hub-card h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hub-card h4 span {
  color: var(--accent-cyan);
}

.hub-card p {
  font-size: 0.8rem;
  color: var(--neutral-400);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ==========================================================================
   Call To Action (Get a Quote / RFQ Banner)
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-banner-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--primary-900);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* ==========================================================================
   Single Unified Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-950);
  color: var(--neutral-300);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo {
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-certs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-cert-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--neutral-300);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-cert-badge svg {
  color: var(--accent-cyan);
}

.footer-col-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links li a {
  color: var(--neutral-400);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links li a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--neutral-300);
}

.footer-contact-item svg {
  color: var(--accent-cyan);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--neutral-300);
}

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

/* Footer Countries Section & 4-Column Regional Grid */
.footer-countries-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-countries-header {
  margin-bottom: 1.5rem;
}

.footer-countries-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.footer-countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-country-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  font-weight: 700;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 180, 216, 0.25);
}

.footer-country-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-country-links a {
  color: var(--neutral-400);
  font-size: 0.8rem;
  line-height: 1.45;
  transition: all var(--transition-fast);
  display: inline-block;
  cursor: pointer;
}

.footer-country-links a:hover {
  color: var(--accent-sky);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .footer-countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--neutral-400);
}

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

/* ==========================================================================
   Page Breadcrumbs & Header Hero (For Inner Pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
  color: var(--white);
  padding: 3.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--neutral-300);
}

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

.breadcrumbs span.separator {
  color: var(--neutral-600);
}

.breadcrumbs span.current {
  color: var(--accent-sky);
  font-weight: 600;
}

.page-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.page-lead {
  font-size: 1.15rem;
  color: var(--neutral-300);
  max-width: 800px;
  line-height: 1.6;
}

/* ==========================================================================
   Chemical Detail Specifications Grid (For Product Pages)
   ========================================================================== */
.chem-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.chem-spec-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.chem-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.chem-spec-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
}

/* ==========================================================================
   Request A Quote (RFQ) Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 13, 24, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Modals must remain above the sticky header/mobile navigation. */
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.rfq-modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .rfq-modal-card {
  transform: scale(1);
}

.modal-header {
  background: var(--primary-900);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--neutral-400);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--white);
}

.modal-body {
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.35rem;
}

.form-label span.req {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

/* ==========================================================================
   Floating Quick Action Widget (WhatsApp & Call)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  color: var(--white);
  transition: all var(--transition-normal);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.floating-whatsapp {
  background: #25d366;
}

.floating-whatsapp:hover {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.floating-phone {
  background: var(--accent-blue);
}

.floating-phone:hover {
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.5);
}

.floating-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--neutral-900);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .header-inner {
    gap: 0.75rem;
  }
  .nav-link {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .search-trigger-btn {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .search-trigger-btn kbd {
    display: none;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 2rem;
  }
  .hero-title {
    font-size: clamp(2.35rem, 4vw, 3rem);
  }
  .hero-image-card img {
    height: clamp(300px, 36vw, 380px);
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mega-menu {
    display: none;
  }
}

@media (max-width: 900px) {
  .top-bar-left, .top-bar-right {
    justify-content: center;
    width: 100%;
  }
  .top-bar {
    display: none; /* Keep clean on small mobile screens */
  }
  .nav-menu {
    /* Anchor the panel to the sticky header. A fixed child of the
       backdrop-filter header can be composited behind following sections. */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    max-height: calc(100dvh - var(--header-height));
    background: var(--primary-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.125rem 2rem;
    gap: 1rem;
    transform: translate3d(-100%, 0, 0);
    transition: transform var(--transition-smooth);
    visibility: hidden;
    pointer-events: none;
    z-index: 1001;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-menu.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.75rem;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
  }
  .header-inner {
    min-height: 68px;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions > .btn {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-section {
    padding: 3.75rem 0 4.5rem;
  }
  .hero-image-card img {
    height: 360px;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--neutral-200);
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .chem-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  /* Generated pages contain a few inline grids; collapse those safely on phones. */
  [style*="grid-template-columns:"] {
    grid-template-columns: 1fr !important;
  }

  .modal-backdrop {
    align-items: flex-start;
    padding: 0.75rem;
  }

  .rfq-modal-card {
    max-height: calc(100dvh - 1.5rem);
    border-radius: var(--radius-lg);
  }

  .modal-header,
  .modal-body {
    padding: 1.15rem;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .footer-bottom > div:last-child {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }
  .search-trigger-btn span {
    display: none;
  }
  .search-trigger-btn {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }
  .header-inner {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .brand-logo img, .site-logo-img {
    max-width: 145px;
    height: 46px;
  }
  .hero-section {
    padding: 3rem 0 4rem;
  }
  .hero-image-card img {
    height: 260px;
  }
  .hero-floating-badge {
    left: 0.75rem;
    right: 0.75rem;
    bottom: -1.5rem;
    padding: 0.75rem 0.9rem;
  }
  .hero-floating-text h4 {
    font-size: 0.95rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .chem-spec-grid {
    grid-template-columns: 1fr;
  }

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

  .page-title {
    font-size: 2rem;
  }

  .cta-banner-text h2 {
    font-size: 1.75rem;
  }

  .cta-banner-actions,
  .cta-banner-actions .btn {
    width: 100%;
  }
}

html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden;
}
