/* 
  Vyas Scientific - Central Styling System
  Theme: Scientific Premium Blue / Teal Accent
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Tokens --- */
:root {
  /* Color Palette (Luxury Deep Navy, Graphite Black & Premium Royal Blue) */
  --primary-dark: #0a1220;      /* Deep Navy */
  --primary-deep: #05080c;      /* Deep Navy Black / Graphite Black */
  --accent-cyan: #2563eb;       /* Premium Royal Blue Accent */
  --accent-teal: #1d4ed8;       /* Darker Royal Blue Accent */
  --accent-hover: #60a5fa;      /* Bright Blue (Hover) */
  --accent-purple: #3b82f6;     /* Accent Light Blue */
  --accent-orange: #1e40af;     /* Deep Blue Accent */
  --text-dark: #1f2937;         /* Body Text Light Mode */
  --text-light: #f3f4f6;        /* Body Text Dark Mode */
  --text-muted: #6b7280;        /* Muted Text */
  --bg-light: #fcfbf9;          /* Elegant Warm Light Off-White */
  --bg-card-light: #ffffff;     /* Light Card Background */
  --border-light: #e2e8f0;      /* Clean Blue-Gray/Slate Border */
  
  /* Glassmorphism Styles (Dark Mode UI elements) */
  --glass-bg: rgba(10, 18, 32, 0.8);
  --glass-border: rgba(37, 99, 235, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.4);

  /* Typography (Luxury Editorial Setup) */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Spacing */
  --max-width: 1280px;
  --header-height: 80px;
  --radius-sm: 4px;             /* Sleeker, sharper luxury edges */
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;             /* Lighter weight for high-end editorial feel */
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-wrap: balance;           /* Balanced line breaks for headings */
}

p, blockquote, li {
  text-wrap: pretty;            /* Standard pretty wrapping to avoid orphans */
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 18, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-light);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header a {
  color: var(--text-light);
}

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

header .nav-link::after {
  background-color: var(--accent-cyan);
}

header.scrolled {
  height: 70px;
  background-color: rgba(10, 18, 32, 0.95);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-family: var(--font-heading);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-teal);
  transition: var(--transition-smooth);
}

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

/* Header Quote Basket Link */
.quote-basket-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep));
  color: white !important;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

header.scrolled .quote-basket-link {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
}

.quote-count-badge {
  background-color: #ef4444;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  background: radial-gradient(circle at 10% 20%, var(--primary-dark) 0%, var(--primary-deep) 90%);
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Floating Background Decorative Gradients */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: floatShape infinite ease-in-out;
}

.shape-1 {
  top: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 80%);
  animation-duration: 20s;
}

.shape-2 {
  bottom: 10%;
  right: 40%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(168, 138, 89, 0.12) 0%, transparent 80%);
  animation-duration: 28s;
  animation-delay: -5s;
}

.shape-3 {
  top: 40%;
  right: 15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(10, 18, 32, 0.25) 0%, transparent 80%);
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) scale(1.1) rotate(180deg);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

/* Hero Content Entrance Animations */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-illustration {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Rotating 3D Illustration Halo Background */
.illustration-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: conic-gradient(from 0deg, var(--accent-cyan), transparent, var(--accent-teal), transparent, var(--accent-cyan));
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: spinGlow 25s linear infinite;
}

@keyframes spinGlow {
  to {
    transform: rotate(360deg);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-cyan));
  color: white;
}

.btn-secondary {
  border: 1.5px solid var(--accent-cyan);
  color: var(--accent-cyan);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.08);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.25);
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.hero-main-image:hover {
  transform: scale(1.02);
  border-color: var(--accent-cyan);
}

/* Floating Glassmorphic Detail Cards */
.floating-detail-card {
  position: absolute;
  z-index: 3;
  pointer-events: auto;
  transition: var(--transition-smooth);
}

.floating-detail-card:hover {
  transform: scale(1.04);
}

.floating-detail-card.card-left {
  top: 15%;
  left: -14%;
  animation: floatCardLeft 8s infinite ease-in-out;
}

.floating-detail-card.card-top-right {
  top: -4%;
  right: -12%;
  animation: floatCardTopRight 9s infinite ease-in-out;
}

.floating-detail-card.card-right {
  bottom: 12%;
  right: -10%;
  animation: floatCardRight 7.5s infinite ease-in-out;
}

.floating-detail-card.card-bottom-left {
  bottom: -5%;
  left: -10%;
  animation: floatCardBottomLeft 8.5s infinite ease-in-out;
}

.detail-card-glass {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 18, 32, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  min-width: 195px;
}

.detail-card-glass img {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.detail-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.detail-info span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.detail-info p {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0;
  font-weight: 400;
}

@keyframes floatCardLeft {
  0%, 100% {
    transform: translate(0, 0) rotate(-1deg);
  }
  50% {
    transform: translate(-5px, -10px) rotate(1deg);
  }
}

@keyframes floatCardRight {
  0%, 100% {
    transform: translate(0, 0) rotate(1deg);
  }
  50% {
    transform: translate(6px, 12px) rotate(-1deg);
  }
}

@keyframes floatCardTopRight {
  0%, 100% {
    transform: translate(0, 0) rotate(1deg);
  }
  50% {
    transform: translate(5px, -8px) rotate(-1deg);
  }
}

@keyframes floatCardBottomLeft {
  0%, 100% {
    transform: translate(0, 0) rotate(-1.5deg);
  }
  50% {
    transform: translate(-8px, 6px) rotate(1deg);
  }
}

/* Premium Visual Elements: Science Graphics using Pure CSS */
.science-graphic {
  width: 320px;
  height: 320px;
  position: relative;
}

.science-ring {
  position: absolute;
  border: 1.5px dashed rgba(37, 99, 235, 0.25);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.science-ring:nth-child(1) {
  top: 0; left: 0; right: 0; bottom: 0;
}

.science-ring:nth-child(2) {
  top: 30px; left: 30px; right: 30px; bottom: 30px;
  border-color: rgba(29, 78, 216, 0.35);
  animation-duration: 20s;
  animation-direction: reverse;
}

.science-ring:nth-child(3) {
  top: 60px; left: 60px; right: 60px; bottom: 60px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  animation-duration: 15s;
}

.science-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, var(--accent-teal) 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s infinite ease-in-out;
}

.science-core::after {
  content: 'VS';
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
}

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

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 40px rgba(37, 99, 235, 0.4); }
  50% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 60px rgba(37, 99, 235, 0.6); }
}

/* --- Section Headings --- */
.section-header {
  max-width: 700px;
  margin: 0 auto 56px auto;
  text-align: center;
}

.section-header .subtitle {
  color: var(--accent-teal);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
}

.section-header p {
  margin-top: 16px;
  color: var(--text-muted);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--bg-card-light);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

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

/* --- Verticals Collage Cards --- */
.vertical-card {
  transition: var(--transition-bounce) !important;
}

.vertical-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
  border-color: rgba(10, 88, 202, 0.2) !important;
}

.vertical-card:hover img {
  transform: scale(1.08);
}

/* --- Brand Matrix (The Partners) --- */
.brands-section {
  background-color: #f1f5f9;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.brand-card {
  background-color: var(--bg-card-light);
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  transition: var(--transition-smooth);
}

.brand-card:hover {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.1);
}

.brand-logo-text {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.brand-logo-img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

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

.brand-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

/* --- Category Preview Section --- */
.category-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.category-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-end;
  color: white;
}

.category-card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

/* Abstract CSS shapes to resemble scientific products */
.category-bg-shape {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  opacity: 0.3;
  transition: var(--transition-bounce);
}

.category-card:hover .category-bg-shape {
  transform: scale(1.15) rotate(15deg);
  opacity: 0.5;
}

.chemical-flask {
  background: radial-gradient(circle at 30% 30%, var(--accent-cyan) 0%, var(--accent-teal) 70%);
  clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 100%, 0% 100%);
}

.glass-beaker {
  background: radial-gradient(circle at 30% 30%, #38bdf8 0%, #0369a1 70%);
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-md) var(--radius-md);
}

.instrument-microscope {
  background: linear-gradient(135deg, #a855f7, #6b21a8);
  border-radius: 50%;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.electrical-device {
  background: linear-gradient(135deg, #f97316, #c2410c);
  border-radius: var(--radius-md);
  clip-path: polygon(0% 15%, 100% 0%, 100% 85%, 0% 100%);
}

.category-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
}

.category-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.category-card-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.category-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Catalog Page Design (products.html) --- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-top: 140px;
  margin-bottom: 80px;
}

/* Filters Sidebar */
.catalog-sidebar {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 32px;
}

.filter-group h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-container input {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
}

/* Main Catalog Area */
.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Search bar and count */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 450px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border-radius: 30px;
  border: 1.5px solid var(--border-light);
  background-color: var(--bg-card-light);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.product-count-display {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--accent-teal);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.product-badge.badge-chemical {
  background-color: rgba(14, 116, 144, 0.1);
  color: #0e7490;
}

.product-badge.badge-glassware {
  background-color: rgba(4, 120, 87, 0.1);
  color: #047857;
}

.product-badge.badge-plasticware {
  background-color: rgba(109, 40, 217, 0.1);
  color: #6d28d9;
}

.product-badge.badge-instrument {
  background-color: rgba(180, 83, 9, 0.1);
  color: #b45309;
}

.product-badge.badge-electrical {
  background-color: rgba(190, 24, 74, 0.1);
  color: #be184d;
}

.product-brand {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-teal);
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 6px 0 12px 0;
  font-weight: 600;
}

.product-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-specs li {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-specs li::before {
  content: '•';
  color: var(--accent-cyan);
  font-weight: bold;
}

.btn-card-quote {
  width: 100%;
  padding: 10px;
  background-color: #f1f5f9;
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-card-quote:hover {
  background-color: var(--accent-cyan);
  color: white;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.btn-card-quote.added {
  background-color: #0d9488;
  color: white;
}

/* Floating Quote Cart Panel Drawer */
.quote-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background-color: var(--bg-card-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-drawer.open {
  right: 0;
}

.quote-drawer-header {
  padding: 24px;
  background-color: var(--primary-dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer-btn {
  background: transparent;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.quote-drawer-body {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.quote-item-details h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.quote-item-details span {
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 600;
}

.remove-item-btn {
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
}

.quote-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-drawer-footer .btn {
  justify-content: center;
}

.empty-cart-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 80px;
}

/* --- Solutions Page Design (solutions.html) --- */
.solutions-header-offset {
  margin-top: 100px;
}

.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-row:nth-child(even) {
  direction: rtl;
}

.solution-row:nth-child(even) .solution-content {
  direction: ltr;
}

.solution-graphics {
  height: 320px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.9) 0%, rgba(2, 6, 23, 1) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.solution-graphic-subshape {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(13, 148, 136, 0.3));
  position: absolute;
  filter: blur(20px);
}

.solution-row:nth-child(1) .solution-graphic-subshape { background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(13, 148, 136, 0.4)); }
.solution-row:nth-child(2) .solution-graphic-subshape { background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(107, 33, 168, 0.4)); }
.solution-row:nth-child(3) .solution-graphic-subshape { background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(185, 28, 28, 0.4)); }
.solution-row:nth-child(4) .solution-graphic-subshape { background: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(194, 65, 12, 0.4)); }

.solution-row svg {
  z-index: 2;
  width: 96px;
  height: 96px;
  color: white;
}

.solution-content h3 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.solution-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.solution-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.solution-brand-tag {
  background-color: #f1f5f9;
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Contact & Quote Submission Page (contact.html) --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 140px;
  margin-bottom: 80px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 20px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.contact-card-details h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-card-details p,
.contact-card-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #cbd5e1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary-dark);
  padding: 24px;
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

/* Contact Form / Quote Submission */
.contact-form-panel {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background-color: var(--bg-light);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.quote-summary-box {
  background-color: #f8fafc;
  border: 1px dashed var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.quote-summary-box h4 {
  font-size: 0.95rem;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.quote-summary-items {
  font-size: 0.85rem;
  color: var(--text-dark);
  max-height: 120px;
  overflow-y: auto;
}

.quote-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

/* --- Footer --- */
footer {
  background-color: var(--primary-deep);
  color: var(--text-light);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
}

.footer-contact-info svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #64748b;
  font-size: 0.85rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-smooth);
    align-items: flex-start;
    z-index: 999;
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-menu a {
    color: white !important;
    font-size: 1.15rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .quote-basket-link {
    width: fit-content;
    margin-top: 16px;
  }
  .menu-toggle {
    display: flex;
  }
  /* Hamburger X morph animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .solution-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .solution-row:nth-child(even) {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quote-drawer {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
}

/* --- Pipeline & FAQ Interactive Styling --- */
.pipeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(6, 182, 212, 0.2) !important;
}

details {
  transition: all 0.3s ease;
}

details[open] {
  background: white !important;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
  border-color: var(--accent-teal) !important;
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

details .faq-icon {
  transition: transform 0.25s ease;
}

/* --- Lightbox Modal for Product Images --- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(5, 8, 12, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 85%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #ffffff;
  padding: 16px;
  box-sizing: border-box;
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--text-light);
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 5010;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-cyan);
  text-decoration: none;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- Blueprint Styled Graphic Placeholders --- */
.product-placeholder-graphic {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #111e36 0%, #060b13 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.placeholder-technical-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.placeholder-technical-ring.ring-inner {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(96, 165, 250, 0.15);
  animation-duration: 25s;
  animation-direction: reverse;
}

.placeholder-initials {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  z-index: 2;
  text-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.placeholder-category-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 8px;
  z-index: 2;
}

.product-image-container img:hover {
  transform: scale(1.05);
}

