/* ==========================================================================
   CIRCUFLOW UI COMPONENTS STYLESHEET (LIGHT THEME)
   ========================================================================== */

/* ==========================================================================
   HERO MULTI-SLIDE CAROUSEL & CIRCULAR FLOW ENGINE
   ========================================================================== */
.section-hero-slider {
  padding: 124px 0 48px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 1. Hero Slide Selector Category Tabs */
.hero-slider-nav-container {
  margin-bottom: 28px;
  position: relative;
  z-index: 10;
}

.hero-slide-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-slide-tabs::-webkit-scrollbar {
  display: none;
}

.hero-slide-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-slide-tab:hover {
  color: var(--accent-emerald);
  background: var(--bg-surface-elevated);
}

.hero-slide-tab.active {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  border-color: transparent;
}

.slide-tab-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  transition: all var(--transition-fast);
}

.hero-slide-tab.active .slide-tab-num {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 2. Hero Slides Wrapper & Individual Slide States */
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.hero-slide {
  display: none;
  opacity: 0;
  width: 100%;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  animation: heroSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
  max-width: 100%;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.6);
  animation: pulseDot 1.8s infinite;
  flex-shrink: 0;
}

.hero-title {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.1vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  width: 100%;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
}

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

/* 3. Hero Visual Cards (Shared Base + Slide Variants) */
.hero-visual-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

/* Slide 1 Visual: Linear vs Circular Canvas */
.visual-mode-toggle {
  display: flex;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 18px;
  gap: 4px;
  width: 100%;
}

.mode-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.mode-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.hero-canvas-container {
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.loop-graphic {
  position: relative;
  width: 195px;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--border-glow);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.orbit-node:hover {
  transform: scale(1.15);
}

.node-1 { top: -18px; left: 50%; transform: translateX(-50%); }
.node-2 { top: 50%; right: -18px; transform: translateY(-50%); }
.node-3 { bottom: -18px; left: 50%; transform: translateX(-50%); }
.node-4 { top: 50%; left: -18px; transform: translateY(-50%); }

.loop-center {
  text-align: center;
  z-index: 2;
}

.loop-center-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.loop-center-lbl {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
}

/* Slide 2 Visual: EPR Progress Bars */
.epr-progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0;
  width: 100%;
}

.epr-progress-item {
  width: 100%;
}

.epr-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.epr-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 700;
}

.epr-bar-track {
  width: 100%;
  height: 9px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.epr-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide 3 Visual: Municipal MRF Dials */
.mrf-metric-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 10px 0;
  width: 100%;
}

.mrf-pill-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
}

.mrf-pill-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1.1;
}

.mrf-pill-lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Slide 4 Visual: Industrial RDF Specs Grid */
.rdf-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 10px 0;
  width: 100%;
}

.rdf-spec-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.rdf-spec-lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.rdf-spec-num {
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Shared Mini Stats Bar inside Hero Cards */
.hero-stats-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.stat-mini-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.stat-mini-val {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.stat-mini-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 4. Hero Slider Bottom Navigation Controls & Progress Bar */
.hero-slider-bottom {
  margin-top: 28px;
  position: relative;
  z-index: 10;
}

.hero-slider-progress-track {
  width: 100%;
  height: 3px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 16px;
}

.hero-slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.hero-slider-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  width: 48px;
  background: var(--gradient-brand);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.hero-arrow-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.hero-arrow-btn:hover {
  background: var(--accent-emerald);
  color: #ffffff;
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Global Impact Metrics Ticker Strip */
.metrics-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 38px 0;
  position: relative;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  width: 100%;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
}

.metric-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 18px;
  border-left: 3px solid var(--accent-emerald);
}

.metric-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  margin-bottom: 10px;
}

.metric-number-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.metric-unit {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.metric-label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Interactive EPR & Carbon Calculator Component */
.calc-container {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-main);
  flex-wrap: wrap;
  gap: 6px;
}

.calc-val-badge {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--bg-surface-elevated);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
}

/* Custom Range Slider */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Segment Selector */
.segment-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.segment-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  width: 100%;
}

.segment-btn.active, .segment-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.segment-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

/* Results Output Card */
.calc-results-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.calc-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.calc-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-subtle);
  flex-wrap: wrap;
  gap: 6px;
}

.result-row:last-child {
  border-bottom: none;
}

.result-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

.result-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Interactive 5-Stage Circular Material Flow Pipeline */
.flow-pipeline {
  margin-top: 36px;
  width: 100%;
  max-width: 100%;
}

.pipeline-tabs {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 36px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.pipeline-tabs::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-medium);
  z-index: 0;
}

.pipeline-step-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 110px;
  flex-shrink: 0;
}

.step-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.pipeline-step-tab.active .step-circle {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transform: scale(1.12);
}

.step-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.pipeline-step-tab.active .step-label {
  color: var(--accent-emerald);
}

.pipeline-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.pipeline-specs-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 22px;
  width: 100%;
}

.pipeline-specs-box h5 {
  font-size: 0.9rem;
  color: var(--accent-emerald);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 6px;
}

.spec-item span:first-child { color: var(--text-muted); }
.spec-item span:last-child { font-weight: 700; color: var(--text-main); font-family: var(--font-mono); }

/* Solutions Category Tabs & Cards */
.solution-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.solution-tab-btn {
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}

.solution-tab-btn.active, .solution-tab-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: var(--bg-surface-elevated);
}

.solution-tab-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.solution-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.solution-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.solution-card-icon svg {
  width: 24px;
  height: 24px;
}

.solution-card h4 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.sol-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
}

.sol-feat-item svg {
  color: var(--accent-emerald);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* PCR Granules Showcase & Material Catalog */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.product-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.polymer-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-medium);
  color: var(--accent-emerald);
}

.grade-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: #fef3c7;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.product-card h4 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.tech-specs-mini {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.8rem;
  width: 100%;
}

.spec-mini-k { color: var(--text-muted); }
.spec-mini-v { color: var(--text-main); font-weight: 700; font-family: var(--font-mono); }

/* Worker Welfare Spotlight */
.safai-banner {
  background: linear-gradient(135deg, #e8f8ee 0%, #f0fdf4 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.safai-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.safai-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}

.safai-card-val {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.safai-card-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   BLOG & KNOWLEDGE HUB COMPONENTS
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.blog-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumbnail {
  height: 190px;
  background: var(--bg-surface-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumb-img {
  transform: scale(1.06);
}

.product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid var(--border-subtle);
  display: block;
  transition: transform 0.4s ease;
}

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

.solution-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
  display: block;
}

.blog-thumb-pattern {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(8, 145, 178, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
}

.blog-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-xs);
}

.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--accent-emerald);
}

.blog-title {
  font-size: 1.16rem;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--accent-emerald);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Featured Blog Hero Card */
.featured-blog-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 50px;
  width: 100%;
}

/* Pagination */
.pagination-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn.active, .page-btn:hover {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Single Blog Post Article Styles */
.article-header {
  max-width: 840px;
  margin: 0 auto 36px;
  text-align: center;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

.article-content h2 {
  margin: 34px 0 16px;
  font-size: 1.6rem;
}

.article-content h3 {
  margin: 26px 0 14px;
  font-size: 1.3rem;
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text-body);
}

.article-content blockquote {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--accent-emerald);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 26px 0;
}

/* FAQ Accordion Component */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  width: 100%;
}

.faq-item.open {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-emerald);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 260px;
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Modal Dialogues */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 38, 28, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px 26px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform var(--transition-smooth);
}

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

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(100vw - 40px);
}

.toast {
  background: #ffffff;
  border: 1px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform var(--transition-smooth);
  font-size: 0.88rem;
  font-weight: 600;
}

.toast.show {
  transform: translateX(0);
}

/* ==========================================================================
   CLIENT RUNNING LOGOS MARQUEE COMPONENT
   ========================================================================== */
.marquee-section {
  padding: 42px 0;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-header {
  text-align: center;
  margin-bottom: 24px;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.marquee-item:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.marquee-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* ==========================================================================
   ENTERPRISE TESTIMONIALS SCROLLABLE CAROUSEL COMPONENT
   ========================================================================== */
.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 20px 4px;
  cursor: grab;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  user-select: none;
}

.testimonial-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-emerald);
  flex-shrink: 0;
  display: block;
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--text-main);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

/* Slider Controls (Previous / Next / Dots) */
.slider-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 0 4px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--accent-emerald);
}

.slider-nav-btns {
  display: flex;
  gap: 12px;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.slider-nav-btn:hover {
  background: var(--accent-emerald);
  color: #ffffff;
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   PAN-INDIA CIRCULAR PROCESSING NETWORK & MAP COMPONENT
   ========================================================================== */
.india-map-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.india-map-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .india-map-grid {
    grid-template-columns: 1fr;
  }
}

.india-map-visual-wrap {
  position: relative;
  background: var(--bg-surface-elevated);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-subtle);
}

@media (max-width: 1024px) {
  .india-map-visual-wrap {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

.india-map-visual-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 540px;
  object-fit: contain;
  padding: 12px;
  display: block;
  transition: transform 0.6s ease;
}

.india-map-visual-wrap:hover .india-map-visual-img {
  transform: scale(1.02);
}

.india-map-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.india-map-sidebar {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

@media (max-width: 640px) {
  .india-map-sidebar {
    padding: 22px 18px;
  }
}

.india-hub-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.india-hub-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-elevated);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.india-hub-btn:hover {
  border-color: var(--accent-emerald);
  background: #ffffff;
  transform: translateX(4px);
}

.india-hub-btn.active {
  border-color: var(--accent-emerald);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.india-hub-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  display: block;
}

.india-hub-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.india-hub-pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(5, 150, 105, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Facility Banner Showcase */
.india-facility-strip {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .india-facility-strip {
    grid-template-columns: 1fr;
  }
}

.india-facility-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.india-facility-content {
  padding: 28px;
}

@media (max-width: 640px) {
  .india-facility-content {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Mobile Responsive Spacing & Width Fixes (Zero Horizontal Overflow)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .pipeline-detail-card { grid-template-columns: 1fr; }
  .safai-banner { grid-template-columns: 1fr; gap: 28px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-blog-card { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-visual-card { padding: 20px 16px; }
  .pipeline-tabs::before { display: none; }
  .pipeline-detail-card { padding: 22px 16px; }
  .safai-banner { padding: 24px 18px; }
  .featured-blog-card { padding: 24px 18px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .segment-selector { grid-template-columns: 1fr; }
  .calc-container { padding: 20px 14px; }
  .calc-results-card { padding: 20px 14px; }
  .hero-trust-bar { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 22px 14px; }
}

@media (max-width: 480px) {
  .hero-canvas-container { height: 230px; }
  .loop-graphic { width: 170px; height: 170px; }
  .orbit-node { width: 32px; height: 32px; }
  .node-1 { top: -16px; }
  .node-2 { right: -16px; }
  .node-3 { bottom: -16px; }
  .node-4 { left: -16px; }
  .loop-center-val { font-size: 1.3rem; }
  .loop-center-lbl { font-size: 0.68rem; }
  .safai-stat-cards { grid-template-columns: 1fr; }
  .tech-specs-mini { grid-template-columns: 1fr; }
  .faq-question { font-size: 0.95rem; padding: 14px 16px; }
  .faq-answer { padding: 0 16px; }
}
