﻿:root {
  --primary-color: #047857;        /* Deep forest emerald */
  --primary-glow: rgba(16, 185, 129, 0.2);
  --secondary-color: #16a34a;      /* Fresh emerald green */
  --bg-color: #f8fafc;             /* Soft sky white */
  --bg-secondary: #ffffff;         /* Clean card white */
  --text-main: #0f172a;            /* Deep navy text */
  --text-muted: #475569;           /* Muted slate */
  --accent: #22c55e;               /* Bright green */
  --accent-glow: rgba(34, 197, 94, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(148, 163, 184, 0.18);
  --glass-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --glass-hover-border: rgba(16, 185, 129, 0.24);
  --gradient-premium: linear-gradient(135deg, #16a34a 0%, #10b981 50%, #047857 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent), #84cc16);
  --gradient-text: linear-gradient(135deg, #10b981, #22c55e, #86efac);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative; /* For absolute positioning of roots */
}


#pollen-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.bloom-element {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bloom-element.bloomed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* To ensure content is above the roots */
section, .navbar, .footer {
    position: relative;
    z-index: 1;
}

/* Typography & Utilities */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.text-teal { color: var(--secondary-color); }
.font-mono { font-family: monospace; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-premium);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
  border: 1px solid rgba(110, 231, 183, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--primary-glow), 0 0 40px var(--accent-glow);
  border-color: var(--accent);
}

/* Large rounded Explore CTA used across section headers */
.btn-explore {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e 0%, #10b981 48%, #047857 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 18px 40px rgba(4,120,87,0.12), 0 6px 18px rgba(16,185,129,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.2s ease;
}

.btn-explore:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(4,120,87,0.16), 0 8px 26px rgba(16,185,129,0.08);
}

.btn-explore:focus {
  outline: 3px solid rgba(16,185,129,0.14);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .btn-explore { padding: 0.7rem 1.2rem; font-size: 0.95rem; }
}

.btn-secondary {
  background: transparent;
  color: rgba(15, 23, 42, 0.88);
  border: none;
  box-shadow: none;
  padding: 0.85rem 0;
  min-width: auto;
}

.btn-secondary:hover {
  color: var(--primary-color);
  background: rgba(16, 185, 129, 0.08);
}

.btn-block { width: 100%; }

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 5%;
  z-index: 1000;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.navbar.scrolled {
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.nav-links-capsule {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Make the navbar feel more premium */
.nav-logo {
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: none;

  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.navbar.scrolled .nav-logo {
  border-color: transparent;
  background: transparent;
}

.nav-link {
  padding: 0.4rem 0.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links-capsule {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 5px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

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


/* removed duplicate nav-links styling; using nav-links-capsule instead */


.nav-link {

  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}


.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {

  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 5% 3.5rem;
  background: url('assets/hero/hero-bg.png') center/cover no-repeat;
  background-position: center 55%;
  background-color: #eef2f7;
  background-attachment: fixed;
}

/* Gentle multi-stop gradient overlay (warm green â†’ pale blue) placed above live blobs and below the hero overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* stronger, multi-stop linear tint to give the hero a cohesive brand wash */
  background: linear-gradient(120deg, rgba(34,197,94,0.20) 0%, rgba(99,179,219,0.14) 55%, rgba(150,220,240,0.10) 100%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 1;
}

/* Soft radial highlight slightly right-of-center to draw attention to the hero copy */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 42% 58%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.08) 18%, transparent 40%);
  z-index: 2.2;
  pointer-events: none;
  mix-blend-mode: normal;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* subtle vignette to focus center + reduced overall darkness so the gradient shows while retaining contrast for text */
  background:
    radial-gradient(ellipse at center, rgba(10,30,20,0) 28%, rgba(10,30,20,0.06) 60%, rgba(10,30,20,0.12) 100%),
    radial-gradient(circle at 30% 28%, rgba(15, 23, 42, 0.18), transparent 20%),
    radial-gradient(circle at 72% 28%, rgba(16, 185, 129, 0.10), transparent 16%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.02) 36%, rgba(15, 23, 42, 0.12) 100%);
  z-index: 3;
}

/* Hero Live Bioluminescent Background */
.hero-live-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-live-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(34, 197, 94, 0.24) 0%, transparent 18%),
    radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 14%);
  background-size: 100px 100px, 160px 160px;
  opacity: 0.92;
  animation: particleShift 24s linear infinite;
}

.hero-container {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
  padding-bottom: 2rem;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 1;
  mix-blend-mode: normal;
  animation: floatBlob 16s infinite alternate ease-in-out, glowPulse 6s infinite ease-in-out;
  box-shadow: 0 0 160px rgba(34, 197, 94, 0.55);
}

.blob-1 {
  top: -18%;
  left: -14%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.96) 0%, rgba(34, 197, 94, 0.55) 18%, rgba(34, 197, 94, 0) 50%);
  animation-duration: 16s;
}

.blob-2 {
  bottom: -18%;
  right: -14%;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0%, rgba(16, 185, 129, 0.52) 18%, rgba(16, 185, 129, 0) 50%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.blob-3 {
  top: 18%;
  left: 40%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.96) 0%, rgba(79, 209, 197, 0.56) 18%, rgba(79, 209, 197, 0) 50%);
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes particleShift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 260px 190px, -180px -150px; }
}

.hero-wave {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: driftWave 30s infinite alternate ease-in-out;
}

.wave-1 {
  width: 44%;
  height: 420px;
  top: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.45) 0%, transparent 70%);
}

.wave-2 {
  width: 50%;
  height: 520px;
  bottom: -12%;
  right: -10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.36) 0%, transparent 72%);
  animation-duration: 34s;
}

.wave-3 {
  width: 36%;
  height: 360px;
  top: 18%;
  left: 42%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.4) 0%, transparent 70%);
  animation-duration: 26s;
}


@keyframes driftWave {
  from { transform: translateX(0) translateY(0); }
  to { transform: translateX(64px) translateY(-36px); }
}

@keyframes dotFloat {
  0%, 100% { transform: translateY(0); opacity: 0.95; }
  50% { transform: translateY(-28px); opacity: 0.6; }
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(120px, -140px) scale(1.25);
  }
  66% {
    transform: translate(-120px, 120px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; filter: blur(90px); }
  50% { opacity: 0.75; filter: blur(80px); }
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  text-align: left;
  position: relative;
  z-index: 5;
  max-width: 680px;
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-support {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-support-panel {
  position: relative;
  width: 100%;
  max-width: 640px; /* allow wider glass panel on larger screens */
  padding: 1.75rem 2rem;
  border-radius: 1.25rem;
  /* dark premium panel with deep green tones */
  background: linear-gradient(145deg, rgba(7,25,36,0.75), rgba(4,46,24,0.68));
  border: 1px solid rgba(110, 231, 183, 0.15);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 24px 60px rgba(4,120,87,0.15), 0 8px 24px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(248, 250, 252, 0.95);
  z-index: 10; /* ensure glass panel sits above hero overlays */
}


.hero-support-panel p {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  line-height: 1.9;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}










.hero-title {
  font-size: clamp(3rem, 4.8vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 1rem;
  color: #071924;
  text-shadow: 0 24px 40px rgba(15, 23, 42, 0.14);
  letter-spacing: -0.04em;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-text {
  font-size: 1.01rem;
  color: rgba(15, 23, 42, 0.96);
  line-height: 2.2;
  max-width: 720px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.14);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-actions .btn {
  min-width: 170px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-divider {
    display: none;
  }

  .hero-copy,
  .hero-support {
    text-align: left;
  }

  .hero-support-panel {
    padding: 1.75rem;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse-icon {
  width: 24px; height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.wheel {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 6px;
  background-color: var(--text-muted);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* General Section */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 5%;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  /* remove pill background and border for a cleaner look */
  padding: 0; /* remove extra padding so it reads like a plain label */
  background: transparent;
  border: none;
  border-radius: 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

.metric-card {
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.3);
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* About Graphic Container */
.about-graphic {
  position: relative;
  height: 400px;
}

.graphic-card {
  position: absolute;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.main-graphic {
  top: 0; left: 0; right: 20%; bottom: 20%;
  background: linear-gradient(145deg, var(--bg-secondary), #f8fafc);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.overlay-graphic {
  bottom: 0; right: 0; width: 45%; height: 45%;
  z-index: 2;
  backdrop-filter: blur(10px);
  background: rgba(30, 41, 59, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Graphic Internal Details */
.graphic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.5rem;
}

.status-indicator {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.microscope-id {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.dna-strand {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0 2rem;
  position: relative;
  height: 60px;
}

.dna-node {
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
  animation: dnaSpin 2s infinite ease-in-out alternate;
  animation-delay: calc(var(--i) * 0.1s);
}

.data-readout {
  background: rgba(15, 23, 42, 0.06);
  padding: 1rem;
  border-radius: 0.5rem;
}

.readout-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.readout-label { color: var(--text-muted); }

/* Circle Chart Overlay */
.circle-chart { width: 80px; height: 80px; }
.circle-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 8; }
.circle-progress { 
  fill: none; 
  stroke: var(--secondary-color); 
  stroke-width: 8; 
  stroke-dasharray: 250;
  stroke-dashoffset: 40; /* Animates 87% */
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: circleDraw 2s ease-out forwards;
}

.chart-content {
  text-align: center;
  margin-top: 0.5rem;
}

.chart-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.chart-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Separate Slide Carousels (Technology + Solutions) */
.slide-carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.slide-track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  box-shadow: var(--glass-shadow);
}

.slide-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.slide-panel {
  width: 100%;
  flex-shrink: 0;
  padding: 4.5rem 3rem;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide-panel.active {
  opacity: 1;
}

.slide-section-header {
  margin-bottom: 1.75rem;
}

/* CTA container used under section headers (e.g., Explore About/Technology/Solutions) */
.section-cta {
  margin-top: 1rem;
  margin-bottom: 3rem; /* increased spacing to separate CTA from following content */
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .section-cta { margin-bottom: 1.5rem; }
}

.slide-panel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.slide-content-grid {
  align-items: center;
}

.slide-nav {
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .slide-carousel { padding-left: 0; padding-right: 0; }
  .slide-panel { padding: 3.25rem 1.25rem; }
  .slide-panel-title { font-size: 1.25rem; }
  .slide-nav { margin-top: 1.25rem; }

  /* Make any nested 2-col solutions layout stack nicely inside slides */
  .solutions-grid-two-col { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .slide-panel { padding: 2.75rem 1rem; }
  .slide-panel-title { font-size: 1.15rem; }
}


/* Solutions Section styling */
/* Icon Styling */
.waxy-icon {
  width: 50px;
  height: 50px;
  stroke: var(--secondary-color);
  transition: transform 0.4s ease, stroke 0.4s ease;
}

.waxy-icon-small {
  width: 32px;
  height: 32px;
}

.slide-card:hover .waxy-icon {
  transform: scale(1.1) rotate(5deg);
  stroke: var(--primary-color);
}

.metric-card:hover .waxy-icon-small {
  transform: scale(1.1);
}

/* Solutions Section styling */
.solutions-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 992px) {
  .solutions-grid-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.solutions-visual {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.pulse-indicator-small {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary-color);
  animation: pulse 2s infinite;
}

.panel-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.visual-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-progress-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-main);
}

.stat-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.stat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.readout-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.solutions-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

.checklist-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.checklist-item:hover {
  transform: translateX(10px);
  border-color: var(--glass-hover-border);
  background: rgba(20, 28, 46, 0.9);
  box-shadow: var(--glass-shadow);
}

.checklist-icon-svg {
  width: 36px;
  height: 36px;
  background: rgba(52, 211, 153, 0.1);
  border-radius: 50%;
  padding: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.checklist-icon-svg svg {
  width: 100%;
  height: 100%;
}

.checklist-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
}

.checklist-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Laboratory Carousel Section */
.carousel-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  padding: 4rem 0;
}

.carousel-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 auto;
  padding: 4rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide.active {
  /* active state maintained for dot updates */
}

.slide-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.slide-icon {
  font-size: 3.5rem;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 10px var(--primary-glow));
  color: var(--secondary-color);
}

.slide-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.slide-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.carousel-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 0.75rem;
}

.carousel-dot {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--secondary-color);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--secondary-color);
}

/* About/Metrics Restyling */
.metrics-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about .metrics-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.about .metric-card {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.metric-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 5px var(--primary-glow));
}

/* Compliances Section styling */
.compliances {
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.badge-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--glass-shadow);
}

.badge-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-hover-border);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12), 0 0 20px var(--accent-glow);
}

.badge-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.badge-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.badge-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
}

.contact-form-container {
  background: var(--glass-bg);
  padding: 3rem;
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.contact-info-card {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--glass-border);
  margin-bottom: 2rem;
}

.info-title {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 24px; height: 24px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.info-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.info-text a:hover { color: var(--secondary-color); }

.contact-map-container {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  justify-content: center;
}

.world-map-svg {
  width: 100%;
  height: auto;
  max-height: 220px;
  opacity: 0.85;
}

.map-dot-pulse {
  transform-origin: center;
  animation: mapPing 2s infinite ease-out;
}

@keyframes mapPing {
  0% {
    r: 4px;
    opacity: 0.8;
  }
  100% {
    r: 18px;
    opacity: 0;
  }
}

.map-dot-core {
  r: 4px;
  box-shadow: 0 0 10px var(--secondary-color);
}

.map-label {
  position: absolute;
  bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 1rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-socials { display: flex; gap: 1rem; }
.footer-socials a:hover .social-icon { color: var(--secondary-color); }

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

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--secondary-color); }

.newsletter-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 0.3rem;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem 0.8rem;
  color: var(--text-main);
}
.newsletter-form input:focus { outline: none; }

.newsletter-form button {
  background: var(--primary-color);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}
.newsletter-form button:hover { background: var(--secondary-color); }
.send-icon { width: 18px; height: 18px; }

/* Responsive layout improvements */

/* Tablet / small laptop */
@media (max-width: 1024px) {
  .hero { padding: 4rem 4% 3rem; }
  .hero-title { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  /* Keep the hero-support visible on narrower screens as a centered overlay so its content stays readable */
  .hero-support { display: flex; justify-content: center; }
  .hero-support-panel {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(7,25,36,0.78), rgba(4,46,24,0.72));
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 24px 60px rgba(4,120,87,0.15), 0 8px 24px rgba(15,23,42,0.18);
    border: 1px solid rgba(110, 231, 183, 0.15);
  }
  .hero-support-panel p { font-size: 0.95rem; line-height: 1.75; color: rgba(226,232,240,0.92); }
  .slide-section-header .section-title { font-size: 1.5rem; }
  .slide-section-header .section-subtitle { font-size: 0.98rem; }
  .carousel-track-container { padding: 3rem 0; }
}

/* Mobile - primary breakpoint */
@media (max-width: 768px) {
  /* Mobile nav: show hamburger and hide normal links until toggled */
  .menu-toggle { display: block; }
  /* Animated slide-down navigation for mobile */
  .nav-links-capsule {
    position: absolute;
    top: 64px;
    right: 4%;
    left: 4%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    width: calc(100% - 8%);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);

    /* animation-friendly hiding (avoid display:none) */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 220ms ease, transform 360ms cubic-bezier(0.2,0.8,0.2,1);
    pointer-events: none;
    z-index: 1100;
    display: flex; /* keep layout consistent so children measure correctly */
  }
  .nav-links-capsule.active {
    max-height: 420px; /* large enough to show links; will collapse if less content */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links-capsule .nav-link { padding: 0.75rem 0; }
  /* Slightly staggered children for a smoother feel */
  .nav-links-capsule .nav-link { transition: transform 260ms ease, opacity 220ms ease; }
  .nav-links-capsule.active .nav-link { transform: translateY(0); opacity: 1; }
  .nav-links-capsule .nav-link { transform: translateY(-6px); opacity: 0.85; }

  /* Footer stacks into a single column */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { text-align: center; }

  /* Metrics stack vertically */
  .about .metrics-grid { grid-template-columns: 1fr; gap: 1rem; }
  .metric-card { padding: 1.75rem 1rem; }

  /* Keep carousel layout stable on mobile.
     The JS carousel logic uses a horizontal flex track + translateX.
     Overriding it to display:block causes slides to jump/overlap in production lab section. */
  .carousel-track-container { overflow: hidden; padding: 1.25rem 0; }
  .carousel-track { display: flex; }
  .carousel-slide { flex: 0 0 100%; padding: 1.25rem 1rem; box-sizing: border-box; }
  .carousel-slide .slide-card { max-width: none; margin: 0 auto; border-radius: 1rem; }


  /* CTAs become full width on mobile for easy tapping */
  .btn-explore { width: 100%; display: inline-flex; justify-content: center; }
  .section-cta { margin-bottom: 1.5rem; }

  /* Reduce some large visual spacings */
  .slide-panel { padding: 2.25rem 1rem; }
  .slide-panel-title { font-size: 1.25rem; }
}

/* Small phones */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero { padding: 3.5rem 4% 2.5rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .logo-img { height: 40px; }
  .nav-links-capsule { width: 92%; right: 4%; left: 4%; }
  .newsletter-form { flex-direction: row; }
  .carousel-slide { padding: 1.25rem; }
  .waxy-icon-small { width: 28px; height: 28px; }
  .metric-number { font-size: 1.6rem; }
  .metric-card { padding: 1.25rem; }
  .btn { font-size: 0.95rem; }
  .btn-explore { padding: 0.7rem 1rem; }
}

/* Accessibility: ensure large hit targets on small screens */
@media (hover: none) and (pointer: coarse) {
  .btn, .btn-explore, .carousel-btn { padding: calc(0.8rem + 0.2rem); }
}


.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a { color: inherit; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--text-main); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes dnaSpin {
  from { transform: scaleY(0.2); opacity: 0.5; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes circleDraw {
  to { stroke-dashoffset: 40; } /* 250 * (1 - 0.84) approx */
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Reduced motion (accessibility) */
@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;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}


/* NOTE: Mobile navbar styles were duplicated later in this file, causing conflicting behavior
   (clip-path version vs max-height/opacity version). The conflicting block has been removed.
   The active mobile menu implementation is the earlier `@media (max-width: 768px)` block
   that toggles `.active` with `max-height/opacity/transform`.
*/



@media (max-width: 480px) {
  .navbar { padding: 1rem 4%; }


  .logo-img { height: 40px; }
  .logo-text { font-size: 1.05rem; }

  .hero { padding-left: 4%; padding-right: 4%; }
  .hero-title { font-size: 2.15rem; }

  .section-container { padding: 4.5rem 4% 3rem; }
  .section-title { font-size: 2rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 2.5rem; }

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

  /* Solutions */
  .solutions-grid-two-col { gap: 1.5rem; }
  .solutions-visual { padding: 1.5rem; border-radius: 1.25rem; }
  .checklist-item { padding: 1.25rem; gap: 1rem; }
  .checklist-text strong { font-size: 1.05rem; }

  /* Carousel */
  .carousel-container { max-width: 100%; }
  .carousel-slide { padding: 3.25rem 1.5rem; }
  .slide-title { font-size: 1.35rem; }
  .slide-text { font-size: 0.98rem; }
  .carousel-nav { gap: 1rem; margin-top: 1.25rem; }
  .carousel-btn { width: 40px; height: 40px; }

  /* Contact */
  .contact-form-container { padding: 2rem 1.25rem; }
  .contact-info-card { padding: 2rem 1.25rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 0.85rem 0.9rem; }

  /* Footer */
  .footer { padding: 3rem 4% 1rem; }
  .footer-bottom { gap: 0.75rem; }
}
