/* ==========================================================================
   PLASTICURE ECO-MODERN DESIGN SYSTEM
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --bg-dark: #f8fafc;
  --bg-panel: #ffffff;
  --bg-card: #f1f5f9;
  --primary: #10b981;
  --primary-dark: #047857;
  --primary-glow: rgba(16, 185, 129, 0.08);
  --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --accent: #0891b2;
  --accent-dark: #0e7490;
  --accent-glow: rgba(6, 182, 212, 0.08);
  --accent-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  --warn: #ef4444;
  --warn-glow: rgba(239, 68, 68, 0.1);
  --text-white: #0f172a;
  --text-gray: #334155;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-active: rgba(16, 185, 129, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

/* Primary Taglines & Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sub-title {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  background: var(--primary-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-active);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.mini-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-white);
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 0.02rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

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

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION BAR STYLING
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-white);
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.2));
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px var(--primary));
}

.logo .accent {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  margin-left: 2rem;
}

.nav-menu>a,
.nav-menu>.nav-dropdown {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-gray);
  padding: 0.5rem 0.2rem;
  border-radius: 6px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Traceability CTA button at the end of the navbar */
.nav-traceability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  background: var(--primary-gradient);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.18);
  transition: var(--transition-smooth);
}

.nav-traceability svg {
  width: 18px;
  height: 18px;
}

.nav-traceability:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.32);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Keep the CTA compact instead of stretching like nav links */
.nav-menu > a.nav-traceability {
  flex: 0 0 auto;
}

/* (nav-link underline is now in the animation section below) */

/* Navigation Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 100;
  animation: fadeInDown 0.2s ease forwards;
  /* Shift down slightly so it doesn't overlap the navbar border */
  margin-top: 10px;
}

/* Invisible hover bridge — prevents gap between nav link and dropdown */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--text-gray);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.dropdown-content a:hover {
  background: var(--primary-glow);
  color: var(--primary);
  /* Use transform instead of padding-left to avoid layout shift bugs */
  transform: translateX(8px);
}

.nav-dropdown:hover>.dropdown-content {
  display: block;
}

/* Nested Dropdown for Innovations */
.nested-dropdown {
  position: relative;
}

.nested-dropdown>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nested-content {
  display: none;
  position: absolute;
  top: -10px;
  left: 100%;
  min-width: 280px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 101;
  animation: fadeInLeft 0.2s ease forwards;
  margin-left: 10px;
}

/* Invisible hover bridge — prevents gap between parent menu and nested menu */
.nested-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 100%;
  background: transparent;
}

.nested-dropdown:hover>.nested-content {
  display: block;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   DYNAMIC SPA VIEW ENGINE
   ========================================================================== */
/* One-page scroll: every section is stacked and visible. Sections animate
   in on scroll via the reveal system (see app.js). */
.page-section {
  display: block;
  padding: 1.75rem 0;
  scroll-margin-top: 120px;   /* so nav jumps land below the fixed navbar */
}

/* Home hero sits higher so the CTA buttons are visible on load (above the fold) */
#home.page-section {
  padding-top: 7rem;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   1. HOME PAGE STYLING
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem 3rem;
}

.hero-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(7, 11, 19, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: floatBackground 12s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content .badge {
  font-family: 'Outfit', sans-serif;
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05rem;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 750px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Quick Metrics Cards */
.metrics-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0;
  margin-bottom: 6rem;
  position: relative;
  z-index: 10;
}

.metric-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

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

.metric-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Focus Areas Section */
.focus-areas {
  padding-bottom: 6rem;
}

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

.focus-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
}

.focus-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  background: var(--bg-card);
}

.focus-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.focus-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.focus-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   2. ABOUT US & TEAM STYLING
   ========================================================================== */
.about-hero {
  padding-bottom: 6rem;
}

.about-text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight-bar {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.3rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(6, 182, 212, 0.1);
}

.about-text-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Interactive Space Orbit Diagram */
.about-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.visual-container-glow {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 65%);
}

.interactive-circle-diagram {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.core-node {
  position: absolute;
  z-index: 10;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  box-shadow: 0 0 30px var(--primary);
  font-size: 1rem;
}

.orbit-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  padding: 0.2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  cursor: pointer;
  z-index: 5;
}

.orbit-node:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Layout Orbit Positions */
.node-1 {
  top: 10px;
  left: 128px;
}

.node-2 {
  top: 128px;
  right: 10px;
}

.node-3 {
  bottom: 10px;
  left: 128px;
}

.node-4 {
  top: 128px;
  left: 10px;
}

.orbit-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spinSlow 30s linear infinite;
  pointer-events: none;
}

.funding-notice {
  font-size: 0.9rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  border-radius: 10px;
  text-align: center;
}

/* Supported By Incubators Logos Grid */
.supported-by {
  padding-bottom: 6rem;
}

.supported-by h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

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

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.partner-logo {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
}

/* Real institution logos sit on a white tile, scaled to fit without distortion */
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.partner-logo:hover {
  border-color: var(--primary-dark);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

.logo-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Team Grid Layout */
.team-section {
  padding-bottom: 4rem;
}

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

.team-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

/* Team photo container - clips to show only the circular headshot */
.team-photo-wrap {
  height: 200px;
  overflow: hidden;
  background: radial-gradient(circle, var(--bg-card) 0%, var(--bg-panel) 100%);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Images without text caption — still have white padding below ring, crop it */
.team-photo.team-photo--no-caption {
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Images that include caption text below the circle — crop the same way */
.team-photo.team-photo--has-caption {
  width: 100%;
  height: 135%;
  object-fit: cover;
  object-position: center top;
}



.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info .role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ==========================================================================
   3. SOLUTIONS & OFFERINGS TAB SYSTEM
   ========================================================================== */
/* Tab switcher hidden — offerings now stack and reveal on scroll */
.tab-nav-wrapper {
  display: none;
}

.tab-navigation {
  display: flex;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 0.4rem;
  border-radius: 10px;
  gap: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-gray);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-white);
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Tab Pane Transitions */
.tab-content-container {
  position: relative;
}

/* All offering panes are stacked and visible; each reveals on scroll */
.tab-pane {
  display: block;
}

.tab-pane + .tab-pane {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-color);
}

.tab-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.2);
  background: var(--accent-glow);
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.pane-details h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.pane-details p {
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}

/* Check list icons Grid */
.icon-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.icon-list-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-white);
}

.icon-list-item span {
  color: var(--primary);
  font-weight: bold;
}

/* Dashboard Mockup - Tab 1 */
.dashboard-mockup {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding-bottom: 1rem;
}

.dash-header {
  background: var(--bg-card);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.dash-header .dots {
  display: flex;
  gap: 6px;
  margin-right: 1.5rem;
}

.dash-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dash-header .dots .r {
  background: #ef4444;
}

.dash-header .dots .y {
  background: #f59e0b;
}

.dash-header .dots .g {
  background: #10b981;
}

.dash-header .dash-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

.dash-body {
  padding: 1.5rem;
}

.dash-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.d-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.d-stat h5 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.d-stat p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.d-stat p.green-text {
  color: var(--primary);
}

.d-stat p.blue-text {
  color: var(--accent);
}

.flow-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.flow-step {
  text-align: center;
  font-size: 0.75rem;
}

.flow-step span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: var(--bg-card);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 2px;
}

.flow-step.active span {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 0 10px var(--primary);
}

.flow-arrow {
  color: var(--text-muted);
  font-weight: bold;
}

.dash-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
}

.chart-bar {
  flex: 1;
  background: var(--primary-gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.chart-bar:hover {
  opacity: 1;
  box-shadow: 0 0 12px var(--primary-glow);
}

.flow-infographic-caption {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  border-radius: 8px;
}

/* Impact Nodes Grid - Tab 2 */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.impact-node {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.impact-node:hover {
  transform: translateY(-2px);
}

.impact-node.red-glow:hover {
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

.impact-node.green-glow:hover {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.impact-node.purple-glow:hover {
  border-color: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.impact-node.blue-glow:hover {
  border-color: #06b6d4;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.impact-node .icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  display: block;
}

.impact-node h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.impact-node p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Accordion Event Modules - Tab 2 */
.offering-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem;
}

.accordion-item h5 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Training Details - Tab 3 */
.training-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.training-badges span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-white);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

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

.bullet-item {
  font-size: 0.95rem;
}

.bullet-item strong {
  color: var(--text-white);
}

.audience-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.audience-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.audience-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.audience-list li span {
  font-size: 1.2rem;
}

/* ==========================================================================
   INNOVATIONS PAGE STYLING (TAB 4)
   ========================================================================== */
.innovations-layout {
  padding-top: 1rem;
}

.innovations-intro {
  margin-bottom: 4rem;
}

.tech-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05rem;
  margin-bottom: 0.75rem;
}

.innov-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
}

.innov-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(16, 185, 129, 0.15);
  display: block;
  line-height: 1;
}

.innov-text h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.innov-text p {
  margin-bottom: 1rem;
}

.check-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.check-list li span {
  color: var(--primary);
  font-weight: bold;
}

.dev-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.status-dot.pulsing {
  animation: pulseGlow 1.5s infinite alternate;
}

.innov-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--border-color) 50%, rgba(255, 255, 255, 0) 100%);
  margin: 4rem 0;
}

/* AI Camera Simulator */
.ai-camera-container {
  background: #000000;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.camera-stream {
  position: relative;
  height: 240px;
  background: radial-gradient(circle, #0e1724 0%, #03070d 100%);
  overflow: hidden;
}

.laser-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  opacity: 0.8;
  animation: scanVertical 4s ease-in-out infinite;
  z-index: 10;
}

.camera-header {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.rec-dot {
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  animation: pulseGlow 1s infinite alternate;
}

.cam-label {
  font-family: monospace;
  font-size: 0.7rem;
  color: #ffffff;
  letter-spacing: 0.05rem;
}

/* Detection Bounding Boxes Overlay */
.detection-overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detection-overlay .label {
  font-family: monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  padding: 2px 4px;
  border-radius: 2px;
  align-self: flex-start;
}

.detection-overlay .box {
  border: 2px dashed;
  border-radius: 4px;
  box-shadow: 0 0 8px currentColor;
}

#detected-pet {
  top: 50px;
  left: 30px;
}

#detected-pet .label {
  background: var(--primary);
}

#detected-pet .box {
  width: 90px;
  height: 90px;
  color: var(--primary);
}

#detected-pe {
  top: 30px;
  right: 40px;
}

#detected-pe .label {
  background: var(--accent);
}

#detected-pe .box {
  width: 80px;
  height: 80px;
  color: var(--accent);
}

#detected-mlp {
  bottom: 20px;
  left: 120px;
}

#detected-mlp .label {
  background: var(--warn);
}

#detected-mlp .box {
  width: 110px;
  height: 70px;
  color: var(--warn);
}

.animate-warn {
  animation: pulseBorderRed 1.5s infinite alternate;
}

.camera-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem;
}

.camera-stats .stat-item {
  text-align: center;
}

.camera-stats .stat-item p {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 2px 0;
}

.camera-stats .stat-item span {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
}

.camera-stats .stat-item span.green-text {
  color: var(--primary);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* Split Slider Comparison (Innovation 2) */
.slider-comparison-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Background Gradients acting as premium image mockups */
.image-before {
  background: linear-gradient(135deg, #1b263b 0%, #2e1a47 100%);
}

.image-before::after {
  content: '⚡ MIXED IMPURE MLP';
  position: absolute;
  top: 40%;
  left: 10%;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 0.1rem;
}

.image-after {
  background: linear-gradient(135deg, #0f2e21 0%, #064e3b 100%);
  width: 50%;
  /* JS alters this width */
}

.image-after::after {
  content: '🔬 99.4% CLEAR POLYMER';
  position: absolute;
  top: 40%;
  right: 10%;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(16, 185, 129, 0.25);
  letter-spacing: 0.1rem;
}

.slider-label {
  position: absolute;
  bottom: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.label-before {
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-after {
  right: 12px;
  border: 1px solid var(--border-active);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  /* JS alters this position */
  width: 3px;
  height: 100%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  cursor: ew-resize;
  z-index: 10;
}

.handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-panel);
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.slider-instructions {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* Challenges badges */
.challenges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.challenges-grid span {
  font-size: 0.82rem;
  background: var(--warn-glow);
  color: var(--warn);
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
}

.solution-highlights {
  background: var(--primary-glow);
  border-left: 3px solid var(--primary);
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
}

.solution-highlights p {
  margin: 0;
  font-size: 0.92rem;
}

/* Paver Blocks Diagram (Innovation 3) */
.composite-diagram {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.composite-header {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.composite-bar {
  height: 45px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-white);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.composite-bar .segment {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.composite-bar .segment.plastic {
  background: var(--primary-gradient);
}

.composite-bar .segment.flyash {
  background: var(--accent-gradient);
}

.composite-bar .segment.binder {
  background: var(--lime-gradient);
}

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

.comp-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-active);
  padding: 1rem;
  border-radius: 8px;
}

.comp-box.standard {
  border-color: var(--border-color);
  opacity: 0.6;
}

.comp-box h5 {
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.comp-metric {
  font-size: 0.8rem;
  margin: 0 0 4px 0 !important;
}

/* ==========================================================================
   4. EPR & COMPLIANCE PAGE STYLING
   ========================================================================== */
.page-layout-inner {
  padding-bottom: 4rem;
}

.compliance-box-glow {
  background: var(--primary-glow);
  border: 1px solid var(--border-active);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.compliance-box-glow h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.clean-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.clean-bullet-list li {
  font-size: 0.92rem;
}

/* Impact Areas list — inline SVG icons replacing emoji bullets */
.impact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.impact-list .li-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
}

.clean-bullet-list li strong {
  color: var(--text-white);
}

.flowchart-container {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.flowchart-container h4 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.pipeline-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pipe-node {
  width: 100%;
  max-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.pipe-node.active {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.pipe-node h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.pipe-node p {
  font-size: 0.78rem;
  margin: 0;
  color: var(--text-gray);
}

.pipe-arrow {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: bold;
}

/* ==========================================================================
   5. INNOVATION & TECHNOLOGY PAGE STYLING
   ========================================================================== */
.metrics-accent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric-accent-box {
  background: var(--accent-glow);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.metric-accent-box h4 {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.metric-accent-box p {
  font-size: 0.85rem;
  margin: 0;
}

/* Laboratory Glass Animation Mockup */
.lab-visual-mockup {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.lab-glass {
  position: relative;
  width: 140px;
  height: 220px;
  border: 4px solid var(--text-white);
  border-radius: 0 0 16px 16px;
  border-top: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.lab-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 80px;
  height: 4px;
  background: var(--text-white);
}

.layer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
}

.layer-top {
  height: 60px;
  background: rgba(27, 38, 59, 0.8);
}

.layer-mid {
  height: 80px;
  background: rgba(6, 182, 212, 0.55);
}

.layer-bottom {
  height: 60px;
  background: rgba(16, 185, 129, 0.75);
}

.bubbles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 10%, rgba(0, 0, 0, 0) 10%);
  background-size: 20px 20px;
  animation: bubblesUp 3s linear infinite;
  pointer-events: none;
}

.tech-caption {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. SUSTAINABILITY & IMPACT STYLING
   ========================================================================== */
.impact-metric-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.impact-metric-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.impact-metric-card .num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.impact-metric-card h5 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.impact-metric-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* Impact Calculator */
.calculator-container {
  margin-top: 4rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.calculator-container h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.calculator-container p {
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.input-group input[type="number"] {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.input-group input[type="number"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

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

.c-res {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.c-res h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.c-res p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
}

/* ==========================================================================
   7. PARTNERS & INDUSTRIES STYLING
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.ind-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.ind-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.ind-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.ind-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ind-card p {
  font-size: 0.9rem;
  margin: 0;
}

.cta-banner {
  background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid var(--border-active);
  padding: 4rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h3 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   8. CONTACT US & FORM STYLING
   ========================================================================== */
.contact-details h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-details p {
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.c-method {
  display: flex;
  gap: 1.5rem;
}

.c-method .icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-method h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.c-method p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.c-method a:hover {
  color: var(--primary);
}

/* Form floating labels systems */
.contact-form-container {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-white);
}

.contact-form-container .input-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container select,
.contact-form-container textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 10px var(--primary-glow);
}

.contact-form-container label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  pointer-events: none;
}

/* Floating behavior when active */
.contact-form-container input:focus~label,
.contact-form-container input:not(:placeholder-shown)~label,
.contact-form-container textarea:focus~label,
.contact-form-container textarea:not(:placeholder-shown)~label {
  top: -0.65rem;
  left: 0.75rem;
  font-size: 0.75rem;
  background: var(--bg-panel);
  padding: 0 0.4rem;
  color: var(--primary);
  font-weight: 600;
}

/* Select element float fix */
.contact-form-container select~.select-label {
  top: 1rem;
}

.contact-form-container select:focus~.select-label,
.contact-form-container select:valid~.select-label {
  top: -0.65rem;
  left: 0.75rem;
  font-size: 0.75rem;
  background: var(--bg-panel);
  padding: 0 0.4rem;
  color: var(--primary);
  font-weight: 600;
}

/* Error States styling */
.contact-form-container .error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--warn);
  margin-top: 0.35rem;
  font-weight: 500;
}

.contact-form-container .input-group.invalid input,
.contact-form-container .input-group.invalid select,
.contact-form-container .input-group.invalid textarea {
  border-color: var(--warn);
}

.contact-form-container .input-group.invalid .error-msg {
  display: block;
}

.btn-submit {
  width: 100%;
}

/* Form success transitions */
.success-card {
  display: none;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 80%;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-card.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.contact-form-container.submitted form {
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px var(--primary-glow);
}

.success-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.success-card p {
  margin-bottom: 2rem;
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS SYSTEM
   ========================================================================== */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes rotateLogo {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes floatBackground {
  0%   { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-45%, -55%) scale(1.1); }
}

@keyframes scanVertical {
  0%   { top: 0%; }
  50%  { top: 100%; }
  100% { top: 0%; }
}

@keyframes pulseGlow {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1;   }
}

@keyframes pulseBorderRed {
  0%   { border-color: rgba(239,68,68,0.4); box-shadow: 0 0 4px  rgba(239,68,68,0.2); }
  100% { border-color: rgba(239,68,68,1);   box-shadow: 0 0 12px rgba(239,68,68,0.5); }
}

@keyframes bubblesUp {
  0%   { background-position: 0px  140px; }
  100% { background-position: 0px -140px; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ---- New Rich Keyframes ---- */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0);     }
}

@keyframes revealRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0);    }
}

@keyframes revealScale {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1);    }
}

@keyframes shimmerGradient {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes borderPulseGreen {
  0%   { box-shadow: 0 0 0   0 rgba(16,185,129,0.3); }
  60%  { box-shadow: 0 0 0 10px rgba(16,185,129,0);   }
  100% { box-shadow: 0 0 0   0 rgba(16,185,129,0);   }
}

@keyframes iconBounce {
  0%,100% { transform: translateY(0); }
  40%     { transform: translateY(-8px); }
  60%     { transform: translateY(-4px); }
}

@keyframes counterPop {
  0%  { transform: scale(1);    }
  50% { transform: scale(1.12); }
  100%{ transform: scale(1);    }
}

@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

@keyframes floatParticle {
  0%   { transform: translateY(0)   rotate(0deg);   opacity: 0.6; }
  50%  { transform: translateY(-80px) rotate(180deg); opacity: 0.2; }
  100% { transform: translateY(-160px) rotate(360deg); opacity: 0;   }
}

@keyframes navUnderlineSlide {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ==========================================================================
   PAGE LOAD ANIMATION UTILITIES
   ========================================================================== */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}
.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}
.animate-slide-up-delay {
  opacity: 0;
  animation: slideUp 0.8s ease-out 0.2s forwards;
}
.animate-slide-up-delay-2 {
  opacity: 0;
  animation: slideUp 0.8s ease-out 0.4s forwards;
}

/* ==========================================================================
   SCROLL-REVEAL SYSTEM
   Elements start invisible; JS adds .revealed when they enter the viewport.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ==========================================================================
   ENHANCED HERO GRADIENT TEXT SHIMMER
   ========================================================================== */
.gradient-text {
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--accent)  40%,
    #8b5cf6        70%,
    var(--primary) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerGradient 4s linear infinite;
}

/* ==========================================================================
   ENHANCED BUTTON EFFECTS
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
}

/* Ripple on click — JS injects a .ripple span */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}
.btn-secondary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(6,182,212,0.2);
}

/* ==========================================================================
   ENHANCED CARD HOVER EFFECTS
   ========================================================================== */

/* Focus cards – icon bounces on hover */
.focus-card:hover .focus-icon {
  animation: iconBounce 0.5s ease;
  display: inline-block;
}

/* Metric cards – number pops on hover */
.metric-card:hover .metric-number {
  animation: counterPop 0.4s ease;
  color: var(--primary);
}

/* Team cards – subtle photo zoom */
.team-card:hover .team-photo {
  transform: scale(1.07);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.team-photo {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* Team card – glowing green border pulse on hover */
.team-card:hover {
  animation: borderPulseGreen 1.2s ease forwards;
}

/* Nav link animated underline — only for direct nav-menu links, not dropdown items */
.nav-menu > a.nav-link,
.nav-dropdown > a.nav-link {
  position: relative;
}
.nav-menu > a.nav-link::after,
.nav-dropdown > a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav-menu > a.nav-link:hover::after,
.nav-menu > a.nav-link.active::after,
.nav-dropdown > a.nav-link:hover::after,
.nav-dropdown > a.nav-link.active::after {
  transform: scaleX(1);
}

/* ==========================================================================
   SECTION HEADERS – animated gradient accent line
   ========================================================================== */
.section-header {
  position: relative;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}

/* ==========================================================================
   FLOATING PARTICLE CANVAS (background hero layer)
   ========================================================================== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* Ensure main content sits above the particle canvas.
   NOTE: do NOT include .navbar here. The navbar already has its own
   `position: fixed; z-index: 1000` (defined above) which keeps it — and its
   dropdown menus — above .content-container. Resetting it to z-index:1 made the
   navbar tie with .content-container, and since .content-container comes later
   in the DOM it painted on top, swallowing hover over the dropdown items so the
   menus vanished as you moved the pointer toward them. */
.content-container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TAB BUTTON – animated active indicator
   ========================================================================== */
.tab-btn {
  position: relative;
  overflow: hidden;
}
.tab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0;
  border-radius: inherit;
  transition: opacity 0.35s ease;
}
.tab-btn:hover::before  { opacity: 0.08; }
.tab-btn.active::before { opacity: 0; } /* gradient bg already applied */

/* ==========================================================================
   LOGO BOX / PARTNER LOGO – shimmer sweep on hover
   ========================================================================== */
.partner-logo {
  position: relative;
  overflow: hidden;
}
.partner-logo::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.partner-logo:hover::after {
  left: 150%;
}



/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {

  .grid-2,
  .innov-detail-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    margin-top: 2rem;
  }

  .metrics-container {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #090e1a;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.mobile-active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-3,
  .focus-grid,
  .logos-grid,
  .team-grid,
  .industries-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .metric-card {
    padding: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .calc-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

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

/* ==========================================================================
   PREMIUM MICRO-INTERACTIONS & THEMATIC POLISH  (added)
   Scroll progress · 3D card tilt + glare · flowing gradient headline ·
   magnetic + shine buttons · reduced-motion safety net.
   All emerald → cyan → violet to match the brand / circular-flow theme.
   ========================================================================== */

/* ---- 1. Scroll progress bar (a brand-coloured "circular journey" sweep) ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--primary), var(--accent) 55%, #8b5cf6);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.55);
  z-index: 2000;          /* above the fixed navbar (z-index: 1000) */
  pointer-events: none;
  will-change: transform;
}

/* ---- 2. 3D cursor tilt + moving glare on cards ----
   JS adds .tilt and injects a .card-glare span; transforms are set inline. */
.tilt {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              background 0.4s ease;
  will-change: transform;
}
.card-glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%),
              rgba(16, 185, 129, 0.20) 0%,
              rgba(8, 145, 178, 0.12) 32%,
              rgba(16, 185, 129, 0) 62%);
}

/* ---- 3. Hero headline: continuously flowing gradient (waste → value) ----
   Overrides the static .gradient-text defined earlier in the file. */
.gradient-text {
  background: linear-gradient(120deg,
              var(--primary) 0%, var(--accent) 32%,
              #8b5cf6 64%, var(--primary) 100%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextFlow 8s linear infinite;
}
@keyframes gradientTextFlow {
  to { background-position: 260% center; }
}

/* ---- 4. Button shine sweep on hover (pairs with the existing click ripple).
   .btn already has position: relative; overflow: hidden defined earlier. ---- */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg,
              transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:hover::after {
  left: 140%;
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Magnetic buttons (JS-driven) need a snappy transform response. */
.btn.magnetic {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
}

/* ---- 5. Respect users who prefer reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-progress,
  .card-glare {
    display: none !important;
  }
}

/* ==========================================================================
   INTRO SPLASH SCREEN  (added)
   Full-screen overlay holding the recycling-animation page in an iframe.
   JS adds .hide to fade it out, then removes it.
   ========================================================================== */
#splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #eaf7f0;            /* matches the splash background — no flash */
  opacity: 1;
  transition: opacity 0.7s ease;
}
#splash-overlay iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#splash-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   CUSTOM VISUALS  (added)
   Unified SVG icon set · circular-economy loop · metric gauges ·
   innovation process diagrams.
   ========================================================================== */

/* ---- Unified SVG line-icon set (replaces emoji) ---- */
.focus-icon,
.ind-icon {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--primary-glow);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.focus-icon svg,
.ind-icon svg {
  width: 28px;
  height: 28px;
}
.focus-card:hover .focus-icon,
.ind-card:hover .ind-icon {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.c-method .icon {
  color: var(--primary);
}
.c-method .icon svg {
  width: 24px;
  height: 24px;
}
.success-icon svg {
  width: 32px;
  height: 32px;
}

/* ---- Circular-economy loop graphic (About visual) ---- */
.circular-loop {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.loop-ring-solid {
  stroke: var(--border-color);
  stroke-width: 1.5;
}
.loop-ring {
  stroke: var(--primary);
  stroke-width: 2;
  stroke-dasharray: 5 11;
  opacity: 0.55;
}
.loop-arrow {
  fill: var(--primary);
  opacity: 0.65;
}
.loop-dot {
  fill: var(--primary);
}
.hub-text {
  fill: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
}
.stage-node {
  fill: var(--bg-panel);
  stroke: var(--border-color);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}
.stage-ico {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-label {
  fill: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
}
.stage {
  cursor: default;
}
.stage:hover .stage-node {
  stroke: var(--primary);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.45));
}

/* ---- Metric impact gauges (radial progress rings around each number) ---- */
.metric-gauge {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 1.2rem;
}
.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);   /* start the fill at 12 o'clock */
}
.gauge-track {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 6;
}
.gauge-fill {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}
.gauge-center .metric-icon svg {
  width: 30px;
  height: 30px;
  margin-bottom: 0.15rem;
}
.gauge-center .metric-number {
  font-size: 1.95rem;
  margin-bottom: 0;
}

/* ---- Innovation process diagrams ---- */
.innov-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.proc-diagram {
  width: 100%;
  max-width: 440px;
  height: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
}
.proc-panel {
  fill: var(--bg-panel);
  stroke: var(--border-color);
  stroke-width: 1.5;
}
.proc-tag,
.proc-label {
  fill: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}
.proc-tag { font-size: 11px; letter-spacing: 0.5px; }
.proc-label { font-size: 12px; }
.proc-strong { fill: var(--text-white); }
/* AI sorter */
.proc-lens { fill: var(--primary); }
.proc-lens-ring { fill: none; stroke: var(--primary); stroke-width: 2; opacity: 0.5; }
.proc-beam { fill: url(#beamGrad); }
.proc-scanline { stroke: var(--primary); stroke-width: 2; }
.proc-detect rect { fill: none; stroke: var(--primary); stroke-width: 2; stroke-dasharray: 5 4; }
.proc-detect-label { fill: var(--primary); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11px; }
.proc-belt { fill: #1e293b; }
.proc-roller { fill: var(--primary); }
.proc-belt-dash { stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; stroke-dasharray: 6 22; }
.proc-item { fill: var(--accent); }
.proc-chip { fill: #8b5cf6; }
/* arrows */
.proc-arrow { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* solvent */
.proc-glass { fill: var(--bg-panel); stroke: var(--text-muted); stroke-width: 2.5; stroke-linejoin: round; }
.proc-liquid { fill: rgba(16, 185, 129, 0.22); }
.proc-bubble { fill: var(--primary); }
.proc-pellet { fill: var(--primary); }
/* paver */
.proc-ash { fill: var(--text-muted); opacity: 0.55; }
.proc-press { fill: #94a3b8; }
.proc-mould { fill: var(--bg-panel); stroke: var(--text-muted); stroke-width: 2; }
.proc-block-top { fill: #34d399; }
.proc-block-face { fill: #059669; }
.proc-block-side { fill: #047857; }

/* ---- Offerings-tab diagrams (EPR / Events / Training) ---- */
.pane-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.proc-node {
  fill: var(--bg-panel);
  stroke: var(--border-color);
  stroke-width: 1.8;
}
.proc-ico {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.proc-ico-w {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* EPR */
.proc-doc { fill: var(--bg-panel); stroke: var(--primary); stroke-width: 2; }
.proc-doc-line { stroke: var(--text-muted); stroke-width: 2; opacity: 0.45; stroke-linecap: round; }
.proc-seal { fill: var(--primary); }
.proc-trace { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 6; opacity: 0.7; }
.proc-trace-dot { fill: var(--accent); }
/* Events */
.proc-banner { fill: var(--primary); }
.proc-post { stroke: var(--text-muted); stroke-width: 2.5; stroke-linecap: round; }
.proc-bin1 { fill: var(--accent); }
.proc-bin2 { fill: var(--primary); }
.proc-bin3 { fill: #94a3b8; }
.proc-binlid { fill: #64748b; }
.proc-badge { fill: #ecfdf5; stroke: var(--primary); stroke-width: 1.5; }
/* Training */
.proc-screen { fill: var(--bg-panel); stroke: var(--border-color); stroke-width: 1.8; }
.proc-bar { fill: var(--primary); }
.proc-bar-a { fill: var(--accent); }
.proc-person { fill: #cbd5e1; }
.proc-person-head { fill: #94a3b8; }
.proc-ripple { fill: none; stroke: var(--primary); stroke-width: 2; }